on 07-02-2009 11:00 AM
Hi,
We are in process of doing a SAP Certification where we need to test our Custom Login Module for the SAP certification Test cases.
We have a SAP Web AS installation and as per the test plan we need to deploy the following files in the Application Server u2013
1) TestCertificationLibrary.sda
2) TestCertificationEAR.ear
We are able to deploy the sda module but when we try to deploy the Application i.e. TestCertificationEAR.ear, we get an exception and the deployment fails. The error message has been pasted below. This has been done on two different setups and the outcome is same.
===========================================================================
Deployment started Thu Jul 02 01:21:14 EDT 2009
===========================================================================
Starting Deployment of TestCertificationEAR
Aborted: development component 'TestCertificationEAR'/'sap.com'/'localhost'/'2005.07.10.16.35.42'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application sap.com/TestCertificationEAR.. Reason: Exception during generation of components of application sap.com/TestCertificationEAR in container servlet_jsp.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/TestCertificationEAR in container servlet_jsp. (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment of TestCertificationEAR finished with Error (Duration 6467 ms)
Setup Details -
SAP Web AS 7.0
Platform - Red Hat 5.0 and AIX 6.1
Following are the logs -
sdmlog.log
-
<!LOGHEADER[START]/>
09/07/02 05:28:00 - ***********************************************************
09/07/02 05:28:02 - Start updating EAR file...
09/07/02 05:28:02 - start-up mode is lazy
09/07/02 05:28:02 - EAR file updated successfully for 165ms.
09/07/02 05:28:02 - Start deploying ...
09/07/02 05:28:03 - EAR file uploaded to server for 303ms.
09/07/02 05:28:04 - ERROR: Not deployed. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot deploy application sap.com/TestCertificationEAR..
Reason: Exception during generation of components of application sap.com/TestCertificationEAR in container servlet_jsp.; nested exception is:
com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/TestCertificationEAR in container servlet_jsp.
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:567)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/TestCertificationEAR in container servlet_jsp.
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:612)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
... 10 more
Caused by: java.lang.SecurityException: com.sap.engine.services.security.exceptions.BaseSecurityException: "com.sap.certification.jaas.SimulatorLoginModule" is not included in the userstore configuration.
at com.sap.engine.services.security.server.AuthenticationContextImpl.checkEntries(AuthenticationContextImpl.java:718)
at com.sap.engine.services.security.server.AuthenticationContextImpl.checkEntries(AuthenticationContextImpl.java:659)
at com.sap.engine.services.security.server.AuthenticationContextImpl.setLoginModules(AuthenticationContextImpl.java:467)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.initSecurityConfiguration(WebContainerHelper.java:912)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.createSecurityResources(WebContainerHelper.java:783)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.initXmls(WebContainerHelper.java:689)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.deploy(WebContainerHelper.java:143)
at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:141)
at com.sap.engine.services.servlets_jsp.server.container.WebContainer.deploy(WebContainer.java:105)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
at com.sap.engine.services.security.exceptions.BaseSecurityException.writeReplace(BaseSecurityException.java:349)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1061)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1042)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1423)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:398)
at com.sap.exception.BaseExceptionInfo.writeObject(BaseExceptionInfo.java:964)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:971)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1387)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1338)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1083)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1423)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1395)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1338)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1083)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1423)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1395)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1338)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1083)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:309)
at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:321)
... 8 more
For detailed information see the log file of the Deploy Service.
09/07/02 05:28:04 - ***********************************************************
Jul 2, 2009 5:28:04 AM Info: End of log messages of the target system.
Jul 2, 2009 5:28:04 AM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Jul 2, 2009 5:28:04 AM Error: Aborted: development component 'TestCertificationEAR'/'sap.com'/'localhost'/'2005.07.10.16.35.42'/'2':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/TestCertificationEAR..
Reason: Exception during generation of components of application sap.com/TestCertificationEAR in container servlet_jsp.; nested exception is:
com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/TestCertificationEAR in container servlet_jsp.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Jul 2, 2009 5:28:04 AM Info: Starting to save the repository
Jul 2, 2009 5:28:05 AM Info: Finished saving the repository
Jul 2, 2009 5:28:06 AM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
-
Hello,
Can you plz let me know from where i can download TestCertificationEAR.ear file?
Thanks,
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pronlem was with some confiurations missing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.