cancel
Showing results for 
Search instead for 
Did you mean: 

Problems during deployment

Former Member
0 Kudos

Hi,

I try to create an EJB for access to a SAP R/3 system. During the deployment of the EAR project, following error occurs:

Deploy on SDM

==> Host is : localhost

==> Port is : 50018

   --> Created deploy item 0 for file:C:/Dokumente und Einstellungen/All Users/Dokumente/SAP/WorkSpace/CustInfo_EarProject/CustInfo_EarProject.ear

   --> Deployment of item 0 executed but aborted: Execution of deployment CustInfo_EarProject aborted.

Error: Caught exception during application deployment from SAP J2EE Engine's deploy service:

java.rmi.RemoteException: Cannot deploy application sap.com/CustInfo_EarProject.. Reason: Unexpected exception occurred during generation of components of application sap.com/CustInfo_EarProject in container EJBContainer. ; nested exception is:  com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Unexpected exception occurred during generation of components of application sap.com/CustInfo_EarProject in container EJBContainer.

Contents of the log file of the target system:

03/11/04 22:27:56 -  ***********************************************************

03/11/04 22:27:56 -  Start updating EAR file...

03/11/04 22:27:56 -  EAR file updated successfully for 230s.

03/11/04 22:27:56 -  Start deploying ...

03/11/04 22:27:57 -  EAR file uploaded to server for 541ms.

03/11/04 22:27:58 -  ERROR: Not deployed. Deploy Service returned ERROR:

                     java.rmi.RemoteException: Cannot deploy application sap.com/CustInfo_EarProject..

                     Reason: Unexpected exception occurred during generation of components of application sap.com/CustInfo_EarProject in container EJBContainer. ; nested exception is:

                      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Unexpected exception occurred during generation of components of application sap.com/CustInfo_EarProject in container EJBContainer.

                     com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Unexpected exception occurred during generation of components of application sap.com/CustInfo_EarProject in container EJBContainer.

                      at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:680)

                      at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:430)

                      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:283)

                      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:332)

                      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2084)

                      at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:380)

                      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1359)

                      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:228)

                      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:156)

                      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:101)

                      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

                      at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:60)

                      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:55)

                      at java.security.AccessController.doPrivileged(Native Method)

                      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:115)

                     -

-


predecessor system -

-


                     com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Unexpected exception occurred during generation of components of application sap.com/CustInfo_EarProject in container EJBContainer.

                      <<no stack trace available>>

                     -

-


caused by -

-


                     java.lang.NoClassDefFoundError: com/sap/aii/proxy/framework/core/AbstractProxy

                      at java.lang.Class.getConstructors0(Native Method)

                      at java.lang.Class.getConstructors(Class.java:770)

                      at com.sap.engine.services.ejb.deploy.verifier.BeanClassCheck.check(BeanClassCheck.java:28)

                      at com.sap.engine.services.ejb.deploy.verifier.session.SessionBeanCheck.check(SessionBeanCheck.java:51)

                      at com.sap.engine.services.ejb.deploy.verifier.Verifier.checkBean(Verifier.java:70)

                      at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:44)

                      at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:231)

                      at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:1998)

                      at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:665)

                      at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:430)

                      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:283)

                      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:332)

                      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2084)

                      at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:380)

                      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1359)

                      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:228)

                      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:156)

                      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:101)

                      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

                      at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:60)

                      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:55)

                      at java.security.AccessController.doPrivileged(Native Method)

                      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:115)

                     -

-


predecessor system -

-


                     java.lang.NoClassDefFoundError: com/sap/aii/proxy/framework/core/AbstractProxy

                      <<no stack trace available>>

                     For detailed information see the log file of Deploy Service.

03/11/04 22:27:58 -  ***********************************************************

(error ID: com.sap.sdm.serverext.servertype.inqmy.EngineApplOnlineDeployer.performAction(int).REMEXC)

I don't understand the problem, because I've already added the needed Jar-files to the build path. Or is the reason somewhere else???

Many Thanks!!!

Accepted Solutions (0)

Answers (1)

Answers (1)

SvetoManolov
Employee
Employee
0 Kudos

Hi,

the problem is that the com/sap/aii/proxy/framework/core/AbstractProxy class cannot be found by the application classloader. This means that you should set a reference from your application to the application (or library) that contains this class.

Do not hesitate to contact me via email (svetoslav.manolov@sap.com) for more details or if you have more questions concerning the EJB.

Best regards,

Svetoslav