You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Wick, Dan" <Da...@Donaldson.com> on 2009/02/09 17:45:56 UTC
RE: trouble deploying struts2 app to tomcat 1.5.0.05 *FIXED*
Ok, I have no clue why this matters...but I changed my context setup &
everything deployed just fine.
OLD ONE:
<Context
path="/pwww"
docBase="/foo/pwww/pwww.war"
debug="10"
swallowOutput="true"
reloadable="true"
crossContext="false"
privileged="true"
>
NEW ONE:
<Context path="/pwww"
reloadable="true"
docBase="/foo/pwww/pwww.war"
workDir="/foo/pwww/work">
Not sure if it was the one's I took out, or the new 'workDir' attribute
that I added that fixed it...but it does deploy now!
--Dan
> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@yahoo.com]
> Sent: Saturday, February 07, 2009 6:44 PM
> To: Struts Users Mailing List
> Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
>
> I'd try to run it with a more recent HP-UX JVM and I'd look
> for known issues with the HP-UX JVM.
>
> Dave
>
> Wick, Dan wrote:
> > Ok, to make the problem more simplified...I took the
> > struts2-blank-2.0.12.war application & deployed it to my
> local tomcat.
> > That works.
> >
> > Took the same war & deployed it to my server environment
> tomcat - FAILS.
> > Note that I have commented out every other application
> running there,
> > so it's a 1 to 1 comparison between local & server.
> >
> > Difference between server & local is:
> > Local Tomcat: 5.5.17
> > Local JVM: 1.5.0_13
> > -----------------------
> > Server Tomcat: 5.5.20
> > Server JVM: 1.5.0.05-_17_oct_2006_02_15
> >
> > Does anyone know the differences between these versions well? What
> > could be the culprit!?!
> >
> > Stack for struts-blank on the server is:
> > Feb 6, 2009 1:15:49 PM org.apache.catalina.core.StandardContext
> > filterStart
> > SEVERE: Exception starting filter struts2
> > java.lang.ClassNotFoundException:
> > org.apache.struts2.dispatcher.FilterDispatcher
> > at
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(Unknown Source)
> > at
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(Unknown Source)
> > at
> > org.apache.catalina.core.ApplicationFilterConfig.getFilter(Unknown
> > Source)
> > at
> >
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Unknown
> > Source)
> > at
> >
> org.apache.catalina.core.ApplicationFilterConfig.<init>(Unknow
> n Source)
> > at org.apache.catalina.core.StandardContext.filterStart(Unknown
> > Source)
> > at org.apache.catalina.core.StandardContext.start(Unknown
> > Source)
> > at org.apache.catalina.core.ContainerBase.start(Unknown Source)
> > at org.apache.catalina.core.StandardHost.start(Unknown Source)
> > at org.apache.catalina.core.ContainerBase.start(Unknown Source)
> > at org.apache.catalina.core.StandardEngine.start(Unknown Source)
> > at org.apache.catalina.core.StandardService.start(Unknown
> > Source)
> > at org.apache.catalina.core.StandardServer.start(Unknown Source)
> > at org.apache.catalina.startup.Catalina.start(Unknown Source)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > av
> > a:39)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> > or
> > Impl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at org.apache.catalina.startup.Bootstrap.start(Unknown Source)
> > at org.apache.catalina.startup.Bootstrap.main(Unknown
> Source) Feb 6,
> > 2009 1:15:49 PM org.apache.catalina.core.StandardContext start
> > SEVERE: Error filterStart
> > Feb 6, 2009 1:15:49 PM
> org.apache.catalina.core.StandardContext start
> > SEVERE: Context [/blank] startup failed due to previous
> errors Feb 6,
> > 2009 1:15:50 PM org.apache.catalina.core.ApplicationCont
> >
> >
> > Looks very familiar...in fact exactly the same stack I get
> with my app.
> > Any suggestions on where to go from here!
> >
> > --Dan
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: trouble deploying struts2 app to tomcat 1.5.0.05 *FIXED*
Posted by Musachy Barroso <mu...@gmail.com>.
The exorcism suggestion wasn't that far fetched after all :)
musachy
On Mon, Feb 9, 2009 at 11:45 AM, Wick, Dan <Da...@donaldson.com> wrote:
> Ok, I have no clue why this matters...but I changed my context setup &
> everything deployed just fine.
>
> OLD ONE:
> <Context
> path="/pwww"
> docBase="/foo/pwww/pwww.war"
> debug="10"
> swallowOutput="true"
> reloadable="true"
> crossContext="false"
> privileged="true"
> >
> NEW ONE:
> <Context path="/pwww"
> reloadable="true"
> docBase="/foo/pwww/pwww.war"
> workDir="/foo/pwww/work">
>
> Not sure if it was the one's I took out, or the new 'workDir' attribute
> that I added that fixed it...but it does deploy now!
>
> --Dan
>
>> -----Original Message-----
>> From: Dave Newton [mailto:newton.dave@yahoo.com]
>> Sent: Saturday, February 07, 2009 6:44 PM
>> To: Struts Users Mailing List
>> Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
>>
>> I'd try to run it with a more recent HP-UX JVM and I'd look
>> for known issues with the HP-UX JVM.
>>
>> Dave
>>
>> Wick, Dan wrote:
>> > Ok, to make the problem more simplified...I took the
>> > struts2-blank-2.0.12.war application & deployed it to my
>> local tomcat.
>> > That works.
>> >
>> > Took the same war & deployed it to my server environment
>> tomcat - FAILS.
>> > Note that I have commented out every other application
>> running there,
>> > so it's a 1 to 1 comparison between local & server.
>> >
>> > Difference between server & local is:
>> > Local Tomcat: 5.5.17
>> > Local JVM: 1.5.0_13
>> > -----------------------
>> > Server Tomcat: 5.5.20
>> > Server JVM: 1.5.0.05-_17_oct_2006_02_15
>> >
>> > Does anyone know the differences between these versions well? What
>> > could be the culprit!?!
>> >
>> > Stack for struts-blank on the server is:
>> > Feb 6, 2009 1:15:49 PM org.apache.catalina.core.StandardContext
>> > filterStart
>> > SEVERE: Exception starting filter struts2
>> > java.lang.ClassNotFoundException:
>> > org.apache.struts2.dispatcher.FilterDispatcher
>> > at
>> >
>> org.apache.catalina.loader.WebappClassLoader.loadClass(Unknown Source)
>> > at
>> >
>> org.apache.catalina.loader.WebappClassLoader.loadClass(Unknown Source)
>> > at
>> > org.apache.catalina.core.ApplicationFilterConfig.getFilter(Unknown
>> > Source)
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Unknown
>> > Source)
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(Unknow
>> n Source)
>> > at org.apache.catalina.core.StandardContext.filterStart(Unknown
>> > Source)
>> > at org.apache.catalina.core.StandardContext.start(Unknown
>> > Source)
>> > at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>> > at org.apache.catalina.core.StandardHost.start(Unknown Source)
>> > at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>> > at org.apache.catalina.core.StandardEngine.start(Unknown Source)
>> > at org.apache.catalina.core.StandardService.start(Unknown
>> > Source)
>> > at org.apache.catalina.core.StandardServer.start(Unknown Source)
>> > at org.apache.catalina.startup.Catalina.start(Unknown Source)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> > av
>> > a:39)
>> > at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>> > or
>> > Impl.java:25)
>> > at java.lang.reflect.Method.invoke(Method.java:585)
>> > at org.apache.catalina.startup.Bootstrap.start(Unknown Source)
>> > at org.apache.catalina.startup.Bootstrap.main(Unknown
>> Source) Feb 6,
>> > 2009 1:15:49 PM org.apache.catalina.core.StandardContext start
>> > SEVERE: Error filterStart
>> > Feb 6, 2009 1:15:49 PM
>> org.apache.catalina.core.StandardContext start
>> > SEVERE: Context [/blank] startup failed due to previous
>> errors Feb 6,
>> > 2009 1:15:50 PM org.apache.catalina.core.ApplicationCont
>> >
>> >
>> > Looks very familiar...in fact exactly the same stack I get
>> with my app.
>> > Any suggestions on where to go from here!
>> >
>> > --Dan
>> >
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: user-help@struts.apache.org
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org