cancel
Showing results for 
Search instead for 
Did you mean: 

connecting to SAP with Tomcat

Former Member
0 Kudos

Hi,

when i connect to SAP system with normal application it works fine but when i integrate the application/module with tomcat and during connecting to SAP it throws the following error.I am wondering do i need to specify abt dll's in web.xml or any ideas.

com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: internal error

at com.sap.mw.jco.rfc.MiddlewareRFC.nativeGetAttributes(Native Method)

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.getAttributes(MiddlewareRFC.java:858)

at com.sap.mw.jco.JCO$Client.getAttributes(JCO.java:2374)

at com.vftis.spx.sap.SAPConnector.createClient(SAPConnector.java:71)

at com.vftis.spx.sap.SAPConnector.connect(SAPConnector.java:107)

at com.vftis.spx.sap.SAPConnector.<init>(SAPConnector.java:41)

at com.vftis.spx.sap.SAPConnector.<clinit>(SAPConnector.java:26)

Thanks,Jakeer

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

did you include the sapjcorfc.dll to you library-path ?

That dll is necessary to use jco.

Best Regards, Astrid