ORB error: Script executes from shell while throws error executing from Cron
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
org.openorb.io.LocalInputStream.read_boolean(Unknown Source)
org.omg.CosNaming.NamingContextHelper.narrow
1.This is necessary for the Marshalling and building the Objects for the ORB to un-Marshall on the other end.
2.This is available when executing as a normall shell script from command-line but when executing from cron, the cron uses root permissions and settings so these settings as necessitated by Omni-ORB need to be set by us. Otherwise if we run the script using cron it will fail.
LC_MONETARY=en_GB.ISO8859-15
LC_TIME=en_GB.ISO8859-15
LC_MESSAGES=C
LC_CTYPE=en_GB.ISO8859-15
LC_COLLATE=en_GB.ISO8859-15
LC_NUMERIC=en_GB.ISO8859-15
These settings are building blocks for the Object building and communication.
org.openorb.io.LocalInputStream.read_boolean(Unknown Source)
org.omg.CosNaming.NamingContextHelper.narrow
1.This is necessary for the Marshalling and building the Objects for the ORB to un-Marshall on the other end.
2.This is available when executing as a normall shell script from command-line but when executing from cron, the cron uses root permissions and settings so these settings as necessitated by Omni-ORB need to be set by us. Otherwise if we run the script using cron it will fail.
LC_MONETARY=en_GB.ISO8859-15
LC_TIME=en_GB.ISO8859-15
LC_MESSAGES=C
LC_CTYPE=en_GB.ISO8859-15
LC_COLLATE=en_GB.ISO8859-15
LC_NUMERIC=en_GB.ISO8859-15
These settings are building blocks for the Object building and communication.
0 Comments:
Post a Comment
<< Home