Hi David, Yes, its true that the "action" servlet is not loaded, this is my error message in the Catalina log file, Please tell me how to resolve this issue.
Uma 2005-01-18 08:02:32 StandardContext[]Marking servlet action as unavailable 2005-01-18 08:02:33 StandardContext[]Servlet threw load() exception javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServl et.java:782) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:331) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:1029) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:4013) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:480) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:2 18) -----Original Message----- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 11:14 AM To: Struts Users Mailing List Subject: RE: HTTP Status 404 - Servlet action is not available Uma, When Tomcat says and "action" servlet is not available it often means initialization failed. Have you checked Tomcat's logs directory and made sure the app is properly loaded WITHOUT any errors? Are both your Local and Remote machines running the same version of Tomcat? (This could be a minor factor depending on the error messages in your Tomcat logs). Regards, David -----Original Message----- From: Kalluru Uma. Maheswar [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 12:31 AM To: Struts Users Mailing List Subject: RE: HTTP Status 404 - Servlet action is not available Hi David, Its Apache/1.3.33 Server. But I am trying to run my struts app directly on 8080 port i.e. Tomcat. http://myhost.com:8080/test1.abc and the error message is clearly coming from Tomcat. It says that "action" servlet is not available. But I think the struts.jar file is in the classpath as I am using <bean:messages .. > in one of the JSP and its able to read messages from MessageResources.properties file. What could be wrong? Uma -----Original Message----- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 10:42 AM To: Struts Users Mailing List Subject: RE: HTTP Status 404 - Servlet action is not available Uma Error 404 means "File Not Found" so the problem is likely a mapping issue between Apache and Tomcat. What Apache module are you using to pass JSP's to Tomcat? Regards, David -----Original Message----- From: Kalluru Uma. Maheswar [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 12:03 AM To: Struts Users Mailing List Subject: HTTP Status 404 - Servlet action is not available Hi, I get the following error in remote Tomcat server that is configured with Apache HTTP Server. The same app is working fine in my local machine that is having only Tomcat. Here is my web.xml file and struts-config.xml file <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> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.abc</url-pattern> </servlet-mapping> <action path = "/test1" type = "org.apache.struts.actions.ForwardAction" parameter = "/test/test1.jsp" validate = "false" > <forward name = "success" path = "/test/test1.jsp"/> </action> Where am I going wrong? Uma --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]