on 04-30-2008 12:29 PM
Hi,
we moved our file adapter from 700 to 710. Now there is a problem in ejb-jar.xml. There are entries like this:
<session>
<description></description>
<display-name></display-name>
<icon/>
<ejb-name>FileActConversionToSWIFTModuleBean</ejb-name>
<home>com.sap.aii.af.lib.mp.module.ModuleHome</home>
<remote>com.sap.aii.af.lib.mp.module.ModuleRemote</remote>
<local-home>com.sap.aii.af.lib.mp.module.ModuleLocalHome</local-home>
<local>com.sap.aii.af.lib.mp.module.ModuleLocal</local>
<ejb-class>com.sapcons.xi.swift.FileActConversionToSWIFTModuleBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
The error messages are like this:
Bean Interfaces: stateless bean "FileActConversionToSWIFTModuleBean" should have at least one of the following interface pairs: "local" and "local-home", "home" and "remote" or service endpoint interface
Bean Interfaces: The home interface "com.sap.aii.af.lib.mp.module.ModuleHome" cannot be found in the search path.
What is wrong? The interfaces ModuleHome etc. seem not to be here any more. Which interfaces should be entered in ejb-jar.xml for release 710?
Thanks and regards, Marina
Do u have any custom/standard module for file adapter
If yes, then this is the reason of the problem.
PI 7.1 does not support XI 3.0/ PI 7.0 modules directly. Necessary modifications has to be implemented
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the package name was wrong. So it is correct:
<home>com.sap.aii.af.lib.mp.module.ModuleHome</home>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
we managed to convince the basis to put the missing interfaces (ModuleHome etc.) into patch 1 (-> SAPXIAF). After applying the patch, it should be possible to use these interfaces in ejb-jar.xml like this:
<home>com.sap.aii.af.lib.facade.ModuleHome</home> etc.
Regards, Marina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
yes, there is a module for file adapter. Some modifications were implemented, too. I can imagine that something was forgotten. It is possible to do the build, to deploy and to test the adapter, even if there are errors in ejb-jar.xml .
Is there a list which things that changed between 700 and 710?
I have these 2 links with useful information:
[Developing Adapters and Modules|http://help.sap.com/saphelp_nwpi71/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm ]
[Javadoc PI 7.1 (Adapter, Module and Mapping Development)|http://help.sap.com/javadocs/pi/SP3/xpi/index.html]
Is there further information for this topic?
Thanks and regards, Marina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am sorry, all documents related to udapter upgrade are still on work.
Your ejb-jar.xml is correct, so assume that you have not assigned the correct libraries to your NWDI project:
Here is a list of the required jar file and where you find them:
com.sap.aii.af.lib.mod.jar: <bin>/ext/com.sap.aii.af.lib/lib
sap.comtcloggingjavaimpl.jar: <bin>/system
com.sap.aii.af.svc_api.jar: <bin>/services/com.sap.aii.af.svc/lib
com.sap.aii.af.cpa.svc_api.jar: <bin>/services/com.sap.aii.af.cpa.svc/lib
com.sap.aii.af.ms.ifc_api.jar: <bin>/interfaces/com.sap.aii.af.ms.ifc/lib
<bin> = /usr/sap/<SID>/J01/j2ee/cluster/bin on a SAP PCK 7.1 installation
Regards
Stefan
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.