When using the adapter on UNIX environments, you must edit the startup script for your server to add a JVM option specifying the file encoding.
When using the adapter in an iWay environment, you must do the following:
su $IWAYUSER -c "java $REMDBG -cp $CLASSPATH -DIWAY61=$IWAY61 -Dfile.encoding=ISO8859_1 com.ibi.service.edaqmSilentService -config $IWAYCONFIG >> $IWAY61/serviceOut.txt &"
–Dfile.encoding=ISO8859_1: java $REMDBG -cp $CLASSPATH -DIWAY61=$IWAY61 -Dfile.encoding=ISO8859_1 edaqm -config $SCRIPT $2 $3 $4 $5 $6
When using the adapter in a third-party application server environment, you must manually edit the start script for that platform to add a JVM option specifying the file encoding:
java $REMDBG -cp $CLASSPATH -DIWAY61=$IWAY61 -Dfile.encoding=ISO8859_1 edaqm -config $SCRIPT $2 $3 $4 $5 $6
iWay Software |