Re: java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.

2010-08-12 Thread Estanislao Gonzalez
Hi Jing, then you are luckier than me, as I still have no solution for my problem ;-) So I think your problem might be, as the message suggests ;-), problem between the ciphering used in the trustore, the certificate signature and/or tomcat. check the cipher parameter of the connector, and a

Connecting IIS7.5 (win7 64bit) with tomcat 7

2010-08-12 Thread Nicklas Holmgren
So I messed around yesterday alot to get this working, but with no luck in the end. I followed all in this howto: http://www.iisadmin.co.uk/?p=72 I also read thru all comments and tried different versions of the isapi_redirect.dll without any luck. I get either error 500 or 404 depending on if I

truststoreFile vs javax.net.ssl.trustStore

2010-08-12 Thread Estanislao Gonzalez
Hi, I try to simplify my question in the hopes that someone can answer it. If I set both trustoreFile and javax.net.ssl.trustStore which one is being honored? The documentation is not clear to me: "The trust store file to use to validate client certificates. The default is the value of the |ja

Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread HANDE CANORUÇ
I am using mod jk in order to connect tomcat and glassfish 3.1. In the mod_jk log file I am getting these errors; [info] ajp_send_request::jk_ajp_common.c (1178): Socket 24 is not connected any more (errno=-1) [info] ajp_send_request::jk_ajp_common.c (1202): Error sending request. Will try anot

Re: Can't configure webapps to disk partition

2010-08-12 Thread Peter Crowther
On 11 August 2010 21:36, André Warnier wrote: > To point correctly to the location of this drive E:, you should probably > use instead the UNC path, like //server/share. That is because, depending > on the user-id under which tomcat runs, this shared directory may not > necessarily be mapped to

Re: FW: tomcat integrated with httpd and over https port, not working

2010-08-12 Thread André Warnier
Irfan Khan wrote: Is there anyone who can help me to resolve this issue. Maybe (but check the documentation, because I am not sure). The thing is, you have an Apache configuration with VirtualHost's. In such a case, the configuration directives present outside a section, generally act as def

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread HANDE CANORUÇ
Should I make configuration in httpd file or workers.properties? And what configuration? 2010/8/12 HANDE CANORUÇ > I am using mod jk in order to connect tomcat and glassfish 3.1. In the > mod_jk log file I am getting these errors; > > [info] ajp_send_request::jk_ajp_common.c (1178): Socket 24

role of the various threads?

2010-08-12 Thread paul womack
I'm trying to do some performance analysis. In my current test scenario I have a dedicated thread tomcat that is synchronously performing "some work" in a hard coded loop. For the purposes of timing/testing I have ensured that tomcat is not serving any requests while this "some work" is going on

RE: FW: tomcat integrated with httpd and over https port, not working

2010-08-12 Thread Irfan Khan
Thanks, Your recommended configuration worked, thanks dude... you are a champ! made my day. Thanks, IK -Original Message- From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Sent: Thursday, August 12, 2010 11:05 AM To: Tomcat Users List Subject: Re: FW: tomcat integrated with httpd and

Re: JreMemoryLeakPreventionListener and hourly Full GC

2010-08-12 Thread Konstantin Kolinko
2010/8/12 Donald Armstrong : > The documentation does not indicate if the > JreMemoryLeakPreventionListener should be enabled for production > environments, but based on this information, probably not? > I think you are too fast jumping to conclusions. BTW, even if you do not see JavaDoc here htt

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread André Warnier
HANDE CANORUÇ wrote: Should I make configuration in httpd file or workers.properties? And what configuration? mod_jk is a connector between Apache httpd and Apache Tomcat. Its sibling isapi_redirect is a connector between Microsoft IIS and Apache Tomcat. It is not very clear by your communica

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread HANDE CANORUÇ
Sun glassfish 3.1 is an open source application server. https://glassfish.dev.java.net/ 2.15 version of mod jk is used. With my application sun glassfish 3.0 and mod jk 2.15 works properly.However when I try to migrate 3.1 , I have following errors in the mod_jk log file. I have httpd and worker

RE: Connecting IIS7.5 (win7 64bit) with tomcat 7

2010-08-12 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Nicklas, I'm in no way an expert but did you make sure you enabled the "jakarta" web extension in IIS? -Original Message- From: Nicklas Holmgren [mailto:elri...@gmail.com] Sent: Thursday, August 12, 2010 3:43 AM To: users@tomcat.apache.org Subject: Connecting IIS7.5 (win7 64bit) with tom

Tomcat 5.5.23 request.getAttribute("foo") returns unexpected NULL

2010-08-12 Thread Thomas Treitlinger
Hello, I have a number of JSP pages which use the JSTL core library to set a request attribute like this: FOO-VALUE The JSPs then forward to a Servlet like this: The Servlet later invokes String s = (String) request.getAttribute("foo") At this point I would expect s to be "FOO-VALUE". However

