cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with java connections

Former Member
0 Kudos

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!

Accepted Solutions (0)

Answers (1)

Answers (1)

manigram
Active Participant
0 Kudos

Hi,

It seems it unable to connect to ICompany, please check the resource which you trying to connect.

Regards,

Manigandan

Former Member
0 Kudos

Thanks to answer

It works most of the time but occasionally fails, think you may be licensing issues?

Regards,

David