Comet explicit event close

2010-02-09 Thread Animesh Sonkar
Hi, I am Using a Socket client to send a http request to sever and then waits to read response from the socket inputstream.. 1. I have a comet servlet. On its read event it starts a new thread passing the request and response object. 2.The read event code block then returns. 3. The thread

Default Configuration Cluster

2010-02-09 Thread Alexander Diedler
Hello everybody, Is there are some information to set default a 2-node cluster with fronted Apache webserver 2.2.14 on one of the nodes? Specially timeouts, Threads, MPM worker etc.. What should be set, and what is bad to change?

tomcat6 and https

2010-02-09 Thread Fabien COMBERNOUS
Hi there, I'm trying to use tomcat with URL https. My application is running well and i can use it via http. Now i trying to configure tomcat to use https. I'm running 6.0.20 (debian package revision -dfsg1-1). Il the server.xml i have the following connectors. My first connector (http) :

Re: tomcat6 and https

2010-02-09 Thread Konstantin Kolinko
2010/2/9 Fabien COMBERNOUS fcombern...@kezia.com: My second connector (https) : Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true              maxThreads=150 scheme=https secure=true               keystoreFile=conf/keystore keystorePass=changeit clientAuth=false              

Re: tomcat6 and https

2010-02-09 Thread Fabien COMBERNOUS
Konstantin Kolinko wrote: 2010/2/9 Fabien COMBERNOUS fcombern...@kezia.com: My second connector (https) : Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true keystoreFile=conf/keystore keystorePass=changeit clientAuth=false

Re: tomcat6 and https

2010-02-09 Thread Mark Thomas
On 09/02/2010 14:06, Fabien COMBERNOUS wrote: keytool -list -keystore /etc/tomcat6/keystore Enter keystore password: Keystore type: JKS Keystore provider: SUN Your keystore contains 1 entry tomcat, 09-Feb-2010, trustedCertEntry, Certificate fingerprint (MD5):

JSESSIONID and impact on google

2010-02-09 Thread Marian Simpetru
Hi! I run a tomcat-based portal (Liferay) and we did nice work with it. When it came to google, we realized we are punished for using tomcat, since there seems to be no way in disabling jsessionid (session id appended to URL). Google act as a non cookie browser and hence he is served with non

RE: JSESSIONID and impact on google

2010-02-09 Thread Caldarale, Charles R
From: Marian Simpetru [mailto:marian.simpe...@esolutions.ro] Subject: JSESSIONID and impact on google When it came to google, we realized we are punished for using tomcat, since there seems to be no way in disabling jsessionid (session id appended to URL). Of course there is - don't

Re: JSESSIONID and impact on google

2010-02-09 Thread Mark Thomas
On 09/02/2010 14:31, Marian Simpetru wrote: Question is: Is there a way to configure tomcat to only use cookies (not append jsessionid to URL for cookie0less browsers). I've been told Jetty or resin is configurable in this aspect. There will be in Tomcat 7 onwards. Prior to that, using

Webpage not loading for more than 20 users (200 Aborted)

2010-02-09 Thread Munirathinavel
While doing load testing i'm accessing the application but i'm not able open the page. It's saying page XMLHTTPRequest 200 Aborted. Can please tell me what is the problem Feb 9, 2010 6:18:51 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet

RE: Webpage not loading for more than 20 users (200 Aborted)

2010-02-09 Thread Caldarale, Charles R
From: Munirathinavel [mailto:munirathina...@gmail.com] Subject: Webpage not loading for more than 20 users (200 Aborted) Can please tell me what is the problem Your code is broken. java.lang.NullPointerException at java.lang.StringBuffer.init(StringBuffer.java:103) at

Re: JSESSIONID and impact on google

2010-02-09 Thread Marian Simpetru
Thank you, I guess session is created since a user could change preferred language.. In a portal is basic stuff. Then you need session since page one. We write JSR168 portlets on top of the Liferay portal .. It's really an useful feature. Thanks for your time, we look forward for tomcat 7 I

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chas, On 2/8/2010 10:24 PM, c...@munat.com wrote: I'm unaware of any uses of PUT that automatically parse the request body on behalf of the user's code. Instead, the user's code is typically expected to handle the entire request body. Apache

