Dear grizzly developers:
I have problem when using GrizzlyWebServerDeployer to deploy a WAR that
works fine in both Tomcat and Glassfish. GrizzlyWebServerDeployer throws the
following error:
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML document from ServletContext resource
[/WEB-INF/applicationContext.xml]; nested exception is
java.io.FileNotFoundException: Could not open ServletContext resource
[/WEB-INF/applicationContext.xml]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
...
This looks like a problem that the Deployer does not deal with the web.xml
correctly, because 'applicationContext.xml' is in the WAR but at a different
location that is specified in the web.xml
I am using GrizzlyWebServerDeployer 1.9.18-e.
The WAR that I used for this experiment is downloaded from here:
http://www.ja-sig.org/downloads/cas/cas-server-3.3-RC3-release.zip
After unzip it, the WAR is under the folder \cas-server-3.3-RC3\modules\
Any help would be thanked whole heatedly :)
Regards, Shawn
--
View this message in context: http://old.nabble.com/GrizzlyWebServerDeployer----Error-could-not-deploy-WAR-correctly-tp26163573p26163573.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.