james-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <danny.an...@gmail.com>
Subject Re: From where to retrieve James using Subversion or CVS
Date Thu, 02 Nov 2006 17:07:00 GMT
You should really move this discussion to
server-user@james.apache.org, more people would be able to help you.

You can't start James like that, you should use the run script.
You can change the run script to start James in a debugger.

On 11/2/06, Miroslav Nachev <miro@space-comm.com> wrote:
> 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
> >>
> >>
> >>
> >
> >
> >
>
>
>

Mime
View raw message