on 03-18-2009 12:58 PM
In my operation mapping, I am using a Java class which in turn invokes an EJB using JNDI lookup.
When I execute the code, the class is successfully finding the EJB using JNDI, but invoking it I am getting a java.lang.NoClassDefFoundError.
If, I add the class it cannot find to the jar containing the Java mapping class, I get a java.lang.ClassCastException.
Has anyone been able to call a custom EJB from with a Java Mapping class?
Any help appreciated.
Thanks.
Hello.
Check my wiki article:
http://wiki.sdn.sap.com/wiki/display/stage/SapNetweaverProcessIntegration.CallEjb3.0methodfromJavaclassmappingPI7.1
(SapNetweaver Process Integration. Call Ejb 3.0 method from Java class mapping PI 7.1 )
Greedings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There have been some discussions in this forum and it seems to not work, but you can try following: Create a client jar from the EJB project and add that client jar to the Integration Builder as Imported Archive.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.