Hi,

From JBuilder I made a small class with the following method:
   org.apache.avalon.phoenix.launcher.Main.main(new String[] {"start"});

Unfortunately I have the following error:

javaw -classpath ... com.cosmos.server.james.StartJames start

There was an uncaught exception:
---------------------------------------------------------
--- Message ---
null
--- Stack Trace ---
java.lang.NullPointerException
at org.apache.avalon.phoenix.frontends.CLISetup.parseCommandLineOptions(CLISetup.java:202)
   at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:122)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:128)
   at org.apache.avalon.phoenix.launcher.Main.main(Main.java:83)
   at com.cosmos.server.james.StartJames.main(StartJames.java:28)

---------------------------------------------------------
The log file may contain further details of error.
Please check the configuration files and restart Phoenix.
If the problem persists, contact the Avalon project.  See
http://jakarta.apache.org/avalon for more information.


Miro.

Vincenzo Gianferrari Pini wrote:
If you prefer NetBeans, I can tell you how to (not today nor tomorrow as I'm quite busy now).

Vincenzo

Stefano Bagnara wrote:
Miroslav Nachev wrote:
Can I ask you about how to Start and Debug James in some kind of IDE like NetBeans or/and JBuilder or another tool?

Here there are informations on Eclipse configuration:
http://wiki.apache.org/james/EclipseNotes

Stefano







Reply via email to