Re: tomcat6 and https

2010-02-09 Thread Fabien COMBERNOUS
Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: http://www.agentbob.info/agentbob/79-AB.html?branch=1language=1 Hum ... i can export my cert and key to pkcs12. tomcat documents says it is

[OT] Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-09 Thread Peter Crowther
On 9 February 2010 15:26, Christopher Schultz ch...@christopherschultz.net wrote: I've learned a lot from reading and participating in many discussions on this list, and I think you probably will, too, if you stick around. I think many of us have learned a lot. Sometimes it's been technical,

Re: JSESSIONID and impact on google

2010-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marian, On 2/9/2010 9:31 AM, Marian Simpetru wrote: Google act as a non cookie browser and hence he is served with non unique URLs (because of session ID is appended to URL). I heard at one point that Google's crawler *did* support cookies. I

RE: tomcat can not work on vista sometimes

2010-02-09 Thread chenll
i am sorry for my previous simply error report. i try to report it again here. C:\Usersjava -version java version 1.6.0_18 Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing) Tomcat 6.0.24 Windows service installer

Re: tomcat6 and https

2010-02-09 Thread Mark Thomas
On 09/02/2010 15:31, Fabien COMBERNOUS wrote: Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: http://www.agentbob.info/agentbob/79-AB.html?branch=1language=1 Hum ... i can export my

Re: tomcat6 and https [solved]

2010-02-09 Thread Fabien COMBERNOUS
Fabien COMBERNOUS wrote: Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: http://www.agentbob.info/agentbob/79-AB.html?branch=1language=1 Hum ... i can export my cert and key to pkcs12.

Re: JSESSIONID and impact on google

2010-02-09 Thread Pid
On 09/02/2010 15:46, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marian, On 2/9/2010 9:31 AM, Marian Simpetru wrote: Google act as a non cookie browser and hence he is served with non unique URLs (because of session ID is appended to URL). I heard at one point

Re: tomcat6 and https [solved]

2010-02-09 Thread Mark Thomas
On 09/02/2010 16:01, Fabien COMBERNOUS wrote: Fabien COMBERNOUS wrote: Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this: http://www.agentbob.info/agentbob/79-AB.html?branch=1language=1

Re: tomcat6 and https [solved]

2010-02-09 Thread Fabien COMBERNOUS
Mark Thomas wrote: On 09/02/2010 16:01, Fabien COMBERNOUS wrote: Fabien COMBERNOUS wrote: Mark Thomas wrote: You imported the certificate but not the key. Your can't import the key via the command line. You need to use something like this:

Re: JSESSIONID and impact on google

2010-02-09 Thread Pid
On 09/02/2010 16:32, Marian Simpetru wrote: jsessionid in URLs returned around 79 million search results. Yep. I know they're there. google search on jsessionid SEO will give you lots of examples. On a question asked to google, they reply by explaining the algorithm (multiple URL with same

RE: tomcat can not work on vista sometimes

2010-02-09 Thread Caldarale, Charles R
From: chenll [mailto:c_l...@hotmail.com] Subject: RE: tomcat can not work on vista sometimes typed http://localhost:8080 in Firefox, it exist Failed to connect: firefox can't estabish a connection to the server at localhost:8080; Either Tomcat isn't running, or your firewall is blocking

Re: tomcat can not work on vista sometimes

2010-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 2/2/2010 2:49 PM, chenll wrote: hi, i installed tomcat 6 and jre 1.6 on Windows Vista. i started tomcat by clicking the file of bin\tomcat6.exe, and then type http://localhost:8080 in IE explorer, sometims it can work

RE: tomcat can not work on vista sometimes

2010-02-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: tomcat can not work on vista sometimes tomcat6.exe is not what you use to launch Tomcat. Actually, tomcat6.exe works perfectly well to launch Tomcat, although it's primary function is to operate as a Windows

Re: Comet explicit event close

2010-02-09 Thread Stephen Byrne
On Tuesday 09 February 2010 07:11:40 you wrote: Hi, I am Using a Socket client to send a http request to sever and then waits to read response from the socket inputstream.. 1. I have a comet servlet. On its read event it starts a new thread passing the request and response object. 2.The

