Skip to Content
0
Oct 08, 2013 at 08:07 AM

Problem with java connections

53 Views

Hello,

I find some probemes in production environments when making connections to SAP B1 using Java.

I use this method : http://scn.sap.com/thread/1030291

When carrying a certain number of transactions returns this error:

INFO | jvm 1 | 2013/10/08 09:05:55 | com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encountered:

INFO | jvm 1 | 2013/10/08 09:05:55 | At Invoke of: Connect

INFO | jvm 1 | 2013/10/08 09:05:55 | Description: The server threw an exception.

INFO | jvm 1 | 2013/10/08 09:05:55 |

INFO | jvm 1 | 2013/10/08 09:05:55 | at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Native Method)

INFO | jvm 1 | 2013/10/08 09:05:55 | at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Unknown Source)

INFO | jvm 1 | 2013/10/08 09:05:55 | at com.sap.smb.sbo.wrapper.com.Dispatch.callN(Unknown Source)

INFO | jvm 1 | 2013/10/08 09:05:55 | at com.sap.smb.sbo.wrapper.com.Dispatch.call(Unknown Source)

INFO | jvm 1 | 2013/10/08 09:05:55 | at com.sap.smb.sbo.api.Company.connect(Unknown Source)

.

I've reproduced on Windows 2003/2008 Server 32/64 bits using java 32 bits and Java Di-Api 88.

Interestingly only happens when Tomcat is in service mode, if I start tomcat with process mode seems to work well

Any idea?

Thanks!