Hi
I'm trying to install remote loader for notes integration on a AIX
server .

Looking at Novell Site it seems that remote loader installation for AIX
platform is no longer exist in IDM 4.01 Media - So i must use java
remote loader .

on the first attempt to install and run the java remote loader i
succeed to communicate with with IDM Driver , but from the errors i
received in driver trace i understand ( after a bit search ) that i am
using 64 bit Notes.jar with 32 bit JVM .

i tried to set the dirxml_jremote script to use 64bit java but when i
execute the command dirxml_jremote -config config8000.txt -sp password
password i received the following error :

Starting java...
java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:218)
at javax.crypto.Cipher.getInstance(Unknown Source)
at
com.novell.nds.dirxml.remote.crypto.JCECryptString .encrypt(JCECryptString.java:82)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.s etPasswords(RemoteLoader.java:491)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader._ main(RemoteLoader.java:92)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.m ain(RemoteLoader.java:26)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted
CAs
at javax.crypto.b.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:196)
... 5 more
Caused by: java.lang.SecurityException: Jurisdiction policy files are
not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at
java.security.AccessController.doPrivileged(Access Controller.java:241)
... 8 more
com.novell.nds.dirxml.remote.CryptoException:
java.lang.ExceptionInInitializerError
at
com.novell.nds.dirxml.remote.crypto.JCECryptString .encrypt(JCECryptString.java:108)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.s etPasswords(RemoteLoader.java:491)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader._ main(RemoteLoader.java:92)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.m ain(RemoteLoader.java:26)

i tried to create the encrypted password files on a linux server with
64 bit java a copy the files to the AIX Server .

after statring the dirxml_jremote it seems that the is password ( or
something else ... ) issue between the engine and the remote loader .

_from_the_remote_loader_trace_:__

DirXML: [11/16/11 17:17:35.907]: TRACE: Remote Loader: Waiting for
DirXML to connect on 'TCP server socket, port 8090, address
localhost'...
DirXML: [11/16/11 17:17:35.908]: TRACE: Remote Loader: Opening
connection...
DirXML: [11/16/11 17:17:35.909]: TRACE: Remote Loader: Server socket
parameters: address = <not-specified> port = 8090'
DirXML: [11/16/11 17:17:35.910]: TRACE: Remote Loader: Creating a
standard ServerSocket
DirXML: [11/16/11 17:17:35.911]: TRACE: Remote Loader: Entering
listener accept()
DirXML: [11/16/11 17:17:50.901]: TRACE: Remote Loader: Connection
established...
DirXML: [11/16/11 17:17:50.902]: TRACE: Remote Loader: Waiting for
receive...
DirXML: [11/16/11 17:17:50.903]: TRACE: Remote Loader: Received.
DirXML: [11/16/11 17:17:50.903]: TRACE: <handshake version="1.0">
<password><!-- content suppressed --></password>
</handshake>
DirXML: [11/16/11 17:17:50.904]: TRACE: Remote Loader: Received
document for subscriber channel
DirXML: [11/16/11 17:17:50.905]: TRACE: Remote Loader: Waiting for
receive...
DirXML: [11/16/11 17:17:50.908]: TRACE: Remote Loader: Closing
connection...
DirXML: [11/16/11 17:17:50.911]: TRACE: Remote Loader: Closing
connection...
DirXML: [11/16/11 17:17:50.912]: TRACE: Remote Loader: Connection
closed
DirXML: [11/16/11 17:17:50.914]: TRACE: Remote Loader: Connection
closed
DirXML: [11/16/11 17:17:50.915]: TRACE: Remote Loader:
java.lang.NullPointerException
at java.util.Arrays.fill(Arrays.java:2138)
at
com.novell.nds.dirxml.remote.Connection.performLoa derHandshake(Connection.java:663)
at
com.novell.nds.dirxml.remote.Connection.connect(Co nnection.java:418)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.r un(RemoteLoader.java:915)
at java.lang.Thread.run(Thread.java:811)
DirXML: [11/16/11 17:17:50.918]: TRACE: Remote Loader: Waiting for
DirXML to connect on 'TCP server socket, port 8090, address
localhost'...


from IDM Engine trace :

[11/16/11 17:16:32.835]:notes PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status event-id="This check-password result is expected. It is the
result of the shim verifying that the driver object password is
non-empty." level="error">Code(-9046) Invalid password specified for
&lt;check-password>.</status>
</output>
</nds>
[11/16/11 17:16:32.837]:notes PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
*<status event-id="This check-password result is expected. It is
the result of the shim verifying that the driver object password is
non-empty." level="error">Code(-9046) Invalid password specified for
&lt;check*-password>.</status>
</output>
</nds>
[11/16/11 17:16:32.839]:notes PT:Remote Interface Driver: Opening
connection...
[11/16/11 17:16:32.840]:notes PT:Remote Interface Driver: Connection
established...
[11/16/11 17:16:32.840]:notes :Remote Interface Driver: Waiting for
receive...
[11/16/11 17:16:32.840]:notes PT:Remote Interface Driver: Sending...
[11/16/11 17:16:32.840]:notes PT:
<handshake version="1.0">
<password><!-- content suppressed --></password>
</handshake>
[11/16/11 17:16:32.841]:notes PT:Remote Interface Driver: Document
sent.
[11/16/11 17:16:32.851]:notes :Remote Interface Driver: Closing
connection...
[11/16/11 17:16:32.851]:notes :Remote Interface Driver: Connection
closed
[11/16/11 17:16:32.855]:notes PT:Remote Interface Driver:
Connection.receive(): command byte == 0, connection was closed
[11/16/11 17:16:33.746]:notes ST:SubscriptionShim.execute() returned:
[11/16/11 17:16:33.746]:notes ST:
<nds dtdversion="4.0" ndsversion="8.x">
<output>
<status event-id="query-driver-ident" level="retry"
type="remoteloader">No connection to remote loader</status>
</output>
</nds>
[11/16/11 17:16:33.747]:notes ST:Requesting 30 second retry delay.
[11/16/11 17:16:33.747]:notes ST:
DirXML Log Event -------------------
Driver: \META-TEST\IdV\IdM\DriverSet1\notes
Channel: Subscriber
Status: Retry
Message: Code(-9006) The driver returned a "retry" status
indicating that the operation should be retried later. Detail from
driver: No connection to remote loader
[11/16/11 17:16:33.748]:notes ST:Received state change event.
[11/16/11 17:16:33.748]:notes ST:Transitioned from state
'%+C%14CStarting%-C' to state '%+C%14CRunning%-C'.
[11/16/11 17:16:33.748]:notes ST:Successfully processed state change
event.
[11/16/11 17:16:33.749]:notes ST:Submitting identification query to
subscriber shim:
[11/16/11 17:16:33.749]:notes ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.1.0">DirXML<


in addition here is the content of my config8000.txt file and the
dirxml_jremote file

CONFIG8000.TXT FILE :



-commandport 8000
-connection "port=8090"
-trace 4
-tracefile ./trace8000.log
-class com.novell.nds.dirxml.driver.notes.NotesDriverShim


DIRXML_JREMOTE FILE :

#!/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 ./lib/*.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

# echo $CLASSPATH

echo Starting java...
/usr/java5_64/bin/java -classpath $CLASSPATH
com.novell.nds.dirxml.remote.loader.RemoteLoader $*
fi


Any idea about this issue ?

Thanks
Eyal


--
ayalon
------------------------------------------------------------------------
ayalon's Profile: http://forums.novell.com/member.php?userid=45180
View this thread: http://forums.novell.com/showthread.php?t=448362