Re: role of the various threads?

2010-08-12 Thread paul womack
paul womack wrote: RMI - TCP Accept-0 RMI - TCP Accept-8333 main TP-Processor4 http-10722-Processor23 http-10722-Processor24 http-10722-Processor25 are each getting (roughly) as many ticks allocated as "my" thread. Further reading has shown me that I'm using Tomcat5.5, and that the theads (ab

Re: Tomcat 6 thread limit problem on Mac OS X Server 10.5.5

2010-08-12 Thread Pid
On 12/08/2010 01:07, scabbage wrote: > > I did not configure the native webserver/tomcat server come with the Mac OS X > Server. I downloaded a Tomcat 6.0.29 and tried to run it on port 80 (using > sudo). I have been able to have the service up for no problem until > yesterday. Now I when I launch

RE: role of the various threads?

2010-08-12 Thread Caldarale, Charles R
> From: paul womack [mailto:pwom...@papermule.co.uk] > Subject: Re: role of the various threads? > > Further reading has shown me that I'm using Tomcat5.5, > and that the theads (above) are all running accept(). > > I thought accept() was blocking? Depends on the particular JRE being used on the

RE: Tomcat 6 thread limit problem on Mac OS X Server 10.5.5

2010-08-12 Thread Caldarale, Charles R
> From: scabbage [mailto:guans...@gmail.com] > Subject: Tomcat 6 thread limit problem on Mac OS X Server 10.5.5 > > If I go the http://localhost/manager/status, I saw a whole > bunch of threads with: > > P ? ? ? ? ? ? I'm guessing that someone is probing your system. Seen any DoS attacks latel

excluding some path from tomcat

2010-08-12 Thread Angelo Chen
Hi, I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it: ProxyPass / http://localhost:8080/ ProxyPass /static ! ProxyPassReverse / http://localhost:8080/ ProxyPreserveHost on example.com/static still goes

excluding some path from tomcat

2010-08-12 Thread Angelo Chen
Hi, I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it: ProxyPass / http://localhost:8080/ ProxyPass /static ! ProxyPassReverse / http://localhost:8080/ ProxyPreserveHost on example.com/static still goes

Re: excluding some path from tomcat

2010-08-12 Thread André Warnier
Angelo Chen wrote: Hi, I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it: ProxyPass / http://localhost:8080/ ProxyPass /static ! ProxyPassReverse / http://localhost:8080/ ProxyPreserveHost on example.c

RE: 2 POST requests to underlying Server

2010-08-12 Thread Karthik Nanjangude
Hi The Window for activation " mod_jk logging" is requested and would provide the same as soon as I get them from the N/w Maintancence guy [ may take another 2 or more days] Since the application is on Production and cannot be disturbed as of traffic. With regards Karthik -Original Me

Re: JreMemoryLeakPreventionListener and hourly Full GC

