RE: error 404 when calling servlet

2003-01-24 Thread Turner, John

Do you have your servlet mapped in web.xml?  The default Invoker servlet is
disabled by default in 4.1.18 for security reasons.

John


 -Original Message-
 From: Syukri Jamaluddin [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 23, 2003 11:26 PM
 To: [EMAIL PROTECTED]
 Subject: error 404 when calling servlet
 
 
 hi,
 i'm new tomcat user (using 4.1.18 in windows 98), got a 
 problem with my
 servlet.
 
 -i've constructed my webapp class dir 
 \webapp\mysystem\WEB-INF\classes
 and i'd put a sevlet there named MyServlet.class (this 
 servlet works in
 another web app server)
 
 -i've tried to call directly from browser
 http://127.0.0.1:8080/mysystem/servlet/MyServlet; and got response:
 
 HTTP Status 404 - /mysystem/servlet/MyServlet
 type: Status report
 message: /mysystem/servlet/MyServlet
 description: The requested resource 
 (/mysystem/servlet/MyServlet) is not
 available.
 
 -i've checked the server.xml file, it's all there (the 
 Context element)
 and i've follow all the App Developer Guide.
 
 -is there anything that i've missed to configure or any suggestion to
 make this thing works, please.
 
 thank you.
 
 
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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




RE: error 404 when calling servlet

2003-01-24 Thread Shapira, Yoav
Howdy,
You have two choices:

1. Comment in the servlet-mapping element for the invoker servlet in
$CATALINA_HOME/conf/web.xml.  This is commented out by default in tomcat
4.1.18 for security reasons.

2. Add a servlet and servlet-mapping element for your servlet class
into your web.xml.  (/mysystem/WEB-INF/web.xml).

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Syukri Jamaluddin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 11:26 PM
To: [EMAIL PROTECTED]
Subject: error 404 when calling servlet

hi,
i'm new tomcat user (using 4.1.18 in windows 98), got a problem with my
servlet.

-i've constructed my webapp class dir
\webapp\mysystem\WEB-INF\classes
and i'd put a sevlet there named MyServlet.class (this servlet works in
another web app server)

-i've tried to call directly from browser
http://127.0.0.1:8080/mysystem/servlet/MyServlet; and got response:

HTTP Status 404 - /mysystem/servlet/MyServlet
type: Status report
message: /mysystem/servlet/MyServlet
description: The requested resource (/mysystem/servlet/MyServlet) is
not
available.

-i've checked the server.xml file, it's all there (the Context element)
and i've follow all the App Developer Guide.

-is there anything that i've missed to configure or any suggestion to
make this thing works, please.

thank you.




--
To unsubscribe, e-mail:   mailto:tomcat-user-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:tomcat-user-
[EMAIL PROTECTED]


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