RE: Need guidance with servlet deployment.

2002-03-05 Thread Carver, Christopher

Oh, I get it now. But I think I'm skating around the issue and not seeing it.

I changed the line to "/gizmoservlet" and went to the URL: 
http://localhost:8080/servlet/gizmoservlet and the reply was page not found.

I changed the line to "/servlet/gizmoservlet" and went to 
the URL: http://localhost:8080/gizmoservlet/servlet/gizmoservlet
but I get the following error: (keep in mind this servlet works when I place it in the 
same directory as rpcrouter)

Error: 500
Location: /jsoapservlet/servlet/jsoapservlet
Internal Servlet Error:

java.lang.NullPointerException
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:641)
at 
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:518)
at 
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)





-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 10:26 AM
To: 'Tomcat Users List'
Subject: RE: Need guidance with servlet deployment.


on top of Randy's suggestsion, try to access the URL:
http://localhost:8080/gizmoservlet/something.html

or
http://localhost:8080/servlet/GizmoServlet

You get the blank directory listing becuase you have a logical directory set
up for /gizmoservlet, but no index.html file to handle requests to the root
directory for your webapp.

Charlie

> -Original Message-
> From: Carver, Christopher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 11:20 AM
> To: Tomcat Users List
> Subject: RE: Need guidance with servlet deployment.
> 
> 
> Randy, thank you for catching that. I restarted Tomcat after 
> fixing it and it still doesn't work. Nutz.
> 
> Thank you though. Chris
> 
> -Original Message-
> From: Randy Layman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 9:26 AM
> To: 'Tomcat Users List'
> Subject: RE: Need guidance with servlet deployment.
> 
> 
> 
> 
> > -Original Message-
> > From: Carver, Christopher [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 05, 2002 10:56 AM
> > To: [EMAIL PROTECTED]
> > Subject: Need guidance with servlet deployment.
> > 
> > 
> >   
> > gizmoservlet
> > gizmoservlet
> 
> I'm pretty sure this should be 
>  /gizmoservlet
> 
> (Note the preceding /).
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Need guidance with servlet deployment.

2002-03-05 Thread Carver, Christopher

Randy, thank you for catching that. I restarted Tomcat after fixing it and it still 
doesn't work. Nutz.

Thank you though. Chris

-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 9:26 AM
To: 'Tomcat Users List'
Subject: RE: Need guidance with servlet deployment.




> -Original Message-----
> From: Carver, Christopher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 10:56 AM
> To: [EMAIL PROTECTED]
> Subject: Need guidance with servlet deployment.
> 
> 
>   
> gizmoservlet
> gizmoservlet

I'm pretty sure this should be 
 /gizmoservlet

(Note the preceding /).

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Need guidance with servlet deployment.

2002-03-05 Thread Carver, Christopher

I'm having difficulty deploying/implementing my servlet under Tomcat 3.2.4. Here is 
the situation. I created a basic servlet to handle SOAP messages called gizmoservlet. 
I edited the web.xml file in the samples that came with Apache SOAP and placed the 
servlet in the same directory as rpcrouter and everything works fine and I get the 
proper error message when going to http://localhost:8080/soap/servlet/gizmoservlet. I 
was able to test and develop the servlet with no problems. However when I create my 
own gizmoservlet.war and try to deploy it as its own and not under the SOAP sample all 
I get on my web browser is a directoy listing of a blank directory at the URL 
http://localhost:8080/gizmoservlet. What could I be doing wrong?

Here is my web.xml file and thanks for any help:



http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>


  
gizmoservlet
Gizmo SOAP Servlet
no description
GizmoServlet


  

  
gizmoservlet
gizmoservlet
  




--
To unsubscribe:   
For additional commands: 
Troubles with the list: