Skip to Content
avatar image
Former Member

Error connecting to B1DI: java.lang.IllegalArgumentException

Hi all

I'm trying to get my 8.8 dashboards working on my laptop but I'm getting a slightly different error to any of the forum threads I've read up to now.

In my Integration Solution for SAP Business One > Landscape > B1i Server > MyServerName

When I press the Test Connection button under the B1DI section I get this error:-

com.sap.b1i.adapter.dia.exception.ConnectionFailedException: java.lang.IllegalArgumentException: Can not find corresponding JCO path.

This is my path to JCO Folder: C:\Program Files\SAP\SAP Business One DI API\JCO\LIB is this right?

My connection to JDBC works without a problem

Can anyone point me in the right direction?

Many thanks

Hayden

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 29, 2010 at 05:56 PM

    Hayden,

    Is there anything in the LIB folder for the JCO at the path that you have listed? Do you have multiple installs of the DI API such as the SAP Business One DI API folder and then another folder called simply DIAPI? Have you looked in the Windows > Control Panel > Add/Remove Programs to see fi you have multiple installs?

    Also, try removing the path for the JCO in the SLD, save, reopen the SLD, re-enter the JCO path and save again. Then run the test.

    Eddy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Edward Neveux

      Eddy

      Thanks very much for your help, connection has been established and my dashboards are now working.

      I uninstalled the DIAPI's as you suggested, what I did find however was that I had to uninstall the B1iServer, DIProxy and EventSender before I could manually remove one of my DI API folders.

      I had to re-install the integration component but now I'm delighted to report things are now back on track!

      Thanks again

      Hayden