Solved

configuration of iPlanet and iPlanet logging

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now