cancel
Showing results for 
Search instead for 
Did you mean: 

EJB Deployment Problem

Former Member
0 Kudos

Hi,

I have an EAR project containing a web application. When I deploy it, everything works fine.

However when I add an EJB Project containing a stateless session bean with method

public String myMethod(String val)

to the EAR project, I cannot deploy it.

The error is

--------------------------------------------------------
Result
=> deployment aborted : file:/C:/DOCUME~1/KKK1/LOCALS~1/Temp/temp62084prjBulletinEAR.ear
Aborted: development component 'prjBulletinEAR'/'sap.com'/'localhost'/'2006.09.27.11.13.29':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/prjBulletinEAR.. Reason: null; nested exception is: 	java.lang.NullPointerException
 (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Deployment exception : The deployment of at least one item aborted
--------------------------------------------------------

My NWDS version is Version: 2.0.18

Build id: 200607280929

What can the problem be?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Kuzey,

You can find the root exception in the defaultTrace.trc file under /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/log.

Restart your SDM try deploying.

See this thread:

Regards, Suresh KB

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi guys,

I've solved the problem. When I take the beans that are used by EJBs to another jar file than the original web project, it worked.

Former Member
0 Kudos

Hi Suresh,

I looked at the solutions; there are no references in my EJB project, just a method takes and returns String.

Another intresting thing is we both upgrade our IDEs to 18 version with a friend, and when he deploys the same application it works fine. What can the problem be?