I tried it and nothing works now. I can't even restart JBoss :(

Pavel Kolesnikov wrote:

Greg,

could you please explain this a bit more? I'm curious about it, because
I'm running multiple Struts based application on JBoss without
this setting and I've never encountered any problems with mysterious ServletExceptions.


BWT I've just tried to deploy struts-examples on a vanilla JBoss 4.0.1
installation and everything works OK.

Pavel


On Thu, 20 Jan 2005 15:02:46 -0600, Greg Dunn <[EMAIL PROTECTED]> wrote:


For Struts apps on Jboss you need to make sure you set the
'Java2ClassLoadingCompliance' flag to "false" indicating the servlet 2.3
web container first model should be used over the normal Java2 parent
first class loading model.

     <attribute name="Java2ClassLoadingCompliance">false</attribute>

In Jboss 4.x this is in the file

.../deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml

In Jboss 3.x it's in the file 'tomcat41-service.xml' in .../deploy

Greg


-----Original Message----- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 2:22 PM To: Struts Users Mailing List Subject: installing Struts on JBoss

Are there any special requirements to install and run Struts
applications on JBoss? I istalled JBoss on Tomcat and have been able to
run Struts applications w/o any problems. Same application on JBoss
gives me Servlet Exception.
I would try mailing lists/forums for JBoss, but I find them not
especially active.

thanks,
Alex


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

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





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




Reply via email to