Hi everybody,

I'm new to Tomcat, although I know servlets pretty well.  I have a 
problem with my XML-RPC application; I can get the servlet to run fine 
as a stand alone, and I can register it as a servlet, but somehow I 
can't get any response back from it after it loads.

I'm using Log4J as the logging service, and although I can get the 
initial log, I don't get any response from the doGet() or doPost() 
methods -- and I've tried System.out.println() on both of them without 
response.

I've also turned on verbosity=4 on everything I could lay hands on and 
turned on the RequestValueDumper... but no luck.  I have absolutely no 
idea why I can't map http://localhost:8080/bookie to my servlet.

Here's my web.xml file in case you know what I'm doing wrong.

Any clue as to what I should do next?  I'd love to be able to see what 
every request to tomcat was doing...

Will.
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>

<web-app>

  <display-name>Bookie</display-name>
  <description>The Bookie Servlet</description>

  <context-param>
    <param-name>webmaster</param-name>
    <param-value>[EMAIL PROTECTED]</param-value>
    <description>
      The EMAIL address of the administrator to whom questions
      and comments about this application should be addressed.
    </description>
  </context-param>
  
  <servlet>
    <servlet-name>BookieServlet</servlet-name>
    <servlet-class>com.tersesystems.bookie.service.xmlrpc.BookieServlet</servlet-class>
    
    <init-param>
      <param-name>logging</param-name>
      <param-value>d:/home/wsargent/work/bookie/server/conf/log_server.properties</param-value>
      <description>
        The location of the log4j logging file.
      </description>
    </init-param>
    
    <init-param>
      <param-name>profile</param-name>
      <param-value>d:/home/wsargent/work/bookie/server/conf/profile.properties</param-value>
      <description>
        The location of the user profile. 
      </description>
    </init-param>
    
    <load-on-startup>5</load-on-startup>
  </servlet>
  
  <servlet-mapping>
    <servlet-name>BookieServlet</servlet-name>
    <url-pattern>/bookie</url-pattern>
  </servlet-mapping>
  
</web-app>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to