ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Riou <matthieu.r...@gmail.com>
Subject Re: To run Main class
Date Tue, 02 Jun 2009 15:20:17 GMT
On Sun, May 31, 2009 at 7:19 AM, Naoki Okitsu <okitsun@m2.gyao.ne.jp> wrote:

> Hi,everyone
>
> My name is naoki okitsu.
> Does someone know how to execute Main class?
>
> I use apache-ode-sources-2.0-beta2.
> There is Main java file in below directory.
>
> C:\apache-ode-sources-2.0-beta2\utils\src\main\java\org\apache\ode\utils\cli
> I want to execute this file.
>

Those are just command line utilities, they won't really run ODE, is that
what you want?


>
> I use eclipse 3.4.2.
> To run Main class,I modified like this.
> /*package org.apache.ode.utils.cli;*/
>
> But I encountered following error.
> Exception in thread "main" java.lang.IllegalArgumentException: LAUNCHER
> FAILURE:A configuration file must be supplied as an argument.   at
> Main.main(Main.java:44)
>

The Main class is like a global starter, it takes a configuration file
specifying the class to start and a few other things.

Matthieu


>
> To supply configuration file,I imported following files.
> deploy.xml
> HelloWorld2.bpel
> HelloWorld2.wsdl
> testRequest.soap
> These files are imported from
> C:\apache-ode-war-2.0-beta2\examples\HelloWorld2.
> But I could not run.
>
> If you knew how to build development enviroment,please tell me.
> It is enough for you to point web site which appears this informations.
>
> Thanks in advance!
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message