Without more setup details I'm not sure how we can
help; what JARs do you have in WEB-INF/lib?

d.

--- Aladin <[EMAIL PROTECTED]> wrote:

> Looks as thought the root of the problem occurs in
> Dispatcher when it calls:
> 
> private Container init_PreloadConfiguration() {
>   Configuration config =
> configurationManager.getConfiguration();
>   ...
> }
> 
> So, the problem hierarchy:
> Filter:init():dispatcher.init() =>
> Dispatcher:init_PreloadConfiguration()
> 
> The error messages appear when the line above is
> called...
> 
> ... investigation continues ...
> 
> Aladin
> 
> 
> 
> > The class is actually packaged as test.Test, I
> just removed it from the
> > post for simplicity (I won't do that next time).
> >
> > Also, I've tried the two url-patterns.  Both /*
> and /execute/* don't work.
> >  They give the same error.
> >
> > Aladin
> >
> >
> >> There appears to be a few things that may be
> causing your problem -
> >>
> >> First off, is your class not qualified with a
> package, or maybe you're
> >> using the spring-plugin? If not, in your action
> configuration, it seems
> >> like the action is configured incorrectly -
> >>
> >>    <action name="Test" class="Test">
> >>
> >> Maybe should be -
> >>
> >>    <action name="Test" class="your.package.Test">
> >>
> >> Next, you should probably have the Struts2 filter
> filtering everything -
> >>
> >>
> >> <url-pattern>/execute/*</url-pattern>
> >>
> >> Should be -
> >>
> >> <url-pattern>/*</url-pattern>
> >>
> >> -W
> >>
> >> -----Original Message-----
> >> From: Aladin [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, July 25, 2007 10:08 AM
> >> To: user@struts.apache.org
> >> Subject: Unable to get started with Struts2
> >>
> >> Hello,
> >>
> >> I'm running Tomcat 5.5 on Linux (Fedora) and java
> 1.5.0_12-b04.
> >>
> >> I have the simplest of Struts2 application and I
> keep getting an error
> >> in the logs stating:
> >>
> >> ERROR TP-Processor5
> org.apache.catalina.core.StandardContext - Error
> >> filterStart ERROR TP-Processor5
> org.apache.catalina.core.StandardContext
> >> - Context [/webapps/test] startup failed due to
> previous errors
> >>
> >>
> >> Have any of you encountered this problem and if
> so, how did you resolve
> >> it?
> >>
> >> Struts.xml:
> >> ...
> >> <struts>
> >>  <package name="test" extends="struts-default">
> >>    <action name="Test" class="Test">
> >>      <result>/HelloWorld.jsp</result>
> >>    </action>
> >>   </package>
> >> </struts>
> >>
> >> Web.xml
> >> ...
> >> <filter>
> >> <filter-name>struts</filter-name>
> >>
>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-cla
> >> ss>
> >> </filter>
> >>
> >> <filter-mapping>
> >> <filter-name>struts</filter-name>
> >> <url-pattern>/execute/*</url-pattern>
> >> </filter-mapping>
> >>
> >> pom.xml
> >> ...
> >> <dependency>
> >>  <groupId>org.apache.struts</groupId>
> >>  <artifactId>struts2-core</artifactId>
> >>  <version>2.0.9</version>
> >> </dependency>
> >>
> >> Thanks.
> >> Aladin
> >>
> >>
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> [EMAIL PROTECTED]
> >>
> >>
> >>
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to