- This topic has 4 replies, 2 voices, and was last updated 20 years, 1 month ago by
Scott Anderson.
-
AuthorPosts
-
jacksuMemberI deployed the webapplication in explored format. The JSP page works fine, but I always got
“Error 404: File not found: servlet/ClientCertTest” error message.And in the log, it shows class ClientCertTest not found. But I could found my class under WEB-INF/classes/abc directory.
Here is my web.xml.
<?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>
<servlet>
<servlet-name>ClientCertTest</servlet-name>
<display-name>Client Cert test on IBMWebSphere</display-name>
<description>Client Cert test on IBMWebSphere</description>
<servlet-class>abc.ClientCertTest</servlet-class>
</servlet><servlet-mapping>
<servlet-name>ClientCertTest</servlet-name>
<url-pattern>/servlet/ClientCertTest</url-pattern>
</servlet-mapping>
</web-app>
jacksuMemberPlease ignore this, I just add email notify.. Thanks.
Scott AndersonParticipantJack,
If the application is deployed correctly it’s likely a WebSphere configuration issue. For WebSphere you actually have to use a packaged deployment the first time and install it using WebSphere’s configuration console, outside of MyEclipse. Once that’s done you can then overwrite the exploded deployment that WebSphere creates using our exploded deployer from then on. Details on this and other common WebSphere configuration problems are in the posts below:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-4315-highlight-websphere.html
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-4237-highlight-websphere.html
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-1552-highlight-websphere.html
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3611-highlight-websphere.html
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-833-highlight-websphere.html
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3251-highlight-websphere.html
jacksuMemberThanks for reply.
Absolutely correct, I have to use packaged way to deploy it if I added servlet content.
I uninstall the ear file and reinstall from the admin console, it works for me now.
Thanks again
Scott AndersonParticipantJack,
No problem. Glad to hear that worked for you.
-
AuthorPosts