-
1. 3850032
jcorbin4607 Dec 21, 2002 11:38 AM (in response to jcorbin4607)Sure. I submitted a bug, not a solution :-)
This is not the only place where the code breaks. You should probably start setting up an Oracle distribution and you will find all the NPE-places quite fast!
Regards,
Michael -
2. Re: JBOSS 3.0.4/struts example
jcorbin4607 Dec 21, 2002 5:41 PM (in response to jcorbin4607)Update...
I realized that the init-param, application wasn't specified in the web.xml...I added it and pointed the value to my ApplicationResources.properties file in the following manner...
<init-param>
<param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param>
I verified the ApplicationResources.properties file existed in the web application at /WEB-INF/classes/org/apache/struts/webapp/example/ApplicationResources.properties
When I deploy and point the server to the index.jsp it I get the following error --
Missing message for key index.title
In case you all couldn't tell, I am trying to build, deploy and run the struts example war file.
I've seen many postings on the subject of these types of errors but it has always been the settings in the web.xml file that generally fixed the problem. In my case I have verified over and over again that my setup is correct.
Does anyone have a suggestion...
Thanks, -
3. Re: JBOSS 3.0.4/struts example
jferguson Dec 22, 2002 8:39 PM (in response to jcorbin4607)Hi,
The only way I have managed to get Struts to play with the JBOSS 3.04 - tomcat 4.1.12 build is to setup servlet 2.3 classloading in tomcat.. and make sure all the necessary class files are in the WEB-INV/lib or WEB-INF/classes dirs.
You can try this by setting the JAVA2ClassLoadingCompliance attribute to false in your tomcat41-service.xml file.
If you find another way let me know!
Cheers,
Jon -
4. Re: JBOSS 3.0.4/struts example
jcorbin4607 Dec 23, 2002 4:25 PM (in response to jcorbin4607)I tried adding the following to the root level, parallel to the other attributes and the server reports that it isn't a valid attribute.
false
If this is correct, where in the file should it be placed?
TIA