This discussion is archived
1 2 Previous Next 18 Replies Latest reply: May 9, 2012 1:19 PM by Nicolas.Gasparotto RSS

PIA JRE

Honza Newbie
Currently Being Moderated
Hello,

when trying to start single server PIA, I am getting an error concerning the JRE:
[cmp90@vm-campus ~]$ . /apps/psoft/cmp90_852/psconfig.sh 
[cmp90@vm-campus ~]$ startPIA.sh
A JRE was not found in directory /apps/psoft/cmp90_852.
[cmp90@vm-campus ~]$ ls -la $PS_HOME
total 1424
drwxr-xr-x 25 cmp90 root    4096 May  9 17:08 .
drwxrwxrwx  4 root  root    4096 May  9 14:49 ..
drwxr-xr-x  7 cmp90 cmp90   4096 May  7 15:36 appserv
drwxr-xr-x  7 cmp90 cmp90  12288 May  7 15:36 bin
drwxr-xr-x  2 cmp90 cmp90   4096 May  7 15:32 cblbin
drwxr-xr-x  7 cmp90 cmp90   4096 May  7 15:34 ccr
drwxr-xr-x  3 cmp90 cmp90   4096 May  7 15:34 class
drwxr-xr-x  3 cmp90 cmp90  28672 May  7 16:05 data
drwxr-xr-x  2 cmp90 cmp90   4096 May  7 16:05 dict
drwxr-xr-x  2 cmp90 cmp90   4096 May  7 15:36 etc
drwxr-xr-x  3 cmp90 cmp90   4096 May  7 15:32 fonts
-rw-rw-r--  1 cmp90 cmp90 703413 May  7 16:11 HR_InstallLog.log
lrwxrwxrwx  1 cmp90 cmp90      8 May  7 15:36 jre -> jre1.6.0
drwxr-xr-x  8 cmp90 cmp90   4096 Jan 13  2011 jre1.6.0
drwxr-xr-x  2 cmp90 cmp90   4096 May  7 15:37 log
-rwxr-xr-x  1 cmp90 cmp90 457551 May  7 15:38 PeopleTools_InstallLog.log
-rwxr-xr-x  1 cmp90 cmp90    354 May  7 15:36 peopletools.properties
-rwxr-xr-x  1 cmp90 cmp90   8826 May  7 15:31 psconfig.sh
-rw-r--r--  1 cmp90 cmp90  16384 May  9 17:09 .psconfig.sh.swp
drwxr-xr-x  4 cmp90 cmp90   4096 May  7 15:37 PSEMAgent
drwxr-xr-x  3 cmp90 cmp90   4096 May  7 15:34 PSEMViewer
-rwxr-xr-x  1 cmp90 cmp90  28627 Jun 22  2011 readme.txt
drwxr-xr-x  3 cmp90 cmp90  12288 May  7 16:05 scripts
drwxr-xr-x 15 cmp90 cmp90   4096 May  7 15:36 sdk
drwxr-xr-x  3 cmp90 cmp90   4096 May  7 15:32 SecurityAddIns
drwxr-xr-x  2 cmp90 cmp90   4096 May  7 15:32 secvault
drwxr-xr-x 11 cmp90 cmp90   4096 May  7 16:05 setup
drwxr-xr-x  2 cmp90 cmp90  77824 May  7 16:05 sqr
drwxr-xr-x  2 cmp90 cmp90   4096 May  7 16:05 sqrfonts
drwxr-xr-x  9 cmp90 cmp90   4096 May  7 15:32 src
-rwxr-xr-x  1 cmp90 cmp90   1038 Jul 12  2011 toolsadmin.sh
drwxr-xr-x  2 cmp90 cmp90   4096 May  7 15:36 utility
drwxr-xr-x  3 cmp90 cmp90   4096 May  7 15:59 web
[cmp90@vm-campus ~]$ 
[cmp90@vm-campus ~]$ which java
/apps/psoft/cmp90_852/jre/bin/java
[cmp90@vm-campus ~]$ 
How come the start script cannot find a JRE in the listed PS_HOME? Are there some additional variables? I'm currently going through the different variables inside startPIA.sh to see if something is not getting set by setDomainEnv.

