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/02 15:03:38 UTC

RE: trouble deploying struts2 app to tomcat 1.5.0.05

Martin,

> we can be of more assistance if you send us the .project 

Here's the contents of the .project...not much there.
*************.project**************
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>pwww</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.jdt.core.javanature</nature>
		<nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
	</natures>
</projectDescription>
*************.project**************

*****************Here's the .classpath, shows the libs I'm using
locally************
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="Source/src"/>
	<classpathentry kind="lib"
path="G:/StWorking/dcic/source/www/WEB-INF/lib/activation.jar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/antlr-2.7.2.jar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/commons-beanutils-1.6.jar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/commons-chain-1.1.jar"/>
	<classpathentry kind="lib"
path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-collections-3.1.j
ar"/>
	<classpathentry kind="lib"
path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-fileupload-1.1.1.
jar"/>
	<classpathentry kind="lib"
path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-io-1.4.jar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/commons-logging-1.0.4.jar"/>
	<classpathentry kind="lib"
path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-validator-1.3.0.j
ar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/freemarker-2.3.8.jar"/>
	<classpathentry kind="lib"
path="G:/StWorking/dcic/source/www/WEB-INF/lib/mail.jar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/ognl-2.6.11.jar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/oro-2.0.8.jar"/>
	<classpathentry kind="lib"
path="G:/StWorking/dcic/source/www/WEB-INF/lib/ostermillerutils_1_06_01.
jar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/struts2-core-2.0.12.jar"/>
	<classpathentry kind="lib"
path="Source/www/WEB-INF/lib/xwork-2.0.6.jar"/>
	<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="lib"
path="C:/tomcat/apache-tomcat-5.5.17/common/lib/servlet-api.jar"/>
	<classpathentry kind="output"
path="Source/www/WEB-INF/classes"/>
</classpath>


Libs in my deployed app's war's /WEB-INF/lib are:
********************WEB-INF/lib********************
activation.jar
antlr-2.7.2.jar
commons-beanutils-1.6.jar
commons-chain-1.1.jar
commons-collections-3.1.jar
commons-fileupload-1.1.1.jar
commons-io-1.4.jar
commons-logging-1.0.4.jar
commons-validator-1.3.0.jar
freemarker-2.3.8.jar
mail.jar
ognl-2.6.11.jar
oro-2.0.8.jar
ostermillerutils_1_06_01.jar
struts2-core-2.0.12.jar
xwork-2.0.6.jar
*********************End WEB-INF/lib********************


> 
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the 
> official business of Sender. This transmission is of a 
> confidential nature and Sender does not endorse distribution 
> to any party other than intended recipient. Sender does not 
> necessarily endorse content contained within this transmission. 
> 
> 
> 
> 
> > Date: Fri, 30 Jan 2009 22:40:29 +0100
> > Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
> > From: lukasz.lenart@googlemail.com
> > To: user@struts.apache.org
> > 
> > 2009/1/30 Wick, Dan <Da...@donaldson.com>:
> > > I've developed an application using struts2 (2.0.12 to be 
> exact).  
> > > It works on my local windows box, on Tomcat via Eclipse, 
> but not as 
> > > a war when I put it up on a server.  I get the following stack, 
> > > which I can't see anything wrong...although I'm sure it's 
> something I did!
> > 
> > Just before when you will create war file with Eclipse, you 
> have check 
> > in procject settings which jar also export into the war.
> > 
> > 
> > Regards
> > --
> > Lukasz
> > http://www.lenart.org.pl/
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> 
> _________________________________________________________________
> Windows Live(tm) Hotmail(r)...more than just e-mail. 
> http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_just
gotbetter_howitworks_012009
> 


---------------------------------------------------------------------
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

Posted by "Wick, Dan" <Da...@Donaldson.com>.
> Libs look ok, that is quite weird, something is messed up or
> duplicated(jars) in the server.

I'm not seeing anything obvious:  

/tomcat/common/lib  has these:
commons-el.jar
jasper-compiler-jdt.jar
jasper-compiler.jar
jasper-runtime.jar
jsp-api.jar
naming-factory-dbcp.jar
naming-factory.jar
naming-resources.jar
ojdbc14.jar
servlet-api.jar

Any ideas where else to look?

--Dan

