Bugs item #763889, was opened at 2003-07-01 06:44 Message generated for change (Comment added) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=763889&group_id=22866
Category: JBossServer Group: v3.2 >Status: Pending >Resolution: Works For Me Priority: 5 Submitted By: John Dubchak (jdubchak) >Assigned to: Scott M Stark (starksm) Summary: NoClassDefFoundError when using Struts library Initial Comment: Platform: OS : Redhat Enterprise Linux 2.1 JDK : 1.4.1_03 JBoss Version : 3.2.1 Struts Version : 1.1 RC2 Problem Description: I have a small web-based test application, deployed as a WAR file (see attachment), that uses the validation framework included with Struts. The app simply compares two password fields to check if they are equal. If they are not equal an error message appears on the page (index.jsp) informing the user that there has been an error. If they are equal another page (success.jsp) simply states that validation succeeded and prints the new password. I've tested this with the following JVM/OS combinations, all Redhat Linux, standalone Tomcat, standalone Jetty and the two bundled with version 3.2.1 of JBoss: OS Version JDK Version 7.3 1.4.1_02/03 8.0 1.4.1_02/03 9 1.4.1_02/03 EL 2.1 1.4.1_02/03 1.4.2 The standalone Tomcat and Jetty installations succeed. But the bundled JBoss versions all fail with the NoClassDefFoundError on the ValidatorAction class from Struts. Note, the struts related jars are deployed in WEB-INF/lib. I've also done testing with Borland's Enterprise App Server version 5.2.1 and Websphere 5 - both of which produce successful tests - also on Redhat. ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2003-07-07 22:03 Message: Logged In: YES user_id=175228 I have tried winxp+Sun JDK 1.4.1_03 and RH9.1+Sun JDK1.4.1_02 with the jboss-3.2.1_tomcat-4.1.24 and I cannot reproduce this error. The attached build.xml creates the bug763889.war I am testing from the MySample_WOStruts.war and the jakarta-struts-1.1-rc2/lib jars. Create a trace level log of the class loading by following the debug info provided in the docs section and attach that or mail it to [EMAIL PROTECTED] if its too big. ---------------------------------------------------------------------- Comment By: John Dubchak (jdubchak) Date: 2003-07-01 07:10 Message: Logged In: YES user_id=180491 Note, in order to keep the size of the attachment low the WAR file does not include the Struts Distributions JAR files that are supposed to be deployed in WEB-INF/lib. jdubchak ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=763889&group_id=22866 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
