How to deploy adapter module in PI 7.0
Hi,
Can ne one guide me how to deploy adapter mdule in PI 7.0?
The XI consultant has given me the EAR file..how do i deploy it?..how do i check it?
Hi Teja,
This links should help to you
http://help.sap.com/saphelp_nw2004s/helpdata/en/f0/122abf61d4974eaea6b5d9c314cff1/frameset.htm
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID1509029850DB01452196011567672996End?blog=/pub/wlg/2493
http://help.sap.com/saphelp_nw04/helpdata/en/b5/3f533e5ff4d064e10000000a114084/frameset.htm
Regards
Ramesh
Similar Messages
-
How to deploy adapter module ------- in XI
hi forum,
i have developed a ejb adapter module from a blog,
i developed it in the NWDS,
i now want to deploy it, how should i deploy it,
i dont know anything about Visual Admin or SDM, pls help me out
Message was edited by:
sudeep dharHi,
Refer to these links may be useful to you
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3a83c242-0801-0010-dc95-d496cf6dba9d
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c95e290-0201-0010-d492-c4333f0d83b7
Web Service Wizards crash with java.lang.StackOverflowError
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1b651014-0301-0010-c39a-98d7cd057847
/people/riyaz.sayyad/blog/2006/05/10/consuming-xi-web-services-using-web-dynpro-150-ui-design-part-iii
Regards,
Kumar -
Deploy Adapter-Module PI 7.1 with NWDS 7.1 to server?
Hey,
i am developed a adapter-module for PI 7.0 now i am upgrading the module to PI 7.1.
I got the NWDS, all libs and build all Projects like it was described in a SAP Help skript.
I created a new Project,
added the EJB module,
adjusted the decriptor file application-j2ee-engine.xml
BUT where is the tag to deploy the Module to the Server?
In NWDS 7.0 where a tag like "deploy to J2EE engine" where is it in the NWDS 7.1.??
Please help how to deploy my module to the server an where i can make the settings like the host and the port for the server?
Thank you allHi,
Check these if you haven't checked already:
Check the section 4.11 of this article
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?overridelayout=true
Re: Deploy Custom Adapter Module in PI 7.1
Customer Module Deployment in PI 7.1
Regards,
Ravi
Edited by: Ravi Kanth Talagana on Jul 23, 2009 4:12 PM -
How to debug adapter module in PI 7.1
Hello all,
I am trying to figure out how to debug adapter module in PI 7.1.
I guess runtime debugging ( switch AS java in debug mode and attach NWDS to the AS Java to debug as module is being executed) is not possible with adapter module. Please let me know if this is indeed possible and how to enable it.
The only option is to send debug information to log file. So in the module code like:
audit.addAuditLogEntry(key, status, message);
location.debugT(SIGNATURE, message);
I've read that for PI 7.0, you need to add log-configuration.xml to meta-inf. Is this still required for PI 7.1?
My next question is how to read the log in audit log and in location. I've read that the audit log can be read in .../MessagingSystem/monitor/monitor.jsp, under which section of the page I can read the audit log? I can't see any of my log there.
For log in location, I guess I need to go to NWA, can you please share the path (navigation) in NWA to see the location?
Thanks
Jayson> I guess runtime debugging ( switch AS java in debug mode and attach NWDS to the AS Java to debug as module is being executed) is not possible with adapter module. Please let me know if this is indeed possible and how to enable it.
It is possible for adapter modules as well. I know this from our developers
It should work like this:
/people/christian.drumm/blog/2008/09/30/debugging-java-mappings-using-sap-netweaver-developer-studio
> The only option is to send debug information to log file. So in the module code like:
> audit.addAuditLogEntry(key, status, message);
> location.debugT(SIGNATURE, message);
> My next question is how to read the log in audit log and in location. I've read that the audit log can be read in .../MessagingSystem/monitor/monitor.jsp, under which section of the page I can read the audit log?
In the RWB under Message Monitoring for Adapter, or try the shortcut
http://server:port/mdt -
hi experts,
May i know how to create adapter modules..
Thanks & Regards
gunaHi,
Start with basics:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7bf6e190-0201-0010-83b7-cc557eb76abe
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
Some good Examples to start with :
Rename Attachment Adapter Module
Copy a file with same filename using XI
Customized Adapter Module
Regards -
How to write adapter module to convert the xml to pdf file
Hi all,
how to write adapter module to convert the xml to pdf file.
Please any body assist step by step procedure.PI 7.1 XML to PDF transformation
have you seen below links:
http://forums.sdn.sap.com/thread.jspa?threadID=1212478
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14363 -
Hi
My Scenario is File - to - File
I have written one adapter module and i have deployed in J2ee Engine as well. In sender communication channel i have given the JNDI name like
<b>"localejbs/<JNDI Name>"</b>.I have tested the my file to file scenario by placing a file in source directory which i have mentioned in Communication channel Source Directory and File Name.But i didnt find any difference in target file.
I have used the following blog
<b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805</b>
1.How to test the adapter module.
2.How to configure my communication channel.
Please help me its very urgent
Best Regards
Ravi Shankar BHi,
check JNDI service in visual admin to see if
your service has the same name there
>>>>1.How to test the adapter module.
by using it in a channel
>>>>2.How to configure my communication channel.
add you adapter module to the adapter module tab
in communication channel
Regards,
michal -
Deploy adapter module in PI 7.1
Hi everybody,
I have made the changes to the module i developed in 7.0 as per stefnans blog
/people/stefan.grube/blog/2008/12/11/adjust-your-pi-70-adapter-modules-for-pi-71-in-15-minutes
Do i have to create the ear file and deploy it?..or is there some other way..
cos i see there is no visual admin...its nwa here right?
how can i chek if the module has been deployed?Hi Stefan,
I have a small confusion here..
I have made the changes as per ur blog...
I have developed the module for 7.0 using NWDS 7.0.9...j2sdk1.4
as i see NWDS 7.1 requires java 1.5 and above, Im wondering if i have to redo the entire modulle in NWDS 7.1?
or would it just suffice to modify all the statementsin ur blog...
@ Jyothi :Really appreciate ur reply..can u suggest something on the above
Edited by: Ravindra Teja on Aug 20, 2009 1:17 PM
Edited by: Ravindra Teja on Aug 20, 2009 1:20 PM -
How to Test Adapter Module in NWDS
Hi Friends,
I have written an adapter module. Before deploying on adapter engine, I want to do test in NWDS. Any idea how to do this. Please provide sample java code, if possible.
Thanks,
Sandeep MauryaHi,
Since runtime and module processor framework is not available on your local machine that's why adapter module test not possible using NWDS on local machine.
Another possibility is to install PCK on some local machine for testing purpose.
You must deploy (either on PCK or AE) it and test.
Regards,
Gourav -
How to incorporate adapter module while writing the adapter metadata for it
Hi all,
We are developing a adapter and the custom adapter module has been prepared.Now we need to write our own adapter metadata. So I need to know in detail how to incorporate our custom adapter module into our adapter metadata.
Paulhi
check the below links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daa51a96-0b01-0010-738f-a0ecfd06104e
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7086f109-aaa7-2a10-0cb5-f69bd2affd2b
https://www.sdn.sap.com/irj/sdn/teched2004
note:reward points if solution found helpfull.....
regards
chandrakanth.k -
How possible in Adapter module
Hi
In my adapter module, i want to do the following. can any one help me out how can i achieve..
In my sync scenario, module at receiver side, want to know
Time of request sent to receiver ,
time of response get back from receiver to PI
what was the response
was it sucessfully sent to sender from PI.
Please provide with exact class and method name from API or sample code..
Thanks
PrabhakarHi Venkat,
I think ur looking for traces as per your request and this is not recommended option in production system. But the 2 options of request time and response time can be updated in traces (Moni) using date functions (standard functions), Container and MappingTrace objects. May I know ur requirement exactly. This solution in adapter module is static. Where you want to use these details and in what form.
Thanks
Ramesh -
Adapter Modules in PI 7.1 EAR/SDA?
Hi guys,
is it possible to deploy adapter modules in the 7.1 version in the same form as before? I mean EARs?
Thanks,
OlianHi,
the below link already ravi provided if you read the PDF you will understand clearly how to deploy Adapter Modules.
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417300)ID1319576450DB10340902879478557111End?rid=/library/uuid/00838345-708c-2a10-1199-9514c0b0a91c&overridelayout=true
THere atre two ways we can delploy Adapter Module,Directly from NWDS,if you have acces to J2EE engine,this is the easy way,because you already have EAR files.
Second one is deploying in SDM ,i don think so you need to convert in to.sdm files, we can directly deploy EAR files in SDM.
Regards,
Raj -
Adapter Module .ear file deployed
Hi All,
I have an adapter module deployed long back on my dev server.
I want to retrive the same file from dev and deploy in on Quality server.
Can you let me know the path where this .ear file will be present on the SAP XI server.
Thx in advance
RavijeetHi Ravijeet,
We run under i5/OS (unix like) but I found my deployed Adapter Module under:
DX1 is the instance name.
sap.com is the vendor specified in the EJB module.
EOLConvertBean is my adapter module
/usr/sap/dx1/DVEBMGS70/j2ee/cluster/apps/sap.com/EOLConvertBeanEAR
/usr/sap/dx1/DVEBMGS70/j2ee/cluster/apps/sap.com/EOLConvertBeanEAR/EJBContainer/applicationjars/EOLConvertBean.jar
Hope it helps.
Martin
Edited by: Martin Lavoie Rousseau on Nov 4, 2010 2:41 PM -
Error while deploying the Adapter Module
Expets,
i am getting below error in communication channel:
Message processing failed. Cause: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name localejbs/WriteExcelFile, 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/WriteExcelEAR Type: interfaceType Content: local Type: ejb-link Content: WriteExcelFile Type: jndi-name Content: WriteExcelFile 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/WriteExcelEAR; 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.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5035] Application [sap.com/WriteExcelEAR] cannot be started. Reason: it has hard reference to resource [com.sap.xi.repository] with type [library], which is not active on the server. Hint: 1) Is referred resource deployed? 2) Is referred resource able to start? at com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.startApp(DefaultContainerRepository.java:315)
I am also getting the same warning when i am deploying the adapter.
Reference list in application-j2ee-engine.xml is as follows:
engine.security.facade
engine.j2ee14.facade
com.sap.aii.af.svc.facade
com.sap.aii.af.ifc.facade
com.sap.aii.af.lib.facade
com.sap.base.technology.facade
com.sap.xi.repository
Kindly help.
Edited by: Priyanka Sharma on Jun 18, 2010 4:29 PMcom.sap.xi.repository reference is not required,, how are you deploying your module on PI server,
You must be using some external library for excel conversion, if external library is present in your deployed file, you don't need to add com.sap.xi.repository reference.
Check:
Is EAR to SDA conversion needed for EJB EAR module
if you opt to use CECLT tool provided with NWDS 7.1, make sure you import SAP EAR File(it will have External library) on your local system. -
Unable to deploy custom adapter module in PI 7.31
Hi pros,
I created a custom adapter module to split some complex input files to multiple messages. We use a SAP PO 7.31 java-only installation. I followed this document to create my adapter module:
How to Create Modules for the JEE Adapter Engine
I know it is for PI 7.1 but a colleague of mine said that he was able to create a running adapter module for PI 7.3 following the guide. I created the following projects:
EAR project references the EJB project:
Project facet of the EJBproject:
ejb-jar.xml config:
application-j2ee-engine.xml (in EAR project):
When I try to deploy my module, I get the following error:
Java version:
NWDS version:
Any hint is appreciated! What can be wrong? What can I check again?
THANKS!
Message was edited by: Stefan MünchowI am not sure if the version is the problem. We have PI 7.31, support package 14, patch level 0 and NWDS 7.31 support package 12, patch level 4. The version of NWDS is lower than the version of the PI. According to Note 1599298 the error occurs when the NWDS is higher than the one of PI. Besides, we are able to deploy BPMN processes with the same NWDS to the same server.
This is the exact exception trace shown in NWDS:
com.sap.ide.eclipse.sdm.deploy.DeploymentException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
Reason: ASJ.dpl_dc.001085 Operation [deploy] of [sap.com_SplitArticleFileModule_EAR] failed
at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:110)
------------- Nested exception -------------------
com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
Reason: ASJ.dpl_dc.001085 Operation [deploy] of [sap.com_SplitArticleFileModule_EAR] failed
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:862)
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)
at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:105)
at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:80)
Caused by: com.sap.engine.services.dc.cm.deploy.DeploymentException: ASJ.dpl_dc.001085 Operation [deploy] of [sap.com_SplitArticleFileModule_EAR] failed
at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:246)
at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:67)
at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:282)
at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:84)
at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:100)
at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:39)
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: com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] Operation [deploy] of [sap.com_SplitArticleFileModule_EAR] failed
at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:167)
at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:138)
at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:57)
at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:213)
... 8 more
Caused by: com.sap.engine.services.deploy.server.utils.DSRemoteException: ASJ.dpl_ds.006193 Operation [deploy] of [/usr/sap/DP2/J64/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/213/SplitArticleFileModule_EAR.ear] failed
at com.sap.engine.services.deploy.server.DeployServiceImpl.catchDeploymentExceptionWithDSRem(DeployServiceImpl.java:3370)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:315)
at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:139)
... 11 more
Caused by: com.sap.engine.services.deploy.container.rtgen.GenerationException: Open failed for '/usr/sap/DP2/J64/j2ee/cluster/server0/temp/deploy/SplitArticleFileModule_EAR.ear1422275742985/com.sap.aii.utilxi.server.jar' with fd 218 returning message 'couldn't find 'END' tag' and errno 0 after trying cache.
at com.sap.engine.services.webservices.server.deploy.preprocess.WebServicesGenerator.createSingleModule(WebServicesGenerator.java:100)
at com.sap.engine.services.webservices.server.deploy.preprocess.WebServicesGenerator.generate(WebServicesGenerator.java:54)
at com.sap.engine.services.deploy.container.rtgen.AnnotationsSupportingGenerator.generate(AnnotationsSupportingGenerator.java:27)
at com.sap.engine.services.deploy.ear.jar.moduledetect.GeneratorWrapper.generate(GeneratorWrapper.java:43)
at com.sap.engine.services.deploy.ear.jar.ModuleGeneratorTool.generate(ModuleGeneratorTool.java:110)
at com.sap.engine.services.deploy.ear.jar.ModuleGeneratorTool.generateOverExistingModules(ModuleGeneratorTool.java:97)
at com.sap.engine.services.deploy.ear.jar.ModuleGeneratorTool.generateModules(ModuleGeneratorTool.java:80)
at com.sap.engine.services.deploy.ear.jar.EARReader.read(EARReader.java:240)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.prepareNewDeploymentInfo(DeployUtilTransaction.java:217)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:199)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:421)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:473)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:1836)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:360)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:313)
... 12 more
Caused by: java.util.zip.ZipException: Open failed for '/usr/sap/DP2/J64/j2ee/cluster/server0/temp/deploy/SplitArticleFileModule_EAR.ear1422275742985/com.sap.aii.utilxi.server.jar' with fd 218 returning message 'couldn't find 'END' tag' and errno 0 after trying cache.
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:154)
at java.util.jar.JarFile.<init>(JarFile.java:141)
at java.util.jar.JarFile.<init>(JarFile.java:105)
at com.sap.engine.services.webservices.server.deploy.preprocess.WebServicesSupportHandlerImpl.generateWebSupport(WebServicesSupportHandlerImpl.java:79)
at com.sap.engine.services.webservices.server.deploy.preprocess.WebServicesGenerator.createSingleModule(WebServicesGenerator.java:69)
... 26 more
Maybe the used jar files could be the problem?
Maybe you are looking for
-
I bought the adapter several months ago, and I've just now had the opprotunity to use this. I'm open to all suggestions! Please help if you can!
-
Imovie won't playback on video ipod
I converted my movie 6 movie to share it with my video ipod. It shows up and plays in itunes. The movie also shows up on my video ipod but when I go to play it all I get is a black screen for a few seconds and then it goes back to the movie title in
-
HELP!!! Failed validation for emueration value which IS in the schema!
I am so troubled by this and hope someone can shed some light: I have a schema which has StateCode element . We have all the states from "AL" to "WY" listed as enumeration values...but the xml instance failed to pass validation with "MO", which is pa
-
Currency Symbol for each amount
Hello People, I have to include currency symbol infront of each amount in my web dynpro application display. Example, there is an amount in USD, currency symbol for USD must be published there and if there is an amount in EUR, currency symbol for EUR
-
Character set conversion problem when importing application with script.
Our database has character set: WE8MSWIN1252 We have a region with the following title: Kopiëren. The ë is stored as character 235 in the database. When I make an application export the file is in UTF-8. The ë is now stored as hex C3 AB in this file.