Re: [OT] AW: Re: AW: RE: Re: AW: RE: Error instantiating servlet class
thankyou Even i have these problem in my project.. These conservation help me to troubleshot the problem... Thanks a lot once again [EMAIL PROTECTED] wrote: Thanks. It is working now. Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 11:33 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Re: AW: RE: Error instantiating servlet class This is same error as before, only the class is different, as long as you get those errors, just put the libraries you require inside your WEB-INF/lib folder. En l'instant précis du 02/12/07 11:28, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. It seems that things have moved on, but I get another error now: exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: org/apache/axis/client/Service java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:620) java.security.SecureClassLoader.defineClass(SecureClassLoader. java: 124) org.apache.catalina.loader.WebappClassLoader.findClassInternal (WebappClassLoader.java:1815) org.apache.catalina.loader.WebappClassLoader.findClass (WebappClassLoader.java:869) org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1322) org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1201) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My servlet is using a web service. The client classes of the web service are put in C:\tomcat\webapps\StandardCategoryModule\WEB-INF\classes\org and the web service itself is put in C:\Axis\webapps\axis\WEB- INF\classes\org. I have built a web service and web service client in eclipse and I have managed to invoke the web service with that command line cleint. Now I am trying to crate a form that invokes a servlet that uses the client classes to invoke the web service. Thanks Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 11:11 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Re: AW: RE: Error instantiating servlet class in your distribution, put the jar here C:\tomcat\webapps\StandardCategoryModule\WEB-INF\lib\jaxrpc.jar -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 11:00 À : users@tomcat.apache.org Objet : AW: Re: AW: RE: Error instantiating servlet class I have set up the classpath environmantal variable to include the path to jaxrpc.jar Thanks Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:51 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Error instantiating servlet class Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. I have already put in the classpath the path to jaxrpc. jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users
AW: RE: Error instantiating servlet class
Thanks. I have already put in the classpath the path to jaxrpc.jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Error instantiating servlet class it seems this class javax/xml/rpc/ServiceException is not in the classpath. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 09:39 À : users@tomcat.apache.org Objet : Error instantiating servlet class users@tomcat.apache.org Hi, I have the following file structure: 1. C:\tomcat\webapps\StandardCategoryModule\start.jsp 2. C:\tomcat\webapps\StandardCategoryModule\WEB-INF\web.xml 3. C:\tomcat\webapps\StandardCategoryModule\WEB- INF\classes\servlet\CallService Start.jsp should invoke the CallService servlet , but I am getting the error below. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My web.xml file contains the following information: ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=http://java.sun. com/xml/ns/j2ee xmlns:xsi=http://www.w3.org/2001/XMLSchema- instance xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee/web- app_2_4.xsd display-name StandardCategoryModule/display-name servlet description /description display-name CallService/display-name servlet-nameCallService/servlet-name servlet-class servlet.CallService/servlet-class /servlet servlet-mapping servlet-nameCallService/servlet-name url-pattern/CallService/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file welcome-filedefault.html/welcome-file welcome-filedefault.htm/welcome-file welcome-filedefault.jsp/welcome-file welcome-filestart.jsp/welcome-file /welcome-file-list /web-app I would appreciate any help on this. Thanks Regards, Magdalena - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** Ce message et ses pi�ces jointes sont confidentiels et �tablis a l'intention exclusive de ses destinataires. Tout message �lectronique est susceptible d'alt�ration. SOGITEC d�cline toute responsabilit� au titre de ce message s'il a �t� alt�r�, d�form� ou falsifi�. Si vous n'�tes pas destinataire de ce message, merci de le d�truire imm�diatement.
Re: AW: RE: Error instantiating servlet class
Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. I have already put in the classpath the path to jaxrpc.jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Error instantiating servlet class it seems this class javax/xml/rpc/ServiceException is not in the classpath. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 09:39 À : users@tomcat.apache.org Objet : Error instantiating servlet class users@tomcat.apache.org Hi, I have the following file structure: 1.C:\tomcat\webapps\StandardCategoryModule\start.jsp 2.C:\tomcat\webapps\StandardCategoryModule\WEB-INF\web.xml 3.C:\tomcat\webapps\StandardCategoryModule\WEB- INF\classes\servlet\CallService Start.jsp should invoke the CallService servlet , but I am getting the error below. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My web.xml file contains the following information: ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=http://java.sun. com/xml/ns/j2ee xmlns:xsi=http://www.w3.org/2001/XMLSchema- instance xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee/web- app_2_4.xsd display-name StandardCategoryModule/display-name servlet description /description display-name CallService/display-name servlet-nameCallService/servlet-name servlet-class servlet.CallService/servlet-class /servlet servlet-mapping servlet-nameCallService/servlet-name url-pattern/CallService/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file welcome-filedefault.html/welcome-file welcome-filedefault.htm/welcome-file welcome-filedefault.jsp/welcome-file welcome-filestart.jsp/welcome-file /welcome-file-list /web-app I would appreciate any help on this. Thanks Regards, Magdalena - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** Ce message et ses pi�ces jointes sont confidentiels et �tablis a l'intention exclusive de ses destinataires. Tout message �lectronique est susceptible d'alt�ration. SOGITEC d�cline toute responsabilit� au titre de ce message s'il a �t� alt�r�, d�form� ou
AW: Re: AW: RE: Error instantiating servlet class
I have set up the classpath environmantal variable to include the path to jaxrpc.jar Thanks Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:51 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Error instantiating servlet class Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. I have already put in the classpath the path to jaxrpc. jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Error instantiating servlet class it seems this class javax/xml/rpc/ServiceException is not in the classpath. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 09:39 À : users@tomcat.apache.org Objet : Error instantiating servlet class users@tomcat.apache.org Hi, I have the following file structure: 1.C:\tomcat\webapps\StandardCategoryModule\start.jsp 2.C:\tomcat\webapps\StandardCategoryModule\WEB-INF\web.xml 3.C:\tomcat\webapps\StandardCategoryModule\WEB- INF\classes\servlet\CallService Start.jsp should invoke the CallService servlet , but I am getting the error below. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My web.xml file contains the following information: ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=http://java.sun. com/xml/ns/j2ee xmlns:xsi=a href=http://www.w3. org/2001/XMLSchema- target=_BLANKhttp://www.w3.org/2001/XMLSchema- /a instance xsi:schemaLocation=a href=http://java.sun. com/xml/ns/j2ee/web- target=_BLANKhttp://java.sun. com/xml/ns/j2ee/web-/a app_2_4.xsd display-name StandardCategoryModule/display-name servlet description /description display-name CallService/display-name servlet-nameCallService/servlet-name servlet-class servlet.CallService/servlet-class /servlet servlet-mapping servlet-nameCallService/servlet-name url-pattern/CallService/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file welcome-filedefault.html/welcome-file welcome-filedefault.htm/welcome-file welcome-filedefault.jsp/welcome-file welcome-filestart.jsp/welcome-file /welcome-file-list /web-app I would appreciate any help on this. Thanks Regards, Magdalena - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail
RE: Re: AW: RE: Error instantiating servlet class
in your distribution, put the jar here C:\tomcat\webapps\StandardCategoryModule\WEB-INF\lib\jaxrpc.jar -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 11:00 À : users@tomcat.apache.org Objet : AW: Re: AW: RE: Error instantiating servlet class I have set up the classpath environmantal variable to include the path to jaxrpc.jar Thanks Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:51 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Error instantiating servlet class Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. I have already put in the classpath the path to jaxrpc. jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Error instantiating servlet class it seems this class javax/xml/rpc/ServiceException is not in the classpath. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 09:39 À : users@tomcat.apache.org Objet : Error instantiating servlet class users@tomcat.apache.org Hi, I have the following file structure: 1.C:\tomcat\webapps\StandardCategoryModule\start.jsp 2.C:\tomcat\webapps\StandardCategoryModule\WEB-INF\web.xml 3.C:\tomcat\webapps\StandardCategoryModule\WEB- INF\classes\servlet\CallService Start.jsp should invoke the CallService servlet , but I am getting the error below. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My web.xml file contains the following information: ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=http://java.sun. com/xml/ns/j2ee xmlns:xsi=a href=http://www.w3. org/2001/XMLSchema- target=_BLANKhttp://www.w3.org/2001/XMLSchema- /a instance xsi:schemaLocation=a href=http://java.sun. com/xml/ns/j2ee/web- target=_BLANKhttp://java.sun. com/xml/ns/j2ee/web-/a app_2_4.xsd display-name StandardCategoryModule/display-name servlet description /description display-name CallService/display-name servlet-nameCallService/servlet-name servlet-class servlet.CallService/servlet-class /servlet servlet-mapping servlet-nameCallService/servlet-name url-pattern/CallService/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file welcome-filedefault.html/welcome-file welcome-filedefault.htm/welcome-file welcome-filedefault.jsp/welcome-file
Re: AW: Re: AW: RE: Error instantiating servlet class
tomcat does not use CLASSPATH. Put your webapp jars inside the WEB-INF/lib/ folder En l'instant précis du 02/12/07 11:00, [EMAIL PROTECTED] s'exprimait en ces termes: I have set up the classpath environmantal variable to include the path to jaxrpc.jar Thanks Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:51 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Error instantiating servlet class Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. I have already put in the classpath the path to jaxrpc. jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Error instantiating servlet class it seems this class javax/xml/rpc/ServiceException is not in the classpath. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 09:39 À : users@tomcat.apache.org Objet : Error instantiating servlet class users@tomcat.apache.org Hi, I have the following file structure: 1. C:\tomcat\webapps\StandardCategoryModule\start.jsp 2. C:\tomcat\webapps\StandardCategoryModule\WEB-INF\web.xml 3. C:\tomcat\webapps\StandardCategoryModule\WEB- INF\classes\servlet\CallService Start.jsp should invoke the CallService servlet , but I am getting the error below. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My web.xml file contains the following information: ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=http://java.sun. com/xml/ns/j2ee xmlns:xsi=a href=http://www.w3. org/2001/XMLSchema- target=_BLANKhttp://www.w3.org/2001/XMLSchema- /a instance xsi:schemaLocation=a href=http://java.sun. com/xml/ns/j2ee/web- target=_BLANKhttp://java.sun. com/xml/ns/j2ee/web-/a app_2_4.xsd display-name StandardCategoryModule/display-name servlet description /description display-name CallService/display-name servlet-nameCallService/servlet-name servlet-class servlet.CallService/servlet-class /servlet servlet-mapping servlet-nameCallService/servlet-name url-pattern/CallService/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file welcome-filedefault.html/welcome-file welcome-filedefault.htm/welcome-file welcome-filedefault.jsp/welcome-file welcome-filestart.jsp/welcome-file /welcome-file-list /web-app I would appreciate any
AW: RE: Re: AW: RE: Error instantiating servlet class
Thanks. It seems that things have moved on, but I get another error now: exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: org/apache/axis/client/Service java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:620) java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 124) org.apache.catalina.loader.WebappClassLoader.findClassInternal (WebappClassLoader.java:1815) org.apache.catalina.loader.WebappClassLoader.findClass (WebappClassLoader.java:869) org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1322) org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1201) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My servlet is using a web service. The client classes of the web service are put in C:\tomcat\webapps\StandardCategoryModule\WEB-INF\classes\org and the web service itself is put in C:\Axis\webapps\axis\WEB- INF\classes\org. I have built a web service and web service client in eclipse and I have managed to invoke the web service with that command line cleint. Now I am trying to crate a form that invokes a servlet that uses the client classes to invoke the web service. Thanks Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 11:11 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Re: AW: RE: Error instantiating servlet class in your distribution, put the jar here C:\tomcat\webapps\StandardCategoryModule\WEB-INF\lib\jaxrpc.jar -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 11:00 À : users@tomcat.apache.org Objet : AW: Re: AW: RE: Error instantiating servlet class I have set up the classpath environmantal variable to include the path to jaxrpc.jar Thanks Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:51 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Error instantiating servlet class Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. I have already put in the classpath the path to jaxrpc. jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Error instantiating servlet class it seems this class javax/xml/rpc/ServiceException is not in the classpath. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 09:39 À : users@tomcat.apache.org Objet : Error instantiating servlet class users@tomcat.apache.org Hi, I have the following file structure: 1.C:\tomcat\webapps\StandardCategoryModule\start.jsp 2.C:\tomcat\webapps\StandardCategoryModule\WEB-INF\web.xml 3.C:\tomcat\webapps\StandardCategoryModule\WEB- INF\classes\servlet\CallService Start.jsp should invoke the CallService servlet
Re: AW: RE: Re: AW: RE: Error instantiating servlet class
This is same error as before, only the class is different, as long as you get those errors, just put the libraries you require inside your WEB-INF/lib folder. En l'instant précis du 02/12/07 11:28, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. It seems that things have moved on, but I get another error now: exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: org/apache/axis/client/Service java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:620) java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 124) org.apache.catalina.loader.WebappClassLoader.findClassInternal (WebappClassLoader.java:1815) org.apache.catalina.loader.WebappClassLoader.findClass (WebappClassLoader.java:869) org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1322) org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1201) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My servlet is using a web service. The client classes of the web service are put in C:\tomcat\webapps\StandardCategoryModule\WEB-INF\classes\org and the web service itself is put in C:\Axis\webapps\axis\WEB- INF\classes\org. I have built a web service and web service client in eclipse and I have managed to invoke the web service with that command line cleint. Now I am trying to crate a form that invokes a servlet that uses the client classes to invoke the web service. Thanks Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 11:11 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Re: AW: RE: Error instantiating servlet class in your distribution, put the jar here C:\tomcat\webapps\StandardCategoryModule\WEB-INF\lib\jaxrpc.jar -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 11:00 À : users@tomcat.apache.org Objet : AW: Re: AW: RE: Error instantiating servlet class I have set up the classpath environmantal variable to include the path to jaxrpc.jar Thanks Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:51 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Error instantiating servlet class Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. I have already put in the classpath the path to jaxrpc. jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Error instantiating servlet class it seems this class javax/xml/rpc/ServiceException is not in the classpath. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 09:39 À : users@tomcat.apache.org Objet : Error instantiating servlet class users@tomcat.apache.org Hi, I
AW: Re: AW: RE: Re: AW: RE: Error instantiating servlet class
Thanks. It is working now. Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 11:33 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Re: AW: RE: Error instantiating servlet class This is same error as before, only the class is different, as long as you get those errors, just put the libraries you require inside your WEB-INF/lib folder. En l'instant précis du 02/12/07 11:28, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. It seems that things have moved on, but I get another error now: exception javax.servlet.ServletException: Error instantiating servlet class servlet.CallService org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) root cause java.lang.NoClassDefFoundError: org/apache/axis/client/Service java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:620) java.security.SecureClassLoader.defineClass(SecureClassLoader. java: 124) org.apache.catalina.loader.WebappClassLoader.findClassInternal (WebappClassLoader.java:1815) org.apache.catalina.loader.WebappClassLoader.findClass (WebappClassLoader.java:869) org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1322) org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1201) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) java.lang.Class.getConstructor0(Class.java:2671) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter. java:148) org.apache.coyote.http11.Http11Processor.process (Http11Processor. java:869) org.apache.coyote.http11. Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) My servlet is using a web service. The client classes of the web service are put in C:\tomcat\webapps\StandardCategoryModule\WEB-INF\classes\org and the web service itself is put in C:\Axis\webapps\axis\WEB- INF\classes\org. I have built a web service and web service client in eclipse and I have managed to invoke the web service with that command line cleint. Now I am trying to crate a form that invokes a servlet that uses the client classes to invoke the web service. Thanks Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 11:11 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Re: AW: RE: Error instantiating servlet class in your distribution, put the jar here C:\tomcat\webapps\StandardCategoryModule\WEB-INF\lib\jaxrpc.jar -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 11:00 À : users@tomcat.apache.org Objet : AW: Re: AW: RE: Error instantiating servlet class I have set up the classpath environmantal variable to include the path to jaxrpc.jar Thanks Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:51 An: Tomcat Users Listusers@tomcat.apache.org Betreff: Re: AW: RE: Error instantiating servlet class Where did you put it? En l'instant précis du 02/12/07 10:27, [EMAIL PROTECTED] s'exprimait en ces termes: Thanks. I have already put in the classpath the path to jaxrpc. jar. I presume this is the one, but it still doesn't work. Regards, Magdalena Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 12.02.2007 10:20 An: Tomcat Users Listusers@tomcat.apache.org, [EMAIL PROTECTED] Betreff: RE: Error instantiating servlet class it seems this class javax/xml/rpc/ServiceException