Re: Connector Issue - Tomcat 6.0/IIS 6.0

2009-05-07 Thread Rainer Jung
Your log snippet indicates, that the request was successfully forwarded to Tomcat and Tomcat returned with 404. Since you left out to much from the log, we can't say for sure, whether thew request in the redirector log is the same, as the 200 request in the IIS log. If you can provide access to

Re: Requesting a SSL client certificate using ACTION_REQ_SSL_CERTIFICATE

2009-05-07 Thread Mark Thomas
André Cruz wrote: Hello. I have a specific page in my site that uses ssl client certificates for authentication and the application itself does the cert validation. As the rest of the site does not use them I have clientAuth=false in my connector otherwise the browsers keep asking for

tomcat6 configuration best practice?

2009-05-07 Thread Kevin Jackson
Hi, I'm currently trying to understand the best practices for tomcat6 application deployments given certain restrictions: 1 - We deploy exploded dirs only, not WAR files 2 - We need to be able to hot deploy jsps (but not classes/jars) without restarting tomcat 3 - The application must be the ROOT

Re: Tomcat Configuration in Eclipse

2009-05-07 Thread André Warnier
Hi. Please do not copy me of every message you send to the list. I already get the list message, so this makes it an extra identical message each time. Just click reply, not reply all. Thanks. ados1...@gmail.com wrote: Interesting Things are happening with my Tomcat. ...

Tomcat Cluster issue

2009-05-07 Thread dhanesh kk
List, I am trying a transparent failover cluster with 2 separate TC-6.0.8 nodes with a apache2.2 node as LoadBalancer with mod_proxy_ajp JDK 1.5.0_15 and platform Debian. I used224.0.0.1 as the multicast addresss is it okay ? I am seeing these outputs for catalina.out in

Re: Requesting a SSL client certificate using ACTION_REQ_SSL_CERTIFICATE

2009-05-07 Thread André Cruz
On May 7, 2009, at 9:18 , Mark Thomas wrote: André Cruz wrote: Hello. I have a specific page in my site that uses ssl client certificates for authentication and the application itself does the cert validation. As the rest of the site does not use them I have clientAuth=false in my

After deployment to tomcat: entity class not found

2009-05-07 Thread itay sahar
Hello, I've successfully created all hbm,POJO and DAO files using Hibernate tool which is great!!! Once deploy to Tomcat I got the exception: nested exception is org.hibernate.MappingException: entity class not found: MyClass the full stack is:

Re: How to make request parameters available to a login.jsp?

2009-05-07 Thread Gregor Schneider
Chris, On Thu, May 7, 2009 at 4:07 AM, Christopher Schultz ch...@christopherschultz.net wrote: A few questions: Chris, maybe you'll get the hang of this Valve if I explain the business-requirement I had: My primary target was to cirumvent the problem having a framed web-app, where some

Re: How to make request parameters available to a login.jsp?

2009-05-07 Thread Pid
Gregor Schneider wrote: Chris, On Thu, May 7, 2009 at 4:07 AM, Christopher Schultz ch...@christopherschultz.net wrote: A few questions: Chris, maybe you'll get the hang of this Valve if I explain the business-requirement I had: My primary target was to cirumvent the problem having a

Re: How to make request parameters available to a login.jsp?

2009-05-07 Thread Gregor Schneider
Pid, On Thu, May 7, 2009 at 2:01 PM, Pid p...@pidster.com wrote: Alternative: I don't have this to hand anymore since the original site was changed and I'm not the dev for it anymore, but we put a frame-busting javascript on the login page instead, it loaded our preferred start URL instead

Re: How to make request parameters available to a login.jsp?

2009-05-07 Thread Pid
Gregor Schneider wrote: Pid, On Thu, May 7, 2009 at 2:01 PM, Pid p...@pidster.com wrote: Alternative: I don't have this to hand anymore since the original site was changed and I'm not the dev for it anymore, but we put a frame-busting javascript on the login page instead, it loaded our

Multiple Context and Websites

2009-05-07 Thread Alexander Diedler
Hello, Something stupid to me, but it will not works. I want to have several webapps managed by Manager. Tomcat1.de and tomcat2.de point to the same Tomcat 6.0.18 server (edit Windows hosts-File). In the /conf/Catalina/localhost/ there are tomcat1.xml with this code: ?xml version='1.0'

RE: Weekly restart of Tomcat service

