Re: Security manager and request.getParameter() access error

2002-10-20 Thread Glenn Nielsen
Check your catalina.policy and see if the following 4 permissions are granted in the default policy: // Required for sevlets and JSP's permission java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.util; permission java.lang.RuntimePermission

Re: Ajp13Processor starting background threads under low load

2002-10-20 Thread Glenn Nielsen
Once an Apache process opens a socket connection to Tomcat for Ajp that connection remains open until that httpd process dies. That way the httpd process can reuse that connection. For Apache 1.3 there is a one to one mapping between apache httpd processes and Tomcat Ajp13Processors. You can end

Admin/Manager problems

2002-10-20 Thread James D. Whittington
Ok here it goes... I am a real newbie to java and tomcat, so please forgive my ignorance. I have tomcat 4.1.12 installed on a Mandrake 9.0 machine using the java sdk version 1.4.1.01. Everything seems to be running ok, tomcat starts and stops with out errors. I can access the tomcat server page

dont know whats happening :-(

2002-10-20 Thread Maninder S Batth
in server.xml i tried to configure AJP1.3 connector to listen on 12009 port by the following entry in server.xml, but what ever value i enter there for port tomcat still uses 8009 .where is it picking that value from ??? Connector

RE: RE: John Turner or someone who responsible for Posting -- Re: How to Apache2, Tomcat4.1.2, JK2 ?

2002-10-20 Thread Jerry Birchler
I have a working example of Apache 2.0.43 with Tomcat 4.1.2 using JK2 on Red Hat Linux 8.0. I had to fallback to methods used on a previous integration of Apache 1.3.24 with Tomcat 4.0.4 after looking at the Howtos that came with the 4.1.2 documentaton. That enabled me to quickly put together a

Realm Screen

2002-10-20 Thread Chandrasekhar Lanka
hi... I am facing problem to access the realm screen in apache tomcat. I have installed tomact 4.0.4 in htdocs of apache1.3. I am able to get the realm screen when i access the following link in the location bar http://localhost/tomcat4.0/webapps/test/test.jsp; but I could not access my

servlets stoped working but jsp works

2002-10-20 Thread Alexander Piavka
Hi, i'm using tomcat 4.1.12 and mod_jk For some strange reason all servlets stoped working and return messages like: description The requested resource (/catalina/examples/servlet/RequestInfoExample) is not available when called. But the jsp pages work fine(within the same contexts in which

Re: Ajp13Processor starting background threads under low load

2002-10-20 Thread Lindsay Patten
Thanks again Glenn! Now I've got something concrete to take to my service provider for resolution. Cheers, Lindsay Glenn Nielsen wrote: Once an Apache process opens a socket connection to Tomcat for Ajp that connection remains open until that httpd process dies. That way the httpd process

Re: problem with session tracking and redirection http--- https

2002-10-20 Thread Jon Eaves
Henrik Bentel wrote: One of my problems is that I can't find anything in the servlet or tomcat documentation that mentiones any of this behaviour. If there is any, please send me the link. Hi Henrik, I couldn't find anything specific in the Servlet Spec, but in general it's just not a good

PropertyChangeSupport with tomcat

2002-10-20 Thread Markus Keller
Hello List I am new with JSP and I have tomcat 4.1.12 running with apache 2.0, IBM JDK 1.3 and mod_webapp under Debian Linux. Now I have written two simple beans to test the PropertyChangeSupport feature of the Java beans. One bean fires a property change and the other bean ist the listener,

Help: Tomcat not reloading classes

2002-10-20 Thread Carson, Chuck
I have the following line in server.xml: Context path= docBase=ROOT debug=0 reloadable=true/ This seems to work for jsp files in $TOMCAT_HOME/webapps/ROOT but is not working for class file in $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes Did I miss something? This is tomcat 4.1.2 using jdk

Cannot serve a WAV file from a 4.1.12 web application

2002-10-20 Thread Ann Marie Carulli
Hello, I'm developing a web application running under Tomcat 4.1.12. When I try to serve a WAV file from the initial JSP file, the file is not heard. This line was used in the JSP file: EMBED src=/voting/audio/startpage/startpage.wav HIDDEN=true autostart=true/EMBED If I try to access the

Re: Ajp13Processor starting background threads under low load

2002-10-20 Thread Lindsay Patten
Thanks for the pointer Glenn, it was much appreciated! So, I've been doing thread stacktrace dumps, but what I found doesn't make a lot of sense to me. After restarting tomcat there were 5 processor threads all blocked on a monitor: Ajp13Processor[8085][0] daemon prio=1 tid=0x0x4f801b28

Re: problem with session tracking and redirection http--- https

2002-10-20 Thread Maninder S Batth
my 2 cents: encrypting session information such as encrypted urls or cookies dont buy anything. they can be sniffed , and sent back. or worse things can happen. Security is not cheap so forget finding an inexpensive way. thats one big problem with open protocols, you know exactly where to

Re: My Start and Stop Tomcat windows do not stay up

2002-10-20 Thread Maninder S Batth
i get this error when my server.xml is not properly configuered. did u add context element to ur server.xl ? if i am correct, this exception is saying that your server.xml doesnt adheres to dtd. so pls check it [EMAIL PROTECTED] wrote: Hi I have installed Tomcat 4.1.12 on my XP

Re: Multiple Tomcat Security Realms

2002-10-20 Thread Craig R. McClanahan
On Sat, 19 Oct 2002, grenoml wrote: Date: Sat, 19 Oct 2002 13:33:16 -0700 (PDT) From: grenoml [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Multiple Tomcat Security Realms I went through the REALM HOW-TO also. It

RE: there are type: HTTP Status 404 -/tomcat-docs...

2002-10-20 Thread rdevine
Yufeng, I'm pretty new to this so others may have better info. Check your path to make sure that tomcat-docs is in the webapps folder [%CATALINA_HOME\webapps\tomcat-docs] and that you have a WEB-INF in your tomcat-docs folder. Hope that helps..experienced ones please correct me

Does tc-4.12 have bugs with nested jsp tags?

2002-10-20 Thread Zsolt Koppany
Hi, my nested JSP tags (nesting level 3-4) work fine under tc-4.0.4 but they seem to be bugy with tc-4.12. Are there known JSP issues with tc-4.12? Zsolt -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: problem with session tracking and redirection http--- https

2002-10-20 Thread Craig R. McClanahan
On Sat, 19 Oct 2002, Henrik Bentel wrote: Date: Sat, 19 Oct 2002 19:08:35 + From: Henrik Bentel [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: problem with session tracking and redirection http--- https One of my problems is that I

there are type: HTTP Status 404 -/tomcat-docs...

2002-10-20 Thread  
hi tomcat, when I saw tomcat's index.jsp and there is If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations! till I click Tomcat Documentation .there are type: HTTP Status 404 - /tomcat-docs

Error handling in ServletContextListener/investigating tomcat startup errors

2002-10-20 Thread garrett smith
Hey, If I have problems in an implementation of ServletContextListener, TC refuses to give me a reason. How can I log the error message? To generate an error, I divided by zero. A more likely (and less avoidable) exception is NamingException (what I expect). [code] public void

Re: My Start and Stop Tomcat windows do not stay up

2002-10-20 Thread Homer Junior
Hello AnnWenzel, Are you sure that Tomcat isn't already running as a service? If Tomcat is already listening to the ports that a new instance would try to listen to, then you would get that behavior. The window would just close. For easier debugging, you might want to open a command prompt and

My Start and Stop Tomcat windows do not stay up

2002-10-20 Thread AnnWenzel
Hi I have installed Tomcat 4.1.12 on my XP machine. I got the screen telling me that Tomcat was installed successfully. However, neither the Start or Stop DOS windows stay up. I understand that this problem could be overcome by increasing Initial Environment field to 4096. In order to do

problem building mod_jserv.so

2002-10-20 Thread Aman Kapoor
Hi I have been trying to build mod_jserv.so ld -G -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o autochange.o

Apache + SSL + TOMCAT4 + mod_jk : problem (Socket Timeout) : Help

2002-10-20 Thread rami rosen
Hello, I have surfed the net thourouly, including Tomcat NessGroups, and did not find an answer to my problem ; May I ask : I am running Tomcat4 + Apache + SSL + Mod _JK on RH 8.0; I had configure Apache to and Tomcat to use SSL (including uncommenting the SSL connector lines in

Re: servlets stoped working but jsp works

2002-10-20 Thread Jacob Kjome
You need to pay attention to the security notices: http://jakarta.apache.org/site/news.html#0924.1 The invoker servlet has been disabled by default to close a security hole. Basically, the source of your JSP page could be revealed via a specially crafted URL. If you *really* need to enable

Re: Cannot serve a WAV file from a 4.1.12 web application

2002-10-20 Thread Ann Marie Carulli
Honesty compels me to say that the solution is to make sure the the filename is cased correctly. Tomcat is on Linux, JRun is on Windows 2000, and the files were named *.WAV. 'Nuff said.-))) Thanks, Ann - Original Message - From: Ann Marie Carulli [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Sendmail error

2002-10-20 Thread BC
While attempting to test the sendmail.jsp example from a Tomcat 4.1.12 installation I keep running the following error: ENCOUNTERED EXCEPTION: javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: home.hitokiri.com,