jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djo...@krohmsolutions.com
Subject Re: jboss-tomcat error
Date Thu, 01 Jan 1970 00:00:00 GMT
Hi Bruce..
Firstly, thanks to you and Vincent for your suggestions.
I am going to follow your and Vincent's suggestions on monday.
I am completely newbie in this technologies. so I am not aware of many
things. You tutorial would be very helpful to me, please send it to me.
Thanks and Regards,
Dnyaneshwari
On Fri, 28 Feb 2003 14:44:17 +0000 Bruce Scharlau wrote:

> I believe you're best doing this as a web app under the 
> jboss/default/deploy and using an appName.war file.
> If you don't want to actually create a war file, you can also create a 
> directory under the deploy directory of
> appName.war and then put all of your files under that directory.
> 
> If it's of any use I'm working on a tutorial for this sort of thing
> at the 
> moment for an undergaduate class and can point you to the practicals on 
> Monday. This will be using XDoclet, Cactus and (if I have time)
> HttpUnit too.
> 
> Bruce
> 
> 
> At 15:46 28/02/2003 +0530, you wrote:
> 
> >Hi &
> >
> >I have developed cactus tests and trying to test that in 
> >jboss-3.0.4_tomcat-4.0.6.
> >
> >I have followed steps as :
> >
> >1)  in jboss-3.0.4_tomcat-4.0.6\catalina\conf folder
> >
> >I pasted following line in web.xml.
> >
> >
> >
> >     <servlet>
> >
> >         <servlet-name>ServletRedirector</servlet-name>
> >
> > 
>
><servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
> >
> >     </servlet>
> >
> >
> >
> >     <servlet>
> >
> >         <servlet-name>JspRedirector</servlet-name>
> >
> >         <jsp-file>/jspRedirector.jsp</jsp-file>
> >
> >     </servlet>
> >
> ><servlet>
> >
> >     <servlet-name>ServletTestRunner</servlet-name>
> >
> >     <servlet-class>
> >
> >         org.apache.cactus.server.runner.ServletTestRunner
> >
> >     </servlet-class>
> >
> ></servlet>
> >
> >
> >
> >I removed the filterTestREdirector entry because it was giving me some 
> >problem in jboss something like page not found etc.
> >
> >
> >
> >Also pasted this in same web.xml
> >
> >     <servlet-mapping>
> >
> >         <servlet-name>ServletRedirector</servlet-name>
> >
> >         <url-pattern>/ServletRedirector</url-pattern>
> >
> >     </servlet-mapping>
> >
> >
> >
> >     <servlet-mapping>
> >
> >         <servlet-name>JspRedirector</servlet-name>
> >
> >         <url-pattern>/JspRedirector</url-pattern>
> >
> >     </servlet-mapping>
> >
> ><servlet-mapping>
> >
> >     <servlet-name>ServletTestRunner</servlet-name>
> >
> >     <url-pattern>/ServletTestRunner</url-pattern>
> >
> ></servlet-mapping>
> >
> >
> >
> >I have added all the .jar files provided in cactuss lib folder in
> >
> >C:\JBOSS and Tomcat\jboss-3.0.4_tomcat-4.0.6\server\default\lib\
> >
> >76a6c82f.jpg
> >
> >
> >
> >I have developed on simple servlet and a testcase written for the same.
> >
> >
> >
> >I am attaching those files with the mail.
> >
> >
> >
> >By following the steps defined in tomcat how to tutorial , I can run the 
> >testcases properly on only tomcat401.
> >
> >
> >
> >But I am not able to test the same testcases as well as test ejb on
> tomcat 
> >integrated with jboss..
> >
> >I am getting this error..
> >
> >type Exception report
> >
> >message Internal Server Error
> >
> >description The server encountered an internal error (Internal Server 
> >Error) that prevented it from fulfilling this request.
> >
> >exception
> >
> >org.apache.commons.logging.LogConfigurationException: 
> >java.lang.reflect.InvocationTargetException
> >         at 
> >
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryI
> mpl.java:509)
> >         at 
> >
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryI
> mpl.java:285)
> >         at 
> >
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryI
> mpl.java:255)
> >         at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
> >         at 
> >
> org.apache.cactus.server.runner.ServletTestRunner.around91_doGet(Servl
> etTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1142)
> >         at 
> >
> org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRun
> ner.java;org/apache/cactus/util/log/LogAspect.aj(1k):101)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at 
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:247)
> >         at 
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:193)
> >         at 
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
> lve.java:243)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
> java:566)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> :472)
> >         at 
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >         at 
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
> lve.java:190)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
> java:566)
> >         at 
> >
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.
> java:246)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
> java:564)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> :472)
> >         at 
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >         at 
> >
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> >         at 
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> va:180)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
> java:566)
> >         at 
> >
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcher
> Valve.java:170)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
> java:564)
> >         at 
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
> va:170)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
> java:564)
> >         at 
> >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
> java:564)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> :472)
> >         at 
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >         at 
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> e.java:174)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.
> java:566)
> >         at 
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> :472)
> >         at 
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >         at 
> >
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor
> .java:1027)
> >         at 
> >
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.jav
> a:1125)
> >         at java.lang.Thread.run(Thread.java:479)
> >
> >
> >
> >
> >Can you please tell me the reason why this is happening?? Is there any 
> >mistake in the set up.
> >
> >Please reply As Soon As Possible.
> >
> >
> >
> >Thanks in Advance..
> >
> >Dnyaneshwari.
> >
> >
> >
> >
> >
> >
> 
> cheers,
> 
> Bruce
> 
> Dr. Bruce Scharlau
> Dept. of Computing Science
> University of Aberdeen
> Aberdeen AB24 3UE
> 01224 272193
> http://www.csd.abdn.ac.uk/~bscharla
> mailto:scharlau@csd.abdn.ac.uk 



Mime
View raw message