Ugh. IIS + Tomcat + multiple virtual hosts

2005-01-05 Thread Ian Hunter
I have a number of applications running under Tomcat root contexts, on various different servers/ports. Under Apache, I can use the JkMount /* workername directive under a virtual directory to allow me to do virtual hosting, under Apache, which allows me to specify that a particular hostname

Re: Ugh. IIS + Tomcat + multiple virtual hosts

2005-01-05 Thread Ian Hunter
On Wed, 05 Jan 2005 11:24:21 -0600, David Boyer wrote Resend correcting a typo: [channel.socket:web1:8010] port=8010 host=web1.bvu.edu [ajp13:web1:8010] channel=channel.socket:web1:8010 [uri:web1.bvu.edu/servlet/*] worker=ajp13:web1:8010 [channel.socket:web2:8009] port=8009

Re: JVM paramaters with Tomcat Windows service

2003-11-11 Thread Ian Hunter
Along these lines, what parameters would be recommend to increase the amount of RAM taken by the JVM? - Original Message - From: Asif Chowdhary [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 9:15 AM Subject: RE: JVM

Re: Tomcat ver 4.1.27

2003-10-24 Thread Ian Hunter
Do you get Tomcat errors or browser errors? - Original Message - From: Hardee, Brenda G NAVSAFECEN [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:56 AM Subject: Tomcat ver 4.1.27 I have Tomcat ver 4.1.27 running as a service on a win2000

Windows service crashing

2003-10-21 Thread Ian Hunter
For some reason, a couple times a day, the Apache Tomcat 4.1 service crashes under Windows 2000 with no message at all. We have [EMAIL PROTECTED] configured to restart after 1 minutes, but I'd still like to know why this happens. Seems to only happen on our production box, not our test server.

Access Tomcat-declared Resource from outside Tomcat

2003-10-21 Thread Ian Hunter
I've got a database resource declared as part of Tomcat's resource pool (JNDI?) -- I need a standalone Java app to access it. How do I declare such a thing in a standalone app? I realize this is slightly off topic but I figured someone else out there might try to do the same thing. Literally,

Re: Windows service crashing

2003-10-21 Thread Ian Hunter
file? -Original Message- From: Ian Hunter [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: Windows service crashing For some reason, a couple times a day, the Apache Tomcat 4.1 service crashes under Windows 2000 with no message at all

Re: Access Tomcat-declared Resource from outside Tomcat

2003-10-21 Thread Ian Hunter
: Access Tomcat-declared Resource from outside Tomcat Howdy, Currently tomcat doesn't have an external JNDI provider, so you can't really do what you're looking for. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ian Hunter [mailto:[EMAIL PROTECTED] Sent: Tuesday, October

Re: Bugs and weakness when Tomcat works a NT Service (tcservcfg)

2003-10-21 Thread Ian Hunter
Also note that you have to adjust the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1\Parameters\JVM Library -- you have to make sure that's pointing to a real copy of jvm.dll -- the default is c:\program files\Java\j2rex.x.x\bin\client\jvm.dll and if that's not

Re: JDBC Realm MS SQL 2000

2003-02-25 Thread Ian Hunter
What Exception do you get? - Original Message - From: Søren Blidorf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 7:51 AM Subject: VS: JDBC Realm MS SQL 2000 This is how I set it up for Access. When I change the driver settings to Oracle or MySQL it works

Re: How to verify SSL/HTTPS behind Tomcat via AJP13

2003-02-25 Thread Ian Hunter
for https - check the port number for the request - use HttpServletRequest.isSecure(), though I think that will return false when you use Tomcat via a connector with ApacheI've never tried it to be sure. John -Original Message- From: Ian Hunter [mailto:[EMAIL PROTECTED] Sent

Re: How to verify SSL/HTTPS behind Tomcat via AJP13

2003-02-25 Thread Ian Hunter
to a developer at that point are the things that get sent along with typical requests. John -Original Message- From: Ian Hunter [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 9:31 AM To: Tomcat Users List Subject: Re: How to verify SSL/HTTPS behind Tomcat via AJP13

Re: Tomcat doesn't throw exception if client application closses the socket.

2003-02-25 Thread Ian Hunter
Hmm. What are you trying to do where that matters? Sounds like there might be a better way... - Original Message - From: Niketan Mourya [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 9:53 AM Subject: Tomcat doesn't throw exception if client application closses

Re: How to verify SSL/HTTPS behind Tomcat via AJP13

2003-02-25 Thread Ian Hunter
; //from the post ... // Gets the X.509 PEM Certificate String SSL_Client = req.getAttribute(SSL_CLIENT_CERT) ; ... If you are lucky than me, please let me know !!. Eduardo. -Mensaje original- De: Ian Hunter [mailto:[EMAIL PROTECTED] Enviado el: Martes, 25 de Febrero de 2003 11

Re: Tomcat doesn't throw exception if client application closses the socket.

2003-02-25 Thread Ian Hunter
server application exhausted. The weblogic throws the connection when ever client application closes the connection. But it is not happening with tomcat. - Niketan. Ian Hunter wrote: Hmm. What are you trying to do where that matters? Sounds like there might be a better way

Re: tcp/ip stack issues

2003-02-25 Thread Ian Hunter
If you don't have a NIC or an Ethernet connection, what's the point? In my experience, Win95 will still allow you to connect to 127.0.0.1, but in Win2K you can't even reach yourself without a network connection. My solution was to create an Ethernet loopback plug that I stick in my NIC port and

How to verify SSL/HTTPS behind Tomcat via AJP13

2003-02-24 Thread Ian Hunter
From http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html -- Any pages which absolutely require a secure connection should check the protocol type associated with the page request and take the appropriate action of https is not specified. Also, When running Tomcat primarily as a

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
Put msutil.jar, mssqlserver.jar, and msbase.jar in WEB-INF/lib and all will be happy. - Original Message - From: Michael Ni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 9:32 PM Subject: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue My goal is to use

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
Mine works fine. The only place I have the ms*.jar files on my system is webapps\appname\WEB-INF\lib -- I have a Win2K Dell laptop running jdk1.4.0 and Tomcat 4.1.18, connecting to SQL2K through a firewall -- the same box running SQL2K also hosts a duplicate application, and I've even had a Sun

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
I see you just got it working: exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user 'sa'.[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user 'sa'. - Original Message - From: Ian Hunter [EMAIL PROTECTED

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
One reason to use WEB-INF\lib is if you plan on distributing your app or deploying it to a different system, it's easier to move \webapps\app\* than to worry about lots of little jars in common... - Original Message - From: Peng Tuck Kwok [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Tomcat and Microsoft SQL Server 2000 JDBC Driver issue

2003-02-24 Thread Ian Hunter
and Microsoft SQL Server 2000 JDBC Driver issue Thank you Ian Hunter and the rest of the tomcat crew!!! Just got it to work!!! I'm a grateful student from University of Pennsylvania trying to make a web application but new to java. I'm spoiled by asp and IIS but I figure its time to move on to more

Re: Tomcat and Apache

2003-02-21 Thread Ian Hunter
Well said. One reason I front end with Apache is that I have to run other applications (IIS/ASP based, pppht!) and have several virtual hosts. Apache gives me the flexibility to handle literally anything thrown my way so far. I also feel like Apache is probably more secure to have exposed to the

Re: Servlets and classpath problem

2003-02-21 Thread Ian Hunter
I've had similar problems and I could have sworn I saw someone give the advice that it's best to give each webapp it's own copy of the shared jars. I did that and the problems went away. I hate having duplicate files, but I guess if proper application segmentation is going on it's probably safer

Re: Tomcat 3.3.1a Install Windows 2000 Service

2003-02-21 Thread Ian Hunter
The newer ones install that way by themselves. 4.1.18 is the latest released build. - Original Message - From: Kathleen Long kathleen.long@ To: tomcat-user@xx Sent: Friday, February 21, 2003 3:08 PM Subject: Tomcat 3.3.1a Install Windows 2000 Service Is there a

Re: JSP examples not running on new Installation of Tomcat

2003-02-21 Thread Ian Hunter
What is JAVA_HOME set to? You might be pointing to a JRE rather than a JDK. See the root cause? It's looking for a class numguess$jsp which ought to be compiled when you hit it the first time. - Original Message - From: Appel, Jeremy D jeremy.appel@x To:

Re: AJP13 encryption

2003-02-21 Thread Ian Hunter
Handle the encryption via SSL at the IIS/iPlanet point, then go unencrypted to Tomcat...? That's what I do with Apache. - Original Message - From: Jean [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, February 21, 2003 7:16 PM Subject: AJP13 encryption Hi, I

Re: AJP13 encryption

2003-02-21 Thread Ian Hunter
I'm not aware of any way to do that. You could ditch the ajp connector and go straight from IIS/iPlanet to port 443/8443 and let Tomcat serve SSL...? Sounds like an interesting network environment if your Tomcat server isn't in a DMZ of some sort hiding behind firewall. - Original Message

Re: Help! Anyone successfully install a purchased certificate?

2003-02-20 Thread Ian Hunter
From what I understand, some different certificate vendors require different installation methods... Did they include instructions for IIS or Apache, for instance? Worst possible case you could front-end your site(s) with Apache and use connectors to get to Tomcat. - Original Message -

Re: Can't use alternate root context with Tomcat 4.1.12

2002-11-05 Thread Ian Hunter
CATALINA_BASE/work (or CATALINA_HOME/work). Martin - Original Message - From: Ian Hunter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 12:03 PM Subject: Can't use alternate root context with Tomcat 4.1.12 It seems like either I'm missing something drastic

Re: server.xml won't change

2002-11-04 Thread Ian Hunter
I'm having the same problem. If you request a file OTHER than index.jsp, you'll get the correct file, but http://servername/index.jsp is ALWAYS the same file, even if you delete the webapps/ROOT directory. Can anyone help? This is really weird!!! - Original Message - From: yoom nguyen

Can't use alternate root context with Tomcat 4.1.12

2002-11-04 Thread Ian Hunter
It seems like either I'm missing something drastic or that me and at least one other person on the list have found a bug wherein the ROOT context of Tomcat 4.1.12 cannot be reliably changed. Has anyone successfully done this? -- To unsubscribe, e-mail:

Tomcat 4.1.12 can't replace root context index.jsp

2002-11-01 Thread Ian Hunter
For some reason, if I change the root context to point elsewhere (specifically c:/work/cvs/parkweb), tomcat 4.1.12 is still supplying the default index.jsp even though I have removed the webapps/ROOT directory completely. OTHER files (index.html, main.jsp) get served correctly out of the new root

Fw: tomcat 4.1.12 can't replace root context index.jsp

2002-11-01 Thread Ian Hunter
For some reason, if I change the root context to point elsewhere (specifically c:/work/cvs/parkweb), tomcat 4.1.12 is still supplying the default index.jsp even though I have removed the webapps/ROOT directory completely. OTHER files (index.html, main.jsp) get served correctly out of the new root