cancel
Showing results for 
Search instead for 
Did you mean: 

LMTOOL patch error: SDA to be deployed

Former Member
0 Kudos

Hi All,

During applying patches of LM TOOL through JSPM we are getting error as follows:

It is saying that SDA to be deployed. But I dont know how to do that. I got tclcmdeployer.sda file at given location.

Info: Finished saving the repository for 210 ms.

Info: Starting: Initial deployment: Selected development component 'tc/lcm/deployer'/'sap.com'/'MAIN_NW702P05_C'/'3820096'/'10' will be deployed.

Info: SDA to be deployed: E:\usr.....\SDM\root\origin\sap.com\tc\lcm\deployer\MAIN_NW702P05_C\10\3820096\tclcmdeployer.sda

Info: Software type of SDA: J2EE

Info: Begin of SAP J2EE Engine Deployment (J2EE Application)

Info: Begin of log messages of the target system:

-

- Start updating EAR file...

- start-up mode is lazy

- EAR file updated successfully for 57ms.

- Start deploying ...

- EAR file uploaded to server for 112ms.

ERROR: Not deployed. Deploy Service returned ERROR:

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

Reason: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.

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

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:330)

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

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

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(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)

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

Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.

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

at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:325)

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

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:3241)

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

... 10 more

Caused by: java.lang.NoClassDefFoundError: com/sap/tc/ts/is/spi/ConnectEvent

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

at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)

at java.lang.Class.getMethod0(Class.java:1901)

at java.lang.Class.getMethod(Class.java:984)

at com.sap.engine.services.ejb.util.ClassUtils.hasMethod(ClassUtils.java:45)

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

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:82)

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

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

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

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

... 16 more

For detailed information see the log file of the Deploy Service.

Info: End of log messages of the target system.

Info: End of SAP J2EE Engine Deployment (J2EE Application)

Error: Aborted: development component 'tc/lcm/deployer'/'sap.com'/'MAIN_NW702P05_C'/'3820096'/'10', grouped by software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2':

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

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

Reason: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC) Info: Starting to save the repository

Info: Finished saving the repository for 156 ms.

Info: Starting: Update: Selected software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2' updates currently deployed software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P04_C'/'1000.7.02.4.1.20100604135121''/'0'.

Nov 11, 2011 4:26:09 PM Error: Aborted: software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2':

Failed deployment of SDAs:

development component 'tc/lcm/deployer'/'sap.com'/'MAIN_NW702P05_C'/'3820096'/'10' : aborted

Please, look at error logs above for more information!

Info: Starting to save the repository

Info: Finished saving the repository for 156 ms.

Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

Error: - At least one of the Deployments failed-

Please help me to solve this issue.

Thanks and Regards,

Ishan

Accepted Solutions (0)

Answers (2)

Answers (2)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Ishan,

Hope you are doing good.

th reason why the deployment fails is:

"

Caused by: java.lang.NoClassDefFoundError: com/sap/tc/ts/is/spi/ConnectEvent at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:1655) at java.lang.Class.getMethod0(Class.java:1901) at

"

The NoClassDefFoundError is because the class was not loaded due to the current J2EE Engine's start mode

could be SAFE. So please firstly change it to normal -> restart the server -> do the deployment of using SDM

The detailed steps are:

1. Config Tool -> File -> Safe Mode -> set 'Safe Mode Enabled' to NO

for all instances -> OK -> File -> Apply

2. Restart the J2EE Engine.

3. After the J2ee engine starts, launch SDM remotegui and do the deployment there. Deploy this with the SDM application-please select "update any version". This will ensure that all of the SDA's inside the SCA's are deployed/redeployed. Please use SDM directly and specify the option "Update SCAs/SDAs that have any version". That way we can be sure that the deployments are consistent.

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

SAP AGS

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

As mentioned in the note, when you will log in to SDM then you can find out this component in the installed component list. And select it and undeploy.

Thanks

Sunny

Former Member
0 Kudos

Hi Ishan,

Hope your are doing good.

As I have faced the same error before,

In my case the Component LMTOOLS has not been completely downloaded so i got the error,

I think it's same in your scenario also.

Please check the size of your Downloaded Files,because you always have to crosscheck the files after downloading.

Hope this will help you out.

Thanks & Regards

Ajitabh

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Could you please paste sdmlog<date>.log log?

Also, check SAP note 1643003.

Thanks

Sunny

Former Member
0 Kudos

Hi,

I am pasting last part of log file sdmlog<date> here as file is too big. And Note you mentioned says undeploy that component using SDM. How to do that? I don't know. please help.

4:26:01 PM Info: Starting to save the repository

4:26:02 PM Info: Finished saving the repository for 356 ms.

