Solved

configuration of iPlanet and iPlanet logging

Posted on 2004-08-17
3
600 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 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