I have struts 1.1b working with JBoss-3.0.0/Jetty

struts.lib (and all the related jars) in WEB-INF/lib

and

ApplicationResource.properties in WEB-INF/class

of my .war archive

Cheers,

Frank


-----Original Message-----
From: Jamie Burns [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 15:20
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss3.0 -- any stuts users out there?


I have a struts project working with JBoss/Jetty. I have the struts jars
in
server\all\lib. My ApplicationResource.properties is in
server\all\deploy\xxx.ear

----- Original Message -----
From: "Alex Loubyansky" <[EMAIL PROTECTED]>
To: "Brian Topping" <[EMAIL PROTECTED]>
Cc: "Jboss user list (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 9:40 AM
Subject: Re: [JBoss-user] JBoss3.0 -- any stuts users out there?


> 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.jav
a:22
6
> BT> )
> BT>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> BT>         at
> BT>
org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoa
der.
j
> BT> ava:234)
> BT>         at
> BT>
org.jboss.mx.loading.UnifiedLoaderRepository.loadClassFromRepository(Uni
fied
L
> BT> oaderRepository.java:507)
> BT>         at
> BT>
org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoaderRepo
sito
r
> BT> y.java:179)
> BT>         at
> BT>
org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.jav
a:28
3
> 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
.jav
a
> BT> :1355)
> BT>         at
> BT>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.jav
a
> BT> :1254)
> BT>         at
> BT>
org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:1
90)
> BT>         at
> BT>
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.jav
a:21
6
> BT> )
> BT>         at
> BT>
org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:6
10)
> BT>         at
> BT>
org.apache.struts.action.RequestProcessor.processActionForm(RequestProce
ssor
.
> 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> [EMAIL PROTECTED]
> 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
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to