Solved

configuration of iPlanet and iPlanet logging

Posted on 2004-08-17
3
608 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

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…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

622 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