Re:Error Msg when deploying Pentaho.war
The errors in your log file lead me to believe that the Sun Application Server does not permit context-param values to be empty in the web.xml file. Note that I do not have first hand experience with the app server you are using, but the error is pretty straight forward.
So I suggest that you either remove or comment out the context-param entries in the pentaho.war's web.xml and see if that solves your problem. The parameters that have no values in the web.xml have static values in the application code, so you dont need to worry about the parameters not being set. I tested removing these entries under JBoss and the Pentaho platform did not complain about them being missing, so lets hope this resolves your problem.
- Stop your app server.
- Navigate to the web.xml file under pentaho.war/WEB-INF/.
- Search the web.xml for any xml nodes named context-param. You will see that each context-param has two child nodes - param-name and param-value. If the value node has no embedded text, then comment out the entire context-param node, or delete it, whichever you prefer.
- Note that if you comment out the node, then there can be no embedded comments or the xml parser will complain. If you choose to delete the nodes all together, I suggest you backup the web.xml file first.
- Restart your app server.
The param-names in the context-params that I commented out were solution-path, locale-language and locale-country. Ntoe that the nodes you find with empty values may be different, depending on how you are running your install.
Let me know if this helps get you going. We are very interested to hear when you have success running on the Sun App Server - we haven't had any posting members try it yet.
Pentaho SME & Community Member