E-WL: Starting and/or Installation of WebLogic or PIA is Slow or Hangs (Doc ID 1143823.1)

Last updated on FEBRUARY 06, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.50 and later
Linux x86
Linux x86-64

Symptoms

You may see one of the following three symptoms when installing and/or starting the WebLogic PIA:

SYMPTOM #1
-------------------
When starting a WebLogic 10.3.x or 12c PIA in a Linux environment, it may hang or start very slowly.  No errors are logged.

SYMPTOM #2
----------------------
When installing PIA, in a Linux environment, it hangs at about 20% completion.
If the issue occurs during the PIA install, the process is hanging on command "java -Dpython" which can be observed as follows:
  1. Run the following command:
       ps -ef|grep <user>" (where <user> is the user id who is installing the PIA)
  2. You'll see that the installer is hung running "java -Dpython". Example:

2004 8573 8360 36 13:25 pts/0 00:00:09 /opt/peoplesoft/PT8.50/dmo/jre1.6.0/bin/java -Dpython.cachedir=/opt/peoplesoft/PT8.50/dmo/webserv/tmp -
classpath /opt/bea/wlserver_10.3/server/lib:/opt/bea/wlserver_10.3/server/lib/weblogic.jar weblogic.WLST /tmp/psoftuser_wlsdomain.py -
log=/opt/peoplesoft/PT8.50/dmo/webserv/silent_install.log /opt/peoplesoft/PT8.50/dmo/setup/PsMpPIAInstall/archives/WLPeopleSoft.jar
/opt/peoplesoft/PT8.50/dmo/webserv/dmo singleserver 18000 18002 system 1234567897307264


SYMPTOM #3
----------------------
When starting the PIA, it hangs while starting. If you get a thread dump (see instructions in document 659452.1), it shows that thread is stuck on "FileChannelImpl.trylock":

"Main Thread" id=1 idx=0x4 tid=7134 prio=5 alive, in native
at sun/nio/ch/FileChannelImpl.lock0(Ljava/io/FileDescriptor;ZJJZ)I(Native Method)
at sun/nio/ch/FileChannelImpl.tryLock(FileChannelImpl.java:871)
at java/nio/channels/FileChannel.tryLock(FileChannel.java:962)

Eventually, the PIA start fails and this message is logged to PIA_stdout.log:

<Jan 19, 2012 11:26:28 AM PST> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Jan 19, 2012 11:26:29 AM PST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.ManagementException: Unable to obtain lock on /psportal/PT85114/webserv/peoplesoft/servers/PIA/tmp/PIA.lok. Server may already be running

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms