cancel
Showing results for 
Search instead for 
Did you mean: 

JCo in EJB as Webservice

Former Member
0 Kudos

Hi,

i'm trying to publish a EJB Webservice in a J2EE 6.20.

I deployed it yet, but my JCo-Calls don't work. This is what i found in


<i><SAP_J2EEngine6.20>clusterserverservicesejblogERROR.log</i> :

2005-04-05 14:28:37 | ejb | ERROR | MyBean |  | 
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
Native Library C:SAP_J2EEngine6.20os_libssapjcorfc.dll already loaded in another classloader |

If i comment out the JCo-Part in my code for debugging, everything works.

- Any ideas what's wrong?

- provides the EJB container any standard JCo methods and logging facilities?

- I'am not familiar with EJBs in general. Is here a tutorial somewhere, that doesn't has Netweaver or WAS as prerequisite?

Thanks in advance,

Christian

Accepted Solutions (0)

Answers (2)

Answers (2)

Vlado
Advisor
Advisor
0 Kudos

Hi Christian,

> - Any ideas what's wrong?

As Satish already mentioned, have a look at SAP note 542175.

> - provides the EJB container any standard JCo methods

> and logging facilities?

No, it is your code that calls JCo in the EJB class.

> - I'am not familiar with EJBs in general. Is here a

> tutorial somewhere, that doesn't has Netweaver or WAS

> as prerequisite?

Have a look at http://java.sun.com/products/ejb/. You'll find plenty of useful resources there. Just go through the links on the left side.

Hope that helps!

Vladimir

Former Member
0 Kudos

Hi Christian,

Please see the SAP Note: 542175.

Hope this helps u

regards

satish