cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc LIstener failed for OrgModeler

Former Member
0 Kudos

Dear Guru,

Now i plan to implement OrgModeler and referring the deployment guide for NAKISA 4.0 [ Nakisa OrgModeler 4.0 ].

I run manually IDoc listener manually using admin console but received below error.I already update sapjco.jar into the system and change manually IDocSettings.xml

Start/Stop listener on port 9080

25 Jun 2015 11:29:11 INFO  com.nakisa.IDocLogger  - Starting IDoc Listener...

25 Jun 2015 11:29:20 INFO  com.nakisa.IDocLogger  - log4j:WARN No appenders could be found for logger (org.springframework.jdbc.datasource.DataSourceUtils).

25 Jun 2015 11:29:20 INFO  com.nakisa.IDocLogger  - log4j:WARN Please initialize the log4j system properly.

25 Jun 2015 11:29:22 INFO  com.nakisa.IDocLogger  - ---------------Starting IDoc Listener---------------

25 Jun 2015 11:29:22 INFO  com.nakisa.IDocLogger  - ---------------IDoc Listener failed to start---------------

25 Jun 2015 11:29:22 ERROR com.nakisa.IDocLogger  - IDocServer failed to start due to the following error:

java.lang.NoClassDefFoundError: com/sap/conn/idoc/jco/JCoIDocHandlerFactory

  at Nakisa.SAP.IDocProcessor.IDocListenerMonitor.start(IDocListenerMonitor.java:23)

  at com.nakisa.renata.commandline.IDocReceiverCmd.initReceiver(IDocReceiverCmd.java:121)

  at com.nakisa.renata.commandline.IDocReceiverCmd.main(IDocReceiverCmd.java:65)

Caused by: java.lang.ClassNotFoundException: com.sap.conn.idoc.jco.JCoIDocHandlerFactory

  at java.net.URLClassLoader$1.run(URLClassLoader.java:261)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(URLClassLoader.java:249)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:354)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:344)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:299)

  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:367)

  ... 3 more

IDocSettings.xml

Regards

Mohamad Firhad Samuri

Accepted Solutions (1)

Accepted Solutions (1)

StephenMillard
Active Contributor
0 Kudos

Have you installed sapidocjco.jar v1.0?  If so where is it located?

Regards,

Stephen.

Former Member
0 Kudos

Dear Stephen,

I already deploy into below screen for  sapidocjco.jar

Regards

Mohamad Firhad Samuri

StephenMillard
Active Contributor
0 Kudos

Okay - that looks good ...

... but the file below it in your screen shot ... isn't "sapjco3.jar" a 3.x version of SAPJCo?  The highest version supported by OrgModeler 4.0 would be 2.1.10.  None of the VSN modules are compatible with SAPJCo 3.x as var as I know and having a higher level version could conceivably cause the issue you're seeing.

Regards,

Stephen.

StephenMillard
Active Contributor
0 Kudos

Just a follow-up on this, I spotted today that in the latest Nakisa compatibility matrix that there is now a VSN app that is compatible with SAP JCo 3.

The idoc extraction used in OrgModeler 4.3 actually requires the version of SAP JCo to be version 3.

Whilst it wouldn't change the statement regarding compatibility with OrgModeler 4.0 I just wanted to correct my earlier statement in light of this.

Regards,

Stephen.

Former Member
0 Kudos

Dear Stephen,

I already tested with sapjco.jar version be 2.1.10 but get the same error as above.


Now i already deploy new sapjco3.jar  into the nakisa portal but received below error:-


32. 29 Jun 2015 17:02:01 INFO com.nakisa.IDocLogger - ---------------IDoc Listener failed to start---------------

33. 29 Jun 2015 17:02:01 ERROR com.nakisa.IDocLogger - IDocServer failed to start due to the following error:

34. java.lang.ExceptionInInitializerError

35. at Nakisa.SAP.IDocProcessor.IDocReceiver.startListern(IDocReceiver.java:155)

36. at Nakisa.SAP.IDocProcessor.IDocListenerMonitor.start(IDocListenerMonitor.java:23)

37. at com.nakisa.renata.commandline.IDocReceiverCmd.initReceiver(IDocReceiverCmd.java:121)

38. at com.nakisa.renata.commandline.IDocReceiverCmd.main(IDocReceiverCmd.java:65)

39. Caused by: com.sap.conn.idoc.IDocRuntimeException: Initialization of the SAP Java IDoc Class Library 3.0.12 failed. Found the SAP Java Connector version 3.0.1 but version 3.0.12 or a higher patch level is required.

40. at com.sap.conn.idoc.jco.JCoIDoc.<clinit>(JCoIDoc.java:162)

41. ... 4 more


I get the sapjco3.jar from below SAP JAVA Connector(SAP JCO).

Regards

Mohamad Firhad Samuri

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Stephen,

Thank you for the info.It really help me.

I'm able to running IDoc listener after i deploy version of SAP JCo to be version 3 and restart the services.

Regards

Mohamad Firhad Samuri