Hi,
When I try to start James from RUN script or using a simple class with
org.apache.avalon.phoenix.launcher.Main.main(new String[] {"start"}) I
have the following error:
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.
My idea to run from a simple class is to be able to debug the code from
IDEs like NetBeans and/or JBuilder.
Any ideas where is the problem?
Regards,
Miro.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]