Hi
If I run with Jboss 4.0.1 ,I get the following error :::
11:30:09,296 INFO [Embedded] Catalina naming disabled
11:30:10,328 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on
http-0.0.0.0-8080
11:30:10,406 INFO [Catalina] Initialization processed in 985 ms
11:30:10,406 INFO [StandardService] Starting service jboss.web
11:30:10,421 INFO [StandardEngine] Starting Servlet Engine: Apache
Tomcat/5.0.28
11:30:10,484 INFO [StandardHost] XML validation disabled
11:30:10,531 INFO [Catalina] Server startup in 125 ms
11:30:11,000 INFO [TomcatDeployer] deploy, ctxPath=/ebxmlrr,
warUrl=file:/C:/Books/jboss-4.0.1/jboss-4.0.1/server/all/deploy/ebxmlrr-service.sar/ebxmlrr.war/
11:30:12,156 INFO [STDOUT] Initialized REST
11:30:12,328 INFO [SAAJServlet] init
11:30:12,375 INFO [Init] Unable to patch xalan function table.
java.lang.NoSuchFieldException: m_functions
at java.lang.Class.getField(Class.java:919)
at org.apache.xml.security.Init.registerHereFunction(Unknown
Source)
at org.apache.xml.security.Init.init(Unknown Source)
at org.jboss.jaxr.servlet.SAAJServlet.init(SAAJServlet.java:86)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.jboss.jaxr.servlet.SAAJServlet.init(SAAJServlet.java:76)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Once the server starts running,I get the error that i sent u earlier
java.lang.ClassCastException
at
servletunit.struts.CactusStrutsTestCase.getActualForward(CactusStrutsTestCase.java:559)
I will also be sending my query to StrutsTestCase project's mailing list .
If you can help me in this ,it would be great.
Thanks,
Nidhi Kawatra
Tata Consultancy Services Limited
D4, Sector 3
Noida - 201301,Uttar Pradesh
India
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"Vincent Massol" <[EMAIL PROTECTED]>
01/26/2005 06:25 PM
Please respond to
"Cactus Users List" <[email protected]>
To
"'Cactus Users List'" <[email protected]>
cc
Subject
RE: Prob using cactus
Hi Nidhi,
Have you tried asking on the StrutsTestCase project's mailing list?
Thanks
-Vincent
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: mardi 25 janvier 2005 13:10
> To: 'Cactus Users List'
> Subject: Prob using cactus
>
>
> Hi
>
> I am using Cactus (jakarta-cactus-13-1.6.1) in my project.
>
> Also Struts 1.2.4 , Jboss 1.0.4, j2sdk1.4.2_06 and eclipse 3.0.1 is
being
> used , bt not able to run cactus test cases successfully.
> I get an error :
>
> java.lang.ClassCastException
> at
>
servletunit.struts.CactusStrutsTestCase.getActualForward(CactusStrutsTestC
> ase.java:559)
>
> I tried to debug and find out the prob but cudn't do so.
>
> The test case for login is like :::
>
> addRequestParameter("username","x");
> addRequestParameter("password","y");
>
> addRequestParameter("method","login");
> setRequestPathInfo("x/y.do", "/y.do?method=login");
>
> setActionServlet(servlet);
> super.actionServletIsInitialized = true;
>
> actionPerform();
> verifyForward("welcome");
> verifyForwardPath("/WEB-INF/pages/x/Welcome.jsp");
> assertEquals("x", getSession().getAttribute("user"));
> verifyNoActionErrors();
>
> Actually i am using my own action servlet in the project and to give the
> correct servlet ,i set it.
> I tried out all the possibilities bt cudnt find the solution to it.
> Plz help me out in this regard.
>
> Thanks and regards,
> Nidhi Kawatra
> Tata Consultancy Services Limited
> D4, Sector 3
> Noida - 201301,Uttar Pradesh
> India
> Mailto: [EMAIL PROTECTED]
> Website: http://www.tcs.com
>
> Notice: The information contained in this e-mail message and/or
> attachments to it may contain confidential or privileged information. If
> you are not the intended recipient, any dissemination, use, review,
> distribution, printing or copying of the information contained in this
e-
> mail message and/or attachments to it are strictly prohibited. If you
> have received this communication in error, please notify us by reply e-
> mail or telephone and immediately and permanently delete the message and
> any attachments. Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ForwardSourceID:NT00008516
Notice: The information contained in this e-mail message and/or attachments to
it may contain confidential or privileged information. If you are not the
intended recipient, any dissemination, use, review, distribution, printing or
copying of the information contained in this e-mail message and/or attachments
to it are strictly prohibited. If you have received this communication in
error, please notify us by reply e-mail or telephone and immediately and
permanently delete the message and any attachments. Thank you