struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Malla <malla...@yahoo.co.in>
Subject RE: Error while initializing ActionServlet
Date Mon, 21 Oct 2002 21:46:33 GMT
ant-1.5.
 James Mitchell <jmitchtx@telocity.com> wrote:What version of Ant are you using?



James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org




> -----Original Message-----
> From: Vikas Malla [mailto:malla6um@yahoo.co.in]
> Sent: Monday, October 21, 2002 5:11 PM
> To: Struts Users Mailing List; me@howardmiller.co.uk
> Subject: Re: Error while initializing ActionServlet
>
>
>
> It gives me no errors.
> The console validates my xml without any problems.
> What else can be the reason?
> Howard Miller wrote:Errr....
>
> it means what is says... there is an error in your struts-config.xml file.
>
> The best advice I can give is to get hold of Struts Console at...
>
> http://www.jamesholmes.com/struts/console/
>
> This should sort you out!
>
> Howard Miller
>
> On 21 Oct 2002 at 20:51, Vikas Malla wrote:
>
> >
> > I was able to run the MockStrutTestCase example.
> >
> > I was trying to run my application using CactusStrutTestCase
> but this is the error I am getting:
> >
> > [junit] Testcase: testSuccessfulLogin took 0.611 sec
> > [junit] FAILED
> > [junit] Error while initializing ActionServlet: Parsing error
> processing res
> > ource path /WEB-INF/struts-config.xml
> > [junit] junit.framework.AssertionFailedError: Error while
> initializing Actio
> > nServlet: Parsing error processing resource path
> /WEB-INF/struts-config.xml
> > [junit] at servletunit.struts.CactusStrutsTestCase.getActionServlet(Cact
> > usStrutsTestCase.java:332)
> > [junit] at servletunit.struts.CactusStrutsTestCase.actionPerform(CactusS
> > trutsTestCase.java:383)
> > [junit] at MyTest.testSuccessfulLogin(Unkno
> > wn Source)
> > [junit] at org.apache.cactus.AbstractTestCase.runServerTest(AbstractTest
> > Case.java:332)
> > [junit] at org.apache.cactus.AbstractTestCase.runBareServerTest(Abstract
> > TestCase.java:235)
> > [junit] at org.apache.cactus.server.AbstractWebTestCaller.doTest(Abstrac
> > tWebTestCaller.java:149)
> > [junit] at org.apache.cactus.server.AbstractWebTestController.dispatch87
> >
> _handleRequest(AbstractWebTestController.java;org/apache/cactus/ut
> il/log/LogAspe
> > ct.aj(1k):125)
> > [junit] at org.apache.cactus.server.AbstractWebTestController.around87_h
> >
> andleRequest(AbstractWebTestController.java;org/apache/cactus/util
> /log/LogAspect
> > .aj(1k):1149)
> > [junit] at org.apache.cactus.server.AbstractWebTestController.handleRequ
> >
> est(AbstractWebTestController.java;org/apache/cactus/util/log/LogA
> spect.aj(1k):1
> > 01)
> > [junit] at org.apache.cactus.server.ServletTestRedirector.dispatch113_do
> >
> Post(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspe
> ct.aj(1k):123)
> >
> > [junit] at org.apache.cactus.server.ServletTestRedirector.around113_doPo
> >
> st(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect
> .aj(1k):1149)
> > [junit] at org.apache.cactus.server.ServletTestRedirector.doPost(Servlet
> > TestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)
> > [junit] at org.apache.cactus.server.ServletTestRedirector.dispatch112_do
> >
> Get(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspec
> t.aj(1k):96)
> > [junit] at org.apache.cactus.server.ServletTestRedirector.around112_doGe
> >
> t(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.
> aj(1k):1149)
> > [junit] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletT
> > estRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):92)
> > [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
> > ter(ApplicationFilterChain.java:247)
> > [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
> > icationFilterChain.java:193)
> > [junit] at org.apache.catalina.core.StandardWrapperValve.invoke(Standard
> > WrapperValve.java:243)
> > [junit] at org.apache.catalina.core.StandardPipeline.invokeNext(Standard
> > Pipeline.java:566)
> > [junit] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipe
> > line.java:472)
> > [junit] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j
> > ava:943)
> > [junit] at org.apache.catalina.core.StandardContextValve.invoke(Standard
> > ContextValve.java:190)
> > [junit] at org.apache.catalina.core.StandardPipeline.invokeNext(Standard
> > Pipeline.java:566)
> > [junit] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipe
> > line.java:472)
> > [junit] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j
> > ava:943)
> > [junit] at org.apache.catalina.core.StandardContext.invoke(StandardConte
> > xt.java:2343)
> > [junit] at org.apache.catalina.core.StandardHostValve.invoke(StandardHos
> > tValve.java:180)
> > [junit] at org.apache.catalina.core.StandardPipeline.invokeNext(Standard
> > Pipeline.java:566)
> > [junit] at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorD
> > ispatcherValve.java:170)
> > [junit] at org.apache.catalina.core.StandardPipeline.invokeNext(Standard
> > Pipeline.java:564)
> > [junit] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor
> > tValve.java:170)
> > [junit] at org.apache.catalina.core.StandardPipeline.invokeNext(Standard
> > Pipeline.java:564)
> > [junit] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVal
> > ve.java:468)
> > [junit] at org.apache.catalina.core.StandardPipeline.invokeNext(Standard
> > Pipeline.java:564)
> > [junit] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipe
> > line.java:472)
> > [junit] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j
> > ava:943)
> > [junit] at org.apache.catalina.core.StandardEngineValve.invoke(StandardE
> > ngineValve.java:174)
> > [junit] at org.apache.catalina.core.StandardPipeline.invokeNext(Standard
> > Pipeline.java:566)
> > [junit] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipe
> > line.java:472)
> > [junit] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j
> > ava:943)
> > [junit] at org.apache.catalina.connector.http.HttpProcessor.process(Http
> > Processor.java:1012)
> > [junit] at org.apache.catalina.connector.http.HttpProcessor.run(HttpProc
> > essor.java:1107)
> > [junit] at java.lang.Thread.run(Thread.java:484)
> >
> >
> > [junit] TEST appian.awf.qa.TestCactusLogonAction FAILED
> >
> > stop.tomcat:
> > [java] Stopping service Tomcat-Standalone
> > [runservertests] Server stopped !
> >
> > I am running struts 1.1b2. Why is my test failing? I have
> struts-config.xml in the classpath of my test in ant:
> >
> >
> >
> > > fork="true">
> >
> >
> >
> >
>
> >
>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Please let me know.
> >
> > Thanks.
> >
> > Yahoo! Properties Special Buy, sell, rent...your flat, or even
> post an ad
>
>
>
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
> Yahoo! Properties Special Buy, sell, rent...your flat, or even
> post an ad


--
To unsubscribe, e-mail: 
For additional commands, e-mail: 

 Yahoo! Properties Special  Buy, sell, rent...your flat, or even post an ad
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message