struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riyaz Mansoor" <rman...@yahoo.com>
Subject struts in shared/lib ?
Date Tue, 27 May 2003 07:53:05 GMT
> hi
>
> i've been trying to put struts in the tomcat/shared/lib folder. i've read
> the cautionary notes included in the struts documentation. i've abstracted
> my application so that all the actions and forms are in the shared/lib
> folder.
>
> however, the application still refuses to load. if i copy all the struts
> jars to the webapp/lib folder and leave all my classes in the shared
folder
> it works fine. which leads me to believe that the dependency is in Struts,
> not my classes.
>
> the root cause i get is:
>
> ----- Root Cause -----
> java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
>
> failure is during loading of Actions.
>
> there is NO classes to load in the webapps directory
>
> can the ActionServlet located in shared/lib read the struts-config.xml
file?
> i would have thought that static resources located on the webapp folder
can
> be read without any problems. is this the problem? what else could it be?
>
> for those of u who are concerned about why i'm doing this is; i'm building
> multiple applications of _similar_ behavior with different security
> restrictions. of course the applications present different forms and all
> which are read from static xml config files in the webapp folder.
>
> riyaz


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message