Thanks for input.

Edited by: Honza on May 9, 2012 6:22 AM
  • 1. Re: PIA JRE
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    What's your OS ? Peopletools ? Weblogic version ? Your Weblogic install path directory ?

    Nicolas.
  • 2. Re: PIA JRE
    Honza Newbie
    Currently Being Moderated
    It's OEL5.5 64bit, PT8.52, Weblogic 10.3.3

    PIA install path is /apps/psoft/pia
    PS_HOME is /apps/psoft/cmp90_852
  • 3. Re: PIA JRE
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    I meant the Weblogic installation folder, not the pia.
    And also, are all managed by the same user (PS_HOME/PIA/Weblogic) ?

    Nicolas.
  • 4. Re: PIA JRE
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Honza wrote:
    Hello,

    when trying to start single server PIA, I am getting an error concerning the JRE:
    [cmp90@vm-campus ~]$ . /apps/psoft/cmp90_852/psconfig.sh 
    [cmp90@vm-campus ~]$ startPIA.sh
    ...snipped...
    Just a test, try to start the PIA without invoking psconfig.sh, this is not required anyway.
    And also, post the result of the following :
    env|sort
    Nicolas.
  • 5. Re: PIA JRE
    Honza Newbie
    Currently Being Moderated
    Then I suppose the installation folder is /apps/mdlware/wl_server10.3

    Yes, everything is managed by the same user, this time I also used a same server for the application and web server and the user is same for both.

    PIA was installed from PS_HOME/setup/, not psadmin - I might give that a try though.

    This issue is strange, because it suggests the JRE in PS_HOME is unusable, or maybe with bad permissions.
  • 6. Re: PIA JRE
    Honza Newbie
    Currently Being Moderated
    Here is that output:
    Last login: Wed May  9 17:09:20 2012 from 192.168.83.103
    [cmp90@vm-campus ~]$ 
    [cmp90@vm-campus ~]$ startPIA.sh
    A JRE was not found in directory /apps/psoft/cmp90_852.
    Press ENTER to continue
    
    [cmp90@vm-campus ~]$ 
    [cmp90@vm-campus ~]$ env | sort
    _=/bin/env
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/cmp90
    HOSTNAME=vm-campus.srv.arcc.cz
    INPUTRC=/etc/inputrc
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=:/apps/psoft/cmp90_852/bin:/apps/psoft/cmp90_852/bin:/u01/app/oracle/product/11.2.0/dbhome_1/lib:/apps/mdlware/tuxedo10gR3//lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib:/apps/mdlware/tuxedo10gR3//lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=cmp90
    LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
    MAIL=/var/spool/mail/cmp90
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    PATH=/apps/psoft/cmp90_852/jre/bin:/u01/app/oracle/product/11.2.0/dbhome_1/bin:/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/cmp90/bin:/home/cmp90/bin:/apps/psoft/cmp90_852/bin:/apps/psoft/cmp90_852/appserv:/apps/psoft/cmp90_852/bin:/apps/psoft/cmp90_852/appserv:/home/cmp90/bin:/apps/mdlware/tuxedo10gR3//bin:/apps/mdlware/tuxedo10gR3//bin:/home/cmp90/bin:/apps/psoft/cmp90_852/jre1.6.0/bin:/apps/psoft/cmp90_852/bin:/apps/psoft/cmp90_852/bin/sqr/ORA/bin:/apps/psoft/cmp90_852/verity/linux/_ilnx21/bin:/apps/psoft/pia/webserv/peoplesoft/bin/:/apps/psoft/pia/webserv/peoplesoft/bin/:/home/cmp90/bin
    PS_HOME=/apps/psoft/cmp90_852
    PWD=/home/cmp90
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=192.168.83.103 53756 22
    SSH_CONNECTION=192.168.83.103 53756 192.168.82.150 22
    SSH_TTY=/dev/pts/1
    TERM=xterm-color
    TUXDIR=/apps/mdlware/tuxedo10gR3/
    USER=cmp90
    [cmp90@vm-campus ~]$ 
    the PATH variable seems unnecessarily long, probably repeating inputs, I should clean that up.

    Edited by: Honza on May 9, 2012 7:17 AM
  • 7. Re: PIA JRE
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Hmmm, please post your .bash_profile

    Nicolas.
  • 8. Re: PIA JRE
    Honza Newbie
    Currently Being Moderated
    Here is the profile:
    # .bash_profile
    
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
         . ~/.bashrc
    fi
    
    # User specific environment and startup programs
    
    PATH=$PATH:$HOME/bin
    
    export PATH
    
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    export PS_HOME=/apps/psoft/cmp90_852
    export TUXDIR=/apps/mdlware/tuxedo10gR3/
    
    export PATH=$ORACLE_HOME/bin:$PATH
    export PATH=$PS_HOME/appserv:$PATH
    export PATH=$TUXDIR/bin:$PATH
    
    export LD_LIBRARY_PATH=$PS_HOME/bin:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH=$PS_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH=$TUXDIR/lib:$LD_LIBRARY_PATH
    
    export PATH=/apps/psoft/cmp90_852/jre1.6.0/bin:$PATH
    export PATH=/apps/psoft/pia/webserv/peoplesoft/bin:$PATH
    Edited by: Honza on May 9, 2012 9:42 AM
  • 9. Re: PIA JRE
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Assuming you're on supported Linux version (64bit)
    1. Have you installed "JRockit JDK R28.1 for Java SE 6 with JRockit Mission Control 4.0.1 for Linux x86-64" as required within Weblogic ?
    2. You should keep your bash_profile as simplest as possible
    2.1 TUXDIR variable is appended by slash, you should remove it (it's seen by double-slashes in your env|sort given above)
    2.2 remove $PS_HOME/bin and $PS_HOME/lib from LD_LIBRARY_PATH
    2.3 remove /apps/psoft/cmp90_852/jre1.6.0/bin from PATH
    2.4 remove /apps/psoft/pia/webserv/peoplesoft/bin from PATH
    2.5 remove $PS_HOME/appserv from PATH

    Nicolas.
  • 10. Re: PIA JRE
    Honza Newbie
    Currently Being Moderated
    Hmm, JRocket, good point! .. I probably have an older version, worth a shot downloading again from edelivery and trying that out, maybe even some mishap during installation, I'll get back once I try it out.

    I followed your tips to alter my profile, doesn't seem to make a difference, so I guess I will at least keep PS_HOME/appserv for psadmin quick access and that webserv path for the startPIA script. These shouldn't make any difference anaways.
  • 11. Re: PIA JRE
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    This shouldn't but LD_LIBRARY_PATH, maybe. Have you disconnected/connected after bash changes ?
    Anyway, have a try with the said JRockit.

    Nicolas.
  • 12. Re: PIA JRE
    Honza Newbie
    Currently Being Moderated
    I've reinstalled a current version of JRockit (in /apps/mdlware/jrockit) and set JAVA_HOME to that location and added the new JAVA_HOME/bin to my PATH, then did a PIA domain re-create and re-deploy. This should have the effect of the new PIA to be installed using JRockit Java.

    Problem still persists, I am truly out of ideas.
  • 13. Re: PIA JRE
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Try to run it once you're in $PS_HOME/webserv/peoplesoft/bin

    Nicolas.
  • 14. Re: PIA JRE
    Honza Newbie
    Currently Being Moderated
    After removing the LD_LIBRARY_PATH entry, I could no longer run psadmin, which failed with a libtrio64.so not found error.

    Is there something specific I need to watch out for when having App server and Web server on the same machine? It seems silly to ask, but still.
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points