Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlets in iPlanet web server 6.0  RSS feed

 
Shailesh Nakhare
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having a requirement to get Servlet output to some Terminal window /Command window from iPlanet web server 6.0. The OS i'm working on is Windows NT 4.0(sp 6a). iPlanet does not give the servlet output in its error log as servlets are external to it.
iPlanet web server runs as a NT service on Windows NT, but is there a way to RUN the web server from a COMMAND / TERMINAL window so as to get the servlet output in that window
?
 
william cummings
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Modify the magnus.conf file adding the following line at the bottom of the file.
Init fn="nt-console-init" stdout=console stderr=console
The location of the magnus.conf file depends on the location where Netscape Enterprise 6.0 is installed.
See example;
(<drive_letter>:\server_root\server_instance\config\magnus.conf)
This will allow the standard out and standard error to be directed to a foreground window in NT4/2000.
Hope this helps.
William Cummings
 
Shailesh Nakhare
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi william,
Thanx for your suggestion ! I was really in mess trying to figue out the bug / error in the packaged class files i was using ..... this has helped me a lot solve that problem !
Thanx :-)
- Shailesh Nakhare

Originally posted by william cummings:
Hi,
Modify the magnus.conf file adding the following line at the bottom of the file.
Init fn="nt-console-init" stdout=console stderr=console
The location of the magnus.conf file depends on the location where Netscape Enterprise 6.0 is installed.
See example;
(<drive_letter>:\server_root\server_instance\config\magnus.conf)
This will allow the standard out and standard error to be directed to a foreground window in NT4/2000.
Hope this helps.
William Cummings

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!