You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dave Fox <da...@smarttalk.com> on 2000/07/11 22:34:34 UTC
Document contains no data
System: NT4 sp6, Tomcat 3.1, Apache 1.3.12
I'm totally new to this whole thing so please forgive any idiocy on my part.
Has anyone gotten a "Document contains no data" back from a servlet? The
developer who put this servlet together is running it under Java WebServer
2.0 without any problem. However when I put it on my system it doesn't seem
to work.
I believe that I have everything configured correctly (web.xml, etc) because
if Tomcat tells me when I request something that it can't find (like if I
intentionally misspell the servlet name).
Note: The servlet is buried in:
/webapps/ops/WEB-INF/classes/tesla/cdi/ui/ops/servlet/MyServlet
Which I reference in my web.xml as:
<servlet-class>tesla.cdi.ui.ops.servlet.MyServlet</servlet-class>
The log files don't yield ANY information when I make this request.
Oh, I've telnetted and did a manual GET and, as expected, got only the
server header information.
Thanks in advance.
Dave
RE: Document contains no data
Posted by "W. Paul Caligiuri" <wp...@agency.com>.
Dave,
I think that I saw this behavior once (a really long time ago). Here is
what I think caused the problem:
My servlet called a method on an object that included a class variable (a
static variable reference). The class variable could not be initialized for
some reason. This prevented the classloader from loading the class.
Thank you,
W. Paul Caligiuri
wpaulc@agency.com
-----Original Message-----
From: Dave Fox [mailto:davef@smarttalk.com]
Sent: Tuesday, July 11, 2000 3:35 PM
To: tomcat-user@jakarta.apache.org
Subject: Document contains no data
System: NT4 sp6, Tomcat 3.1, Apache 1.3.12
I'm totally new to this whole thing so please forgive any idiocy on my part.
Has anyone gotten a "Document contains no data" back from a servlet? The
developer who put this servlet together is running it under Java WebServer
2.0 without any problem. However when I put it on my system it doesn't seem
to work.
I believe that I have everything configured correctly (web.xml, etc) because
if Tomcat tells me when I request something that it can't find (like if I
intentionally misspell the servlet name).
Note: The servlet is buried in:
/webapps/ops/WEB-INF/classes/tesla/cdi/ui/ops/servlet/MyServlet
Which I reference in my web.xml as:
<servlet-class>tesla.cdi.ui.ops.servlet.MyServlet</servlet-class>
The log files don't yield ANY information when I make this request.
Oh, I've telnetted and did a manual GET and, as expected, got only the
server header information.
Thanks in advance.
Dave