-
1. Re: JBoss3.0.3-Tomcat4.1.12-Struts1.0
dheeraj_s Dec 10, 2002 9:58 AM (in response to dheeraj_s)Hi :
I found one way it can work. I created
wiki.war dir and in that added my war appln in the exploded format. That too some portion still doesn't work properly.
If I have to add ejbs to it and bundle them as EAR, I do not think it will work. For me the whole problem is, the JBoss is not able to invoke Action servlet mapped to actions in the struts-config.xml. Thus view.do action seems to be unmapped.
If I see the console output it seems there are more than one classloader.
And it may happen that
20:29:41,194 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader delegation: true
may the mother of all errors.
I would be nice if JBoss develoeprs can solve this mystery as many guys are facing the same problem.
Cheers
Dheeraj -
2. Re: JBoss3.0.3-Tomcat4.1.12-Struts1.0
waiken Dec 10, 2002 10:45 AM (in response to dheeraj_s)Can you post a snippet of your code including your struts-config.xml and your action class that it cant load. Maybe its in the configuration.
I use the same Jboss bundle with Struts and have no problems. -
3. Re: JBoss3.0.3-Tomcat4.1.12-Struts1.0
kmarshall13 Dec 10, 2002 11:30 PM (in response to dheeraj_s)I have a related question with struts... Where are the struts .tld files supposed to go? In Tomcat stand-alone, you just put them in the WEB-INF directory of the webapp that you're doing. Haven't been able to figure out where they go in the bundled jboss/tomcat. Anyone that can help would be appreciated.
Thanks. -
4. Re: JBoss3.0.3-Tomcat4.1.12-Struts1.0
dheeraj_s Dec 11, 2002 4:20 AM (in response to dheeraj_s)Hi:
This EAR file works properly in weblogic and the WAR file works properly on Tomcat.
The code is very simple. The index.html loads an action servlet which send a jsp as response.
<!-- View Page -->
Chiki Welcome (Redirect)
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=../view.do?nodeId=Chiki">
If your browser does not redirect you, Please click here