-
1. Re: Where to put 3rd Party jars and .properties files?
sonofseven Nov 14, 2002 3:32 AM (in response to mike.pettit)I got the ClassNotFoundException what I try to deploy struts web app. I solved this by putting all the struts .jar into %JBOSS_DIST%/server//lib (don't forget to restart JBoss).
It looks that JBoss does not take into consideration WEB-INF/lib dir, or there are some class clashing problems. Well I did not have that much time to debut this, so once I found the solution I just gave up.
Maybe you will have more luck. -
2. Re: Where to put 3rd Party jars and .properties files?
david007 Nov 16, 2002 11:58 PM (in response to mike.pettit)I have the same problem. When I deploy a Struts app JBoss cannot find Validator and Tiles stuff even though I have the correct jar files in WEB-INF/lib. And it goes away if you put them in the lib directory of the server like you said.
This isn't correct behavior, right? -
3. Re: Where to put 3rd Party jars and .properties files?
david007 Nov 17, 2002 12:13 AM (in response to mike.pettit)After going through this forum I've seen that we're not alone, a lot of folks have encountered this same problem. I guess we have to stick needed jars in the server lib directory for now.
-
4. Re: Where to put 3rd Party jars and .properties files?
kellerrs Nov 24, 2002 12:43 PM (in response to mike.pettit)third party jars, like struts, can be deployed within the WAR (within the WEB-INF/lib directory) of your deployed application EAR. make sure to configure your web.xml file within the WAR with , <servlet-mapping/> and specifics. mine is configured this way and works perfect.
-
5. Re: Where to put 3rd Party jars and .properties files?
sonofseven Nov 26, 2002 7:22 AM (in response to mike.pettit)Can you post your web.xml file?
Thanks,