Page tree
Skip to end of metadata
Go to start of metadata

 Category:Deployment failed 

Problem 

Deployment fails with java.lang.NoSuchMethodError: com.sap.jvm.monitor.os.OsInfo.getUsableSpaceWithError 

Keywords 

 ·         Old SAP JVM

 ·         Missing method

Symptoms

 The following error occurs during the deployment - in ../usr/sap/<SID>/<Instance Name>/work/deploy0.trc

 
 

java.lang.NoSuchMethodError: com.sap.jvm.monitor.os.OsInfo.getUsableSpaceWithError

Solution 

The error is caused because of inconsistent version of SAP JVM. Follow SAP Note 1025085  and patch your jvm to the latest version (should be at least SAPJVM 6.1.025 or SAPJVM 5.1.065 depending on the used version) 

Sample logs 

com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] P4RuntimeException.

 
Reason: Unexpected exception

 
                at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:946)

 
                at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)

 
                at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.performOperation(DeployCommand.java:208)

 
                at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.executeCommand(DeployCommand.java:540)

 
                at com.sap.engine.services.dc.api.cmd.AbstractCommand.execute(AbstractCommand.java:197)

 
                at com.sap.engine.services.dc.api.cmd.Runner.execute(Runner.java:37)

 
                at com.sap.engine.services.dc.api.cmd.Runner.main(Runner.java:61)

 
Caused by: com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception

 
                at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:840)

 
                at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:809)

 
                at com.sap.engine.services.dc.cm.deploy.Deployer_Stub.deploy(Deployer_Stub.java:284)

 
                at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:604)

 
                at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:686)

 
                ... 6 more

 
Caused by: java.rmi.RemoteException: ERROR: ; nested exception is:

 
                java.lang.NoSuchMethodError: com.sap.jvm.monitor.os.OsInfo.getUsableSpaceWithError(Ljava/lang/String;)J

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

 
                at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)

 
                at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72)

 
                at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43)

 
                at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:983)

 
                at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:59)

 
                at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)

 
                at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

 
                at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

 
                at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

 
Caused by: java.lang.NoSuchMethodError: com.sap.jvm.monitor.os.OsInfo.getUsableSpaceWithError(Ljava/lang/String;)J

 
                at com.sap.engine.services.dc.util.FileUtils.getUsableSpaceWithError(FileUtils.java:257)

 
                at com.sap.engine.services.dc.cm.deploy.impl.SduLoader.doCheckForSufficientDiskSpace(SduLoader.java:168)

 
                at com.sap.engine.services.dc.cm.deploy.impl.SduLoader.load(SduLoader.java:65)

 
                at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.loadArchives(DeployerImpl.java:1171)

 
                at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deployInternal(DeployerImpl.java:326)

 
                at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:224)

 
                at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:910)

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

 
                ... 9 more

Related SAP Notes 

SAP Note 1025085

SAP Note 1567546

SAP Note 1565537
 
 

  • No labels