4:26:02 PM Info: Starting: No action: Selected development component 'tc/di/cts/import/service/appl'/'sap.com'/'MAIN_NW702P05_C'/'3820207'/'10' will not be redeployed. Only the previous development component 'tc/di/cts/import/service/appl'/'sap.com'/'MAIN_NW702P05_C'/'3820207'/'9' will be updated in the SDM repository.

4:26:02 PM Info: Finished successfully: development component 'tc/di/cts/import/service/appl'/'sap.com'/'MAIN_NW702P05_C'/'3820207'/'10', grouped by

4:26:02 PM Info: Starting to save the repository

4:26:02 PM Info: Finished saving the repository for 223 ms.

4:26:02 PM Info: Starting: No action: Selected development component 'tc/je/basicadmin/sapcontrol/lib'/'sap.com'/'MAIN_NW702P03_C'/'3520730'/'11' will not be redeployed. Only the previous development component 'tc/je/basicadmin/sapcontrol/lib'/'sap.com'/'MAIN_NW702P03_C'/'3520730'/'10' will be updated in the SDM repository.

4:26:02 PM Info: Finished successfully: development component 'tc/je/basicadmin/sapcontrol/lib'/'sap.com'/'MAIN_NW702P03_C'/'3520730'/'11', grouped by

4:26:02 PM Info: Starting to save the repository

4:26:02 PM Info: Finished saving the repository for 241 ms.

4:26:02 PM Info: Starting: No action: Selected development component 'tc/je/jmx/wsconnector/app'/'sap.com'/'MAIN_NW702P03_C'/'3520736'/'11' will not be redeployed. Only the previous development component 'tc/je/jmx/wsconnector/app'/'sap.com'/'MAIN_NW702P03_C'/'3520736'/'10' will be updated in the SDM repository.

4:26:02 PM Info: Finished successfully: development component 'tc/je/jmx/wsconnector/app'/'sap.com'/'MAIN_NW702P03_C'/'3520736'/'11', grouped by software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2'

4:26:02 PM Info: Starting to save the repository

4:26:03 PM Info: Finished saving the repository for 365 ms.

4:26:03 PM Info: Starting: No action: Selected development component 'tc/je/jmx/wsconnector/sp/sda'/'sap.com'/'MAIN_NW702P03_C'/'3520733'/'11' will not be redeployed. Only the previous development component 'tc/je/jmx/wsconnector/sp/sda'/'sap.com'/'MAIN_NW702P03_C'/'3520733'/'10' will be updated in the SDM repository.

4:26:03 PM Info: Finished successfully: development component 'tc/je/jmx/wsconnector/sp/sda'/'sap.com'/'MAIN_NW702P03_C'/'3520733'/'11', grouped by

4:26:03 PM Info: Starting to save the repository

4:26:03 PM Info: Finished saving the repository for 209 ms.

4:26:03 PM Info: Starting: No action: Selected development component 'tc/je/mbeanviewer/app'/'sap.com'/'MAIN_NW702P03_C'/'3520861'/'11' will not be redeployed. Only the previous development component 'tc/je/mbeanviewer/app'/'sap.com'/'MAIN_NW702P03_C'/'3520861'/'10' will be updated in the SDM repository.

4:26:03 PM Info: Finished successfully: development component 'tc/je/mbeanviewer/app'/'sap.com'/'MAIN_NW702P03_C'/'3520861'/'11', grouped by software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2'

4:26:03 PM Info: Starting to save the repository

4:26:03 PM Info: Finished saving the repository for 239 ms.

4:26:03 PM Info: Starting: No action: Selected development component 'tc/je/trace/app'/'sap.com'/'MAIN_NW702P03_C'/'3520908'/'11' will not be redeployed. Only the previous development component 'tc/je/trace/app'/'sap.com'/'MAIN_NW702P03_C'/'3520908'/'10' will be updated in the SDM repository.

4:26:03 PM Info: Finished successfully: development component 'tc/je/trace/app'/'sap.com'/'MAIN_NW702P03_C'/'3520908'/'11', grouped by software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2'

4:26:03 PM Info: Starting to save the repository

4:26:03 PM Info: Finished saving the repository for 210 ms.

4:26:03 PM Info: Starting: Initial deployment: Selected development component 'tc/lcm/deployer'/'sap.com'/'MAIN_NW702P05_C'/'3820096'/'10' will be deployed.

4:26:03 PM Info: SDA to be deployed: E:\usr\sap\KSA\DVEBMGS00\SDM\root\origin\sap.com\tc\lcm\deployer\MAIN_NW702P05_C\10\3820096\tclcmdeployer.sda

4:26:03 PM Info: Software type of SDA: J2EE

4:26:04 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

4:26:09 PM Info: Begin of log messages of the target system:

