Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
ccikara Absent Member.
Absent Member.
480 views

GroupWise Java RL on 64-bit metadirectory - Not Working :/


Hi all,

I am really struggling here...
There are loads of posts regarding this issue, but no solution that
works for me...

Server Details:
UNAME -A => LINUX NEPTUNE 2.6.16.60-0.77.1-SMP #1 SMP MON MAR 14
16:54:35 UTC 2011 X86_64 X86_64 X86_64 GNU/LINUX
*NDSD STATUS =>*
TREE NAME: CORP_1
SERVER NAME: .CN=NEPTUNE.OU=SERVICES.OU=PTA.O=CORP.T=CORP_1.
BINARY VERSION: 20602.00
ROOT MOST ENTRY DEPTH: 0
PRODUCT VERSION: EDIRECTORY FOR LINUX X86_64 V8.8 SP6 [DS]

NOW BECAUSE I HAVE A 64-BIT MACHINE WITH THE 64 BIT ENGINE RUNNING I
HAVE TO INSTALL THE JAVA REMOTE LOADER
SO THIS IS WHAT I HAVE DONE:
I HAVE FOLLOWED THE INSTRUCTIONS IN THE DOCUMENTATION REGARDING
INSTALLING THE JAVA REMOTELOADER...
I HAVE INSTALLED TO /USR/IDM/

I THEN COPIED ALL THE .JAR FILES FROM
/OPT/NOVELL/EDIRECTORY/LIB/DIRXML/CLASSES/ TO /USR/IDM/LIB/
I THEN LOOKED FOR MORE GW*.JAR FILES AND I COPED EVERYTHING I COULD
FIND TO THE /USR/IDM/LIB/ DIRECTORY...

I EDITED THE DIRXML_JREMOTE FILE TO POINT TO ANOTHER JAVA; THIS IS THIS
JAVA'S DETAILS:
NEPTUNE:/USR/IDM #
/OPT/NOVELL/EDIRECTORY/LIB/NDS-MODULES/JRE1.6.0_20/BIN/JAVA -VERSION
JAVA VERSION \"1.6.0_20\"
JAVA(TM) SE RUNTIME ENVIRONMENT (BUILD 1.6.0_20-B02)
JAVA HOTSPOT(TM) SERVER VM (BUILD 16.3-B01, MIXED MODE)

