CMDBuild Forum

Data-Import ClassNotFoundException: org.cmdbuild.shark.toolagent.ExternalSyncToolAgent

Hello to everybody,

 

i try to import data from OSCInventory to the CMDBuild by the Connector and i did the setup like described in the external-connector\readme_en.txt.

 

In order to get the Example going on, i installed the OCSInventory with all the views like in the ocs-views.sql definied, took the example-configuration of the external-connector and run the jar-file like described in the config and builded up the ImportOCS-process inside the CMDBuild (like described in the readme-file above).

 

Running the external-connnector-jar-file - it works fin and startet the ImportOCS-process (there was only on process inside the process-list. After that, i activated this listed process and run the "edit activity" and pressed the "advance"-Button. And now i got the error "the is'nt a directory "/tmp/taplugins". So i have created this directory and started the process inside the CMDBuild again. Now i got the error "Data-Import / ClassNotFoundException: org.cmdbuild.shark.toolagent.ExternalSyncToolAgent".

 

I know, the java-files for this classes are in the CMDBuild-Sources ( .../shark/external-extensions). But where can i find the appropriate class-files?

Did i something wrong? Have i to compile the java-files by my own? Or are there compiled classes in a separate directory, package or something else?

 

P.S. I use the CMDBuild-Version 2.00 and the external-connector 1.40

 

Thanks for your assistance

Hi,

the problem is that the external-connector 1.40 contains a xpdl1 this file is written to work only with Shark v.2.3. 
I suppose you are using the shark v. 4.4 instead.
We have rewritten the xpdl to the format required by xpdl2 so it can works with Shark 4.4.
 
You can download both files from the download section: http://www.cmdbuild.org/filesystem/external-connectors-1.4.0.zip
 
 

Ok, ho creato /tmp/taplugins, adesso mi dà questo errore: java.lang.ClassNotFoundException: org.cmdbuild.shark.toolagent.ExternalSyncToolAgent