sorry for this one
the whole file web.xml
##########################
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app SYSTEM
"file:/opt/IBMWebAS/hosts/default_host/OKBVWebApp/servlets/org/apache/struts/resources/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name><param-value>de.man.mn.aaw.okbv.struts.OKBVResources</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>validate</param-name>
<param-value>true</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>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>OnlineKBV.html</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/struts-form.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-form.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-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
</web-app>
################
the tlds are in OKBVWebApp/web/WEB-INF/
Toni
****************************************************
MAN Nutzfahrzeuge AG
Anton Grimm
Abt. IDP (SoftwareProduktionsumgebungen)
Dachauerstr.667
80995 M�nchen
Tel.: 089/1580-1054
Fax: 089/1580-911054
E-Mail: [EMAIL PROTECTED]
****************************************************
dion
<dion@multita An: Struts Users Mailing List
<[EMAIL PROTECTED]>
sk.com.au> Kopie:
Thema: Re: Config Problem using Struts with
WebSphere 3.5.4 on Linux 7.2
16.01.02
20:51
Bitte
antworten an
"Struts Users
Mailing List"
[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]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>