users@grizzly.java.net

Re: GrizzlyWebServerDeployer -- Error could not deploy WAR correctly

From: Survivant 00 <survivant00_at_gmail.com>
Date: Wed, 4 Nov 2009 11:01:08 -0500

perfect. I,ll check that tonight.



2009/11/4 Shawn_Pan <xpan_at_cdmtech.com>

>
> Thanks for the quick response.
>
> The war file is too big to upload to the forum, however it is very easy to
> get:
> > 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\
>
> The command line used:
> java -jar grizzly-http-servlet-deployer-1.9.18a.jar
> --application=./cas-server-3.3-RC3.war
>
> JDK version: 1.6.0_10
>
> Thanks, Shawn
>
>
> survivant wrote:
> >
> > can you provide more info please. maybe the war file, the command line
> > used. your jkd version.
> >
> >
> > thanks
> >
> > 2009/11/3 Shawn_Pan <xpan_at_cdmtech.com>
> >
> >>
> >> 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.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> >> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
> >>
> >>
> >
> >
> > --
> >
> > Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
> > http://twitter.com/survivant
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/GrizzlyWebServerDeployer----Error-could-not-deploy-WAR-correctly-tp26163573p26198974.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>


-- 
Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
http://twitter.com/survivant