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 <dan.w...@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.w...@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.len...@googlemail.com
>> > > To: user@struts.apache.org
>> > >
>> > > 2009/1/30 Wick, Dan <dan.w...@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-unsubscr...@struts.apache.org
>> > > For additional commands, e-mail: user-h...@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-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to