Re: Checking with DB

2002-02-22 Thread David Slater
Not sure how this is Tomcat related other than it looks like you are working on a servlet, but what the hell: Of course !rs.next() would work, as in return 'you are lucky', cause I'll bet it's null/empty. Try System.out.println'ing the request params after getting them into the Strings, and c

Re: Tomcat as NT service going down after 2 months ???

2002-02-22 Thread David Slater
Sounds like the symptoms of a VM crash, not Tomcat per se. The 3.2.3 box I run, up until a very recent SQL upgrade, used to go down every Sunday night in the wee hours. No logs, or so I thought, until I noticed them in the tomcat/bin directory of all places! You may want to look there just

Re: Tomcat 4.0.2, IIS 5.0 and NT-service

2002-02-21 Thread David Slater
Look in your Tomcat directory for: /jakarta-tomcat-4.0.2/webapps/tomcat-docs/config/ajp.html A little over halfway through, right below the Apache integration section is: IIS 4.x and 5.x Introduction This section explains how to set up IIS 4.0 or newer to cooperate with Tomcat 4.

Re: Strange startup problem with Tomcat 4.0.1 + W2K + JDK 1.3.1_02

2002-02-20 Thread David Slater
of luck. David Slater wrote: > The Connector values need to be quoted: > > etc...> > > The parse error is probably causing all the other startup errors as a > result. > > My gut feeling anyway! > > Pykäläinen, Eero wrote: > >> I searched the web an

Re: Strange startup problem with Tomcat 4.0.1 + W2K + JDK 1.3.1_02

2002-02-20 Thread David Slater
The Connector values need to be quoted: The parse error is probably causing all the other startup errors as a result. My gut feeling anyway! Pykäläinen, Eero wrote: > I searched the web and archives but found no answer to this. If any of you > people could help I would appreciate it very muc

Re: Listening Porblem?

2002-02-20 Thread David Slater
u! If not, try posting your config files in your next reply and hopefully some others will jump in. Moi wrote: > So I did. > And when run Apache, (which listens same port 80,but on the other IP > than Tomcat4) after Tomcat4 it's not starting. > ??? > > David Slater wrote: &g

Re: Listening Porblem?

2002-02-19 Thread David Slater
Moi wrote: > Is there way to set up Tomcat to listen only given IP with port 80? > For example : My we server has several IDs and I'd like to configure > Tomcat4 listen only one IP with port 80 and other IPs will serve APACHE. > Sounds like IP based Virtual Hosting is what you need to configure i