Forums Register Login

HTTP Status 404 - Servlet YardelligentServlet is not available

+Pie Number of slices to send: Send
Hi

after lohin page i am not getting the respective pages
i am getting the error like

HTTP Status 404 - Servlet YardelligentServlet is not available

type Status report

message Servlet YardelligentServlet is not available

description The requested resource (Servlet YardelligentServlet is not available) is not available.
Apache Tomcat/5.0.30


can u suggess me some results

bye
+Pie Number of slices to send: Send
Is the servlet configured and mapped in web.xml? Is the corresponding class file present in the WEB-INF/classes directory? If yes to both questions, were there maybe errors in initializing it?
+Pie Number of slices to send: Send
Thanks for replying Ulf.

Krishnan,
This is a question related to servlet and not webservices.
I am moving this thread to the servlet forum.
Thanks
Balaji
+Pie Number of slices to send: Send
BTW Welcome to Javaranch Krishnan. You are on the right place
+Pie Number of slices to send: Send
If you still have problems post web.xml and the URL you are using to access the servlet
+Pie Number of slices to send: Send
address is-- http://localhost:9000/YARDELLIGENT_WEB/logon.do

my web.xml is

<?xml version="1.0" encoding="UTF-8"?>

<!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 id="WebApp">

<display-name>YARDELLIGENT_WEB</display-name>

<servlet>

<servlet-name>action</servlet-name>

<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

<init-param>

<param-name>config</param-name>

<param-value>/WEB-INF/struts-config.xml</param-value>

</init-param>

<init-param>

<param-name>debug</param-name>

<param-value>2</param-value>

</init-param>

<init-param>

<param-name>detail</param-name>

<param-value>2</param-value>

</init-param>

<init-param>

<param-name>validate</param-name>

<param-value>true</param-value>

</init-param>







<load-on-startup>2</load-on-startup>

</servlet>

<servlet>

<servlet-name>YardelligentServlet</servlet-name>

<servlet-class> com.cts.yardelligent.web.standard.controller.YardelligentServlet</servlet-class>

<init-param>

<param-name>application</param-name>

<param-value>com.cts.yardelligent.web.standard.config.ApplicationResources</param-value>

</init-param>

<init-param>

<param-name>config</param-name>

<param-value>/WEB-INF/struts-config.xml</param-value>

</init-param>

<init-param>

<param-name>ApplicationResources</param-name>

<param-value>com.cts.yardelligent_web.resources.ApplicationResources</param-value>

</init-param>



<init-param>

<param-name>debug</param-name>

<param-value>2</param-value>

</init-param>

<init-param>

<param-name>detail</param-name>

<param-value>2</param-value>

</init-param>

<init-param>

<param-name>validate</param-name>

<param-value>true</param-value>

</init-param>

<load-on-startup>2</load-on-startup>

</servlet>

<servlet>

<servlet-name>DamageXMLServlet</servlet-name>

<servlet-class>com.cts.yardelligent.web.standard.xmlhandlers.DamageXMLServlet</servlet-class>

</servlet>

<servlet>

<servlet-name>ImageServlet</servlet-name>

<display-name>ImageServlet</display-name>

<servlet-class>com.cts.yardelligent.web.standard.utils.ImageServlet</servlet-class>

</servlet>



<servlet>

<servlet-name>SilhouetteMaster</servlet-name>

<display-name>SilhouetteMaster</display-name>

<servlet-class>com.cts.yardelligent.web.standard.xmlhandlers.SilhouetteMaster</servlet-class>

</servlet>

<servlet>

<servlet-name>RFIDInbound</servlet-name>

<display-name>RFIDInbound</display-name>

<servlet-class>com.cts.yardelligent.web.standard.inbound.RFIDInbound</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>YardelligentServlet</servlet-name>

<url-pattern>*.do</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>DamageXMLServlet</servlet-name>

<url-pattern>/DamageXMLServlet</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>DamageXMLServlet</servlet-name>

<url-pattern>*.sil</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>SilhouetteMaster</servlet-name>

<url-pattern>/SilhouetteMaster</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>ImageServlet</servlet-name>

<url-pattern>/ImageServlet</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>SilhouetteMaster</servlet-name>

<url-pattern>*.msl</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>RFIDInbound</servlet-name>

<url-pattern>/RFIDInbound</url-pattern>

</servlet-mapping>

<welcome-file-list>

<welcome-file>jsp/en/pc/security/LoginServer.jsp</welcome-file>

</welcome-file-list>



<taglib>

<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-html.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-template.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>

</taglib>

</web-app>
+Pie Number of slices to send: Send
 


<servlet-mapping>
<servlet-name>YardelligentServlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>



I think next time you should post just the portion of the code that has to do with the YardelligentServlet. Anyways, I know that if yu rewrite the above protion this way:


it should work.
+Pie Number of slices to send: Send
You seem to be mixing Struts setup and your setup. Using Struts I would expect something like

somewhere in the file, while your servlet should not be mapped to *.do (unless it replaces/extends the Struts servlet).
[ August 12, 2005: Message edited by: Ulf Dittmer ]
+Pie Number of slices to send: Send
Hi,

after modifying the code also i am getting the same error

Do i neet to chang e anything in struts-config.xml?

Thank you
+Pie Number of slices to send: Send
Most likely, u don't have the jar files in your WEB_INF/lib directory.
+Pie Number of slices to send: Send
"krishnan" and "Shitij",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
Don't touch me. And dont' touch this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 4867 times.
Similar Threads
HTTP Status 404 - Servlet YardelligentServlet is not available
servlet not found error
http status 404 message {extremely urgent help required}
HTTP Status 404
HTTP Status 404 - Servlet springtest is not available
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:16:52.