THE JAVA RL STARTS FINE, BUT WHEN I START THE DRIVER I GET THIS ERROR
IN THE TRACE: JAVA.LANG.NOCLASSDEFFOUNDERROR: COULD NOT INITIALIZE
CLASS COM.NOVELL.GW.DIRECTORY.FDOC
Here is the trace:
'Download Trace-GWJaveRL.txt for free on uploading.com'
(http://uploading.com/files/4684a4c5/Trace-GWJaveRL.txt/)

Please help...


--
ccikara
------------------------------------------------------------------------
ccikara's Profile: http://forums.novell.com/member.php?userid=86966
View this thread: http://forums.novell.com/showthread.php?t=448168

Labels (1)
0 Likes
5 Replies
afolli Absent Member.
Absent Member.

Re: GroupWise Java RL on 64-bit metadirectory - Not Working :/


Hi. I had the same problem and I have opened a service request for it.
This is the answer I got from the Novell Technical Support:

>
> For some reason the validation method that picks up the JAR files and
> adds them to the classpath for the Java Remote Loader to use does not
> detect the GWdrivergw.jar file as being a valid file to be added to this
> classpath.
>
> I believe this is a bug in our script and also believe that modifying
> the java startup line as shown may resolve the issue:
>
> Current: java -classpath $CLASSPATH
> com.novell.nds.dirxml.remote.loader.RemoteLoader $*
> New: java -classpath
> $CLASSPATH:/opt/novell/eDirectory/lib/dirxml/classes/GWdrivergw.jar
> com.novell.nds.dirxml.remote.loader.RemoteLoader $*
>
> This is basically forcing Java to accept this new JAR on the
> classpath.
>


This workaround worked for me. I hope this helps,

Alessandro

ccikara;2153483 Wrote:
> Hi all,
>
> I am really struggling here...
> There are loads of posts regarding this issue, but no solution that
> works for me...
>
> Server Details:
> UNAME -A => LINUX NEPTUNE 2.6.16.60-0.77.1-SMP #1 SMP MON MAR 14
> 16:54:35 UTC 2011 X86_64 X86_64 X86_64 GNU/LINUX
> *NDSD STATUS =>*
> TREE NAME: CORP_1
> SERVER NAME: .CN=NEPTUNE.OU=SERVICES.OU=PTA.O=CORP.T=CORP_1.
> BINARY VERSION: 20602.00
> ROOT MOST ENTRY DEPTH: 0
> PRODUCT VERSION: EDIRECTORY FOR LINUX X86_64 V8.8 SP6 [DS]
>
> NOW BECAUSE I HAVE A 64-BIT MACHINE WITH THE 64 BIT ENGINE RUNNING I
> HAVE TO INSTALL THE JAVA REMOTE LOADER
> SO THIS IS WHAT I HAVE DONE:
> I HAVE FOLLOWED THE INSTRUCTIONS IN THE DOCUMENTATION REGARDING
> INSTALLING THE JAVA REMOTELOADER...
> I HAVE INSTALLED TO /USR/IDM/
>
> I THEN COPIED ALL THE .JAR FILES FROM
> /OPT/NOVELL/EDIRECTORY/LIB/DIRXML/CLASSES/ TO /USR/IDM/LIB/
> I THEN LOOKED FOR MORE GW*.JAR FILES AND I COPED EVERYTHING I COULD
> FIND TO THE /USR/IDM/LIB/ DIRECTORY...
>
> I EDITED THE DIRXML_JREMOTE FILE TO POINT TO ANOTHER JAVA; THIS IS THIS
> JAVA'S DETAILS:
> NEPTUNE:/USR/IDM #
> /OPT/NOVELL/EDIRECTORY/LIB/NDS-MODULES/JRE1.6.0_20/BIN/JAVA -VERSION
> JAVA VERSION \"1.6.0_20\"
> JAVA(TM) SE RUNTIME ENVIRONMENT (BUILD 1.6.0_20-B02)
> JAVA HOTSPOT(TM) SERVER VM (BUILD 16.3-B01, MIXED MODE)
>
> THE JAVA RL STARTS FINE, BUT WHEN I START THE DRIVER I GET THIS ERROR
> IN THE TRACE: JAVA.LANG.NOCLASSDEFFOUNDERROR: COULD NOT INITIALIZE
> CLASS COM.NOVELL.GW.DIRECTORY.FDOC
> Here is the trace:
> 'Download Trace-GWJaveRL.txt for free on uploading.com'
> (http://uploading.com/files/4684a4c5/Trace-GWJaveRL.txt/)
>
> Please help...



--
afolli
------------------------------------------------------------------------
afolli's Profile: http://forums.novell.com/member.php?userid=6964
View this thread: http://forums.novell.com/showthread.php?t=448168

0 Likes
Highlighted
ccikara Absent Member.
Absent Member.

Re: GroupWise Java RL on 64-bit metadirectory - Not Working :/


Thanks Alessandro,

But still getting the same error.

I tried to reinstall the Java RL as well... Still no luck.

I am running GW 8


--
ccikara
------------------------------------------------------------------------
ccikara's Profile: http://forums.novell.com/member.php?userid=86966
View this thread: http://forums.novell.com/showthread.php?t=448168

0 Likes
afolli Absent Member.
Absent Member.

Re: GroupWise Java RL on 64-bit metadirectory - Not Working :/


If I'm not wrong this was the working script:

>
> #!/bin/sh
> ###############################################################################
> # Shell script for running DirXML Java Remote Loader
> # Copyright (C) 2003, Novell Inc.
> ###############################################################################
>
> ###############################################################################
> # Check first two bytes of purported .jar file to see if valid.
> # We do this because at least one release of IBM's 1.3.1 JRE on AIX
> # chokes if it finds an "invalid" .jar file in the class path.
> ###############################################################################
> validate_jar()
> {
> two_bytes=`od -A n -N 2 -t c $1 | awk '/[A-Z][ \t]+[A-Z]/
> {print $1 $2}'`
> if [ "$two_bytes" = "PK" ]
> then
> jarfile=$1
> else
> jarfile=
> fi
> }
>
> ###############################################################################
> # main
> ###############################################################################
> if [ $# -eq 0 ]
> then
> echo
> echo Usage:
> echo " dirxml_jremote [commands] -config <config file name>"
> echo
> echo "See /opt/novell/dirxml/doc/usage.html"
> echo
> exit 1
> else
>
> which java >/dev/null 2>&1
> if [ $? -ne 0 ]
> then
> echo " "Error: No java executable found.
> echo " "Please modify PATH or edit this script.
> exit 2
> fi
>
> jarlist=`ls /opt/novell/eDirectory/lib/dirxml/classes/*.jar`
>
> #CLASSPATH=./lib/dirxml.jar:./lib/dirxml_remote.jar
> CLASSPATH=
>
> for jarfile in $jarlist
> do
> validate_jar $jarfile
> if [ -n "$jarfile" ]
> then
> CLASSPATH=$CLASSPATH:$jarfile
> fi
> done
>
>
> CLASSPATH=$CLASSPATH:./lib/dirxml.jar:./lib/dirxml_remote.jar:/opt/novell/eDirectory/lib/dirxml/classes/GWdrivergw.jar
> echo $CLASSPATH
>
> echo Starting java...
> # /usr/java/jre1.6.0_26/bin/java -classpath $CLASSPATH
> com.novell.nds.dirxml.remote.loader.RemoteLoader $*
> /usr/lib/jvm/java-1_5_0-ibm-1.5.0/jre/bin/java -classpath
> $CLASSPATH com.novell.nds.dirxml.remote.loader.RemoteLoader $*
>
> fi
>


Best regards,

Alessandro


--
afolli
------------------------------------------------------------------------
afolli's Profile: http://forums.novell.com/member.php?userid=6964
View this thread: http://forums.novell.com/showthread.php?t=448168

0 Likes
Knowledge Partner
Knowledge Partner

Re: GroupWise Java RL on 64-bit metadirectory - Not Working :/

On Mon, 14 Nov 2011 10:06:02 +0000, ccikara wrote:

> NOW BECAUSE I HAVE A 64-BIT MACHINE WITH THE 64 BIT ENGINE RUNNING I
> HAVE TO INSTALL THE JAVA REMOTE LOADER SO THIS IS WHAT I HAVE DONE


Use the normal Linux remoteloader, not the Java remote loader. I'm doing
that here, with GW8.02HP3 on 64-bit OES and it works fine.


--
---------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Novell Knowledge Partner http://forums.novell.com

Please post questions in the newsgroups. No support provided via email.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: GroupWise Java RL on 64-bit metadirectory - Not Working :/

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Agreed; before IDM 4.0.x you could not have a 32-bit native RL on a
64-bit engine machine, but that has now changed. You may still need to
hack /usr/bin/rdxml to point to the 32-bit version of the rdxml.bin or
something like that so that everything uses the 32-bit RL on the system
but that's seldom a problem.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOwZkSAAoJEF+XTK08PnB5xUcP/2nWcufD/tMSdAUHk751ZtzJ
/ufujZellLIZvB/zuC6f3W5EE/hFOLEuYf/6OvxqmCeh8gQZvhHzGjlXhw2gCTdn
TzsNuS1CMVpuTkmeocK1/DHWX0WhKt6A4zwXekV7jZtDFBMbNvmB5RSaV0T0i2Cu
GJEcz9ywGTCDOYJ/zw0M2oIJ5xr3RdIzk0/ODAFO2qGuidSIfuV11rheKmKuqMbt
FPe66zWxa1o6JeIuxqdUuOmg6dQi5YDHaWDbtOjtghKzeoVGrYhb14E4NIQR+1Wo
VCTt5UgrEQjEnL0Mo27urHIA4qtWkYCgcjCgU8Fyo6pnoghhvmCyS8X3TpoyEJDM
ph4eA3EHsb2UDBk6HmFf6ZBfQ0HMcsGysO7f4vVvp+otpUi55kVMI8AO9W5OXJqJ
/jpZYVMJtL13AHc0P9biA4TxhSXBmMnHHUyDPD46z2dYTG4W3CKKEjoYhONY4pB0
qf60sID9lXprrZgU4UUTRXjjMppWdIMxXZ+YMUcch4flqo92zYZ3JBFDUQBht7nH
3pdrK5wOptISrMpax0id6krH0YeVvMdtiqpEutpOvcQhKFv2h7RAffNjQNOOEGAs
EtI/vr2VdXAMvQDZIPsOdWzVlRjHOwQsUJK17y++0lie44g+8q/5L9pl1w+bAkZv
F5QZx/O8vo6oOLSNFGG5
=kFcq
-----END PGP SIGNATURE-----
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.