implementing class files in different location for tomcat 4.1

  • Thread starter Matthew Macchia
  • Start date
M

Matthew Macchia

I currently have tomcat setup with a normal context entry for my
application and have put all my classes in /WEB-INF/classes/ however,
I need to actually move them to another location since the files will
be shared with another application. For example, from
/WEB-INF/classes/ to /opt/whatever/

Is it possible to move the directory where tomcat looks for it's local
applications classpath?

Please advise
thanks!
-matt
 
M

Manavendra Gupta

Is there a specific reason why you are not using the "shared" folder in
tomcat (available 4.x onwards)? jars/classes in the shared/lib folder are
available across applications

Cheers
Manav
 
M

Matthew Macchia

well, the other application we are running is entirely outside of
tomcat. So, it isn't a case of sharing the class files between
contexts, it's a situation where I share the classes between two
seperate JSP containers.
It would be too difficult to try to move the other application from
it's current container.

Any ideas?
I have been reading up on modifying the StandardClassLoader in tomcat
to find my other directory. Has anyone had any experience doing this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top