> -----Original Message-----
> From: Carver, Christopher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 11:49 AM
> To: Tomcat Users List
> Subject: RE: Need guidance with servlet deployment.
>
>
> Oh, I get it now. But I think I'm skating around the issue
> and not seeing it.
>
> I changed the line to
> "<url-pattern>/gizmoservlet</url-pattern>" and went to the
> URL: http://localhost:8080/servlet/gizmoservlet and the reply
> was page not found.
with this mapping, the url should be :
http://localhost:8080/gizmoservlet
>
> I changed the line to
> "<url-pattern>/servlet/gizmoservlet</url-pattern>" 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)
/servlet is a default mapping for any servlet(see /conf/web.xml) therefore
you do not need a servlet mapping containing "/servet" unless you wish to
override this functionality. change(or remove) your <url-mapping> and try
this url:
http://localhost:8080/servlet/gizmoservlet
Charlie
>
> 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(Adaptiv
> eClassLoader.java:518)
> at
> org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Adapt
> iveServletLoader.java:174)
> at
> org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapp
> er.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(ContextM
> anager.java:806)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
> at
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpConnectionHandler.java:213)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
> t.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
> ol.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.
> > >
> > >
> > > <servlet-mapping>
> > > <servlet-name>gizmoservlet</servlet-name>
> > > <url-pattern>gizmoservlet</url-pattern>
> >
> > I'm pretty sure this should be
> > <url-pattern>/gizmoservlet</url-pattern>
> >
> > (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]>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>