Hello Dirk,

thanks for your answer.

That means that I end up with tons of redundant struts packages on my production machines and many redundantdantdant class loading processes on server startup. Oh well, hard to digest ...

BTW, do you know by any chance whether this applies to the velocity packages and to the commons libraries too?

It seems that struts also requires that all the libraries that it depends on are located in the WEB-INF/lib diretory as well.

Is that also right?


Greetings

Michael Kastner



Dirk Markert schrieb:
Hello Michael,



***************************************************************

MK> Hello,

MK> maybe someone can help. I've tried to deploy two struts applications to
MK> two tomcat test servers (one running tomcat 5.0 and one running tomcat
MK> 4.1) but I can't get it to work on neither of them.

MK> For development purposes I had all required jar files in the MK> application's WEB-INF lib. Then I've removed them all and deployed my
MK> war files to the servers.


MK> I've put all the struts _war_ files from the jakarta-struts-1.1/webapps
MK> dir into my server's _webapps_ dir as described in the installation part
MK> of the struts documentation.

MK> After restarting the _servers_ all applications in my webapps folder
MK> were properly deployed but my own struts application (which is not
MK> located in the webapps dir) could neither find the struts classes nor
MK> any other classes required.

MK> Does anybody know why?

MK> How can I make Tomcat (4 and 5) find the struts jar files i.e. classes?

MK> The only way I can get my application running is to put all required
MK> jars into the application's WEB-INF/lib directory. Since this is not my
MK> only struts application I end up with multiple copies of theses jar
MK> files on the same server.

MK> It works that way, but that's not how it's supposed to work, or is there
MK> something I am missing?

That's exactly the way it is supposed to work. Don't try anything
else.

MK> Any help is appreciated.


MK> Greetings

MK> Michael Kastner


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



Regards,
Dirk

+------- Quality leads ---------------------------------------+
| Dirk Markert [EMAIL PROTECTED] |
| Dr. Markert Softwaretechnik AG |
| Joseph-von-Fraunhofer-Str. 20 |
| 44227 Dortmund |
+---------------------------------->>>>>>> to success! <<<<<<-+






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



Reply via email to