On October 24, 2003 11:56 pm, Sriram N wrote:
> Hi:
>
> I think you do not have tools.jar in your CLASSPATH.
>
> JAVA_HOME is used by the startup scripts when you use "regular" Tomcat.
> Since you've used Embedded to embed TC, the startup scripts do not come
> into the picture, and the JAVA_HOME is pretty much useless actually.
>
> Try placing the tools.jar file in the CLASSPATH and then run your
> application.
>
> Important: If you're invoking your aplication via a JAR file, you need to
> specify the tools.jar in the CLASSPATH attribute of the Jar's manifest.
> Read the Java docs for more information.
>
> -- Sriram
>

That did the trick, thanks my friend.

I have another question on the same subject for the list at large.  Now that 
my application can create it's own contexts for my webapps to run inside of, 
is there a way that my JSPs and Servlets can modify and make use of objects 
that are instantiated inside the application?

For example, my application is multi-threaded and it starts Tomcat, retrieves 
some data from the database and performs a few other functions.  The reason 
why I'm embedding Tomcat is to give my application a web front-end.  Could 
anyone provide some insight as to how I can make this happen, and perhaps 
provide some code samples?

Thanks.

--
Robert Charbonneau
[EMAIL PROTECTED]
--


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

Reply via email to