-----Original Message----- From: Andi Reinbrech [mailto:[EMAIL PROTECTED] Sent: martedě 17 febbraio 2004 13.29 To: 'Tomcat Users List' Subject: RE: Please help with CLASSPATH problem
My apologies - RTFM -----Original Message----- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 03:57 AM To: [EMAIL PROTECTED] Subject: Re: Please help with CLASSPATH problem "Andi Reinbrech" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I FINALLY figured this one out. > > Tomcat 5.0.18 as a service ignores -Djava.class.path. Rather, it takes the > path from the -Imagepath parameter as the classpath (I did a debug > logger.info("Classpath: " + System.getProperty("java.class.path") and lo and > behold it gave me the Imagepath as the actual classpath. > > I added %CATALINA_HOME%\bin to the Imageclasspath and all is working fine. > > This sounds like a bug? Or at least an "undocumented feature". > I believe that it is a "documented feature". See http://jakarta.apache.org/commons/daemon/procrun.html. > Cheers > Andi > > -----Original Message----- > From: Andi Reinbrech [mailto:[EMAIL PROTECTED] > Sent: 16 February 2004 14:58 PM > To: Tomcat-User (E-mail) > Subject: Please help with CLASSPATH problem > > > Hi, this problem behaves differently under 4.1 and 5.0.18, but I can't use > *either*. > > When I run Tomcat 5.0.18 from the command prompt, the app works 100%. It is > supposed to pick up a file called "emapi.cfg" and "licenses.txt" from the > CLASSPATH. "emapi.cfg" works int .\axis\WEB-INF\classes, but "licenses.txt" > doesn't. However, leaving "licenses.txt" in the bin\ folder and starting > Tomcat *from* that folder it works fine. Running Tomcat 5 as a service > doesn't pick up "licenses.txt" although the working dir is set to be bin\. > > In the bin\ folder I also need a load of *.dtd files to validate XML > responses. They only work when they're in the bin folder. > > Now to Tomcat 4.1: Everything works as a service, including picking up the > "licenses.txt", but now it refuses to resolve the *.dtds. I get a SAX > Parser error that the URI can't be relative. This is a bogus error though, > as I can remove all the *dtds and the error stays the same. > > Can someone PLEASE help me either fix EITHER one of these problems, or > please refer me to an alternative server to use. > org.apache.axis.transport.http.SimpleAxisServer works like a charm, but not > as a service, and shouldn't be used as a production server. > > Thanks in advance, > Andi > > **************************************************************************** > ********************************************** > Everything in this e-mail and attachments relating to the official business > of MultiChoice Africa is proprietary to > the company. Any view or opinion expressed in this message may be the view > of the individual and should not automatically > be ascribed to the company. If you are not the intended recipient, you may > not peruse, use, disseminate, distribute or > copy this message. If you have received this message in error, please notify > the sender immediately by email, facsimile > or telephone and destroy the original message. > **************************************************************************** > ********************************************** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > **************************************************************************** ********************************************** > Everything in this e-mail and attachments relating to the official business of MultiChoice Africa is proprietary to > the company. Any view or opinion expressed in this message may be the view of the individual and should not automatically > be ascribed to the company. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or > copy this message. If you have received this message in error, please notify the sender immediately by email, facsimile > or telephone and destroy the original message. > **************************************************************************** ********************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************************************************************************** Everything in this e-mail and attachments relating to the official business of MultiChoice Africa is proprietary to the company. Any view or opinion expressed in this message may be the view of the individual and should not automatically be ascribed to the company. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify the sender immediately by email, facsimile or telephone and destroy the original message. ************************************************************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ========================================================================== This message is confidential and solely for the intended addresse(s). If you are not the intended recipient of this message, please notify the sender immediately and delete it from your system. Unauthorised reproduction, disclosure, modification and or distribution of this e-mail is strictly prohibited. The contents of this e-mail do not constitute a commitment by IW Bank SpA. (IWB SpA), except where expressly provided for in a written agreement between you and IWB SpA. IW Bank SpA. is an authorised Bank in Italy. ========================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]