Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 627
  • Last Modified:

configuration of iPlanet and iPlanet logging

Hi,

Can anyone tell me:
1. the default location of the log files for iPlanet on Windows and on Unix (Solaris)
2. how to change the location of the log files on both platforms
3. how to change the default timeout for JSP pages in iPlanet (on both platforms) and where such an event gets logged to
4. how to change the default timeout for a browser session, and where such an event gets logged to
5. if/where all this is documented.

500 points up for grabs, as time is a factor for me on this one, with the answer to no. 3 of particular interest.

many thanks,
owenm.
0
owenm2001
Asked:
owenm2001
1 Solution
 
rama_krishna580Commented:
Hi,

Many actions, especially during system boot, are logged to the iPlanet native error log. It is located in logs/errors. This file should be first place to look when the server fails to boot.

If your iPlanet Web Server 4.x web applications specified SimpleSessionManager, you should change the name of the class to IWSSessionManager. You then have the option of adding persistence. Other Init attributes such as timeOut and reapInterval are unchanged.

http://docs.sun.com/source/816-5686-10/index.html
http://docs.sun.com/source/816-5686-10/03_direc.htm#19846
http://docs.sun.com/source/816-5686-10/07_magnu.htm#26302

And particularly...for timeout and other intervals...
at the file servlets.properties find the propertie servlets.sessionmgr.initArgs modify it to
servlets.sessionmgr.initArgs=maxSessions=20,timeOut=300,reapInterval=150

Well, if your iPlanet 6 is mounted in a PC with Windows 2000/NT (single or multiple processor) OR in UNIX/LINUX (with single processor), your session manager (I suppose that you use IWSSessionManager by default) is set with single-process variable (by default too).

IWSSessionManager in single-process "mode" do not have persistent sessions and you must set the session-data-store variable in the IWSSessionManager.java class to this 2 values:

1) com.iplanet.server.http.session.JdbcStore
2) com.iplanet.server.http.session.FileStore

The first value means that you will save the session values in a JDBC database. If you do this, the values of JDBC drivers in web.xml must be put in the jvm12.conf file. YOU MUST CREATE A DATABASE WITH THE SESSION PROPERTIES LIKE TABLE FIELDS.

The second value means that you will save the sessions values in a DFS table and you do not have to do anything more.

If you have an UNIX/LINUX machine (i have read but i do not probe this), you only have to put in the magnus.conf configuration file, the Maxprocs directive set to 2:

MaxProcs 2

This, in theory, must set the IWSSessionManager to multi-process (please, if you probe this, confirm to me that it works)

If you do not understand anything, read the iPlanet Web Server Programmer's Guide to Servlets (pages 58,59,60 - IWSSessionManager) (http://docs.sun.com/db/coll/S1_ipwebsrvree60_en )

i hope it may help you
best of luck...

R.K
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now