on 09-27-2006 9:35 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.