11/11/11 16:26:04 - ***********************************************************

11/11/11 16:26:07 - Start updating EAR file...

11/11/11 16:26:07 - start-up mode is lazy

11/11/11 16:26:07 - EAR file updated successfully for 57ms.

11/11/11 16:26:07 - Start deploying ...

11/11/11 16:26:07 - EAR file uploaded to server for 112ms.

11/11/11 16:26:09 - ERROR: Not deployed. Deploy Service returned ERROR:

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

Reason: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.

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

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:330)

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

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

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(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)

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

Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.

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

at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:325)

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

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:3241)

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

... 10 more

Caused by: java.lang.NoClassDefFoundError: com/sap/tc/ts/is/spi/ConnectEvent

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

at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)

at java.lang.Class.getMethod0(Class.java:1901)

at java.lang.Class.getMethod(Class.java:984)

at com.sap.engine.services.ejb.util.ClassUtils.hasMethod(ClassUtils.java:45)

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

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:82)

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

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

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

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

... 16 more

For detailed information see the log file of the Deploy Service.

11/11/11 16:26:09 - ***********************************************************

4:26:09 PM Info: End of log messages of the target system.

4:26:09 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

4:26:09 PM Error: Aborted: development component 'tc/lcm/deployer'/'sap.com'/'MAIN_NW702P05_C'/'3820096'/'10', grouped by software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2':

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

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

Reason: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/tclcmdeployer in container EJBContainer.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

4:26:09 PM Info: Starting to save the repository

4:26:09 PM Info: Finished saving the repository for 156 ms.

4:26:09 PM Info: Starting: Update: Selected software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2' updates currently deployed software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P04_C'/'1000.7.02.4.1.20100604135121''/'0'.

4:26:09 PM Error: Aborted: software component 'LM-TOOLS'/'sap.com'/'MAIN_NW702P06_C'/'1000.7.02.6.10.20110905085221''/'2':

Failed deployment of SDAs:

development component 'tc/lcm/deployer'/'sap.com'/'MAIN_NW702P05_C'/'3820096'/'10' : aborted

Please, look at error logs above for more information!

4:26:09 PM Info: Starting to save the repository

4:26:09 PM Info: Finished saving the repository for 156 ms.

4:26:09 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

4:26:09 PM Error: -


At least one of the Deployments failed -


4:26:10 PM Info: Delete the files from E:\usr\sap\KSA\DVEBMGS00\SDM\program\temp

4:26:10 PM Info: Close client connection to <HOSTNAME>.<companyname>.com/<ip-address>, remote port 64891

4:26:13 PM Info: Opened client connection to <HOSTNAME>.<companyname>.com (IP address <HOSTNAME>.<companyname>.com/<ip-address>, remote port 65012)

4:26:22 PM Info: Delete the files from E:\usr\sap\KSA\DVEBMGS00\SDM\program\temp

4:26:22 PM Info: Close client connection to <HOSTNAME>.<companyname>.com/<ip-address>, remote port 65012

4:26:24 PM Info: Start logging to 'E:\usr\sap\KSA\DVEBMGS00\j2ee\JSPM\log\log_2011_11_11_16_24_07\OperateSDM_01.LOG'

4:26:24 PM Info:

4:26:24 PM Info: ==========================================

4:26:24 PM Info: = Starting to execute command 'ping' =

4:26:24 PM Info: ==========================================

4:26:24 PM Info: Sending "ping" command to the SDM server...

4:26:24 PM Info: Opened client connection to 127.0.0.1 (IP address 127.0.0.1/127.0.0.1, remote port 65019)

4:26:25 PM Info: SDM server is running.

4:26:25 PM Info: Close client connection to 127.0.0.1/127.0.0.1, remote port 65019

4:26:25 PM Info: Successfully executed. Return code: 0

6:20:12 PM Info: ====================================

6:20:12 PM Info: JControl is shutting SDM Server down

6:20:12 PM Info: ====================================

6:20:12 PM Info: Server finished sending back the answer of the ShutdownRequest.

6:20:12 PM Info: Shutting dispatcher down

6:25:16 PM Info:

6:25:16 PM Info: ============================================

6:25:16 PM Info: = Starting to execute command 'server' =

6:25:16 PM Info: ============================================

6:25:16 PM Info: Starting SDM - Software Deployment Manager...

6:25:17 PM Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0204.20100323143211.0000

6:25:22 PM Info: SDM operation mode successfully set to: Integrated

Info: JStartupFramework is requesting to start the SDM Server.

Info: Start the SDM Server integrated in the JStartupFramework.

Info: Initializing Network Manager (50017)

Info: Starting SDM Server listening on port 50018

Info: SDM started successfully.

Please help me.

Thanks,

Ishan