I have passed the jcotest , copied the sapjco.jar to the direcotry of
sapusershim.jar/opt/novell/eDirectory/lib/dirxml/classes ) and set the
variable of PATH ,LD_LIBRARY_PATH and CLASSPATH. But the IDM can not
init the sapum driver.

I did the following before I connected the SAP using driver.

(1) I and the following variable.
export JAVA_HOME=/opt/novell/jdk1.6
export
LD_LIBRARY_PATH=/opt/novell/eDirectory/lib:/opt/novell/eDirectory/lib/nds-modules:/opt/novell/lib:/opt/novell/sapjco:$LD_LIBRARY_PATH
export
PATH=/opt/novell/eDirectory/bin:/opt/novell/eDirectory/sbin:$JAVA_HOME/bin:/opt/novell/sapjco:$PATH:.
export
CLASSPATH=/opt/novell/sapjco/sapjco.jar:/opt/novell/eDirectory/lib/dirxml/classes:$JAVA_HOME/lib:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/jre/lib

(2) I copied the sapjco.jar to
/opt/novell/eDirectory/lib/dirxml/classes .
(3) I did the jcotest. and the following is the results:
IDMDEV:/opt/novell/sapjco # java -jar sapjco.jar
--------------------------------------------------------------------------------------
| SAP Java Connector (JCo)
|
| Copyright (c) 2000-2005 SAP AG. All rights reserved.
|
| Version Information
|
--------------------------------------------------------------------------------------
Java Runtime:
Operating System: Linux 2.6.16.46-0.12-bigsmp for i386
Java VM: 1.6.0_05 Sun Microsystems Inc.
Java Codepage: UTF8
Versions:
JCo API: 2.1.8 (2006-12-11)
JCo middleware: 2.1.8 (2006-12-11)
JCo library: 2.1.8 (2006-12-11)
RFC library: 640.0.165
Paths:
JCo classes: /opt/novell/sapjco/sapjco.jar
JCo library: /opt/novell/sapjco/libsapjcorfc.so
RFC library: System-defined path
--------------------------------------------------------------------------------------
| Manifest
|
--------------------------------------------------------------------------------------
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.4
Created-By: 1.3.1_18-b01 (Sun Microsystems Inc.)
Specification-Title: SAP Java Connector
Specification-Version: 2.1.8
Specification-Vendor: SAP AG, Walldorf
Implementation-Title: com.sap.mw.jco
Implementation-Version: 20070108 2139 [2.1.8 (2006-12-11)]
Implementation-Vendor-Id: com.sap
Implementation-Vendor: SAP AG, Walldorf
Main-Class: com.sap.mw.jco.About
--------------------------------------------------------------------------------------

(4)IDMDEV:/opt/novell/eDirectory/lib/dirxml/rules/sapum # java
UserJCOTest

** The SAP JCO client installation has been verified to be correct.

Version of the JCO-library:2.1.8 (2006-12-11)


Input SAP Server Connection Information
---------------------------------------
Enter the Application Server Name or IP address: 10.209.3.16
Enter the System Number [00]:
Enter the Client Number: 600
Enter User: zzidm
Enter User Password: ********
Enter Language Code [EN]:

** The Client connection parameters have been verified to be correct.

.......
...

(5)I used the test variables init the sapum driver, But I reported the
following error:
[03/17/08 09:24:55.073]:sap ST:SAPDriverShim: In init()
[03/17/08 09:24:55.073]:sap ST:SAPDriverShim: init() - got shim params
[03/17/08 09:24:55.073]:sap ST:SAPDriverShim: No Character Set Encoding
specified. Using default encoding: ASCII
[03/17/08 09:24:55.074]:sap ST:SAPDriverShim: Caught Exception:
java.lang.NoClassDefFoundError
[03/17/08 09:24:55.074]:sap STriverShim.init() returned:
[03/17/08 09:24:55.075]:sap ST:
<nds dtdversion="1.0" ndsversion="8.5">
<source>
<product build="20070301_0641 " instance="SAPUSER"
version="3.5.0">DirXML Driver for User Management of SAP
Software</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="fatal" type="driver-general"/>
</output>
</nds>
[03/17/08 09:24:55.076]:sap ST:
DirXML Log Event -------------------
Driver: \IDMDEVTREE\sgcc\nw\driverSet\SAPUSER
Status: Fatal
[03/17/08 09:24:55.077]:sap ST:
DirXML Log Event -------------------
Driver: \IDMDEVTREE\sgcc\nw\driverSet\SAPUSER
Status: Fatal
Message: Code(-9005) The driver returned a "fatal" status
indicating that the driver should be shut down. Detail from driver:
<application>DirXML</application>
<module>SAPUSER</module>
<object-dn></object-dn>
<component>DirXML Engine</component>
[03/17/08 09:24:55.153]:sap STriver terminated.


what this error means? is that means it can not find the sapjco.jar?
I have fight with this problem for a week. Any suggestions will be
appreciated.
thanks advance.


--
fishyqd
------------------------------------------------------------------------
fishyqd's Profile: http://forums.novell.com/member.php?userid=5292
View this thread: http://forums.novell.com/showthread.php?t=316260