on 02-13-2009 8:42 AM
Hi,
I am facing a problem during deployment of an ear file in SAP J2EE Engine 6.20.It is deploying with warnings. So the jsp file changes are not reflecting in the appliaction.Need help regarding this.
Deployment message is showing :-Deployed with Warnings!!!!
A progression bar is showing deployment percentage 100%
a pop up message is showing:- Error can't load Servlet
com.internal.servlet.MainControllerServlet
java.lang.ClassNoFoundException:Class not found
com.internal.servlet.MainControllerServlet
Details:
12/02/09 06:48:49 Applying user role management mappings
12/02/09 06:48:49 Start Updating EAR file ...E:\test\test.ear
12/02/09 06:48:49 Temp files deleted
12/02/09 06:48:49 Ear file updated successfully for 734 ms
12/02/09 06:48:49 Start deploying..........
12/02/09 06:49:00 EAR file uploaded to server for 981 ms
12/02/09 06:48:11 Successfully Deployed !!! Deployment took 10831 ms
12/02/09 06:48:49 WARNING: Deploy service return following WARNINGs:
Error can't load servlet com.internal.servlet.MainControllerServlet :java
Hi Sudipto,
The error message is truncated, so we can't really see the root cause. Maybe you can print it fully.
The first thing that comes to my mind however is that the com.internal.servlet.MainControllerServlet depends on classes which reside in a library. That library is either present in a different application or is deployed separately on the Engine.
If so, then you need to check the references defined from the application which hosts the servlet to the application/library which hosts the classes required for the servlet.
The library definitions are in the <server>\managers\library.txt file.
The reference definitions are in the <server>\managers\reference.txt file.
You can manupulate the above files from telnet shell using the changelib and changeref commands.
Normally you would define the libraries and references first and then deploy the application that uses them.
I hope the above is helpful.
Best Regards,
Iavor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.