Author |
Message
|
francoisvdm |
Posted: Fri Apr 14, 2006 5:27 am Post subject: Why do I need both jco.jar and sapjco.jar |
|
|
Partisan
Joined: 09 Aug 2001 Posts: 332
|
I just installed the sap connector and after configuration, when I try and ran connector I get the following error in the log file:
[Time: 2006/04/14 15:03:39.355] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#659640811)] [Type: Fatal Error] [MsgID: 24014] [Mesg: Error: Unable to find jCO.jar. Check that the file has been installed.]
I did install sapjco.jar and 2 dll files. I do not see mention that I need both files, although, in the startup bat file it mentions both - set JCO_JAR="%CONNDIR%"\jCO.jar;"%CONNDIR%"\sapjco.jar
Any light on this? thanks _________________ If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.
Francois van der Merwe |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 14, 2006 1:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Francois, This is what I have in my directory for jco (Version 2.16)
Readme.txt
Readme_IDoc.txt
Readme_IDoc_JCo.txt
demo
docs
librfccm.o
libsapjcorfc.so
sapidoc.jar
sapidocjco.jar
sapjco.jar
This is on a UNIX platform (AIX) but if you replace the .o and .so with .dll you should have what you need from Windows.
Make sure your jco directory is on the path.
jco.jar I believe is a left over from a very old version. Archive it and see if it hurts you. Make sure the jars are on the classpath.
If it interests you I have the Idoc server format the Idoc to XML before putting it on the queue. (avg size of our custom MATMAS idoc is 300 to 600 KB per idoc. We batch them by 10.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
francoisvdm |
Posted: Sat Apr 15, 2006 1:47 am Post subject: |
|
|
Partisan
Joined: 09 Aug 2001 Posts: 332
|
This is my problem.... I do not have jco.jar as part of the sapjco package. But, when I start the adapter it complains. So Isuppose I must go and download it from some where. Also, I'm very interested in the idoc formats, please forward me to fmerwe2001@yahoo.com
Thanks _________________ If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.
Francois van der Merwe |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Apr 15, 2006 4:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Francoisvdm wrote: |
This is my problem.... I do not have jco.jar as part of the sapjco package. But, when I start the adapter it complains. So Isuppose I must go and download it from some where. Also, I'm very interested in the idoc formats, please forward me to fmerwe2001@yahoo.com
Thanks |
No you should not use jco.jar at all. I believe the reason it complains is because you have it on the classpath. You cannot have multiple versions of the JCO coexisting in the same directory. An upgrade does not remove the older version, so if you unzip in the same directory you get a bad mix. Like I said archive it somewhere and try again and see what happens.
I'll try and email you some IDOC when I get a chance. _________________ MQ & Broker admin |
|
Back to top |
|
 |
francoisvdm |
Posted: Mon Apr 17, 2006 1:40 am Post subject: |
|
|
Partisan
Joined: 09 Aug 2001 Posts: 332
|
I've tried to change my .cfg file and I removed the jco.jar reference. Did a clean restart, but I still get the same error:
Here is my log file:
[WebSphere Business Integration Adapter Framework version:2.6.0.5][TZ:Africa/Harare]
[Time: 2006/04/17 11:36:31.596] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#660026342)] [Type: Info] [MsgID: 17000] [Mesg: Initialization started. Name: SAPConnector. ConfigFileName: C:\IBM\WebSphereAdapters\connectors\SAP47PHL.cfg. Implementation DLL/Class Name: com.crossworlds.connectors.sap.visionframework.VisionConnectorAgent.class.]
[Time: 2006/04/17 11:36:31.606] [System: Server] [Thread: wbia_main (#660026342)] [Mesg: Privacy is NOT initialized. Reason: The privacy is NOT turned on.]
[WebSphere Business Integration Adapter Framework version:2.6.0.5][TZ:Africa/Harare]
[Time: 2006/04/17 11:36:32.137] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#660026342)] [Type: Info] [MsgID: 23044] [Mesg: SAP Middleware Info: jCO Version = "2.1.6 (2005-06-20)".]
[Time: 2006/04/17 11:36:32.137] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#660026342)] [Type: Trace] [MsgID: 17070] [Mesg: Initializing connector SAPConnector, Version = 6.0.4, WebSphere Business Integration Adapter Framework version = 2.6.0.5.]
[Time: 2006/04/17 11:36:32.137] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#660026342)] [Type: Fatal Error] [MsgID: 24014] [Mesg: Error: Unable to find jCO.jar. Check that the file has been installed.]
[Time: 2006/04/17 11:36:32.137] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#660026342)] [Type: Fatal Error] [MsgID: 17058] [Mesg: Application call to method init() returned failure. The application could not be contacted.]
[Time: 2006/04/17 11:36:32.137] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#660026342)] [Type: Info] [MsgID: 17066] [Mesg: Application state is disconnected]
[Time: 2006/04/17 11:36:32.137] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#660026342)] [Type: Info] [MsgID: 17514] [Mesg: About to begin restart retry # 1 for serial connector agent SAPConnector.]
[Time: 2006/04/17 11:36:32.137] [System: ConnectorAgent] [SS: SAPConnector] [Thread: wbia_main (#660026342)] [Type: Info] [MsgID: 17516] [Mesg: Waiting for configured restart retry interval: 1 minute(s) before restarting connector agent SAPConnector.]
_________________ If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.
Francois van der Merwe |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 17, 2006 5:00 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sorry don't know anything about the ICS connector. Only know the JCO connector and it does not require jco.jar in the 2.15 /2.16 version.
By the way did you make sure that the other dll's don't have an obsolete antiquated copy somewhere on the path? (Like system32)? or in Memory?? Like on the jco stuff, versions do not mix well....
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
thomeck |
Posted: Thu Apr 20, 2006 10:39 pm Post subject: |
|
|
Apprentice
Joined: 07 Apr 2006 Posts: 30 Location: Germany
|
Hi,
I'm using the SAP-Connector with jCO Version = "2.1.6 (2005-06-20)".
The files in my connector directory are:
librfccm.so
libsapjcorfc.so
sapjco.jar
sapjcorfc.dll
If you copy the jar make sure that you copy it in binary mode. |
|
Back to top |
|
 |
|