Author |
Message
|
prk |
Posted: Tue Sep 20, 2005 9:02 am Post subject: SAP Adapter: 24014 [Mesg: Error: Unable to find jCO.jar |
|
|
Centurion
Joined: 17 Feb 2004 Posts: 102
|
SAP Business Integration Adapters v 4.2.2
MQ 5.3 CSD 07
Installed SAP Adapter on a windows 2003 server. This is setup exactly as its setup on the other server which is working fine but I get this error.
[MsgID: 24014] [Mesg: Error: Unable to find jCO.jar
I see that the jco.jar file exists in the same folder as the other server and can't figure out what else could be wrong.
Any help would be greatly appreciated. |
|
Back to top |
|
 |
Ratan |
Posted: Tue Sep 20, 2005 9:24 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Is it in the classpath of the Adapter startup script? _________________ -Ratan |
|
Back to top |
|
 |
prk |
Posted: Tue Sep 20, 2005 10:13 am Post subject: |
|
|
Centurion
Joined: 17 Feb 2004 Posts: 102
|
You are right, it did not have the CLASSPATH entry at all. I have set the CLASSPATH exactly as the one on the other server and restarted the server too but still get the same error.
[Time: 2005/09/20 14:10:08.219] [System: ConnectorAgent] [SS: AppConn] [Thread: wbia_main (#657709303)] [Type: Info] [MsgID: 23009] [Mesg: Connection established to SAP.]
[Time: 2005/09/20 14:10:08.750] [System: ConnectorAgent] [SS: AppConn] [Thread: wbia_main (#657709303)] [Type: Fatal Error] [MsgID: 24014] [Mesg: Error: Unable to find jCO.jar. Check that the file has been installed.]
[Time: 2005/09/20 14:10:08.750] [System: ConnectorAgent] [SS: AppConn] [Thread: wbia_main (#657709303)] [Type: Fatal Error] [MsgID: 17050] [Mesg: The call to method init() in the application connector failed.]
[Time: 2005/09/20 14:10:08.750] [System: ConnectorAgent] [SS: AppConn] [Thread: wbia_main (#657709303)] [Type: Info] [MsgID: 17514] [Mesg: About to begin restart retry # 1 for serial connector agent AppConn.]
[Time: 2005/09/20 14:10:08.750] [System: ConnectorAgent] [SS: AppConn] [Thread: wbia_main (#657709303)] [Type: Info] [MsgID: 17516] [Mesg: Waiting for configured restart retry interval: 1 minute(s) before restarting connector agent AppConn.] |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 20, 2005 10:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is the JCO.jar file in exactly the same place as on the other server?
Are there spaces in your PATH or CLASSPATH? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
prk |
Posted: Tue Sep 20, 2005 11:29 am Post subject: |
|
|
Centurion
Joined: 17 Feb 2004 Posts: 102
|
yes, the jco.jar is in the same place as the other server
I tried after replacing the spaces (Program Files with PROGRA~1) but still have the same issue. Also in the PATH variable inorder to remove the space between "Websphere MQ" I placed "Websphere~" , is that valid ?
There are no other directories that match Websphere in that path. |
|
Back to top |
|
 |
Ratan |
Posted: Tue Sep 20, 2005 11:48 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
For "WebSphere MQ" it should be Websph~1 _________________ -Ratan |
|
Back to top |
|
 |
prk |
Posted: Tue Sep 20, 2005 12:13 pm Post subject: |
|
|
Centurion
Joined: 17 Feb 2004 Posts: 102
|
Replaced the spaces in Websphere MQ to Websph~1 but still having the same issue. Made sure that the path and the classpath on both the servers are the same. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 20, 2005 12:37 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Dir /x will tell you the proper short path for the full path.
You will need to use the short path for *every* entry in CLASSPATH. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
recallsunny |
Posted: Wed Sep 21, 2005 12:29 pm Post subject: |
|
|
 Disciple
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
|
A tip, which might help you, I usually include a line in the startup script to invoke "checkcp.exe" (classpath validator provided with ih03 support pac). This will help you debug which files are valid in your classpath, by giving a summary of all entries in your classpath.
You should try the same, its as excellent tool to debug such problems. Look for "ih03" fixpack in the IBM website. |
|
Back to top |
|
 |
prk |
Posted: Thu Sep 22, 2005 7:06 am Post subject: |
|
|
Centurion
Joined: 17 Feb 2004 Posts: 102
|
Thanks a lot guys..problem solved.
The checkcp.exe really worked good. It pointed out some of the missing jar files for Java but it could find the jco.jar files. I guess the actual error was due to the Java jar files. Installed the missing jar files and the adapter started up fine.
thanks everyone again for the quick responses |
|
Back to top |
|
 |
recallsunny |
Posted: Thu Sep 22, 2005 8:53 am Post subject: |
|
|
 Disciple
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
|
Ahh!! so that checkcp.exe did help you as it did for me a couple of times.... May be we should propose to IBM that they add this to their Adapter Startup script.
Is any IBMer taking a note |
|
Back to top |
|
 |
prk |
Posted: Thu Sep 22, 2005 8:59 am Post subject: |
|
|
Centurion
Joined: 17 Feb 2004 Posts: 102
|
That's not a bad idea. I guess they should. |
|
Back to top |
|
 |
Arushi |
Posted: Tue Jan 30, 2007 7:27 am Post subject: |
|
|
Novice
Joined: 12 Jan 2007 Posts: 21
|
Hi,
I am also getting the same problem. I used the checkcp.exe and the classpaths are set correctly. But in the classpath's, the path for sapjco.jar is not set.I am setting it in the start_SAP.bat file as :
set JCO_JAR="%CONNDIR%"\jCO.jar;"%CROSSWORLDS%"\lib\sapjco.jar;;"%CONNDIR%"\sapjco.jar;
But still get the error "Unable to find jco.jar.Check that the file has been installed ".
Any solutions?Please let me know the answer ASAP.
Thanks,
Arushi |
|
Back to top |
|
 |
Ratan |
Posted: Tue Jan 30, 2007 5:06 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Do you have the jco.jar in %CONNDIR%
Does your CONNDIR env variable point to correct directory
same comments for sapjco.jar _________________ -Ratan |
|
Back to top |
|
 |
Arushi |
Posted: Tue Jan 30, 2007 10:21 pm Post subject: |
|
|
Novice
Joined: 12 Jan 2007 Posts: 21
|
Hi,
Thanks for the reply.
I have sapjco.jar in CONNDIR(C:\IBM\WebSphereAdapters\connectors\SAP), C:\IBM\WebSphereAdapters and C:\IBM\WebSphereAdapters\lib, but don't have jco.jar on my pc anywhere.
I read that one cannot have multiple versions of the JCO coexisting in the same directory. I have also placed the sapjcorfc.dll and librfc32.dll files in c:\windows\system22. Added the path for sapjco.jar in environment variables PATH(C:\IBM\WebSphereAdapters\lib), added in CLASSPATh of environment variables C:\IBM\WebSphereAdapters\lib\sapjco.jar.
In my start up script, start_sap.bat i have set the jco_jar to point to "%CROSSWORLDS%"\lib\sapjco.jar,"%CONNDIR%"\sapjco.jar;
Still get the same issue.Any suggestions appreciated.
Thanks,
Arushi |
|
Back to top |
|
 |
|