on 03-09-2009 10:35 AM
Hi guys,
We have just installed SAP PI 7.1 on an iSeries 6.1 server, all is 100% fine except we cannot get the JSPM to start properly, the error is:
The execution ended in error.
Cannot initialize application data.
*Could not detect operating system.*
*Cannot determine OS version from command uname.*
We are running JSPM version 7.10.4.0.2.4.9
We initially assumed this was because of a codepage error but now I am thinking it *may* be something wrong with the OSPatterns.xml file situated in JSPM/config/OSPatterns.xml
We are running a 64 bit Power Processor iSeries machine, can you please tell me if these setting look of to you guys?
Here are the required XML variables first:
<ColumnName>os.name</ColumnName>
<ColumnName>os.arch</ColumnName>
<ColumnName>OS_TYPE</ColumnName>
<ColumnName>OS_FAMILY</ColumnName>
<ColumnName>OS_ARCH</ColumnName>
And here are the setting we have for iSeries:
<!-- OS/400 with IBMJVM -->
<StringArray>
<StringValue>OS/400</StringValue>
<StringValue> *PowerPC* </StringValue>
<StringValue>OS400</StringValue>
<StringValue>AS400</StringValue>
<StringValue>64</StringValue>
</StringArray>
<!-- OS/400 with SAPJVM -->
<StringArray>
<StringValue>OS400</StringValue>
<StringValue> PowerPC </StringValue>
<StringValue>OS400</StringValue>
<StringValue>AS400</StringValue>
<StringValue>64</StringValue>
</StringArray>
The PowerPC highlighted above used to be BLANK.....but do the above settings look ok to you?
Thanks for the help
Lynton
Hi Lynton,
Good debugging.
As often with SAP: just retry it with a 'minor' change.
Good luck,
Paul Hoogendoorn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lynthon,
Did you solve the JSPM start problem?
Did you first update the JSPM itself using i.e. SDM
You should run JSPM version 7.10.7 at least
Then you can start JSPM.
I found out an alternative way to start JSPM server and GUI native on i, and then controlling the JSPM GUI using VNC.
Here is how:
Get the vnc server for i software from:
http://www-01.ibm.com/support/docview.wss?uid=swg21243973
put it in a savf
CRTSAVF FILE(QGPL/Q5799PTL)
TEXT('iSeries Tools for Developers PRPQ (5799PTL)')
ftp binary mode your file to i
put q5799ptl_v5r4m0.savf q5799ptl
Restore lic
RSTLICPGM LICPGM(5799PTL) DEV(*SAVF) LNG(2924) SAVF(QGPL/Q5799PTL)
Now you have a VNC server on your i.
allow multi threaded jobs:
ADDENVVAR ENVVAR(QIBM_MULTI_THREADED) VALUE(Y)
Continue as mentioned in OSS 1257481 - SAP NetWeaver Inst. Based on Kernel 7.11: IBM DB2 for i
Then start the vnc server as the <SID>ADM of your instance
Start the vnc viewer on your local (NT, MAC, Linux, OS/2) PC: you now have a 64-bit graphical PASE/Linux environment running on your i
Now how to start JSPM:
Copy the gui file to the non gui file used by i/os:
CPY OBJ('/usr/sap/NWD/DVEBMGS13/j2ee/JSPM/param/jspm_config.txt')
TOOBJ('/usr/sap/NWD/DVEBMGS13/j2ee/JSPM/param/jspm-rui_config.txt') REPLACE(*YES)
Now on the VNC viewer GUI, open the xterm console
There you have a Linux 64-bit prompt, and there you can start jour JSPM:
cd /usr/sap/<SID>/DVEBMGS<nn>/j2ee/JSPM
(linux is case sensitive !!)
check if you have the JSPM program:
ls -l g*
(you should see an executable go)
start JSPM
./go
It takes a few minutes, but then after a while a JSPM GUI is shown, while the JSPM server side is started in the <SID> SBS R3_<nn>
No more local windows client is needed for JSPM, any OS can serve as a VNC viewer for your (remote) i
Good luck,
Paul Hoogendoorn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
JSPM is working again......had nothing to do with anything above.....he is the low down on what was wrong:
If the user receives the error: "Cannot determine OS version from
command uname" the problem is because they are using the wrong "shell"
when running the GO script.
The installation guide for SAP PI 7.1 on iSeries is also a little
confusing. There is alot of reference to "QShell" and even a section
on "Installing the QShell" so most people (like us) would assume we
should use "QShell" to run the GO script.
BUT what we should actually be using is "Qp2Term" instead of "QShell"
to run the GO script. This solves the problem and lets the JSPM run
happily.
Lynton
Edited by: Lynton Grice on Mar 10, 2009 1:09 PM
Glad to know the problem resolved. To call JSPM by Qp2Term and Qshell command, either one works, it's just the difference of command format to OS kernel. In case you are interested, we can try Qshell and figure out why it's not working:
Login AS/400 as SIDADM --> qsh --> cd /usr/sap/SID/DVEBMGSxx/j2ee/JSPM --> export QIBM_MULTI_THREADED=Y --> ./go
And then you'll see info as below:
Current log directory is /usr/sap/XD2/DVEBMGS42/j2ee/JSPM/log/log_2009_03_12_
10_22_09.
JSPM process will be submitted.
Go to http://<host>:5<instance_number>19 and choose Start JSPM Frontend (SDTG
ui) to connect to the GUI Server.
Now you can access the web address above to call JSPM gui, sometimes a little bit slow, keep trying several times. Let me know if there's any errors.
Thanks,
Effan
Hi all,
I did some investigations and found that both, QP2TERM and QSH are working. In QSH you have to set environment variable QIBM_MULTI_THREADED=Y before you start JSPM.
I guess the reason that it didn't work was because of the old JSPM version 7.10.4. There have been problems in the script and I think the SAPJVM was not used (in QSH??). However, now I tested 7.10.7 and this version should be ok.
Best regards,
Christoph
Hi Lynton
Firstly let's go to QSH to run java -version to see if any version info comes out.
Next, still in qshell, go to JSPM directory, run ./go and probably will prompt you to set a environment variable; Just copy the variable and set it by command export xxxxxxxx=x(the environment variable).
After setting envvar, try ./go again. If everything goes well (will take a while, pay attention to command line result), it should be telling you to use browser open http://<hostname>:5xx19 to launch JSPM gui.
Let me know how you did and any question else.
Thanks,
Effan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moved thread to DB4 forum.
Regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.