[
https://issues.apache.org/jira/browse/JAMES-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefano Bagnara resolved JAMES-794.
-----------------------------------
Resolution: Won't Fix
Assignee: Stefano Bagnara
This is not a forum, but a bug tracker. You should open bugs if there are
chances it is a real bug. The mailing list is the most appropriate place to
understand this.
We depend on phoenix. You get the NPE probably because you don't pass a correct
command line.
Look here:
http://svn.apache.org/repos/asf/avalon/cvs-migration-snapshot/avalon-phoenix/src/java/org/apache/avalon/phoenix/launcher/
to see the Main and other Launcher options for phoenix.
> launching JAMES without the run.sh or run.bat script
> ----------------------------------------------------
>
> Key: JAMES-794
> URL: https://issues.apache.org/jira/browse/JAMES-794
> Project: James
> Issue Type: Bug
> Affects Versions: 2.3.0
> Environment: Windows XP
> Reporter: maximeloridan
> Assignee: Stefano Bagnara
> Priority: Minor
>
> To save memory on my computer, I'd like to launch all my JAVA programs in the
> same JVM, including JAMES.
> So I looked in run.bat which class to launch, and it appears to be
> org.apache.avalon.phoenix.launcher.Main.
> So I tried to launch it directly in my java program (and not still using
> run.sh or run.bat), and I got 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)
> So is it possible to launch JAMES without using the scripts? If yes, how?
> Thank you very much!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]