cancel
Showing results for 
Search instead for 
Did you mean: 

Facing problem in deploying ear file in SAP J2EE Engine 6.20

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

iavor_petkov
Explorer
0 Kudos

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

Answers (0)