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 List"<users@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-name>CallService</servlet-name>
                <servlet-class>
                servlet.CallService</servlet-class>
        </servlet>
        
        <servlet-mapping>
                <servlet-name>CallService</servlet-name>
                <url-pattern>/CallService</url-pattern>
        </servlet-mapping>
        
        <welcome-file-list>
                <welcome-file>index.html</welcome-file>
                <welcome-file>index.htm</welcome-file>
                <welcome-file>index.jsp</welcome-file>
                <welcome-file>default.html</welcome-file>
                <welcome-file>default.htm</welcome-file>
                <welcome-file>default.jsp</welcome-file>
                <welcome-file>start.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.
******************************************************************



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to