on 02-17-2009 2:51 AM
Description:
We have downloaded the SAP Java Connector for Intel 32 bit version 3.0.1
The CLASSPATH and PATH have been set up as advised. But the jcotest.bat file is producing an error before any test output:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$AbapException
Caused by: java.langClassNotFoundException: com.sap.mw.jco.JCO@$Exception
at .................................
The Novell identity manager guide advises the the problem is due to:
The sapjco.jar file is not in the location specified in the jcotest.bat file
the jcotest.bat file has translated line
java -classpath %CLASSPATH%;. JCOTest
to
java -classpath c:\SAPJco3\sapjco3.jar;. JCOTest
This is the location of the jar file
executing c:\sapjco3\sapjco3.jar brings up screen SAP Java Connector (JCO)
details
Operating Sys: Win 2003 5.2 for x86
Java VM: 1.6.0_06 Sun Microsystems
Java codepage cp1252
JCO API: 3.0.1 (2008-10-21)
JCO middleware name: JavaRfc
JCo middleware: 2.1.1
JCo Middleware native: 711.15
JCO classes c:\SAPJCo3\sapjco3.jar
JCo Lib c:\SAPJco3\sapjco3.dll
Other considerations:
JCOTest.class is in c:\sapjco3
Visual Studio components .NET C/C++ runtime libs have been added using SAP utility R3DLLINST.ZIP
librfc32.dll is in c:\windows\system32
java version jre 1.6.0_06
operating system MS Win Server 2003 SP1
non UNICODE SAP system
jrfc12.dll has not been found
SAPRFCSDK has not been installed
SAP FAQ advises that the Jco does not need other components. Our SAP Partners have checked out the server config and advise that they have successfully configured SAPJCO, but have not come across this problem. They have tried pointing it to java 1.5 in case it was not backwardly compatible.
Any suggestions?
Hello,
not sure if this helps, but i think Novell identity manager needs jco Version 2.x
regards franz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that. I will check out later versions of SAPJco.jar when they are available
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it's true, Novell IDM SAP connectors up to version 3.6 only support JCO 2.
The next SAP connector versions will support JCO 3.
- Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the solution. It was assumed that since SAPJco.jar version 3.0.1 was the current version and that version 2.1.8 had reached the end of maintained life that the latest version was backwardly compatible. Never make assumptions - version 2.x works with JCoTest and proves connectivity for the Novell Identity Manager
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to run your application as follows
From the source path of JCOTest
javac -classpath c:\SAPJco3\sapjco3.jar JCOTest.java
java -classpath c:\SAPJco3\sapjco3.jar JCOTest
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you place the .dll file which comes along withe the JCO in the system folder?
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.