> 
> musachy
> 
> On Wed, Feb 4, 2009 at 9:41 AM, Wick, Dan 
> <Da...@donaldson.com> wrote:
> >> $ unzip -l your_war_name.war | grep lib
> >>
> >> and post the output.
> >
> > Sorry about that. I've been pulling out jars to see if they were 
> > unused/conflicting.  Below is the complete contents of the 
> WEB-INF/lib.
> >
> > activation.jar
> > antlr-2.7.2.jar
> > commons-beanutils-1.6.jar
> > commons-chain-1.1.jar
> > commons-collections-3.1.jar
> > commons-fileupload-1.1.1.jar
> > commons-io-1.4.jar
> > commons-logging-1.0.4.jar
> > commons-validator-1.3.0.jar
> > freemarker-2.3.8.jar
> > log4j-1.2.15.jar
> > mail.jar
> > ognl-2.6.11.jar
> > oro-2.0.8.jar
> > ostermillerutils_1_06_01.jar
> > struts2-core-2.0.12.jar
> > struts2-pell-multipart-plugin-2.0.12.jar
> > xwork-2.0.6.jar
> >
> > --Dan
> >
> >> -----Original Message-----
> >> From: Musachy Barroso [mailto:musachy@gmail.com]
> >> Sent: Tuesday, February 03, 2009 4:35 PM
> >> To: Struts Users Mailing List
> >> Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
> >>
> >> The first time you listed the jars, the struts and xwork jars were 
> >> not in lib. Drop to a shell and run
> >>
> >> $ unzip -l your_war_name.war | grep lib
> >>
> >> and post the output.
> >>
> >> musachy
> >>
> >> On Tue, Feb 3, 2009 at 3:45 PM, Wick, Dan <Da...@donaldson.com> 
> >> wrote:
> >> > Is there a way to get a good log of what's actually
> >> happening?  Can't
> >> > seem to get a stack that points at a specific problem.  
> I've been 
> >> > staring at this so long that I don't know where to look next!
> >> >
> >> > --Dan
> >> >
> >> > Feb 3, 2009 2:28:21 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 So
> >> > urce)
> >> >        at
> >> >
> >> 
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Unknown
> >> >  Source)
> >> >        at
> >> >
> >> 
> org.apache.catalina.core.ApplicationFilterConfig.<init>(Unknown Sourc
> >> > e)
> >> >        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)
> >> >
> >> >> -----Original Message-----
> >> >> From: Wick, Dan [mailto:Dan.Wick@Donaldson.com]
> >> >> Sent: Monday, February 02, 2009 8:04 AM
> >> >> To: Struts Users Mailing List
> >> >> Subject: RE: trouble deploying struts2 app to tomcat 1.5.0.05
> >> >>
> >> >> Martin,
> >> >>
> >> >> > we can be of more assistance if you send us the .project
> >> >>
> >> >> Here's the contents of the .project...not much there.
> >> >> *************.project**************
> >> >> <?xml version="1.0" encoding="UTF-8"?> <projectDescription>
> >> >>       <name>pwww</name>
> >> >>       <comment></comment>
> >> >>       <projects>
> >> >>       </projects>
> >> >>       <buildSpec>
> >> >>               <buildCommand>
> >> >>                       
> <name>org.eclipse.jdt.core.javabuilder</name>
> >> >>                       <arguments>
> >> >>                       </arguments>
> >> >>               </buildCommand>
> >> >>       </buildSpec>
> >> >>       <natures>
> >> >>               <nature>org.eclipse.jdt.core.javanature</nature>
> >> >>
> >> <nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
> >> >>       </natures>
> >> >> </projectDescription>
> >> >> *************.project**************
> >> >>
> >> >> *****************Here's the .classpath, shows the libs I'm using
> >> >> locally************
> >> >> <?xml version="1.0" encoding="UTF-8"?> <classpath>
> >> >>       <classpathentry kind="src" path="Source/src"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/activation.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/antlr-2.7.2.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/commons-beanutils-1.6.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/commons-chain-1.1.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-collect
> >> > ions-3.1.j
> >> >> ar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-fileupl
> >> > oad-1.1.1.
> >> >> jar"/>
> >> >>       <classpathentry kind="lib"
> >> >>
> >> 
> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-io-1.4.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/commons-logging-1.0.4.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-validat
> >> > or-1.3.0.j
> >> >> ar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/freemarker-2.3.8.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/mail.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/ognl-2.6.11.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/oro-2.0.8.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/ostermillerutil
> >> > s_1_06_01.
> >> >> jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/struts2-core-2.0.12.jar"/>
> >> >>       <classpathentry kind="lib"
> >> >> path="Source/www/WEB-INF/lib/xwork-2.0.6.jar"/>
> >> >>       <classpathentry kind="con"
> >> >> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> >> >>       <classpathentry kind="lib"
> >> >> 
> path="C:/tomcat/apache-tomcat-5.5.17/common/lib/servlet-api.jar"/>
> >> >>       <classpathentry kind="output"
> >> >> path="Source/www/WEB-INF/classes"/>
> >> >> </classpath>
> >> >>
> >> >>
> >> >> Libs in my deployed app's war's /WEB-INF/lib are:
> >> >> ********************WEB-INF/lib********************
> >> >> activation.jar
> >> >> antlr-2.7.2.jar
> >> >> commons-beanutils-1.6.jar
> >> >> commons-chain-1.1.jar
> >> >> commons-collections-3.1.jar
> >> >> commons-fileupload-1.1.1.jar
> >> >> commons-io-1.4.jar
> >> >> commons-logging-1.0.4.jar
> >> >> commons-validator-1.3.0.jar
> >> >> freemarker-2.3.8.jar
> >> >> mail.jar
> >> >> ognl-2.6.11.jar
> >> >> oro-2.0.8.jar
> >> >> ostermillerutils_1_06_01.jar
> >> >> struts2-core-2.0.12.jar
> >> >> xwork-2.0.6.jar
> >> >> *********************End WEB-INF/lib********************
> >> >>
> >> >>
> >> >> >
> >> >> > Martin
> >> >> > ______________________________________________
> >> >> > Disclaimer and confidentiality note Everything in this
> >> e-mail and
> >> >> > any attachments relates to
> >> >> the official
> >> >> > business of Sender. This transmission is of a confidential
> >> >> nature and
> >> >> > Sender does not endorse distribution to any party other
> >> >> than intended
> >> >> > recipient. Sender does not necessarily endorse 
> content contained 
> >> >> > within this transmission.
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > > Date: Fri, 30 Jan 2009 22:40:29 +0100
> >> >> > > Subject: Re: trouble deploying struts2 app to 
> tomcat 1.5.0.05
> >> >> > > From: lukasz.lenart@googlemail.com
> >> >> > > To: user@struts.apache.org
> >> >> > >
> >> >> > > 2009/1/30 Wick, Dan <Da...@donaldson.com>:
> >> >> > > > I've developed an application using struts2 (2.0.12 to be
> >> >> > exact).
> >> >> > > > It works on my local windows box, on Tomcat via Eclipse,
> >> >> > but not as
> >> >> > > > a war when I put it up on a server.  I get the
> >> following stack,
> >> >> > > > which I can't see anything wrong...although I'm sure it's
> >> >> > something I did!
> >> >> > >
> >> >> > > Just before when you will create war file with Eclipse, you
> >> >> > have check
> >> >> > > in procject settings which jar also export into the war.
> >> >> > >
> >> >> > >
> >> >> > > Regards
> >> >> > > --
> >> >> > > Lukasz
> >> >> > > http://www.lenart.org.pl/
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >> 
> ---------------------------------------------------------------------
> >> >> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> >> > > For additional commands, e-mail: user-help@struts.apache.org
> >> >> > >
> >> >> >
> >> >> > 
> ________________________________________________________________
> >> >> > _ Windows Live(tm) Hotmail(r)...more than just e-mail.
> >> >> > http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_just
> >> >> gotbetter_howitworks_012009
> >> >> >
> >> >>
> >> >>
> >> >>
> >> 
> ---------------------------------------------------------------------
> >> >> 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
> >>
> >>
> >>
> >
> >
> > 
> ---------------------------------------------------------------------
> > 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
> 
> 
> 


