on 07-12-2011 6:22 AM
Hi,
I have migrated the java/j2ee application into nwdi, local project is running fine,
i have created the external library with all jar files.
But, DC projrct is givng below Servlet not found Exception
here csfxmlapp is my dispatcher servlet name.
**404 Not Found**
*SAP J2EE Engine/7.00*
*The request cannot be processed.*
*Details: com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Requested resource [csfxmlapp/servlet/csfxmlapp] not found.*
*Exception id: [CEF600006137003D000000000036A0120004A7C50CFD9852]*
how to resolve this error?
can anybody give suggestions to this problem?
Thanks,
Jyothi
Check "Used DC" references in your DC....
Second...look in the direction of setting runtime references for your external libraries..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
local project is working , where as Dc project is giving error.
in web.xml,
<!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>
<display-name>CSF</display-name>
<description>Client Selection Framework</description>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>csfxmlapp</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/csf-servlet.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>csfxmlapp</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
Thanks,
jyothi
Hi Jyothi,
web.xml looks fine.
I hope you have created a J2EE server component --> library and deployed (check-in and activated) in the server after adding the public part of External library DC as a used DC.
Once you deploy this J2EE server component, then add this as a used dc to your web module and build & deploy the webmodule.
please cross check the steps provided in the link..and see wether you have followed all the steps.
Hope this helps you...
Regards,
Saleem Mohammad
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.