Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Please help with first Adapter Module Bean NWDS deployment

$
0
0

Hello experts,

 

I am following instructions to deploy a first Java Adapter Module Bean to our development system and getting a problem. I really appreciate any help in this case.

 

I am following these instructions:

 

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

 

I have copied the library files and referenced them as mentioned in the document, but maybe these differ based on PI version? We are on 7.11.

 

I'm trying to load this source code:

 

Adapter Module: ReplaceString

 

 

In NWDS when I deploy it has a warning:

 

 

1. File:E:\Data\NWDS-workspace\ReplaceString-ear\ReplaceString-ear.ear

  Name:ReplaceString-ear

  Vendor:sap.com

  Location:localhost

  Version:2015.02.06.17.25.55

  Deploy status:Warning

  Version:NEW

 

 

  Description:

  1. Warning occurred on server 8900550 during deploy sap.com/ReplaceString-ear : References Test: There are no matching deploy time references (described in META-INF/SAP_MANIFEST.MF) for the following runtime references [sap.com/engine.security.facade, sap.com/engine.j2ee14.facade, sap.com/com.sap.aii.af.svc.facade, sap.com/com.sap.aii.af.ifc.facade, sap.com/com.sap.aii.af.lib.facade, sap.com/com.sap.base.technology.facade] (described in the META-INF/application-j2ee-engine.xml)., file: ReplaceString-ear.ear, column 0, line 0, severity: warning

  2. Exception has been returned while the [sap.com/ReplaceString-ear] was starting. Warning/Exception :[

][[ERROR CODE DPL.DS.6193] Error while ; nested exception is:

  com.sap.engine.services.deploy.container.DeploymentException: Cannot find business method 'process' with args [interface com.sap.aii.af.lib.mp.module.ModuleContext, class com.sap.aii.af.lib.mp.module.ModuleData] in class com.sap.adaptermodule.ReplaceStringBean for component sap.com/ReplaceString-ear*xml|ReplaceString-ejb.jar*xml|ReplaceString]

 

 

Result

Status:Warning

 

I used these parameters in the module config:

 

replacestring.png

 

 

When starting the Comm Channel and sending a message it says:

 

Message processing failed. Cause: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name localejbs/ReplaceString, cannot resolve object reference. [Root exception is javax.naming.NamingException: Error occurs while the EJB Object Factory trying to resolve JNDI reference Reference Class Name: Type: clientAppName Content: sap.com/ReplaceString-ear Type: interfaceType Content: local Type: ejb-link Content: ReplaceString Type: jndi-name Content: ReplaceString Type: local-home Content: com.sap.aii.af.lib.mp.module.ModuleLocalHome Type: local Content: com.sap.aii.af.lib.mp.module.ModuleLocal com.sap.engine.services.ejb3.runtime.impl.refmatcher.EJBResolvingException: Cannot start applicationsap.com/ReplaceString-ear; nested exception is: java.rmi.RemoteException: [ERROR CODE DPL.DS.6125] Error occurred while starting application locally and wait.; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: Cannot find business method 'process'



When I look at default trace it contains similar info:

 

[ERROR CODE DPL.DS.5029] Exception in operation [startApp] with application [sap.com/ReplaceString-ear].
[EXCEPTION]
com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5029] Exception in operation [startApp] with application [sap.com/ReplaceString-ear].
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.rollbackPart(ApplicationTransaction.java:496)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.rollbackPart(ParallelAdapter.java:324)

...

Caused by: com.sap.engine.services.deploy.container.DeploymentException: Cannot find business method 'process' with args [interface com.sap.aii.af.lib.mp.module.ModuleContext, class com.sap.aii.af.lib.mp.module.ModuleData] in class com.sap.adaptermodule.ReplaceStringBean for component sap.com/ReplaceString-ear*xml|ReplaceString-ejb.jar*xml|ReplaceString


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>