2009-05-07 Thread Jack, Brandy
It looks like the version of Java is 1.5.0_11 Brandy Jack I/S Dept Database Management ofc: (918) 615-7743 cel: (918) 527-4027 -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, May 06, 2009 4:45 PM To: Tomcat Users List Subject: RE:

RE: Multiple Context and Websites

2009-05-07 Thread Caldarale, Charles R
From: Alexander Diedler [mailto:adied...@tecracer.de] Subject: Multiple Context and Websites In the /conf/Catalina/localhost/ there are tomcat1.xml  with this code: ?xml version='1.0' encoding='utf-8'? Context path=/tomcat1 reloadable=true docBase=C:\Inetpub\tomcat\Webseite1

RE: Multiple Context and Websites

2009-05-07 Thread Martin Gainty
Inetpub is the default folder for IIS try re-installing tomcat to a new folder and point the docBase to be based off of catalina.home (which is your new Tomcat folder) Context docBase=${catalina.home}/webapps/YourWebAppNameGoesHere privileged=true antiResourceLocking=false

RE: tomcat6 configuration best practice?

2009-05-07 Thread Caldarale, Charles R
From: Kevin Jackson [mailto:foamd...@gmail.com] Subject: tomcat6 configuration best practice? - apache httpd 2.0.2 Why are you using httpd? If everything is being forwarded to Tomcat, adding httpd just slows things down and makes your life more complicated. Currently we have the

AW: Multiple Context and Websites

2009-05-07 Thread Alexander Diedler
-Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Gesendet: Donnerstag, 7. Mai 2009 15:20 An: Tomcat Users List Betreff: RE: Multiple Context and Websites From: Alexander Diedler [mailto:adied...@tecracer.de] Subject: Multiple Context and

RE: Multiple Context and Websites

2009-05-07 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Multiple Context and Websites Inetpub is the default folder for IIS try re-installing tomcat to a new folder and point the docBase to be based off of catalina.home (which is your new Tomcat folder) Context

Re: Multiple Context and Websites

2009-05-07 Thread Hassan Schroeder
On Thu, May 7, 2009 at 5:56 AM, Alexander Diedler adied...@tecracer.de wrote: Tomcat1.de and tomcat2.de point to the same Tomcat 6.0.18 server (edit Windows hosts-File). http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html HTH, -- Hassan Schroeder

RE: Multiple Context and Websites

2009-05-07 Thread Caldarale, Charles R
From: Alexander Diedler [mailto:adied...@tecracer.de] Subject: AW: Multiple Context and Websites AD : But we want to use different Hostnames, it cannot be placed in the localhost? Just using different host names is a DNS issue; it does not require multiple Host elements in Tomcat. You

Re: tomcat6 configuration best practice?

2009-05-07 Thread Kevin Jackson
Why are you using httpd?  If everything is being forwarded to Tomcat, adding httpd just slows things down and makes your life more complicated. We are using httpd as we serve *many* static files too and not every request is being forwarded to Tomcat - we have our reasons for using apache as a

Re: Connector Issue - Tomcat 6.0/IIS 6.0

2009-05-07 Thread samr
Accessing the same url from localhost:8080 displays the page without any problem. I have attached the IIS_Redirect log when accessing the url :http://localhost/examples/jsp/jsp2/el/basic-arithmetic.jsp The IIS Log from W3SVC for the same is: #Software: Microsoft Internet Information Services

RE: tomcat6 configuration best practice?

2009-05-07 Thread Caldarale, Charles R
From: Kevin Jackson [mailto:foamd...@gmail.com] Subject: Re: tomcat6 configuration best practice? We are using httpd as we serve *many* static files too Tomcat will server static files every bit as well as httpd (especially since you're using APR). Do we need both the context.xml file and

Re: SSL Mysterious Self Signed Certificate

2009-05-07 Thread Jonathan Mast
Its my understanding that all Self-signed certs generate the creepy browser messages. Not sure though. Were the imported root certs issued by a well known CA? On Wed, May 6, 2009 at 10:43 PM, Andrews, Wayne wayne.andr...@sap.comwrote: Hi I have an issue whereby on a windows installation of

Tomcat / Java JNI and Classloading issues

2009-05-07 Thread scarlson
Hello Everyone, I am attempting to integrate a Java JNI Library with Tomcat and GWT. I have had good sucess as far as initial proto-typing. I am aware of the classloaders (common, shared, and webapp), but seem to be missing something big here. I basically have problems cleanly using this Java

RE: SSL Mysterious Self Signed Certificate

2009-05-07 Thread Mark_Despain
Can you clarify on mysterious self-signed certificate displayed within the browser? Also, into what did you import the relevant root certs and SSL cert? The keystore? W is right. If your certificate is was not issued (signed) by a CA that the browser trusts, then the browser will not

changing location of conf/Catalina

2009-05-07 Thread Dmitry Beransky
Hi, I want to lock down the core Tomcat installation by making it read-only (and updateable only through a SCM). I've figured out how to relocate temp, work, logs, webapps directories, all of which get modified as part of Tomcat's standard operation. The last directory left inside the core that

Session Replication problem

2009-05-07 Thread sudhakar p
Hi I am trying to configure Clustering/Session Replication in Tomcat 6.0.18 and am getting this message when I start the tomcat 6.0.18 server. *INFO org.apache.catalina.tribes.membership.McastService - Binding to multicast address, failed. Binding to port only* Tomact log: 2009-05-01

how to build an multi lingual website

2009-05-07 Thread Andrew Davidson
Hi I do you know how I can build a multi lingual website? My main website is in English. I want to have a landing page in Spanish that describes my website and invites the user to click through the English version of the web site. Any idea how I set this up using Tomcat? The bulk of our web

Re: how to build an multi lingual website

2009-05-07 Thread Andre-John Mas
If Apache is handling your static content, and you are simply using Tomcat to serve dynamic content, then you can use the request.getLocale() method to find out what language the visitors browser is suggesting. For example: String lang = request.getLocale().getLanguage(); if (

Performance with many small requests

2009-05-07 Thread David kerber
I'm having performance issues with my installation of TC 5.5.15, Java 1.5.0_12, on Windows 2003 server 32 bit, dual-cpu dual-core (4 cores total), 4GB physical RAM. Tomcat startup params: JvmMs = 256 JvmMx = 512 JvmSs = 0 This was the original entry in my server.xml, which has been running for

RE: SSL Mysterious Self Signed Certificate

2009-05-07 Thread Andrews, Wayne
Hi I created a new keystore, inported the root certificate from thawte, then the signed cert. The browser displays some self signed cert that has expired. Cheers W -Original Message- From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Sent: Friday, 8 May 2009 2:59 AM To: Tomcat

RE: Performance with many small requests

2009-05-07 Thread Peter Crowther
From: David kerber [mailto:dcker...@verizon.net] The tomcat application simply takes the post request, does a checksum verification of it, decrypts the lightly-encrypted data, and writes it to a log file with the timestamps and site identifiers I mentioned above. Pretty simple processing,

Re: How to make request parameters available to a login.jsp?

2009-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 5/7/2009 7:12 AM, Gregor Schneider wrote: Chris, maybe you'll get the hang of this Valve if I explain the business-requirement I had: I think I understand your business requirement. It's your code I don't understand. Now let's assume,

Re: After deployment to tomcat: entity class not found

2009-05-07 Thread Xie Xiaodong
Hello, This class MyClass, could not be found. Maybe you should include the package name in your configuration files. 2009/5/7 itay sahar itay.sa...@gmail.com Hello, I've successfully created all hbm,POJO and DAO files using Hibernate tool which is great!!! Once deploy to Tomcat I

Re: Performance with many small requests

2009-05-07 Thread David Kerber
Andre-John Mas wrote: On 7-May-2009, at 17:28, Peter Crowther wrote: From: David kerber [mailto:dcker...@verizon.net] The tomcat application simply takes the post request, does a checksum verification of it, decrypts the lightly-encrypted data, and writes it to a log file with the timestamps

Re: Performance with many small requests

2009-05-07 Thread Andre-John Mas
On 7-May-2009, at 19:05, David Kerber wrote: Andre-John Mas wrote: That would be my impression too. It is best to avoid making the synchronized scope so large, unless there is a very good reason. David, do you have any reason for this? Beyond the counter, what other stuff do you

Re: Performance with many small requests

2009-05-07 Thread Xie Xiaodong
Hello, IMHO, it would be better to use java concurrency package now than to use the old synchronize mechanism. The old mechanism is to low level and error prone. I think you could have a thread pool and some handler pattern to handle the request from your customer. 2009/5/8 Andre-John Mas

Re: Form-based Container Security with SSL

2009-05-07 Thread Guojun Zhu
Dear Chris, Thank you very much. I can get the link redirect. But the tomcat's container security seems to happen before it. Here is the stuff in the web.xml. When I type http://localhost:8080/InformProject/pages/login.jsp, it will redirect to https://localhost:8443/. The browser will