RE: Help Please: Starting Tomcat using channelUnix with mod_jk2

2003-06-08 Thread Michael Cardon
Thanks Chong, Yes, I did make the symbolic link as you mentioned. Now I have a question for you. In your server.xml file, in the connector definition, you are still using port 8009. When using channelUnix shouldn't the port be set to 0 (zero)? Michael -Original Message- From: Chong Yu

RE: Help Please: Starting Tomcat using channelUnix with mod_jk2

2003-06-08 Thread Michael Cardon
Thanks Mark, I tried it on RH Linux 9.0 with the same result myself. I bet your thought on the recent change on the apr_md5_final is probably correct... no what can we do about it??? Michael -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003

Clear user session

2003-06-08 Thread shyam
Hi All, I just moved my webapp from jrun to tomcat. I have a method which clears the user session. The code snippet is Enumeration session_var = session.getAttributeNames(); while(session_var.hasMoreElements()) { String key=(String)session_var.nextElement(); I am getting an

tomcat and isapi

2003-06-08 Thread Christopher Scaffidi
Dear Sirs and Madams-- Have you had any luck recently in running Tomcat as an ISAPI plugin (by extension)? We are having problems with cookies being dropped when running as a plugin, and any suggestions you might have would be deeply appreciated. Thanks, Chris Scaffidi Software Developer

help me please???

2003-06-08 Thread B.saravanan balasundaram
Dear sir, This is saravanan mailing use, i like to use php with tomcat version 4.1 on O/S windows 2000. I have downloaded php4 and tomcat server and installed the same in my system. i have followed all the instructions provided in the site php.net still im able to work with php server.Iam

Re: Assessing Tomcat's State

2003-06-08 Thread Yoav Shapira
Howdy, Note that the premise of your question is flawed without a precise definition of starting up and shutting down. Consider a tomcat instance with N webapps, each of which with one ServletContextListener. Tomcat on startup will send the contextInitialized event to each of these listeners.

Re: All threads are busy, waiting

2003-06-08 Thread Yoav Shapira
Howdy, Is it the maxProcessor option? Yes. See the configuration reference for the Connector element for details. Yoav Shapira = Yoav Shapira [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM).

Re: help me please???

2003-06-08 Thread Jason Bainbridge
On Sat, 7 Jun 2003 16:26, B.saravanan balasundaram wrote: his is saravanan mailing use, i like to use php with tomcat version 4.1 on O/S windows 2000. Hi, You want the Apache Web Server for PHP not Tomcat, you can download this and find out more information from the below URL:

Re: Clear user session

2003-06-08 Thread Yoav Shapira
Howdy, Something else is modifying the session (adding/removing attributes or otherwise modifying the backing collection of your session_var enumeration) while you're iterating through it. while(session_var.hasMoreElements()) { String key=(String)session_var.nextElement();

Something works, but why?

2003-06-08 Thread David Bo Jensen
Apache2 Tomcat5 mod_jk2 Apache2/conf/httpd.conf: VirtualHost * ServerName www.customer1.it DocumentRoot /home/dbj/httpd/jakarta-tomcat-5.0.2/webapps ErrorLog logs/cust1-errorlog Location / JkUriSet worker ajp13:localhost:8009 /Location /VirtualHost

Re: Switching to virtual hosts gives permission error

2003-06-08 Thread Jeff Knox
Dave, I saw something like that if I didn't put the virtual host directories in CATALINA_HOME/webapps/ROOT. I could live with that, but then I had a major problem. I couldn't get forms using POSTs or URLs with parameters to work (ex: index.jsp?name=bob). Somebody recommended that move from

precompiled jsp's as a part of application war file

2003-06-08 Thread Rob
I would like to bundle my application into a single .war file. In addition I would like to include the precompiled .jsp files in the war file as opposed to the .jsp files themselves. Is there a way to do this? I would like to deploy my application to a target without a `javac`. A description of

Mailing List for Security warnings

2003-06-08 Thread Ronnie Tartar
Is there a mailing list for security warnings for tomcat? Thanks

Re: Mailing List for Security warnings

2003-06-08 Thread Tim Funk
Nope. Typically if a security issue is found, it will be discussed by the committers to confirm the vulnerability. A patch and a new release is made. The announcement of the vulnerabilty and the new release are usually made at the same time. The annoucement is typically made to: - tomcat-user

RE: Mailing List for Security warnings

2003-06-08 Thread bedetrob
If you mean the HTTP Protocol Error Codes, then you can get them at Jiri Chudoba's page http://offline.home.cern.ch/offline/web/http_error_codes.html Rob -Original Message- From: Ronnie Tartar [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:54 AM To: '[EMAIL PROTECTED]'

Re: Mailing List for Security warnings

2003-06-08 Thread Jens Skripczynski
Ronnie Tartar: Is there a mailing list for security warnings for tomcat? Are there any security issues in a default tomcat install ? Ciao Jens Skripczynski -- E-Mail: skripi-lists(at)myrealbox(dot)com * life is real - unless declared integer *

Re: precompiled jsp's as a part of application war file

2003-06-08 Thread Tim Funk
- Precompile your jsp's - Precompiling also involves changing your web.xml to map jsp files to the compiled version of your class Precompiling involves translating your jsp's to class files webapp build time (instead of run time) via jspc(?). The class files will reside in your WEB-INF/classes

Re: Mailing List for Security warnings

2003-06-08 Thread Tim Funk
AFAIK there are no issues with the default install. But the default install does include the examples app - which allows any user to view your environment and probably set session variables which could easily allow a denial of service attack based on memory consumption. But then again, if one

Run Tomcat not as root

2003-06-08 Thread kandryc
Hi, How do I get it so that Tomcat does not run as root when I start it up on Linux? I know in Apache I create a new group and user and set it inthe httpd.conf file. What is the best way to have the Tomcat run as user tomcat. Thanks, Kevin

Re: Run Tomcat not as root

2003-06-08 Thread Yoav Shapira
Howdy, Tomcat is a java program: whatever runs the java command is what runs tomcat. So if you create a user named tomcat with permission to run $JAVA_HOME/bin/java, you're pretty much all set. Make sure the user has rwx permissions to tomcat's logs, temp, and work directories, and at least read

RE: Switching to virtual hosts gives permission error

2003-06-08 Thread Dave Weitzel
Jeff Thanks for your feedback and idea. I have eventually found that when you switch on NameVirtualHost then Apache needs r-x permissions on all the folders in your tree. I was running under /home/tomcat/tomcat3/webapps... and had mode 744 on all directories except /home/tomcat (700 as you would

isapi_redirector.dll

2003-06-08 Thread Gupta, Ashish (CORP, Consultant)
Hello All, I am trying to download a copy of isapi_redirector.dll for Tomcat version 3.2. However i am not able to find the same anywhere on the Jakrata tomcat site. If someone is aware of a place where i can find the same, i would appreciate if the same could be passed onto me. I am

JBossMQ vs JBoss (General Message Queue)

2003-06-08 Thread Jason Efting
Hi, I'm busy reading some material on Message Queing and would like to get some opinions. Does anybody have any experience using JBoss as a mesage queue broker toghether with Tomcat? I downloaded JBoss and JBossMQ but cannot determince the difference? Where can I get some documentation

RE: precompiled jsp's as a part of application war file

2003-06-08 Thread Euan Guttridge
Tomcat documentation advises pre-compilation is used only to test all your jsps compile ok. Not to deploy pre-compiled jsps but instead to use something like httpunit, or a webload script to automatically call your jsps to be compiled by tomcat. However the Jasper documentation states to go ahead

RE: Assessing Tomcat's State

2003-06-08 Thread Euan Guttridge
slightly off subject : has anyone written a 'watchdog' for tomcat? Simply a process that checks if tomcat is alive every x seconds, if dead restarts tomcat. Thanks Euan -Original Message- From: Yoav Shapira [mailto:[EMAIL PROTECTED] Sent: 08 June 2003 03:23 To: Tomcat Users List

isapi_redirector.dll

2003-06-08 Thread Gupta, Ashish (CORP, Consultant)
Hello All, I was able to find all the correct version of isapi_redirector.dll and the document for configuring tomcat 3.2 with IIS. However, the document does not mention the details of how to configure tomcat and IIS to work with each other if both are on different machines/Servers. The

RE: Assessing Tomcat's State

2003-06-08 Thread lists
On 8 Jun 2003 at 21:59, Euan Guttridge wrote: slightly off subject : has anyone written a 'watchdog' for tomcat? Simply a process that checks if tomcat is alive every x seconds, if dead restarts tomcat. I was after this a couple of months back. I found the solution in a list and

Newbie Q:How to prevent Directory listing in Tomcat?

2003-06-08 Thread ThePrahs
How can I prevent a client from listing the contents of my web appl. directories without having to put an 'index.html' in the base of each directory? Thanks. Bob. P.s.: I can find any solution(s) in the Tomcat-user archive:

Re: Newbie Q:How to prevent Directory listing in Tomcat?

2003-06-08 Thread Tim Funk
http://tomcatfaq.sourceforge.net/configure.html -Tim [EMAIL PROTECTED] wrote: How can I prevent a client from listing the contents of my web appl. directories without having to put an 'index.html' in the base of each directory? Thanks. Bob. P.s.: I can find any solution(s) in the

Re: using error-page element

2003-06-08 Thread Joël Wijngaarde
Are you sure you added the error-page at the correct position inside the web.xml file. Remember, order is important ! / Joel On Fri, 2003-06-06 at 23:24, Tim O'Dowd wrote: I am trying to setup an error page for 404 errors in tomcat4.1.24. The web.xml file worked fine originally. So I added

RE: Assessing Tomcat's State

2003-06-08 Thread Yoav Shapira
Howdy, I use nagios for this: www.nagios.org. Yoav Shapira = Yoav Shapira [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com

Re: precompiled jsp's as a part of application war file

2003-06-08 Thread Bill Barker
You have a bunch of servlet-mappings in your web.xml file that map that maps the jsp URL to the pre-compiled class. Jspc will generate these for you. One gotcha with doing this is that TC 4.x won't find welcome-files (e.g. index.jsp) unless there is an actual file with that name. The file can

RE: [SOLVED] -Xincgc, -Xms600, -Xmx600

2003-06-08 Thread Jason Efting
I finally managed to get my issue sorted out. After installing Tomcat on another machine to do some testing I noticed that it had the following value in the registry: JVM Library: C:\jdk1.3.1_03\jre\bin\hotspot\jvm.dll After changing this value to the server\jvm.dll my Tomcat is performing