---------------------------------------------------------------------
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

Posted by Musachy Barroso <mu...@gmail.com>.
Libs look ok, that is quite weird, something is messed up or
duplicated(jars) in the server.

musachy

On Wed, Feb 4, 2009 at 9:41 AM, Wick, Dan <Da...@donaldson.com> wrote:
>> $ unzip -l your_war_name.war | grep lib
>>
>> and post the output.
>
> Sorry about that. I've been pulling out jars to see if they were
> unused/conflicting.  Below is the complete contents of the WEB-INF/lib.
>
> activation.jar
> antlr-2.7.2.jar
> commons-beanutils-1.6.jar
> commons-chain-1.1.jar
> commons-collections-3.1.jar
> commons-fileupload-1.1.1.jar
> commons-io-1.4.jar
> commons-logging-1.0.4.jar
> commons-validator-1.3.0.jar
> freemarker-2.3.8.jar
> log4j-1.2.15.jar
> mail.jar
> ognl-2.6.11.jar
> oro-2.0.8.jar
> ostermillerutils_1_06_01.jar
> struts2-core-2.0.12.jar
> struts2-pell-multipart-plugin-2.0.12.jar
> xwork-2.0.6.jar
>
> --Dan
>
>> -----Original Message-----
>> From: Musachy Barroso [mailto:musachy@gmail.com]
>> Sent: Tuesday, February 03, 2009 4:35 PM
>> To: Struts Users Mailing List
>> Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
>>
>> The first time you listed the jars, the struts and xwork jars
>> were not in lib. Drop to a shell and run
>>
>> $ unzip -l your_war_name.war | grep lib
>>
>> and post the output.
>>
>> musachy
>>
>> On Tue, Feb 3, 2009 at 3:45 PM, Wick, Dan
>> <Da...@donaldson.com> wrote:
>> > Is there a way to get a good log of what's actually
>> happening?  Can't
>> > seem to get a stack that points at a specific problem.  I've been
>> > staring at this so long that I don't know where to look next!
>> >
>> > --Dan
>> >
>> > Feb 3, 2009 2:28:21 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 So
>> > urce)
>> >        at
>> >
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Unknown
>> >  Source)
>> >        at
>> >
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(Unknown Sourc
>> > e)
>> >        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)
>> >
>> >> -----Original Message-----
>> >> From: Wick, Dan [mailto:Dan.Wick@Donaldson.com]
>> >> Sent: Monday, February 02, 2009 8:04 AM
>> >> To: Struts Users Mailing List
>> >> Subject: RE: trouble deploying struts2 app to tomcat 1.5.0.05
>> >>
>> >> Martin,
>> >>
>> >> > we can be of more assistance if you send us the .project
>> >>
>> >> Here's the contents of the .project...not much there.
>> >> *************.project**************
>> >> <?xml version="1.0" encoding="UTF-8"?> <projectDescription>
>> >>       <name>pwww</name>
>> >>       <comment></comment>
>> >>       <projects>
>> >>       </projects>
>> >>       <buildSpec>
>> >>               <buildCommand>
>> >>                       <name>org.eclipse.jdt.core.javabuilder</name>
>> >>                       <arguments>
>> >>                       </arguments>
>> >>               </buildCommand>
>> >>       </buildSpec>
>> >>       <natures>
>> >>               <nature>org.eclipse.jdt.core.javanature</nature>
>> >>
>> <nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
>> >>       </natures>
>> >> </projectDescription>
>> >> *************.project**************
>> >>
>> >> *****************Here's the .classpath, shows the libs I'm using
>> >> locally************
>> >> <?xml version="1.0" encoding="UTF-8"?> <classpath>
>> >>       <classpathentry kind="src" path="Source/src"/>
>> >>       <classpathentry kind="lib"
>> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/activation.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/antlr-2.7.2.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/commons-beanutils-1.6.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/commons-chain-1.1.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-collect
>> > ions-3.1.j
>> >> ar"/>
>> >>       <classpathentry kind="lib"
>> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-fileupl
>> > oad-1.1.1.
>> >> jar"/>
>> >>       <classpathentry kind="lib"
>> >>
>> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-io-1.4.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/commons-logging-1.0.4.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-validat
>> > or-1.3.0.j
>> >> ar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/freemarker-2.3.8.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/mail.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/ognl-2.6.11.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/oro-2.0.8.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/ostermillerutil
>> > s_1_06_01.
>> >> jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/struts2-core-2.0.12.jar"/>
>> >>       <classpathentry kind="lib"
>> >> path="Source/www/WEB-INF/lib/xwork-2.0.6.jar"/>
>> >>       <classpathentry kind="con"
>> >> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>> >>       <classpathentry kind="lib"
>> >> path="C:/tomcat/apache-tomcat-5.5.17/common/lib/servlet-api.jar"/>
>> >>       <classpathentry kind="output"
>> >> path="Source/www/WEB-INF/classes"/>
>> >> </classpath>
>> >>
>> >>
>> >> Libs in my deployed app's war's /WEB-INF/lib are:
>> >> ********************WEB-INF/lib********************
>> >> activation.jar
>> >> antlr-2.7.2.jar
>> >> commons-beanutils-1.6.jar
>> >> commons-chain-1.1.jar
>> >> commons-collections-3.1.jar
>> >> commons-fileupload-1.1.1.jar
>> >> commons-io-1.4.jar
>> >> commons-logging-1.0.4.jar
>> >> commons-validator-1.3.0.jar
>> >> freemarker-2.3.8.jar
>> >> mail.jar
>> >> ognl-2.6.11.jar
>> >> oro-2.0.8.jar
>> >> ostermillerutils_1_06_01.jar
>> >> struts2-core-2.0.12.jar
>> >> xwork-2.0.6.jar
>> >> *********************End WEB-INF/lib********************
>> >>
>> >>
>> >> >
>> >> > Martin
>> >> > ______________________________________________
>> >> > Disclaimer and confidentiality note Everything in this
>> e-mail and
>> >> > any attachments relates to
>> >> the official
>> >> > business of Sender. This transmission is of a confidential
>> >> nature and
>> >> > Sender does not endorse distribution to any party other
>> >> than intended
>> >> > recipient. Sender does not necessarily endorse content contained
>> >> > within this transmission.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > > Date: Fri, 30 Jan 2009 22:40:29 +0100
>> >> > > Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
>> >> > > From: lukasz.lenart@googlemail.com
>> >> > > To: user@struts.apache.org
>> >> > >
>> >> > > 2009/1/30 Wick, Dan <Da...@donaldson.com>:
>> >> > > > I've developed an application using struts2 (2.0.12 to be
>> >> > exact).
>> >> > > > It works on my local windows box, on Tomcat via Eclipse,
>> >> > but not as
>> >> > > > a war when I put it up on a server.  I get the
>> following stack,
>> >> > > > which I can't see anything wrong...although I'm sure it's
>> >> > something I did!
>> >> > >
>> >> > > Just before when you will create war file with Eclipse, you
>> >> > have check
>> >> > > in procject settings which jar also export into the war.
>> >> > >
>> >> > >
>> >> > > Regards
>> >> > > --
>> >> > > Lukasz
>> >> > > http://www.lenart.org.pl/
>> >> > >
>> >> > >
>> >> >
>> >>
>> ---------------------------------------------------------------------
>> >> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> > > For additional commands, e-mail: user-help@struts.apache.org
>> >> > >
>> >> >
>> >> > _________________________________________________________________
>> >> > Windows Live(tm) Hotmail(r)...more than just e-mail.
>> >> > http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_just
>> >> gotbetter_howitworks_012009
>> >> >
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------
>> >> 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
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> 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


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


