Skip to Content
0
Nov 03, 2011 at 10:30 PM

custom FTP Adapter module - P4 RuntimeException

24 Views

Dear experts,

We are upgrading our PI system from 7.0 to 7.3 and I have two adapter modules that I need to migrate to 7.3.

I downloaded the latest version of NWDS which is 7.1 SP13 and I have followed the following blogs for PI 7.1:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?QuickLink=index&overridelayout=true

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ac06cf-6ee2-2c10-df98-e17430ca5949?QuickLink=index&overridelayout=true

I also referred to:

http://wiki.sdn.sap.com/wiki/display/XI/XIlibrariesfor+development

Are there any differences in developing an adapter module for PI 7.3?

When deploying the EAR file with NWDS I received the following errors in the logfile:

Deploy Exception.Unexpected exception. [ERROR: 04.11.2011 13:03:20 /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,5,main]] ]

Thank you for any ideas on this.

Best regards,

Peter

The complete logfile is this:

--- Deploying file(s):
	C:workspace-nwds-7.1SetNameInZipArchiveEARSetNameInZipArchiveEAR.ear

--- Status:
	Deploy Exception.

--- Description:
	
		  S U M M A R Y
~~~~~~~~~~~~~~~~~~~

Successfully deployed:	      0

Deployed with warnings:	      0

Failed deployments:		      1

~~~~~~~~~~~~~~~~~~~

Unexpected exception.

1. File:C:workspace-nwds-7.1SetNameInZipArchiveEARSetNameInZipArchiveEAR.ear
	NULL
	Deploy status:Initial
	Version:null


--- Exception:
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:882)
	at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:226)
	at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:112)
	at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:122)
Caused by: com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
	at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:648)
	at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:617)
	at com.sap.engine.services.dc.cm.deploy.Deployer_Stub.deploy(Deployer_Stub.java:279)
	at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:688)
	... 3 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

Edited by: Peter Wallner on Nov 4, 2011 1:01 PM - added complete logfile

Edited by: Peter Wallner on Nov 4, 2011 1:03 PM - edited logfile content