[EMAIL PROTECTED] wrote: > hi all, > > sorry first for one more question on this topic, > but I am trying to run struts-sample and another application using > WebSphere 3.5.4 on Linux 7.2 for almost 4 days without success. > > I was reading the installation hints > http://jakarta.apache.org/struts/installation-was352-x.html > http://www.distribucon.com/struts/WASInstall.htm > > I tried several things, but still get the error ... > > [02.01.16 11:07:11:630 CET] cacd731a ServletInstan X Uncaught service > () exception thrown by servlet {0}: {1} > "jsp11" > javax.servlet.ServletException: Cannot > retrieve mapping for action /login > at javax.servlet.ServletException.<init>(ServletException.java:161) > at > >org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:392) > > > at jsp._login_jsp_1._jspService(_login_jsp_1.java:782) > > > As I understand this means the ActionServlet has not initialized the > Mappings > defined in struts-config.xml > > <action path="/login" > type="de.man.mn.aaw.okbv.struts.action.LoginAction" > name="userProfile" > input="jsp/login.jsp" > > > <forward name="ok" path="jsp/vehiclechoice.jsp" /> > <forward name="fehler" path="jsp/login.jsp?target=error"/> > </action> > > The DOCTYPE-Declaration looks like this > > <!DOCTYPE struts-config SYSTEM > >"file:///opt/IBMWebAS/hosts/default_host/OKBVWebApp/servlets/org/apache/struts/resources/struts-config_1_0.dtd"> > > > > > WebSphere stdout.txt > > [02.01.16 11:06:04:958 CET] f00bf31f ServletInstan A SRVE0048I: Loading > servlet: "action" > [02.01.16 11:06:05:007 CET] f00bf31f WebGroup A SRVE0091I: [Servlet > LOG]: "action: init" > [02.01.16 11:06:05:031 CET] f00bf31f WebGroup A SRVE0091I: [Servlet > LOG]: "action: Loading application resources from resource > de.man.mn.aaw.okbv.struts.OKBVResources" > [02.01.16 11:06:05:036 CET] f00bf31f WebGroup A SRVE0091I: [Servlet > LOG]: "action: Initializing configuration from resource path > /WEB-INF/struts-config.xml" > resolveEntity('null', > >'file:///opt/IBMWebAS/hosts/default_host/OKBVWebApp/servlets/org/apache/struts/resources/struts-config_1_0.dtd') > > > Not registered, use system identifier > register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', > 'file:/opt/IBMWebAS/classes/org/apache/struts/resources/struts-config_1_0.dtd' > > > register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', > 'file:/opt/IBMWebAS/classes/org/apache/struts/resources/web-app_2_2.dtd' > register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', > 'file:/opt/IBMWebAS/classes/org/apache/struts/resources/web-app_2_3.dtd' > resolveEntity('null', > >'file:///opt/IBMWebAS/hosts/default_host/OKBVWebApp/servlets/org/apache/struts/resources/web-app_2_2.dtd') > > > Not registered, use system identifier > Call > org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.String, > > > > .do/java.lang.String) > [02.01.16 11:06:05:469 CET] f00bf31f WebGroup A SRVE0091I: [Servlet > LOG]: "action: Process servletName=action, urlPattern=*.do" > [02.01.16 11:06:05:491 CET] f00bf31f WebGroup A SRVE0091I: [Servlet > LOG]: "action: Mapping for servlet 'action' = '*.do'" > [02.01.16 11:06:05:498 CET] f00bf31f ServletInstan A SRVE0130I: Servlet > available for service: "action" > > > any help is very much appreciated
Where's your web.xml? -- dIon Gillard, Multitask Consulting http://www.multitask.com.au/developers -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