RE: trouble deploying struts2 app to tomcat 1.5.0.05 *FIXED*

Posted by "Wick, Dan" <Da...@Donaldson.com>.
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

Posted by Dave Newton <ne...@yahoo.com>.
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>(Unknown 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.jav
> a:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> 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


RE: trouble deploying struts2 app to tomcat 1.5.0.05

Posted by "Wick, Dan" <Da...@Donaldson.com>.
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>(Unknown 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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
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


RE: trouble deploying struts2 app to tomcat 1.5.0.05

Posted by "Wick, Dan" <Da...@Donaldson.com>.
> Musachy Barroso wrote:
> > at all. Can you check the file permissions on the libs, and 
> make sure 

Against better judgement, changed permissions to 777 on everything in
the app. User that owns the files is the same as the user that tomcat
runs as...so should be set there.

> > they are readable by the user that the tomcat is running 
> under? Also 
> > check the tomcat logs for errors.

Tomcat logs are just showing the things that are working...don't see
errors.  Perplexed!

--Dan


---------------------------------------------------------------------
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

Posted by Dave Newton <ne...@yahoo.com>.
Musachy Barroso wrote:
> Changing the log levels won't probably help much, as the container is
> failing to load the Struts2 filter, so no code from Struts is running
> at all. Can you check the file permissions on the libs, and make sure
> they are readable by the user that the tomcat is running under? Also
> check the tomcat logs for errors.

Hmm, good point.

Since you're on a Linux box you could also use the diff tools to see any 
  other differences.

> //I will recommend an exorcism next :)

Sweet.

Dave


---------------------------------------------------------------------
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

Posted by Musachy Barroso <mu...@gmail.com>.
Changing the log levels won't probably help much, as the container is
failing to load the Struts2 filter, so no code from Struts is running
at all. Can you check the file permissions on the libs, and make sure
they are readable by the user that the tomcat is running under? Also
check the tomcat logs for errors.

//I will recommend an exorcism next :)
musachy

On Thu, Feb 5, 2009 at 12:08 PM, Wick, Dan <Da...@donaldson.com> wrote:
>
>> > Is there a way to make the framework itself log more?
>>
>> Set the log levels on S2, XW, and OGNL to DEBUG.
>
> Where do I set the log levels?  Sorry, this is my first strut2 app..so
> am a noob 2 it!
>
>> >> Can you reproduce the problem with a minimal WAR you can host
>> >> somewhere?
>
> Well, I know Struts2 runs on the platform.  We have one other struts2
> (same struts version) app running on the same type of server, same o/s
> version.
>
> -Dan
>
>
> ---------------------------------------------------------------------
> 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


RE: trouble deploying struts2 app to tomcat 1.5.0.05

Posted by "Wick, Dan" <Da...@Donaldson.com>.
> > Is there a way to make the framework itself log more?
> 
> Set the log levels on S2, XW, and OGNL to DEBUG.

Where do I set the log levels?  Sorry, this is my first strut2 app..so
am a noob 2 it!

> >> Can you reproduce the problem with a minimal WAR you can host 
> >> somewhere?

Well, I know Struts2 runs on the platform.  We have one other struts2
(same struts version) app running on the same type of server, same o/s
version.

-Dan 


---------------------------------------------------------------------
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

Posted by Dave Newton <ne...@yahoo.com>.
Wick, Dan wrote:
> Is there a way to make the framework itself log more?

Set the log levels on S2, XW, and OGNL to DEBUG.

(Well, probably don't need OGNL in this case.)

>> Can you reproduce the problem with a minimal WAR you can host 
>> somewhere?
> Tried pushing the war to an urelated server with no other apps running
> on it.  Same error.

No no, I mean can you create a minimal S2 app that contains nothing but 
the jars and S2 configs w/o actions etc. and dupe the issue? If so, you 
could host that WAR somewhere and other list participants and/or devs 
can grab it and look at it more in-depth.

This one'll be hard for us to dupe unless someone has an HP-UX box (I 
don't, and I shudder when I recall the few times I've had to deal with 
them).

I believe something pathological is happening, perhaps HP-UX-specific. I 
mean, the libs seem to be there, but reducing it to a bare-minimum S2 
app would help reduce the number of things to consider.

Dave

---------------------------------------------------------------------
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

Posted by "Wick, Dan" <Da...@Donaldson.com>.
> Do you have devMode turned on? Is logging turned all the way up?

Dev mode is on.  Logging for the context (server.xml) is set to 10.

Is there a way to make the framework itself log more?

> 
> What version of Tomcat are you *actually* using--5.0.15?

Tomcat is specifically 5.0.15 on HP-UX (UNIX) running Java

$ ./java -version
java version "1.5.0.05"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0.05-_17_oct_2006_02
_15)
Java HotSpot(TM) Server VM (build 1.5.0.05 jinteg:10.17.06-01:20 PA2.0
(aCC_AP),
 mixed mode)

> 
> Can you reproduce the problem with a minimal WAR you can host 
> somewhere?

Tried pushing the war to an urelated server with no other apps running
on it.  Same error.

--Dan


---------------------------------------------------------------------
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

Posted by Dave Newton <ne...@yahoo.com>.
Wick, Dan wrote:
>> Are you actually using Pell? I didn't see the library there, 
>> and it could cause a startup issue (can't check at the moment).
> 
> I tried removing it, just to see what happens.  Still get the stack
> below.  Note that it is in my classpath locally & runs fine there.

Do you have devMode turned on? Is logging turned all the way up?

What version of Tomcat are you *actually* using--5.0.15?

Is the server also Windows?

Can you reproduce the problem with a minimal WAR you can host somewhere?

Dave


---------------------------------------------------------------------
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

Posted by "Wick, Dan" <Da...@Donaldson.com>.
> Are you actually using Pell? I didn't see the library there, 
> and it could cause a startup issue (can't check at the moment).

I tried removing it, just to see what happens.  Still get the stack
below.  Note that it is in my classpath locally & runs fine there.

--Dan

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 So
urce)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Unknown
 Source)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(Unknown Sourc
e)
        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)


> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@yahoo.com] 
> Sent: Wednesday, February 04, 2009 8:33 PM
> To: Struts Users Mailing List
> Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
> 
> Wick, Dan wrote:
> > struts2-pell-multipart-plugin-2.0.12.jar
> 
> Are you actually using Pell? I didn't see the library there, 
> and it could cause a startup issue (can't check at the moment).
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> 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

Posted by Dave Newton <ne...@yahoo.com>.
Wick, Dan wrote:
> struts2-pell-multipart-plugin-2.0.12.jar

Are you actually using Pell? I didn't see the library there, and it 
could cause a startup issue (can't check at the moment).

Dave


---------------------------------------------------------------------
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

Posted by "Wick, Dan" <Da...@Donaldson.com>.
> $ unzip -l your_war_name.war | grep lib
> 
> and post the output.

Sorry about that. I've been pulling out jars to see if they were
unused/conflicting.  Below is the complete contents of the WEB-INF/lib.

activation.jar
antlr-2.7.2.jar
commons-beanutils-1.6.jar
commons-chain-1.1.jar
commons-collections-3.1.jar
commons-fileupload-1.1.1.jar
commons-io-1.4.jar
commons-logging-1.0.4.jar
commons-validator-1.3.0.jar
freemarker-2.3.8.jar
log4j-1.2.15.jar
mail.jar
ognl-2.6.11.jar
oro-2.0.8.jar
ostermillerutils_1_06_01.jar
struts2-core-2.0.12.jar
struts2-pell-multipart-plugin-2.0.12.jar
xwork-2.0.6.jar

--Dan

> -----Original Message-----
> From: Musachy Barroso [mailto:musachy@gmail.com] 
> Sent: Tuesday, February 03, 2009 4:35 PM
> To: Struts Users Mailing List
> Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
> 
> The first time you listed the jars, the struts and xwork jars 
> were not in lib. Drop to a shell and run
> 
> $ unzip -l your_war_name.war | grep lib
> 
> and post the output.
> 
> musachy
> 
> On Tue, Feb 3, 2009 at 3:45 PM, Wick, Dan 
> <Da...@donaldson.com> wrote:
> > Is there a way to get a good log of what's actually 
> happening?  Can't 
> > seem to get a stack that points at a specific problem.  I've been 
> > staring at this so long that I don't know where to look next!
> >
> > --Dan
> >
> > Feb 3, 2009 2:28:21 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 So
> > urce)
> >        at
> > 
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Unknown
> >  Source)
> >        at
> > 
> org.apache.catalina.core.ApplicationFilterConfig.<init>(Unknown Sourc
> > e)
> >        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)
> >
> >> -----Original Message-----
> >> From: Wick, Dan [mailto:Dan.Wick@Donaldson.com]
> >> Sent: Monday, February 02, 2009 8:04 AM
> >> To: Struts Users Mailing List
> >> Subject: RE: trouble deploying struts2 app to tomcat 1.5.0.05
> >>
> >> Martin,
> >>
> >> > we can be of more assistance if you send us the .project
> >>
> >> Here's the contents of the .project...not much there.
> >> *************.project**************
> >> <?xml version="1.0" encoding="UTF-8"?> <projectDescription>
> >>       <name>pwww</name>
> >>       <comment></comment>
> >>       <projects>
> >>       </projects>
> >>       <buildSpec>
> >>               <buildCommand>
> >>                       <name>org.eclipse.jdt.core.javabuilder</name>
> >>                       <arguments>
> >>                       </arguments>
> >>               </buildCommand>
> >>       </buildSpec>
> >>       <natures>
> >>               <nature>org.eclipse.jdt.core.javanature</nature>
> >>               
> <nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
> >>       </natures>
> >> </projectDescription>
> >> *************.project**************
> >>
> >> *****************Here's the .classpath, shows the libs I'm using
> >> locally************
> >> <?xml version="1.0" encoding="UTF-8"?> <classpath>
> >>       <classpathentry kind="src" path="Source/src"/>
> >>       <classpathentry kind="lib"
> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/activation.jar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/antlr-2.7.2.jar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/commons-beanutils-1.6.jar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/commons-chain-1.1.jar"/>
> >>       <classpathentry kind="lib"
> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-collect
> > ions-3.1.j
> >> ar"/>
> >>       <classpathentry kind="lib"
> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-fileupl
> > oad-1.1.1.
> >> jar"/>
> >>       <classpathentry kind="lib"
> >> 
> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-io-1.4.jar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/commons-logging-1.0.4.jar"/>
> >>       <classpathentry kind="lib"
> >> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-validat
> > or-1.3.0.j
> >> ar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/freemarker-2.3.8.jar"/>
> >>       <classpathentry kind="lib"
> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/mail.jar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/ognl-2.6.11.jar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/oro-2.0.8.jar"/>
> >>       <classpathentry kind="lib"
> >> path="G:/StWorking/dcic/source/www/WEB-INF/lib/ostermillerutil
> > s_1_06_01.
> >> jar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/struts2-core-2.0.12.jar"/>
> >>       <classpathentry kind="lib"
> >> path="Source/www/WEB-INF/lib/xwork-2.0.6.jar"/>
> >>       <classpathentry kind="con"
> >> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> >>       <classpathentry kind="lib"
> >> path="C:/tomcat/apache-tomcat-5.5.17/common/lib/servlet-api.jar"/>
> >>       <classpathentry kind="output"
> >> path="Source/www/WEB-INF/classes"/>
> >> </classpath>
> >>
> >>
> >> Libs in my deployed app's war's /WEB-INF/lib are:
> >> ********************WEB-INF/lib********************
> >> activation.jar
> >> antlr-2.7.2.jar
> >> commons-beanutils-1.6.jar
> >> commons-chain-1.1.jar
> >> commons-collections-3.1.jar
> >> commons-fileupload-1.1.1.jar
> >> commons-io-1.4.jar
> >> commons-logging-1.0.4.jar
> >> commons-validator-1.3.0.jar
> >> freemarker-2.3.8.jar
> >> mail.jar
> >> ognl-2.6.11.jar
> >> oro-2.0.8.jar
> >> ostermillerutils_1_06_01.jar
> >> struts2-core-2.0.12.jar
> >> xwork-2.0.6.jar
> >> *********************End WEB-INF/lib********************
> >>
> >>
> >> >
> >> > Martin
> >> > ______________________________________________
> >> > Disclaimer and confidentiality note Everything in this 
> e-mail and 
> >> > any attachments relates to
> >> the official
> >> > business of Sender. This transmission is of a confidential
> >> nature and
> >> > Sender does not endorse distribution to any party other
> >> than intended
> >> > recipient. Sender does not necessarily endorse content contained 
> >> > within this transmission.
> >> >
> >> >
> >> >
> >> >
> >> > > Date: Fri, 30 Jan 2009 22:40:29 +0100
> >> > > Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
> >> > > From: lukasz.lenart@googlemail.com
> >> > > To: user@struts.apache.org
> >> > >
> >> > > 2009/1/30 Wick, Dan <Da...@donaldson.com>:
> >> > > > I've developed an application using struts2 (2.0.12 to be
> >> > exact).
> >> > > > It works on my local windows box, on Tomcat via Eclipse,
> >> > but not as
> >> > > > a war when I put it up on a server.  I get the 
> following stack, 
> >> > > > which I can't see anything wrong...although I'm sure it's
> >> > something I did!
> >> > >
> >> > > Just before when you will create war file with Eclipse, you
> >> > have check
> >> > > in procject settings which jar also export into the war.
> >> > >
> >> > >
> >> > > Regards
> >> > > --
> >> > > Lukasz
> >> > > http://www.lenart.org.pl/
> >> > >
> >> > >
> >> >
> >> 
> ---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> > > For additional commands, e-mail: user-help@struts.apache.org
> >> > >
> >> >
> >> > _________________________________________________________________
> >> > Windows Live(tm) Hotmail(r)...more than just e-mail.
> >> > http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_just
> >> gotbetter_howitworks_012009
> >> >
> >>
> >>
> >> 
> ---------------------------------------------------------------------
> >> 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
> 
> 
> 


