Re: installing Struts on JBoss

2005-01-20 Thread kjc
to:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 4:04 PM To: Struts Users Mailing List Subject: Re: installing Struts on JBoss 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 set

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
g -Original Message- From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 4:04 PM To: Struts Users Mailing List Subject: Re: installing Struts on JBoss Greg, could you please explain this a bit more? I'm curious about it, because I'm running multipl

RE: installing Struts on JBoss

2005-01-20 Thread Greg Dunn
ath at org.apache.struts.action.ActionServlet.handleConfigException(ActionServl et.java:1033) ... Greg -Original Message- From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 4:04 PM To: Struts Users Mailing List Subject: Re: installing Struts on JBoss Greg, c

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
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

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
I can shutdown JBoss, but when start again I get this: JBoss Bootstrap Environment JBOSS_HOME: /export/home/jboss-3.2.3 JAVA: /export/home/java/jdk1.5.0/bin/java JAVA_OPTS: -server -Dprogram.name=run.sh CLASSPATH:

Re: installing Struts on JBoss

2005-01-20 Thread Pavel Kolesnikov
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.

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
I modified jboss-service.xml and now nothing works :( I had applications that access database and when I submit I get blank action page and error in server.log: 2005-01-20 16:33:04,717 ERROR [org.jboss.web.localhost.Engine] CoyoteAdapter An exception or error occurred in the container during the

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
Graig, After I modify jboss-service.xml do I need to restart the server or just run the application? Alex Greg Dunn 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 o

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
In server.log just before 'root cause' I have 2005-01-20 15:18:52,579 ERROR [org.jboss.web.localhost.Engine] Also, localhost.log has entry 192.9.200.230 - - [20/Jan/2005:15:18:52 -0500] "POST /log/QuerySubmit.do HTTP/1.1" 500 10707 Pavel Kolesnikov wrote: Unfortunatelly this stack trace doesn't

Re: installing Struts on JBoss

2005-01-20 Thread Pavel Kolesnikov
Unfortunatelly this stack trace doesn't say anything more than "there was some error processing a Test.jsp". Couldn't you find anything more in the server log? ($JBOSS_HOME/server/default/logs/server.log) Pavel On Thu, 20 Jan 2005 15:54:40 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: > Ok, this

RE: installing Struts on JBoss

2005-01-20 Thread Greg Dunn
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. false In Jboss 4.x this is in the file .../deploy/jboss

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
Ok, this is all I get from application running on JBoss after submitting the page. org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

Re: installing Struts on JBoss

2005-01-20 Thread kjc
Alex Kravets wrote: I mean as far as copying all the jar and tld files. Apache Struts site mentions different requirements for different containers on this page http://struts.apache.org/userGuide/installation.html, no mention of JBoss though. It's just seems odd to me if I just have to copy *jar

Re: installing Struts on JBoss

2005-01-20 Thread Alex Kravets
I mean as far as copying all the jar and tld files. Apache Struts site mentions different requirements for different containers on this page http://struts.apache.org/userGuide/installation.html, no mention of JBoss though. It's just seems odd to me if I just have to copy *jar *tld to lib direct

Re: installing Struts on JBoss

2005-01-20 Thread Pavel Kolesnikov
On Thu, 20 Jan 2005 15:22:01 -0500, Alex Kravets <[EMAIL PROTECTED]> wrote: > Are there any special requirements to install and run Struts > applications on JBoss? If you application doesn't need to use any external resources like a datasources, EJBs or so on, you don't need to do anything special

Re: installing Struts on JBoss

2005-01-20 Thread kjc
Alex Kravets wrote: 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