Sunday, February 28, 2010

Web Server - Weblogic 11gR1

Assuming you already installed Weblogic 11gR1 with user weblogic and have a /psreports repository created onto your system.
1. PIA deployment
[root@orion3:/apps]# su - weblogic
[weblogic@orion3:/home/weblogic]$ cd /apps/psoft/hc91
[weblogic@orion3:/apps/psoft/hc91]$ . ./psconfig.sh
[weblogic@orion3:/apps/psoft/hc91]$ cd ./setup/PsMpPIAInstall
[weblogic@orion3:/apps/psoft/hc91/setup/PsMpPIAInstall]$ ./setup.sh
Setting temporary directory /tmp/IA.23067
Executing setup.linux -DPS_UMASK=0022
Preparing to install...
Extracting the installation resources from the installer archive...

Launching installer...

Preparing CONSOLE Mode Installation...

===============================================================================
PeopleSoft Internet Architecture (created with InstallAnywhere by Macrovision)
-------------------------------------------------------------------------------

===============================================================================

Welcome to the InstallShield Wizard for PeopleSoft Internet Architecture.

Using the InstallShield Wizard you will install PeopleSoft Internet
Architecture on your computer.

Version: 8.50.06

Note: If installing onto a Oracle WebLogic Server, make sure to shutdown any
running web servers to avoid web server corruption.

Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================
Choose the directory where you wish to deploy PeopleSoft Pure Internet
Architecture :

Please specify a directory name or press Enter [/apps/psoft/hc91]
:
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

Choose the installation type that best suits your needs.

->1- Oracle WebLogic Server
2- IBM WebSphere Server

To select an item enter its number, or 0 when you are finished [0] :

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

Select the web server root directory [/opt/bea]: /apps/mdlware

Detected web server version : WebLogic 10.3.1

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

Please enter the administrator login and password for WebLogic domain.

Login ID [system]:

Password [Passw0rd]:

Re-type Password [Passw0rd]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================
->1- Create New WebLogic Domain

To select an item enter its number, or 0 when you are finished [0] :

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :
===============================================================================
Enter domain name or click Next to select default [peoplesoft]
:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

Please select the configuration to install.

->1- Single Server Domain
2- Multi Server Domain
3- Distributed Managed Server

To select an item enter its number, or 0 when you are finished [0] :

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

Please specify a name for the PeopleSoft web site:

Website name [ps]: hc91dmo

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================
Enter port numbers and summaries.

AppServer name [orion3]:

JSL Port [9000]:

HTTP Port [80]: 8000

HTTPS Port [443]: 8443

Authentication Token Domain:(optional) []:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :
===============================================================================
Please enter the Name of the Web Profile used to configure the webserver. The
user id and password will be used to retrieve the web profile from the
database. (NOTE: Other available preset web profile names are TEST", "PROD",and
"KIOSK".)

Web Profile Name [DEV]:

User ID [PTWEBSERVER]:

Password [PTWEBSERVER]:

Re-type Password [PTWEBSERVER]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================
Select the Report Repository location:
Please specify a directory name or press Enter [/home/weblogic/PeopleSoft
Internet Architecture/psreports]: /psreports

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :
===============================================================================
Setup Type : weblogic

Web server root directory : /apps/mdlware

Web server version : 10.3

Web server domain : peoplesoft

Internet Architecture app name : PORTAL

Integration Gateway app name : PSIGW

PeopleSoft Business Interlink app name : PSINTERLINKS

PeopleSoft Online Library Infrastructure : PSOL

Environment Management Hub : PSEMHUB

Hello Portlet app name : helloportletapp

Portlet Container app name : pspc

Testsuite app name : testsuite

Wsrptest app name : wsrptest

Site name : hc91dmo

Authentication Token Domain :

Application server name : orion3

JSL port : 9000

HTTP port : 8000

HTTPS port : 8443

Report repository directory : /psreports

PIA webserver directory : /apps/psoft/hc91/webserv

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================
Installing...
-------------

[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]

===============================================================================
Installation Complete
---------------------

Congratulations! PeopleSoft Internet Architecture has been successfully
installed to:

/apps/psoft/hc91/webserv

Press "Done" to quit the installer.

PRESS TO EXIT THE INSTALLER:

[weblogic@orion3:/apps/psoft/hc91/setup/PsMpPIAInstall]$


2. Start the web server
[weblogic@orion3:/apps/psoft/hc91/setup/PsMpPIAInstall]$ cd ../../webserv/peoplesoft/bin/
[weblogic@orion3:/apps/psoft/hc91/webserv/peoplesoft/bin]$ ./startPIA.sh

********************WARNING******************************************************
Hard limit value of the file descriptors on this system is set to 1024
In order to run the server process with 4096 file descriptors,
increase the hard limit on the system equal or higher than the number
MAX_FILE_DESCRIPTORS in setenv.sh
*********************************************************************************

Attempting to start WebLogic Server PIA
No activity will be logged to this window.
Server activity will be logged to /apps/psoft/hc91/webserv/peoplesoft/servers/PIA/logs/PIA_*
PID for WebLogic Server PIA is: 24042
[weblogic@orion3:/apps/psoft/hc91/webserv/peoplesoft/bin]$ tail -f /apps/psoft/hc91/webserv/peoplesoft/servers/PIA/logs/PIA_stdout.log
...





3. Note : to avoid warning on kernel parameter, you may want to modify the limits in /etc/security/limits.conf for weblogic user
[root@orion3:/]# tail -20 /etc/security/limits.conf
#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
# End of file
oracle soft nofile 131072
oracle hard nofile 131072
oracle soft nproc 131072
oracle hard nproc 131072
oracle soft core unlimited
oracle hard core unlimited
oracle soft memlock 50000000
oracle hard memlock 50000000
weblogic - nofile 65536
weblogic - nproc 65536
weblogic - core unlimited
weblogic - memlock 50000000
[root@orion3:/]#



4. Finally, you can connect onto the application within your browser :

Nicolas.

2 comments:

Anonymous said...

I got following error while Accessing peoplesoft signon page

Could not open registry. Registry name: EMPLOYEE

Anonymous said...

hi all

am also getting the same error pls help me..

Could not open registry. Registry name: EMPLOYEE