---------------------------------------------------------------------
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

Posted by Musachy Barroso <mu...@gmail.com>.
The first time you listed the jars, the struts and xwork jars were not
in lib. Drop to a shell and run

$ unzip -l your_war_name.war | grep lib

and post the output.

musachy

On Tue, Feb 3, 2009 at 3:45 PM, Wick, Dan <Da...@donaldson.com> wrote:
> Is there a way to get a good log of what's actually happening?  Can't
> seem to get a stack that points at a specific problem.  I've been
> staring at this so long that I don't know where to look next!
>
> --Dan
>
> Feb 3, 2009 2:28:21 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 So
> urce)
>        at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Unknown
>  Source)
>        at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(Unknown Sourc
> e)
>        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)
>
>> -----Original Message-----
>> From: Wick, Dan [mailto:Dan.Wick@Donaldson.com]
>> Sent: Monday, February 02, 2009 8:04 AM
>> To: Struts Users Mailing List
>> Subject: RE: trouble deploying struts2 app to tomcat 1.5.0.05
>>
>> Martin,
>>
>> > we can be of more assistance if you send us the .project
>>
>> Here's the contents of the .project...not much there.
>> *************.project**************
>> <?xml version="1.0" encoding="UTF-8"?>
>> <projectDescription>
>>       <name>pwww</name>
>>       <comment></comment>
>>       <projects>
>>       </projects>
>>       <buildSpec>
>>               <buildCommand>
>>                       <name>org.eclipse.jdt.core.javabuilder</name>
>>                       <arguments>
>>                       </arguments>
>>               </buildCommand>
>>       </buildSpec>
>>       <natures>
>>               <nature>org.eclipse.jdt.core.javanature</nature>
>>               <nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
>>       </natures>
>> </projectDescription>
>> *************.project**************
>>
>> *****************Here's the .classpath, shows the libs I'm using
>> locally************
>> <?xml version="1.0" encoding="UTF-8"?>
>> <classpath>
>>       <classpathentry kind="src" path="Source/src"/>
>>       <classpathentry kind="lib"
>> path="G:/StWorking/dcic/source/www/WEB-INF/lib/activation.jar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/antlr-2.7.2.jar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/commons-beanutils-1.6.jar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/commons-chain-1.1.jar"/>
>>       <classpathentry kind="lib"
>> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-collect
> ions-3.1.j
>> ar"/>
>>       <classpathentry kind="lib"
>> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-fileupl
> oad-1.1.1.
>> jar"/>
>>       <classpathentry kind="lib"
>> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-io-1.4.jar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/commons-logging-1.0.4.jar"/>
>>       <classpathentry kind="lib"
>> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-validat
> or-1.3.0.j
>> ar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/freemarker-2.3.8.jar"/>
>>       <classpathentry kind="lib"
>> path="G:/StWorking/dcic/source/www/WEB-INF/lib/mail.jar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/ognl-2.6.11.jar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/oro-2.0.8.jar"/>
>>       <classpathentry kind="lib"
>> path="G:/StWorking/dcic/source/www/WEB-INF/lib/ostermillerutil
> s_1_06_01.
>> jar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/struts2-core-2.0.12.jar"/>
>>       <classpathentry kind="lib"
>> path="Source/www/WEB-INF/lib/xwork-2.0.6.jar"/>
>>       <classpathentry kind="con"
>> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>>       <classpathentry kind="lib"
>> path="C:/tomcat/apache-tomcat-5.5.17/common/lib/servlet-api.jar"/>
>>       <classpathentry kind="output"
>> path="Source/www/WEB-INF/classes"/>
>> </classpath>
>>
>>
>> Libs in my deployed app's war's /WEB-INF/lib are:
>> ********************WEB-INF/lib********************
>> activation.jar
>> antlr-2.7.2.jar
>> commons-beanutils-1.6.jar
>> commons-chain-1.1.jar
>> commons-collections-3.1.jar
>> commons-fileupload-1.1.1.jar
>> commons-io-1.4.jar
>> commons-logging-1.0.4.jar
>> commons-validator-1.3.0.jar
>> freemarker-2.3.8.jar
>> mail.jar
>> ognl-2.6.11.jar
>> oro-2.0.8.jar
>> ostermillerutils_1_06_01.jar
>> struts2-core-2.0.12.jar
>> xwork-2.0.6.jar
>> *********************End WEB-INF/lib********************
>>
>>
>> >
>> > Martin
>> > ______________________________________________
>> > Disclaimer and confidentiality note
>> > Everything in this e-mail and any attachments relates to
>> the official
>> > business of Sender. This transmission is of a confidential
>> nature and
>> > Sender does not endorse distribution to any party other
>> than intended
>> > recipient. Sender does not necessarily endorse content contained
>> > within this transmission.
>> >
>> >
>> >
>> >
>> > > Date: Fri, 30 Jan 2009 22:40:29 +0100
>> > > Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
>> > > From: lukasz.lenart@googlemail.com
>> > > To: user@struts.apache.org
>> > >
>> > > 2009/1/30 Wick, Dan <Da...@donaldson.com>:
>> > > > I've developed an application using struts2 (2.0.12 to be
>> > exact).
>> > > > It works on my local windows box, on Tomcat via Eclipse,
>> > but not as
>> > > > a war when I put it up on a server.  I get the following stack,
>> > > > which I can't see anything wrong...although I'm sure it's
>> > something I did!
>> > >
>> > > Just before when you will create war file with Eclipse, you
>> > have check
>> > > in procject settings which jar also export into the war.
>> > >
>> > >
>> > > Regards
>> > > --
>> > > Lukasz
>> > > http://www.lenart.org.pl/
>> > >
>> > >
>> >
>> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > > For additional commands, e-mail: user-help@struts.apache.org
>> > >
>> >
>> > _________________________________________________________________
>> > Windows Live(tm) Hotmail(r)...more than just e-mail.
>> > http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_just
>> gotbetter_howitworks_012009
>> >
>>
>>
>> ---------------------------------------------------------------------
>> 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


RE: trouble deploying struts2 app to tomcat 1.5.0.05

Posted by "Wick, Dan" <Da...@Donaldson.com>.
Is there a way to get a good log of what's actually happening?  Can't
seem to get a stack that points at a specific problem.  I've been
staring at this so long that I don't know where to look next!

--Dan

Feb 3, 2009 2:28:21 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 So
urce)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Unknown
 Source)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(Unknown Sourc
e)
        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)

> -----Original Message-----
> From: Wick, Dan [mailto:Dan.Wick@Donaldson.com] 
> Sent: Monday, February 02, 2009 8:04 AM
> To: Struts Users Mailing List
> Subject: RE: trouble deploying struts2 app to tomcat 1.5.0.05
> 
> Martin,
> 
> > we can be of more assistance if you send us the .project
> 
> Here's the contents of the .project...not much there.
> *************.project**************
> <?xml version="1.0" encoding="UTF-8"?>
> <projectDescription>
> 	<name>pwww</name>
> 	<comment></comment>
> 	<projects>
> 	</projects>
> 	<buildSpec>
> 		<buildCommand>
> 			<name>org.eclipse.jdt.core.javabuilder</name>
> 			<arguments>
> 			</arguments>
> 		</buildCommand>
> 	</buildSpec>
> 	<natures>
> 		<nature>org.eclipse.jdt.core.javanature</nature>
> 		<nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
> 	</natures>
> </projectDescription>
> *************.project**************
> 
> *****************Here's the .classpath, shows the libs I'm using
> locally************
> <?xml version="1.0" encoding="UTF-8"?>
> <classpath>
> 	<classpathentry kind="src" path="Source/src"/>
> 	<classpathentry kind="lib"
> path="G:/StWorking/dcic/source/www/WEB-INF/lib/activation.jar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/antlr-2.7.2.jar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/commons-beanutils-1.6.jar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/commons-chain-1.1.jar"/>
> 	<classpathentry kind="lib"
> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-collect
ions-3.1.j
> ar"/>
> 	<classpathentry kind="lib"
> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-fileupl
oad-1.1.1.
> jar"/>
> 	<classpathentry kind="lib"
> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-io-1.4.jar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/commons-logging-1.0.4.jar"/>
> 	<classpathentry kind="lib"
> path="G:/StWorking/pwww/Source/www/WEB-INF/lib/commons-validat
or-1.3.0.j
> ar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/freemarker-2.3.8.jar"/>
> 	<classpathentry kind="lib"
> path="G:/StWorking/dcic/source/www/WEB-INF/lib/mail.jar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/ognl-2.6.11.jar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/oro-2.0.8.jar"/>
> 	<classpathentry kind="lib"
> path="G:/StWorking/dcic/source/www/WEB-INF/lib/ostermillerutil
s_1_06_01.
> jar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/struts2-core-2.0.12.jar"/>
> 	<classpathentry kind="lib"
> path="Source/www/WEB-INF/lib/xwork-2.0.6.jar"/>
> 	<classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> 	<classpathentry kind="lib"
> path="C:/tomcat/apache-tomcat-5.5.17/common/lib/servlet-api.jar"/>
> 	<classpathentry kind="output"
> path="Source/www/WEB-INF/classes"/>
> </classpath>
> 
> 
> Libs in my deployed app's war's /WEB-INF/lib are:
> ********************WEB-INF/lib********************
> activation.jar
> antlr-2.7.2.jar
> commons-beanutils-1.6.jar
> commons-chain-1.1.jar
> commons-collections-3.1.jar
> commons-fileupload-1.1.1.jar
> commons-io-1.4.jar
> commons-logging-1.0.4.jar
> commons-validator-1.3.0.jar
> freemarker-2.3.8.jar
> mail.jar
> ognl-2.6.11.jar
> oro-2.0.8.jar
> ostermillerutils_1_06_01.jar
> struts2-core-2.0.12.jar
> xwork-2.0.6.jar
> *********************End WEB-INF/lib********************
> 
> 
> > 
> > Martin
> > ______________________________________________
> > Disclaimer and confidentiality note
> > Everything in this e-mail and any attachments relates to 
> the official 
> > business of Sender. This transmission is of a confidential 
> nature and 
> > Sender does not endorse distribution to any party other 
> than intended 
> > recipient. Sender does not necessarily endorse content contained 
> > within this transmission.
> > 
> > 
> > 
> > 
> > > Date: Fri, 30 Jan 2009 22:40:29 +0100
> > > Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05
> > > From: lukasz.lenart@googlemail.com
> > > To: user@struts.apache.org
> > > 
> > > 2009/1/30 Wick, Dan <Da...@donaldson.com>:
> > > > I've developed an application using struts2 (2.0.12 to be
> > exact).  
> > > > It works on my local windows box, on Tomcat via Eclipse,
> > but not as
> > > > a war when I put it up on a server.  I get the following stack, 
> > > > which I can't see anything wrong...although I'm sure it's
> > something I did!
> > > 
> > > Just before when you will create war file with Eclipse, you
> > have check
> > > in procject settings which jar also export into the war.
> > > 
> > > 
> > > Regards
> > > --
> > > Lukasz
> > > http://www.lenart.org.pl/
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > > 
> > 
> > _________________________________________________________________
> > Windows Live(tm) Hotmail(r)...more than just e-mail. 
> > http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_just
> gotbetter_howitworks_012009
> > 
> 
> 
> ---------------------------------------------------------------------
> 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