|
Re: JBoss3.0 -- any stuts users out there?: msg#00320java.jboss.user
Hello Brian, Tuesday, July 09, 2002, 11:06:58 AM, you wrote: BT> k, hopefully i'm "real close now"... any other jboss 3 / struts 1.1 users out BT> there that can help? I use 1.0.2 for now. BT> someone on the struts list reminded me that the struts.jar belonged in the BT> app.war's web-inf/lib folder, not as a peer to the app.war. that could BT> theoretically solve the problem with the getResource calls that were failing, BT> but then remembered making the jars as peers in the deploy directory was the BT> only thing that had struts working under jboss in the first place. BT> does *anyone* have struts 1.1 working fully (with i18n/properties) under BT> jboss 3????? I do have with 1.0.2. If didn't changed in that way I can try to help you. ApplicationResources (as in the user guide) must be in classes directory. Indeed, yesterday I had problems with it too. My jsp's began with <%@ page language="java" contentType="text/html;charset=Cp1251"%> When I supposed to get Cp1251 encoding in a browser. It didn't work until I changed it to just <%@ page language="java" contentType="text/html"%> Now works fine. Also, remember to have the locale set correctly if you use ApplicationResources_xx.properties. alex BT> pullleeeze?? :-) BT> apache lists are down again, i'm hoping there is someone here that can help BT> out... BT> thanks! BT> -b BT> p.s. this is the stack trace for my failing servlet. This exact BT> configuration runs fine when the struts.lib is pulled out of the web-inf/lib BT> and put directly into the deploy directory, but that breaks getResource calls BT> by the struts.jar util routines for properties... BT> 03:55:07,924 INFO [RequestProcessor] Processing a 'GET' for path BT> '/editRegistration' BT> 03:55:08,074 ERROR [RequestUtils] Error creating form bean of class BT> com.bill2.ejb.CustomerFullForm BT> java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm BT> at java.lang.ClassLoader.defineClass0(Native Method) BT> at java.lang.ClassLoader.defineClass(ClassLoader.java:493) BT> at BT> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) BT> at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) BT> at java.net.URLClassLoader.access$100(URLClassLoader.java:56) BT> at java.net.URLClassLoader$1.run(URLClassLoader.java:195) BT> at java.security.AccessController.doPrivileged(Native Method) BT> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) BT> at BT> org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:226 BT> ) BT> at java.lang.ClassLoader.loadClass(ClassLoader.java:299) BT> at BT> org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.j BT> ava:234) BT> at BT> org.jboss.mx.loading.UnifiedLoaderRepository.loadClassFromRepository(UnifiedL BT> oaderRepository.java:507) BT> at BT> org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoaderRepositor BT> y.java:179) BT> at BT> org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.java:283 BT> ) BT> at java.lang.ClassLoader.loadClass(ClassLoader.java:292) BT> at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:553) BT> at java.lang.ClassLoader.loadClass(ClassLoader.java:255) BT> at BT> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java BT> :1355) BT> at BT> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java BT> :1254) BT> at BT> org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:190) BT> at BT> org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:216 BT> ) BT> at BT> org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:610) BT> at BT> org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor. BT> java:349) BT> at BT> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:243) BT> at BT> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109) BT> at BT> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:452) BT> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) BT> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) BT> ------------------------------------------------------- BT> This sf.net email is sponsored by:ThinkGeek BT> Stuff, things, and much much more. BT> http://thinkgeek.com/sf BT> _______________________________________________ BT> JBoss-user mailing list BT> JBoss-user@xxxxxxxxxxxxxxxxxxxxx BT> https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, Alex Loubyansky ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: help with bean lock/transaction error, Alex Loubyansky |
|---|---|
| Next by Date: | Re: JBoss 3.0 Quick Guide, Bruno |
| Previous by Thread: | JBoss3.0 -- any stuts users out there?, Brian Topping |
| Next by Thread: | Re: JBoss3.0 -- any stuts users out there?, Jamie Burns |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |