Re: Force Tomcat 5.5.16 to close SSL session upon every request

2010-03-23 Thread Goo Sam Kong
Hi Ben, Do you know why Tomcat take some time to close the connection? Is it predictable? My Java client is authenticate with Tomcat server using USB based security token through client certificate authentication. Even though I removed the token, Java client still able to run until some times,

Re: Force Tomcat 5.5.16 to close SSL session upon every request

2010-03-23 Thread Mark Thomas
On 23/03/2010 06:58, Goo Sam Kong wrote: Hi Ben, Do you know why Tomcat take some time to close the connection? Is it predictable? Tomcat does close the connection. My Java client is authenticate with Tomcat server using USB based security token through client certificate authentication.

Re: Force Tomcat 5.5.16 to close SSL session upon every request

2010-03-23 Thread Goo Sam Kong
Thank you, Mark On 23 March 2010 16:31, Mark Thomas ma...@apache.org wrote: On 23/03/2010 06:58, Goo Sam Kong wrote: Hi Ben, Do you know why Tomcat take some time to close the connection? Is it predictable? Tomcat does close the connection. My Java client is authenticate with Tomcat

Session replication: Channel.SEND_OPTIONS_SECURE

2010-03-23 Thread Tom
Hi, I'm trying to configure a simple clustered environment using the following Cluster definition (all other cluster settings are set to default): Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=27 There is little documentation about

newbie: accessing tomcat admin page from another machine

2010-03-23 Thread bill.turner
I installed TC 6.0.26 on one machine in my Windows XP network. It is set up to run as a service. I can access the administrator from that page using http://localhost:8080 or using the machine name, i.e. http://hal9000:8080. I thought I should be able to access the administrator from other

Re: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread Rajeev Sampath
On Tue, Mar 23, 2010 at 7:00 PM, bill.turner worldwidewi...@gmail.comwrote: I installed TC 6.0.26 on one machine in my Windows XP network. It is set up to run as a service. I can access the administrator from that page using http://localhost:8080 or using the machine name, i.e.

RE: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread Caldarale, Charles R
From: bill.turner [mailto:worldwidewi...@gmail.com] Subject: newbie: accessing tomcat admin page from another machine I thought I should be able to access the administrator from other machines in my network using the latter but I cannot. What exactly do you mean by administrator? What

Re: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread Electronjockey
Also, don't forget to check any firewalls on hal9000, because while 8080 may be accessible on the loopback it may be blocked on it's public IP. -Original Message- From: Rajeev Sampath rjvra...@gmail.com To : Tomcat Users List users@tomcat.apache.org Sent: Tue Mar 23 9:38:59 2010

Re: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread bill turner
Ah... yes. All machines are running DHCP. My network admin tool (DLINK) provides addresses. So, I did try http://192.168.0.198:8080. The response is *The connection has timed out*. On Tue, Mar 23, 2010 at 8:38 AM, Rajeev Sampath rjvra...@gmail.com wrote: On Tue, Mar 23, 2010 at 7:00 PM,

Re: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread bill turner
On Tue, Mar 23, 2010 at 8:40 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: bill.turner [mailto:worldwidewi...@gmail.com] Subject: newbie: accessing tomcat admin page from another machine I thought I should be able to access the administrator from other machines in my

RE: Session replication: Channel.SEND_OPTIONS_SECURE

2010-03-23 Thread Caldarale, Charles R
From: Tom [mailto:808...@gmail.com] Subject: Session replication: Channel.SEND_OPTIONS_SECURE There is little documentation about Channel.SEND_OPTIONS_SECURE From a brief glance at the code, SEND_OPTIONS_SECURE appears to be defined, but not yet implemented - which would explain the

RE: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread Caldarale, Charles R
From: bill turner [mailto:worldwidewi...@gmail.com] Subject: Re: newbie: accessing tomcat admin page from another machine Well, the administrator, which I thought was quite obvious, is the console one sees when you install tomcat, start it up and type in localhost:8080. That's not the

Re: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread Pid
On 23/03/2010 13:55, bill turner wrote: On Tue, Mar 23, 2010 at 8:40 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: bill.turner [mailto:worldwidewi...@gmail.com] Subject: newbie: accessing tomcat admin page from another machine I thought I should be able to access the

Re: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread bill turner
It does appear that there was a firewall issue. I had to open port 8080. I can now use the ip address: http://192.168.0.198:8080/. I did think that windows would look for specific machine names in the network first. And, that is what I would really like to do. It'd be a lot easier than looking up

Re: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread bill turner
Actually, it probably isn't even probably either of them. It is the local tomcat installation home, which has a link to the manager. On Tue, Mar 23, 2010 at 9:07 AM, Pid p...@pidster.com wrote: On 23/03/2010 13:55, bill turner wrote: On Tue, Mar 23, 2010 at 8:40 AM, Caldarale, Charles R

Re: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread bill turner
ahhh! Great! Thanks for the input re: the hosts file. I will have to dig into that! On Tue, Mar 23, 2010 at 9:05 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: bill turner [mailto:worldwidewi...@gmail.com] Subject: Re: newbie: accessing tomcat admin page from another

Re: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Jiansen Niu
While you can not define two listening ports for one Tomcat instance, you can put a Apache web server in front of your Tomcat, and define virtual hosts for all applications hosted by your Tomcat except Manager app. Jiansen 2010/3/23 Søren Blidorf so...@nolas.dk Is it possible to set the port

RE: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread Caldarale, Charles R
From: bill turner [mailto:worldwidewi...@gmail.com] Subject: Re: newbie: accessing tomcat admin page from another machine I did think that windows would look for specific machine names in the network first. Windows networking does (using ancient NetBIOS techniques), but regular TCP/IP

Re: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Pid
On 23/03/2010 14:27, Jiansen Niu wrote: While you can not define two listening ports for one Tomcat instance, Yes you can. Just add another Connector. you can put a Apache web server in front of your Tomcat, and define virtual hosts for all applications hosted by your Tomcat except Manager

RE: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Caldarale, Charles R
From: Jiansen Niu [mailto:aoesh...@gmail.com] Subject: Re: Is it possible to set the port for tomcat manager to 8080 and root port 80??? While you can not define two listening ports for one Tomcat instance, Of course you can - you can define as many as you want via multiple Connector

Unable to get client authentication working in tomcat 6

2010-03-23 Thread Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN
I have a tomcat 5 installation that uses client authentication. I am trying to upgrade to Tomcat 6.0.24 and I am not able to get the client authentication to work. I am using the same keystore and truststore files. I am also configuring the SSL port 8443 using what I believe are the same

RE: Unable to get client authentication working in tomcat 6

2010-03-23 Thread Caldarale, Charles R
From: Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN [mailto:paul.dob...@hill.af.mil] Subject: Unable to get client authentication working in tomcat 6 I have a tomcat 5 installation that uses client authentication. I am trying to upgrade to Tomcat 6.0.24 and I am not able to get the client

RE: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread Propes, Barry L
If you have IIS running on the box, it should be able to do it like you're thinking. I've done that on my network at home. -Original Message- From: bill turner [mailto:worldwidewi...@gmail.com] Sent: Tuesday, March 23, 2010 9:21 AM To: Tomcat Users List Subject: Re: newbie: accessing

RE: Unable to get client authentication working in tomcat 6

2010-03-23 Thread Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN
Chuck, you are brilliant! Renamed tcnative-1.dll and it works. Thanks for the info on the APR connector. I'll look into that as well. Paul -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, March 23, 2010 8:54 AM To: Tomcat Users List

RE: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread bill.turner
I have it working. Once the firewall issue was resolved and I was pointed to the hosts file, all is beautiful. I just need to give my server a static ip address, I suppose, so that I do not have to regularly update my hosts file. Propes, Barry L wrote: If you have IIS running on the box, it

Re: Session replication: Channel.SEND_OPTIONS_SECURE

2010-03-23 Thread Tom
On Tue, Mar 23, 2010 at 1:58 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Tom [mailto:808...@gmail.com] Subject: Session replication: Channel.SEND_OPTIONS_SECURE There is little documentation about Channel.SEND_OPTIONS_SECURE From a brief glance at the code,

RE: newbie: accessing tomcat admin page from another machine

2010-03-23 Thread Propes, Barry L
Yes, you'd have to. -Original Message- From: bill.turner [mailto:worldwidewi...@gmail.com] Sent: Tuesday, March 23, 2010 10:41 AM To: users@tomcat.apache.org Subject: RE: newbie: accessing tomcat admin page from another machine I have it working. Once the firewall issue was resolved

apache tomacat 6.0.26

2010-03-23 Thread Toman, Chuck [Stock]
I do not get any errors in the log file, however when I logon to my external site I get a dialog box asking to choose a digital certificate. Any thoughts? Thanks in Advance! Here is my server.xml file ?xml version='1.0' encoding='utf-8'? !-- Licensed to the Apache Software

Newbie: Tomcat Can't Find My App

2010-03-23 Thread Reuven Koblick
If anyone can give me a pointer, it would be much appreciated. This is very frustrating. I cannot get this app to run. No servlet in this app will run. Tomcat6 is installed at CATALINA_BASE and the app, sp00 is installed in CATALINA_BASE/webapps. A war file, sp00.war was placed into that

Re: Newbie: Tomcat Can't Find My App

2010-03-23 Thread Maurice Mengel
I am new to tomcat, too, so I am will not give the best advice. Anyways, I will give it a try: 1) I have another log file localhost.log in the same directory. 2) WEB-INF/web.xml has defines the page which tomcat/the servlet listens, too.  You can check there if it really is

Re: Newbie: Tomcat Can't Find My App

2010-03-23 Thread Paolo Santarsiero
Change Context path=/application in Context path=/sp00 On 23 March 2010 17:46, Reuven Koblick groovyro...@gmail.com wrote: If anyone can give me a pointer, it would be much appreciated. This is very frustrating. I cannot get this app to run. No servlet in this app will run. Tomcat6 is

RE: Newbie: Tomcat Can't Find My App

2010-03-23 Thread Caldarale, Charles R
From: Reuven Koblick [mailto:groovyro...@gmail.com] Subject: Newbie: Tomcat Can't Find My App When trying to execute the first servlet */sp00/servlet/LandingPageFront, That looks like a usage of the old and never-to-be-used-again invoker servlet:

RE: Newbie: Tomcat Can't Find My App

2010-03-23 Thread Caldarale, Charles R
From: Paolo Santarsiero [mailto:paolo.santarsi...@gmail.com] Subject: Re: Newbie: Tomcat Can't Find My App Change Context path=/application in Context path=/sp00 That will have no effect; the path attribute is not allowed here. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

Re: apache tomacat 6.0.26

2010-03-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/23/2010 12:22 PM, Toman, Chuck [Stock] wrote: I do not get any errors in the log file, however when I logon to my external site I get a dialog box asking to choose a digital certificate. Connector port=443 SSLEnabled=true

RE: apache tomacat 6.0.26

2010-03-23 Thread Caldarale, Charles R
From: Toman, Chuck [Stock] [mailto:chuck.to...@stocksupply.com] Subject: apache tomacat 6.0.26 I do not get any errors in the log file, however when I logon to my external site I get a dialog box asking to choose a digital certificate. You have clientAuth=true in your HTTPS Connector, so

What should docbase be set to ?

2010-03-23 Thread Patrick Flaherty
Hello, I am deploying a single app under the ROOT context. My appbase is c:/ comapany/myapps. So my app is in c:/company/myapps/ROOT. My question is for *both* Tomcat 5.5.23 and 6.0.20, in my context.xml what should my docbase be set to ? Right now I have it set to docbase=. Thanks

How should autoDeploy be set for an exploded app ?

2010-03-23 Thread Patrick Flaherty
Hello, I'm deploying a web app which happens to be ROOT. It is not a WAR file but an exploded app. My Host line is as follows : Host name=192.168.20.20 appBase=c:/company/myapps debug=0 unpackWARs=false autoDeploy=true /Host The fact the I'm deploying it as an exploded app what should

RE: What should docbase be set to ?

2010-03-23 Thread Caldarale, Charles R
From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: What should docbase be set to ? I am deploying a single app under the ROOT context. My appbase is c:/comapany/myapps. So my app is in c:/company/myapps/ROOT. My question is for *both* Tomcat 5.5.23 and 6.0.20, in my

RE: How should autoDeploy be set for an exploded app ?

2010-03-23 Thread Caldarale, Charles R
From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: How should autoDeploy be set for an exploded app ? It happened with Tomcat 6.0.20. There have been some changes in deployment checking since 6.0.20, but Mark T's memory would probably be a better source for a definitive

Re: How should autoDeploy be set for an exploded app ?

2010-03-23 Thread Mark Thomas
On 23/03/2010 18:55, Caldarale, Charles R wrote: From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: How should autoDeploy be set for an exploded app ? It happened with Tomcat 6.0.20. There have been some changes in deployment checking since 6.0.20, but Mark T's memory

RE: apache tomacat 6.0.26

2010-03-23 Thread Toman, Chuck [Stock]
I changed clientAuth to false now internally I get to web page, however the certification path does not have the VeriSign Public/Secure path. Thanks, Charles G. Toman Trend DBA T: +1 (919) 431 1792 * M: +1 (919) 524 8652 Customer Focused, Associate Driven. -Original Message- From:

Re: apache tomacat 6.0.26

2010-03-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/23/2010 2:07 PM, Toman, Chuck [Stock] wrote: I changed clientAuth to false now internally I get to web page, however the certification path does not have the VeriSign Public/Secure path. If your web browser doesn't know which

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Steffen Heil
Hi Is it possible to set the port for tomcat manager to 8080 and root port 80??? Yes. You need to define TWO service / nodes, each with its own connector / (using different ports) an its own engine /, each with its own host /, one with the manager as context /, one with the other web

Re: multiple stateful iframes per page will overwrite JSESSIONID?

2010-03-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 3/21/2010 4:34 PM, Nikita Tovstoles wrote: Looking for someone to either confirm or refute my theory that deploying two iframes pointing to two different stateful pages on the same domain can lead to JSESSIONIDs being overwritten. Your

RE: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: Is it possible to set the port for tomcat manager to 8080 and root port 80??? Yes. You need to define TWO service / nodes, each with its own connector / (using different ports) an its own engine /, each with its own host /,

Connecting to a Database

2010-03-23 Thread Leo Donahue - PLANDEVX
Tomcat 6.0.24 Windows Server 2003 R2 SP2 SQL Server 2005 Express Microsoft SQL Server 2005 JDBC Driver 1.2 - October 2007 I know I need to configure a Realm and that can be in an Engine, Host or Context element, but most likely in a context element inside the context.xml under META-INF of my

Re: Connecting to a Database

2010-03-23 Thread Mark Thomas
On 23/03/2010 22:16, Leo Donahue - PLANDEVX wrote: Tomcat 6.0.24 Windows Server 2003 R2 SP2 SQL Server 2005 Express Microsoft SQL Server 2005 JDBC Driver 1.2 - October 2007 I know I need to configure a Realm and that can be in an Engine, Host or Context element, but most likely in a

RE: Connecting to a Database

2010-03-23 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: Connecting to a Database Tomcat 6.0.24 Windows Server 2003 R2 SP2 SQL Server 2005 Express Microsoft SQL Server 2005 JDBC Driver 1.2 - October 2007 I know I need to configure a Realm Are you sure? A Realm is

RE: Separate port for each deployed Web Service or WAR file?

2010-03-23 Thread Song Thuy Nguyen
Hi Mark, I'm looking for a workaround to a problem: I'm using the failover feature of Apache Synapse (there will be several backup/alternate web service with the same interface to a primary web service, if the primiary service fails one of the replacements will be called without the notice of

RE: DB connection error -Tomcat 6 config

2010-03-23 Thread Propes, Barry L
I got this again today, and it seems to happen when/if I go into the Tomcat Manager app and either Stop and Start or Reload the app. Should that have a significant bearing on something like a DBCP connection so adversely? I was thinking it was tantamount to shutting down the Tomcat console

Re: DB connection error -Tomcat 6 config

2010-03-23 Thread Mark Thomas
On 23/03/2010 22:39, Propes, Barry L wrote: I got this again today, and it seems to happen when/if I go into the Tomcat Manager app and either Stop and Start or Reload the app. Should that have a significant bearing on something like a DBCP connection so adversely? I was thinking it

Re: DB connection error -Tomcat 6 config

2010-03-23 Thread Pid
On 23/03/2010 22:54, Mark Thomas wrote: On 23/03/2010 22:39, Propes, Barry L wrote: I got this again today, and it seems to happen when/if I go into the Tomcat Manager app and either Stop and Start or Reload the app. Should that have a significant bearing on something like a DBCP connection