Re: JSESSIONID and impact on google

2010-02-09 Thread anthonyvierra
If you want to be seo friendly then change the application so that session is not in the url. Google sees each unique url as one page. With each visit to a jsession site it will see the same content on multiple pages and the score will go down for those seo terms. Simple answer: Use cookies for

HTTP protocol version

2010-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Does anyone know if there's a way to get the HTTP protocol version from a request? I can't find anything in the APIs for that. Thanks, - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla -

Re: HTTP protocol version

2010-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Duh. request.getProtocol. :( - -chris On 2/9/2010 3:03 PM, Christopher Schultz wrote: All, Does anyone know if there's a way to get the HTTP protocol version from a request? I can't find anything in the APIs for that. Thanks, -chris

HTTP status 404 - only first time when accessing from browser

2010-02-09 Thread lazyisgood
I am experiencing strange issue with Tomcat 6.0.24. I have jsp/jsf application deployed to Tomcat. The first time the app is accessed, the URL gets messed up and I get HTTP 404. The second I the same app is accessed in the same browser, it loads fine. If you close and browser and repeat it again,

how to configure tomcat 5.5.28 or tomcat 6.0 and apache 2.2

2010-02-09 Thread Ashish Kulkarni
Hi Is there any document showing how to configure apache 2.2 with tomcat 5.5.28 or tomcat 6.0 -- Ashish www.ayurwellness.com www.mysoftwareneeds.com

RE: how to configure tomcat 5.5.28 or tomcat 6.0 and apache 2.2

2010-02-09 Thread Caldarale, Charles R
From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Subject: how to configure tomcat 5.5.28 or tomcat 6.0 and apache 2.2 Is there any document showing how to configure apache 2.2 with tomcat 5.5.28 or tomcat 6.0 Hmmm... I wonder what the Documentation link on the Tomcat home page for

Re: HTTP status 404 - only first time when accessing from browser

2010-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 2/9/2010 3:17 PM, lazyisgood wrote: 1. In a new browser window, go to http://subash.redirectme.net:8080/stock/faces/welcome.jspx The url in the browser can be seen as:

Re: how to configure tomcat 5.5.28 or tomcat 6.0 and apache 2.2

2010-02-09 Thread Ashish Kulkarni
Thanks, got it working On Tue, Feb 9, 2010 at 3:32 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Subject: how to configure tomcat 5.5.28 or tomcat 6.0 and apache 2.2 Is there any document showing how to configure

Re: Tomcat JULI resets JDK logging?

2010-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henning, On 2/7/2010 6:26 PM, Henning Blohm wrote: I am using JDK logging and I would like to make sure that Tomcat JULI does not modify logging runtime configuration that is not owned by tomcat or web apps running on tomcat. Here is what

Tomcat HTTP Connector Threads Hung

2010-02-09 Thread Anurag Kapur
*Problem Statement *While load testing a web application, several tomcat http connector threads get stuck. Ultimatelty all the available http connector threads get exhausted and the application stops responding completely. *Setup* I have an apache http server in front of tomcat which proxies

RE: Tomcat HTTP Connector Threads Hung

2010-02-09 Thread Caldarale, Charles R
From: Anurag Kapur [mailto:anuragka...@gmail.com] Subject: Tomcat HTTP Connector Threads Hung 1. What does the connectionTimeout attribute in the tomcat http connector do? Exactly what the documentation says: The number of milliseconds this Connector will wait, after accepting a

Http 505

2010-02-09 Thread Mohit Anchlia
Tomcat 6 Our application non-java client (C/Java) are occassionally seeing Http 505. But there is no such error being logged in the tomcat access log. Clients are for sure seeing 505 but we are not so I am wondering if someone can help me understand why that might be occuring? In the response

(.:5486): Gtk-WARNING **: cannot open display:

2010-02-09 Thread subbu.r...@gmail.com
Dear friends, I host a website in internet, Nowadays i am facing this kind of problem (.:5486): Gtk-WARNING **: cannot open display: once the above error comes, then the website is not running. then we need to restart the tomcat service. kindly tellme, this is because of the application