Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / March 2004

Tip: Looking for answers? Try searching our database.

Struts/Resin classpath problem

Thread view: 
Roedy Green - 31 Mar 2004 06:19 GMT
What is the mechanism by which Causo Resin EJB server is supposed to
find the various Struts jars?

The instructions don't mention anything about adding them all to the
classpath, but without doing that, it seems Servlet compiles bomb
unable to find the classes in the struts jars.

Similarly I had to put all the Resin jars on the classpath to help it
find them. It did not seem to be clever enough to find its own lib
directory. What gives?

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Roedy Green - 31 Mar 2004 07:30 GMT
>What is the mechanism by which Causo Resin EJB server is supposed to
>find the various Struts jars?
[quoted text clipped - 6 lines]
>find them. It did not seem to be clever enough to find its own lib
>directory. What gives?

The trick appears to be to copy the needed *.jar files in the
WEB-APP/classes directory for each app that needs them.  If you put
them in the ext directories, or the classpath, then resin gets
confused and uses Strut's versions of some classes instead of its own
during execution.  The struts versions are for compilation..  This
seems a very inefficient way to handle the problem, but at least it
works.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2012 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.