Solved

configuration of iPlanet and iPlanet logging

Posted on 2004-08-17
3
602 Views
Last Modified: 2013-11-21
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
Comment
Question by:owenm2001
3 Comments
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 500 total points
ID: 11827159
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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
.htaccess rewrite rule to 301 redirect canonical versions of homepage to root 4 111
Nameserver and MX Record 2 78
Moving web servers into a DMZ? 3 67
WEB Farm 6 76
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question