2010-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 8/12/2010 7:48 AM, Konstantin Kolinko wrote: > It looks that with your version of JRE and with your setting it is > better to run with gcDaemonProtection="false". I certainly do not > know how other JRE versions behave here. (Feedback

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/12/2010 7:49 AM, André Warnier wrote: > It is not very clear by your communication below what glassfish has to > do with this, and what you are connecting to what. NB: Glassfish is a Tomcat derivative. Technically speaking, this issue pro

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread HANDE CANORUÇ
My question is about mod jk, not for the glassfish. I receive the errors from mod jk log file. Therefore , I think that my problem is about mod jk. What do you think about errors? 2010/8/12 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > André, > > On 8/12/2010 7:49 AM,

newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
Hi, I'm a newbie with tomcat trying to get a basic mod_jk configuration working. I have a mod_jk.conf file containing JkMount /Client_Access ajp13 JkMount /Client_Access/* ajp13 I'm not getting any errors in the file specified as JkLogFile, and netstat -l shows a listening socket at port 8009. I

Re: Connecting IIS7.5 (win7 64bit) with tomcat 7

2010-08-12 Thread Nicklas Holmgren
I have no idea how to enable "jakarta" web extension in IIS. I did however add a virtual directory which I called jakarta which is the folder where the isapi_redirect.dll is. thx for response! On 12 August 2010 14:51, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 < jason.t.hansel@navy.mil>

RE: Connecting IIS7.5 (win7 64bit) with tomcat 7

2010-08-12 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Under "Web Service Extensions" in IIS (I'm running 6), you need to add a new web service extension. Call it Jakarta and point it to the .dll, then check the box to Allow. -Original Message- From: Nicklas Holmgren [mailto:elri...@gmail.com] Sent: Thursday, August 12, 2010 10:53 AM To: Tom

Tomcat JAAS Authentication

2010-08-12 Thread mjmatch
I have configured Tomcat to do JAAS authentication using a custom login/error page. I am getting a nullponterexception as defined below. Log messages indicate that my JAAS authentication module is invoked and returning 'true' from the auth module ::commit function. I have defined my own User an

Re: Connecting IIS7.5 (win7 64bit) with tomcat 7

2010-08-12 Thread Nicklas Holmgren
I'm running IIS7.5 and there's nothing called Web Service Extensions On 12 August 2010 17:08, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 < jason.t.hansel@navy.mil> wrote: > Under "Web Service Extensions" in IIS (I'm running 6), you need to add a > new > web service extension. Call it Ja

Re: role of the various threads?

2010-08-12 Thread paul womack
Caldarale, Charles R wrote: From: paul womack [mailto:pwom...@papermule.co.uk] Subject: Re: role of the various threads? Further reading has shown me that I'm using Tomcat5.5, and that the theads (above) are all running accept(). I thought accept() was blocking? Depends on the particular JRE

RE: Connecting IIS7.5 (win7 64bit) with tomcat 7

2010-08-12 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Then I'd check out how to view your Web Extensions in IIS 7.5 and see if Jakarta is in there. -Original Message- From: Nicklas Holmgren [mailto:elri...@gmail.com] Sent: Thursday, August 12, 2010 11:32 AM To: Tomcat Users List Subject: Re: Connecting IIS7.5 (win7 64bit) with tomcat 7 I'm

Question about undeploying application

2010-08-12 Thread Ivan Mladenović
Hello, I’m using Tomcat 6.0.29. Tomcat manager application is enabled. Version of installed Java is 1.6 update 18. Operating systems used to test this are Windows 7 and Ubuntu 9.1. There is one Spring web application that is deployed on Tomcat. Deployed application have some threads that are run

RE: Question about undeploying application

2010-08-12 Thread Caldarale, Charles R
> From: Ivan Mladenović [mailto:pif...@gmail.com] > Subject: Question about undeploying application > > Deployed application have some threads that are running > in background. Then deployed application must stop those threads as part of its shutdown procedure. Tomcat can't do it for you. You

RE: Tomcat 6 thread limit problem on Mac OS X Server 10.5.5

2010-08-12 Thread scabbage
This just started to happened yesterday. Users of my website started to experience a long delay when opening pages. I guess a DoS attack is possible. Maybe I need to report it. my server.xml is the default setting except for changing from port 8080 to 80. n828cl wrote: > >> From: scabbage [m

RE: Connecting IIS7.5 (win7 64bit) with tomcat 7

2010-08-12 Thread George Sexton
You might want to take a look at this page: http://www.mhsoftware.com/caldemo/manual/en/pageFinder.html?page=921.htm It skips some stuff like workers.properties, but it covers a lot of the stuff very well. George Sexton MH Software, Inc. 303 438-9585 www.mhsoftware.com > -Original Message

Re: role of the various threads?

2010-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 8/12/2010 11:34 AM, paul womack wrote: > Caldarale, Charles R wrote: >>> From: paul womack [mailto:pwom...@papermule.co.uk] >>> Subject: Re: role of the various threads? >>> >>> Further reading has shown me that I'm using Tomcat5.5, >>> and t

Re: Tomcat JAAS Authentication

2010-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco, On 8/12/2010 11:31 AM, mjmatch wrote: > I have configured Tomcat to do JAAS authentication using a custom login/error > page. I am getting a nullponterexception as defined below. What exact Tomcat version are you using? - -chris -BEGIN P

Re: newbie question re mod_jk

2010-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew, On 8/12/2010 10:42 AM, Matthew Fleming wrote: > I'm a newbie with tomcat trying to get a basic mod_jk configuration working. > I have a mod_jk.conf file containing > JkMount /Client_Access ajp13 > JkMount /Client_Access/* ajp13 > > I'm not g

Re: truststoreFile vs javax.net.ssl.trustStore

2010-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Estani, On 8/12/2010 3:47 AM, Estanislao Gonzalez wrote: > If I set both trustoreFile and javax.net.ssl.trustStore which one is > being honored? The documentation is not clear to me: > "The trust store file to use to validate client certificates. The

Re: excluding some path from tomcat

2010-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Angelo, On 8/12/2010 9:59 AM, Angelo Chen wrote: > I use Apache web server 2.2 in front of tomcat, it works well with Apache's > default proxy module, however, I can't exclude some path from it: > > ProxyPass / http://localhost:8080/ > ProxyPass /st

Re: Tomcat JAAS Authentication

2010-08-12 Thread mjmatch
I am using tomcat V6.0.29. Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Marco, > > On 8/12/2010 11:31 AM, mjmatch wrote: >> I have configured Tomcat to do JAAS authentication using a custom >> login/error >> page. I am getting a nullponterexception as

Re: Tomcat 5.5.23 request.getAttribute("foo") returns unexpected NULL

2010-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/12/2010 9:25 AM, Thomas Treitlinger wrote: > Hello, > > I have a number of JSP pages which use the JSTL core library to set a > request attribute like this: > FOO-VALUE > > The JSPs then forward to a Servlet like this: > > > The Servlet late

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread André Warnier
HANDE CANORUÇ wrote: My question is about mod jk, not for the glassfish. I receive the errors from mod jk log file. Therefore , I think that my problem is about mod jk. What do you think about errors? 2010/8/12 Christopher Schultz -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/12

Re: newbie question re mod_jk

2010-08-12 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew, On 8/12/2010 10:42 AM, Matthew Fleming wrote: I'm a newbie with tomcat trying to get a basic mod_jk configuration working. I have a mod_jk.conf file containing JkMount /Client_Access ajp13 JkMount /Client_Access/

RE: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Socket 24 is not connected any more (errno=-1) > > - in his original communication, Hande said : > "I am using mod jk in order to connect tomcat and glassfish 3.1." A statement which is simply not believable, so you have every right to

Re: Tomcat JAAS Authentication NullPointerException

2010-08-12 Thread mjmatch
I resolved the issue. I had a bad equals function in my RolePrincipal object that caused the null pointer exception. mjmatch wrote: > > I have configured Tomcat to do JAAS authentication using a custom > login/error page. I am getting a nullponterexception as defined below. > Log messages in

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread Rainer Jung
On 12.08.2010 10:45, HANDE CANORUÇ wrote: I am using mod jk in order to connect tomcat and glassfish 3.1. In the mod_jk log file I am getting these errors; [info] ajp_send_request::jk_ajp_common.c (1178): Socket 24 is not connected any more (errno=-1) [info] ajp_send_request::jk_ajp_common.c

Re: excluding some path from tomcat

2010-08-12 Thread Rainer Jung
On 12.08.2010 15:59, Angelo Chen wrote: Hi, I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it: ProxyPass / http://localhost:8080/ ProxyPass /static ! ProxyPassReverse / http://localhost:8080/ ProxyPrese

Re: excluding some path from tomcat

2010-08-12 Thread Rainer Jung
On 12.08.2010 20:21, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Angelo, On 8/12/2010 9:59 AM, Angelo Chen wrote: I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it: ProxyPas

Apache Tomcat Native library question

2010-08-12 Thread Tom Jones
Hello, I'm running Tomcat 6.0.26 on Mac OS X Server 10.5.8 and I always get the "Info" message ... "INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Jav

Re: Need confirmation of issue: HTTP simple requests broken as of Apache Tomcat 5.5.28.

2010-08-12 Thread Pid
On 11/08/2010 14:38, Nick Langlois wrote: > Hi, >I need confirmation of an issue I've encountered while upgrading from > Apache Tomcat 5.5.25 to 5.5.29 running in Java 1.5.0_22 on Solaris 10u8. > Unfortunately, I'm going about this backwards as I've already created a bug > report. The tomcat s

Re: JreMemoryLeakPreventionListener and hourly Full GC

2010-08-12 Thread Donald Armstrong
Thank you Konstantin and Chris for your attention. As stated in the initial post: 'We have recently deployed tomcat-6.0.28 in our organization and are noticing every hour, a Full GC is occurring. The same application, same JVM, same JVM args, just a new tomcat release.' Using the default JreMemo

RE: Apache Tomcat Native library question

2010-08-12 Thread Caldarale, Charles R
> From: Tom Jones [mailto:tjo...@acworld.com] > Subject: Apache Tomcat Native library question > > I have found some articles on how to compile the > native library Read the doc first: http://tomcat.apache.org/tomcat-6.0-doc/apr.html And of course take a look at the APR and OpenSSL pages: http

newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
I appreciate all the suggestions and have implemented them all, but its still not working. Any other suggestions? Matthew Fleming

Re: newbie question re mod_jk

2010-08-12 Thread André Warnier
Matthew Fleming wrote: I appreciate all the suggestions and have implemented them all, but its still not working. Any other suggestions? Yes. Define what "not working" means, like : - describe your configuration, shortly - what are you doing ? - what do you expect to happen ? - what happens in

newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
Working now. Thanks again for all your advice. The original recommendations were all that was necessary (plus I had two apache Includes in the wrong order, and there was a little matter of a typo...) Thanks so much for all your help. Matthew Fleming

Tomcat Startup : Tomcat as a Service

2010-08-12 Thread Richard da Silva
I installed Tomcat 6.1 on my machine. During the installation, I was not asked to choose whether or not I want it installed as a "Service" or whatever. I want to configure Tomcat to start automatically whenever Windows starts. To do this, naturally, Tomcat needs to be installed as a Service.