executable problems with shell script in IBM servers
We have a java stand alone application running currently on sun Solaris system. The java application runs on Jdk 1.4.
We are reshooting this java application to new Ibm servers.
There are 10 unix scripts for this application. All scripts works well except one shell script,
This shell script execute one java file where we are setting a properties file in the java options with -D configfiles.ini .
This properties in turn has entry for some other ini files. Ex. XMLgenerator.ini
XMLgenerator.ini has key key value pair something like filename = punches.txt.
This property of filename is required by the java class to process further.
When we execute this script file on new ibm server- the configfiles.ini is properly set and the values are properly read. But, the moment we start the execution of the java class - the property value of filename in XMLgenerator.ini comes out null.
I have something like this in my shell script
Output in the Logs
==============
Please help what could be the problem .
Moderator's Comments:
Please wrap CODE tags around code, files, input & output/errors.
It makes them far easier to read and preserves the spacing
Last edited by rbatte1; 09-26-2014 at 01:24 PM..
Reason: Added CODE tags
This looks more OS specific environment issue, thread moved to AIX
Removed Urgent from Title, reason:
Moderator's Comments:
Everyone at the UNIX and Linux Forums gives their best effort to reply to all questions in a timely manner. For this reason, posting questions with subjects like "Urgent!" or "Emergency" and demanding a fast reply are not permitted in the regular forums.
For members who want a higher visibility to their questions, we suggest you post in the Emergency UNIX and Linux Support Forum. This forum is given a higher priority than our regular forums.
Posting a new question in the Emergency UNIX and Linux Support Forum requires forum Bits. We monitor this forum to help people with emergencies, but we do not not guarantee response time or best answers. However, we will treat your post with a higher priority and give our best efforts to help you.
If you have posted a question in the regular forum with a subject "Urgent" "Emergency" or similar idea, we will, more-than-likely, close your thread and post this reply, redirecting you to the proper forum.
Of course, you can always post a descriptive subject text, remove words like "Urgent" etc. (from your subject and post) and post in the regular forums at any time.
The IBM way of setting up different JAVA versions is somewhat particular. Control if your "JAVA_HOME" environment variable is pointing to the right place and if the Java version you want to use is the first in the PATH variable. Modern versions of AIX are shipping with Java 1.6 and to get 1.4 you need to install that as an additional package. Chances are you are addressing a wrong version.
Dear Experts,
I am an ERP consultant and would like to learn shell script. We are working on Linux SUSE 11.4 and I am very new to shell scripting. We can manually encrypt an excel file using "executable jar" through command prompt by placing the jar file & the file to be encrypted on a physical... (1 Reply)
Hi All,
I am new to this forum and also shell script :)
My task is I have to read CSV file get the data from the file and use the data to call c executable with data as argument.And the output from c executable should be stored to new CSV file
Please find below my code
testfunction() {... (14 Replies)
Hello dear friends, I wanrt to document our servers configuration but have no Idea which softweare should I use for documenting server environment.. maybe anyone can suggest me which software should I use.. thanks in Advance (2 Replies)
Hello every one, i want to convert my shell script into a binary executable a .exe file , is it possible to do that if so are there any tools . Would the script take off when the arguments are parsed.
Thanks
Venu (13 Replies)
hi
i have file extentioned with test.vbs. i am able to run this file n execute through command promt but i dont know how to run in shell script
example:
file name is test.vbs which contains
strSoundFile = "C:\windows\Media\Notify.wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand... (5 Replies)
Does anyone have succesfully interconnected HP-UX 10.2 HP 9000 K370 servers with A6885A HBA's, with an IBM Fastt storage server? I need to replace integrate both platforms. Interoperability matrices from manufacturers do not certified such integration. Thanks for anybody's help. (0 Replies)