Re: *SPAM* Re: How to change the CLASSPATH in tomcat 5.028 for a concrete webservice

2007-09-10 Thread Bill Barker
"Tomás Tormo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi David > > I'm using tomcat 5.028 in Ubuntu 6.10 . I've written a java applicattion > wich uses a wrapper to communicate with an applicattion written in C, wich > is the "core" of my applicattion. Both the wrapper a

Re: *SPAM* Re: How to change the CLASSPATH in tomcat 5.028 for a concrete webservice

2007-09-10 Thread David Smith
Can you post a) the working classpath from the command line and b) the stack trace you get when it's launched as a webservice? One other thought that comes to mind is you might want to check all your environment variables as a user and as a webservice -- see if the installation created somethi

Re: *SPAM* Re: How to change the CLASSPATH in tomcat 5.028 for a concrete webservice

2007-09-10 Thread Tomás Tormo
Hi David I'm using tomcat 5.028 in Ubuntu 6.10 . I've written a java applicattion wich uses a wrapper to communicate with an applicattion written in C, wich is the "core" of my applicattion. Both the wrapper and the core are third party applicattions, and because of that i don't have the so

Re: How to change the CLASSPATH in tomcat 5.028 for a concrete webservice

2007-09-10 Thread David Smith
I wold STRONLY recommend you DO NOT touch the CLASSPATH env variable. It's just a horrible idea. What is it about your webservice that requires the alteration of CLASSPATH? Can you describe that a bit more? The standard classloader structure works very well in virtually all other cases. -

Re: How to change the CLASSPATH in tomcat 5.028 for a concrete webservice

2007-09-10 Thread Tomás Tormo
Hi again I've tried to set the classpath in catalina.sh in order to have my own classpath set when tomcat starts up ( I show it in catalina.sh as well and it looks good). But my problem is that when I show it in my webservice (using System.out.println(System.getProperty("java.class.path")))

How to change the CLASSPATH in tomcat 5.028 for a concrete webservice

2007-09-10 Thread Tomás Tormo
Hello I would like to change the classpath for a concrete webservice in Tomcat 5.028 because the webservice has to use a concrete folder in order to work. This folder should be in the CLASSPATH in order to make the webservice work properly and because the webservice can't find it, it doesn't