Hello-

I'm trying to write a utility to run James as a Windows 2k service and I
need to figure out how to run james without the -jar option.

I looked at Tomcat and it does it with...

%_RUNJAVA%
%CATALINA_OPTS% -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA
_HOME%" org.apache.catalina.startup.Bootstrap %1 %2 %3 %4 %5 %6 %7 %8 %9

I am trying to do a similar thing with James like...

set PHOENIX_HOME=%~dp0  // sets to current directory
java -Djava.ext.dirs=%PHOENIX_HOME%\lib -Djava.class.path=%PHOENIX_HOME%\pho
enix-loader.jar org.apache.avalon.phoenix.launcher.Main

I keep getting class not found errors even though the classes that it
complains about exist in the jars found in the lib directory. Perhaps I
don't understand the java.ext.dirs setting, I'm not sure.

Thanks

Jeff Dillon
http://www.jeffdillon.com


----- Original Message -----
From: "Danny Angus" <[EMAIL PROTECTED]>
To: "James Developers List" <[EMAIL PROTECTED]>
Sent: Friday, January 11, 2002 1:52 PM
Subject: RE: Version numbers...


> I'm kinda forging ahead on that basis, but silence from *everyone* is just
a
> little off-putting ;-)
>
> > -----Original Message-----
> > From: Harmeet [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 11, 2002 7:13 PM
> > To: James Developers List
> > Subject: Re: Version numbers...
> >
> >
> > From: "Danny Angus" <[EMAIL PROTECTED]>
> > > Should we vote on this?
> >
> > Silence to me is implicit 'I am ok with it'. at least a 0 or +1.
> > For me it is +1.
> >
> > Harmeet
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to