Clib.system Calling Java Not Working on Solaris 11.3
(Doc ID 2149311.1)
Last updated on FEBRUARY 04, 2019
Applies to:Siebel CRM - Version 220.127.116.11  and later
Information in this document applies to any platform.
After upgrade from Solaris 11.1 to Solaris 11.3,Return Code of 9 was observed when Java command is run from Siebel using the Clib function. Files were attempted to read from /app/sblnfs/HomeChoice Hardware/WinFTC/Inbound and then write a file to /app/sblnfs/HomeChoice Hardware/WinFTC/Processed.
When run manually from the command prompt, the java call works.
In order to get more details, following commands were used to get a truss from working and non-working environment:
truss -faeo /tmp/good.truss -vall -wall -rall -p <pid of siebel used to reproduce the behavior>
ERROR IN TRUSS
28006: m p s s . s o . 1 : w r o n g E L F c l a s s : E L F C
28006: L A S S 3 2\n
The issue can be reproduced at will with the following steps:
1. Create a server script using Clib.system and invoke a java program or a simple ls -l
2. Error 9 is returned instead of 0
3. Running same code manually from shell works fine.
Upgraded to Solaris 11.3. In Production environment, on Solaris 11.1, the code still works.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document