cancel
Showing results for 
Search instead for 
Did you mean: 

Error message when testing connection

Former Member
0 Kudos

Hi does anyone knows what does this message means and how to fix it?

com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.Exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.adapter.dia.FunctionCaller$ConnectionFailedException: Connect to Business One failed.

(-112) Failed to Extract OBServer.dll from CAB File

If there is 2 landscape, for example landscape A1 and B1

When i test connection on the A1, it is successful, but when i try testing connection with B1, it display the error message. Vice versa it is the same.

Any advice?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all,

I finally found out the problem for my B1i, it was the DI API. Apparently i was using the old JCO version. Installing the latest version solve the 'test connection' problem

Thanks

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Melvin,

This error sounds like you have not installed the DI API and more importantly for the DI API the JCO for use by the second landscape?

Eddy

Former Member
0 Kudos

Hi Edward,

It couldnt be. If it wasnt installed (JCO), i wont be able to connect to the first landscape too right? Or do you mean i need to install another copy of the JCO just for the second landscape?

Thanks

Former Member
0 Kudos

Oh yeah forgot to include this. I got this from the log file in the temp directory

dia_JCOManager.log


Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: Exception!
com.sap.b1i.adapter.dia.ComFailException: com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encountered:
At Invoke of: Disconnect
Description: The server threw an exception.

	at com.sap.b1i.adapter.dia.JCOContextImpl.invoke(JCOContextImpl.java:77)
	at com.sap.b1i.adapter.dia.JCOContextImpl.releaseCompany(JCOContextImpl.java:140)
	at com.sap.b1i.adapter.dia.FunctionCaller.mustDestroy(FunctionCaller.java:231)
	at com.sap.b1i.adapter.dia.JCOManager.removeFunctionCaller(JCOManager.java:126)
	at com.sap.b1i.adapter.dia.JCOManager.dispatch(JCOManager.java:308)
	at com.sap.b1i.adapter.dia.JCOManager.run(JCOManager.java:185)
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: cmd : b1di.mustDestroy
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: BizTid : null
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: preState : 0, 0, 0, 0, null
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: postState : 0, 0, 0, 0, null
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: 
===============================================================================

Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: Exception!
com.sap.b1i.adapter.dia.ComFailException: com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encountered:
At Invoke of: Disconnect
Description: The server threw an exception.

	at com.sap.b1i.adapter.dia.JCOContextImpl.invoke(JCOContextImpl.java:77)
	at com.sap.b1i.adapter.dia.JCOContextImpl.releaseCompany(JCOContextImpl.java:140)
	at com.sap.b1i.adapter.dia.FunctionCaller.mustDestroy(FunctionCaller.java:231)
	at com.sap.b1i.adapter.dia.JCOManager.removeFunctionCaller(JCOManager.java:126)
	at com.sap.b1i.adapter.dia.JCOManager.dispatch(JCOManager.java:308)
	at com.sap.b1i.adapter.dia.JCOManager.run(JCOManager.java:185)
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: cmd : b1di.mustDestroy
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: BizTid : null
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: preState : 0, 0, 0, 0, null
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: postState : 0, 0, 0, 0, null
Jul 18, 2007 9:33:03 AM com.sap.b1i.adapter.dia.JCOManager dispatch
SEVERE: 
===============================================================================

B1i_0.log

Jul 18, 2007 9:33:03 AM com.sap.b1i.xcellerator.B1iAdapterInstance mustDestroy
SEVERE: XCL038 Error on destruction of an Adapter-Instance!
[B1DI]
addonIdentifier ()
b1Server (miao)
company (SBODemo_UK)
dbPassword (#####)
dbType (1)
dbUser (sa)
diProxyhost ()
diProxyport ()
isTrust (false)
jcoPath (C:Program FilesSAPSAP Business One DI APIJCOLIB)
jcoVersion (jcov2005)
language (3)
licenseServer (miao:30000)
password (#####)
proxyHost ()
proxyPort ()
userName (manager)

Can you shed any light on this?

Thanks

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Melvin,

You cannot use the same instance of the Event Sender for two different Business One landscapes. You would need to install Business One on one machine, the second on another, install the DI API on both Business One installs (JCO), then the Event Sender.

Eddy