Re: Integrating blog into a JSP website

2013-03-05 Thread Brian Burch
On 05/03/13 07:16, André Warnier wrote: Sunil Shevante wrote: Hi, Is it possible to integrate a blog into my JSP website? Currently I have manually created the directory structure within my war file. My Site : www.investorschoolindia.com Also as a subquestion, how can we deploy latest

Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Ognjen Blagojevic
Brijesh, On 5.3.2013 7:09, Brijesh Deo wrote: Is there a way to make TLS 1.1 required for https connection with Tomcat server. I am currently on Tomcat 6.0.32 with JRE 1.7 on Windows 7. I tried setting [sslProtocol=TLSv1.1] in the Connector definition in server.xml but that did not stop TLS

Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Ognjen Blagojevic
Igor, On 5.3.2013 8:51, Igor Cicimov wrote: You need java7 for tls1.1 and 1.2 as far as i know. Java 6 supports up to TLSv1.1, and Java 7 up to TLSv1.2. -Ognjen - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

RE: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Brijesh Deo
-Original Message- From: Ognjen Blagojevic [mailto:ognjen.d.blagoje...@gmail.com] Sent: 05 March 2013 13:59 To: users@tomcat.apache.org Subject: Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ? Brijesh, On 5.3.2013 7:09, Brijesh Deo wrote: Is there a way

Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Ognjen Blagojevic
Brijesh, On 5.3.2013 10:11, Brijesh Deo wrote: Thanks for your detailed reply and the explanation. I gave it a quick try but it doesn’t quite work with Tomcat 6.0.32, the version that I am currently using. I checked the Http Connector documentation for Tomcat 6.0 and Tomcat 7.0 and the

RE: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Brijesh Deo
-Original Message- From: Ognjen Blagojevic [mailto:ognjen.d.blagoje...@gmail.com] Sent: 05 March 2013 16:01 To: users@tomcat.apache.org Subject: Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ? Brijesh, On 5.3.2013 10:11, Brijesh Deo wrote: Thanks for your

RE: Integrating blog into a JSP website

2013-03-05 Thread Harris, Jeffrey E.
In very general terms, yes to all questions above. But maybe you want to search Google for examples about building websites with Java servlet containers, or Tomcat in particular. We cannot really help with that kind of questions here. This is a list for people asking technical

Tomcat 7.0.34 not respecting PropertyEditorManager (may be offtopic)?

2013-03-05 Thread Edson Richter
At ServletContextListener I've created, I do register a PropertyEditorManager that is able to convert string into java.util.Date. The registration code is: @Override public void contextInitialized(ServletContextEvent sce) { System.err.println(Property editors: inicializando);

Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Ognjen Blagojevic
Brijesh, On 5.3.2013 11:47, Brijesh Deo wrote: Thanks Ognjen. I tried with -Dhttps.protocols=TLSv1.1 in Tomcat startup but even this doesn’t work with Tomcat 6.0. Looks like upgrading to Tomcat 7.0 seems to be the only way to achieve this easily through configuration in server.xml. That was

Re: Tomcat 7.0.34 not respecting PropertyEditorManager (may be offtopic)?

2013-03-05 Thread Edson Richter
Seems that Java 6 used AppContext, and Java 7 uses ThreadGroupContext... Anyone has experienced this: http://stackoverflow.com/questions/13424690/java7-propertyeditors-registered-via-threadgroupcontext ? Thanks, Edson Em 05/03/2013 11:27, Edson Richter escreveu: At ServletContextListener

Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Brijesh Deo
Thanks a lot Ognjen for looking into this so extensively. I think I had tried this combination - sslProtocol=SSL and protocols=TLSv1.1. I will try again with both being TLSv1.1 and then I think it would work. Thanks again, Brijesh Sent from Samsung Mobile Original message

Re: Limit log files rotation

2013-03-05 Thread Daniel Mikusa
On Mar 5, 2013, at 8:54 AM, Felipe Jaekel wrote: Hi, I'd like to limit log rotation to a specific number of days to avoid that the logs folder keep growing indeterminately. Which log files are you referring to? Including the names would help. Tried to google about, people say to study

Re: Creating user wise profile while profiling tomcat

2013-03-05 Thread Leon Rosenberg
Hello, this is something that isn't really possible in tomcat and I highly doubt that you will be able to profile any site in production at all with users on it. However, MoSKito (http://moskito.anotheria.net) is able to do it with MoSKito journeys (

RE: Tomcat Built-in WinAuth - NEW THREAD

2013-03-05 Thread Chris Fors
I have added in a security-constraint to the sample application web.xml (shown below) and modified the hello.jsp to show a request.getRemoteUser(). This has shown to successfully invoke an authentication process.Now when browsing to the http: //server/sample I receive a Windows prompt

suddenly created many connections

2013-03-05 Thread Dhaval Jaiswal
I have seen suddenly so many established connections like below on my system. There is http tomcat both are running on the same machine. Previously it was not there. only last 3 days i am observing it. moreover since then i have installed nagios on the same server to measure the activity of the

suddenly created many connections

2013-03-05 Thread Dhaval Jaiswal
I have seen suddenly so many established connections like below on my system. There is http tomcat both are running on the same machine. Previously it was not there. only last 3 days i am observing it. moreover since then i have installed nagios on the same server to measure the activity of the

Re: suddenly created many connections

2013-03-05 Thread Howard W. Smith, Jr.
Dhaval, I have seen suddenly so many established connections like below on my system. There is http tomcat both are running on the same machine. it might be best for you to inform the list with more details on any/all responsibilities/jobs/processes of this system of yours. http tomcat =

Re: Limit log files rotation

2013-03-05 Thread Felipe Jaekel
Thanks for the link. Searching a bit more I found this: http://www.queuemetrics.com/manuals/QM_AdvancedConfig-chunked/ar01s17.html Simple to setup, but anyway it would be nice if Tomcat could do this out of the box, since the server can crash if it runs out of disk space. 2013/3/5 Daniel

Re: suddenly created many connections

2013-03-05 Thread Dhaval Jaiswal
Yes, i have observed this behavior after installing nagios. As of now on the same server httpd apache web server tomcat is running. On Tue, Mar 5, 2013 at 11:09 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Dhaval, I have seen suddenly so many established connections like below

Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty
Hi, When using any build of Tomcat *post* 7.0.28, I cannot access my app ! The app comes up as it does in 7.0.28 (which works) and logs look the same (no errors). I just can't do an http call to the server. A packet trace shown the tcp connect (3 way handshake) and then no response to Get /

Re: Limit log files rotation

2013-03-05 Thread Daniel Mikusa
On Mar 5, 2013, at 12:40 PM, Felipe Jaekel wrote: Thanks for the link. Searching a bit more I found this: http://www.queuemetrics.com/manuals/QM_AdvancedConfig-chunked/ar01s17.html Watch out when using logrotate with the copytruncate option, in some circumstances this can result in data

Re: suddenly created many connections

2013-03-05 Thread Daniel Mikusa
On Mar 5, 2013, at 11:44 AM, Dhaval Jaiswal wrote: I have seen suddenly so many established connections like below on my system. There is http tomcat both are running on the same machine. Previously it was not there. only last 3 days i am observing it. moreover since then i have

Re: Tomcat Built-in WinAuth - NEW THREAD

2013-03-05 Thread Mark Thomas
On 05/03/2013 16:31, Chris Fors wrote: I wish to allow any authenticated domain user There is pure web.xml (until Tomcat 8 and Servlet 3.1) way of doing this. (Aside. Once this has been implemented, we should look at back-porting the new ** feature to earlier versions). role-name*/role-name

Re:[OT] tomcat7-maven-plugin: Build on executable war file

2013-03-05 Thread André Warnier
Timothy Astle wrote: ... Additionally, we have a Selenium grid set up. When our Jenkins build system makes a build, cargo to grabs the war and failsafe runs our selenium integration tests. All tests must pass before any artifact is deployed to Nexus. So in a sense, it feels like cheating to

Re: Tomcat Built-in WinAuth - NEW THREAD

2013-03-05 Thread André Warnier
Hi. Your message appears quite garbled in my email client. Some notes in the text below, which I have reformated somewhat. Chris Fors wrote: I have added in a security-constraint to the sample application web.xml (shown below) and modified the hello.jsp to show a request.getRemoteUser().

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
On Tue, Mar 5, 2013 at 1:04 PM, Patrick Flaherty pflah...@rampageinc.comwrote: Hi, When using any build of Tomcat *post* 7.0.28, I cannot access my app ! The app comes up as it does in 7.0.28 (which works) and logs look the same (no errors). I just can't do an http call to the server. A

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Konstantin Kolinko
2013/3/5 Patrick Flaherty pflah...@rampageinc.com: Hi, When using any build of Tomcat *post* 7.0.28, I cannot access my app ! The app comes up as it does in 7.0.28 (which works) and logs look the same (no errors). I just can't do an http call to the server. A packet trace shown the tcp

Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Konstantin Kolinko
2013/3/5 Brijesh Deo b...@sonicwall.com: Hi, Is there a way to make TLS 1.1 required for https connection with Tomcat server. I am currently on Tomcat 6.0.32 with JRE 1.7 on Windows 7. I tried setting [sslProtocol=TLSv1.1] in the Connector definition in server.xml but that did not stop TLS

Re: Tomcat 7.0.34 not respecting PropertyEditorManager (may be offtopic)?

2013-03-05 Thread Konstantin Kolinko
2013/3/5 Edson Richter edsonrich...@hotmail.com: At ServletContextListener I've created, I do register a PropertyEditorManager that is able to convert string into java.util.Date. The registration code is: @Override public void contextInitialized(ServletContextEvent sce) {

Re: Integrating blog into a JSP website

2013-03-05 Thread Brian Burch
On 05/03/13 08:03, Brian Burch wrote: On 05/03/13 07:16, André Warnier wrote: Sunil Shevante wrote: Hi, Is it possible to integrate a blog into my JSP website? Currently I have manually created the directory structure within my war file. My Site : www.investorschoolindia.com Also as a

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty
On Mar 5, 2013, at 4:44 PM, Howard W. Smith, Jr. wrote: On Tue, Mar 5, 2013 at 1:04 PM, Patrick Flaherty pflah...@rampageinc.com wrote: Hi, When using any build of Tomcat *post* 7.0.28, I cannot access my app ! The app comes up as it does in 7.0.28 (which works) and logs look the same

RE: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Caldarale, Charles R
From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: Cannot access my app after Tomcat 7.0.28 Now I just noticed that on this 4 core server, tomcat7.exe *32 is using 25% CPU. Take several thread dumps and see what's looping.

RE: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Cannot access my app after Tomcat 7.0.28 Now I just noticed that on this 4 core server, tomcat7.exe *32 is using 25% CPU. Take several thread dumps and see what's looping.

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Konstantin Kolinko
2013/3/5 Patrick Flaherty pflah...@rampageinc.com: (...) The index.jsp in ROOT is a jsp containing a redirect to my app. % response.sendRedirect(/myapp/index.do); % Confirming that a redirect such as above one works in current 7.0.x. I replaced default ROOT/index.jsp with this

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
On Tue, Mar 5, 2013 at 6:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R Subject: RE: Cannot access my app after Tomcat 7.0.28 Now I just noticed that on this 4 core server, tomcat7.exe *32 is using 25% CPU. Take several thread dumps and see

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty
Hi Chuck, I ran tomcat7w.exe //MS//Tomcat7 and the service started and I have a monitor in the tray, I waited till my app was up and CPU was again at 25%. When I right-click and select 'Thread Dump', I'm not getting any thread dump in stdout.log. What I did notice is in the

tomcat 7.0.37 and openjdk 1.7.0.9 on fedora juli FileHandler problems

2013-03-05 Thread Ted
Hi I'm running fedora 16, openjdk 1.7.0.9 and tomcat 7.0.37 (from a tar.gz). I'm getting a juli FileHandler problem and the existing posts / google search results do not appear to be the same as mine. I'm running tomcat freshly un-tarred from the tar.gz with catalina.sh run (not my webap or

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty
On Mar 5, 2013, at 6:59 PM, Konstantin Kolinko wrote: 2013/3/5 Patrick Flaherty pflah...@rampageinc.com: (...) The index.jsp in ROOT is a jsp containing a redirect to my app. % response.sendRedirect(/myapp/index.do); % Confirming that a redirect such as above one works in current

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
Is your Tomcat on C: drive? Sometimes file permissions there are off. http://wiki.apache.org/tomcat/**FAQ/Windowshttp://wiki.apache.org/tomcat/FAQ/Windows I don't think so, I switch 7.0.27 back in and it works. 1. What is the file path of 7.0.27 (where is it installed?

Re: tomcat 7.0.37 and openjdk 1.7.0.9 on fedora juli FileHandler problems

2013-03-05 Thread Konstantin Kolinko
2013/3/6 Ted r6squee...@gmail.com: Hi I'm running fedora 16, openjdk 1.7.0.9 and tomcat 7.0.37 (from a tar.gz). I'm getting a juli FileHandler problem and the existing posts / google search results do not appear to be the same as mine. I'm running tomcat freshly un-tarred from the tar.gz with

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty
On Mar 5, 2013, at 8:28 PM, Howard W. Smith, Jr. wrote: Is your Tomcat on C: drive? Sometimes file permissions there are off. http://wiki.apache.org/tomcat/**FAQ/Windowshttp://wiki.apache.org/tomcat/FAQ/Windows I don't think so, I switch 7.0.27 back in and it works. 1. What is the file

Re: problem with context.xml for parallel deployments

2013-03-05 Thread Zippy Zeppoli
Thank you! On Fri, Mar 1, 2013 at 4:38 AM, Mark Thomas ma...@apache.org wrote: Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zippy, On 2/28/13 7:29 PM, Zippy Zeppoli wrote:

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
Move in the other folder and install the service (Service install Tomcat7) After you run 'service.bat install Tomcat7' for 7.0.27 and 7.0.28, please reply with the following that you see in tomcat7w.exe 'Java' tab. For example, my 'Java' tab has the following: Java Classpath:

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
On Tue, Mar 5, 2013 at 9:09 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Move in the other folder and install the service (Service install Tomcat7) After you run 'service.bat install Tomcat7' for 7.0.27 and 7.0.28, please reply with the following that you see in tomcat7w.exe

Re: tomcat 7.0.37 and openjdk 1.7.0.9 on fedora juli FileHandler problems

2013-03-05 Thread Mark Eggers
On 3/5/2013 5:32 PM, Konstantin Kolinko wrote: 2013/3/6 Ted r6squee...@gmail.com: Hi I'm running fedora 16, openjdk 1.7.0.9 and tomcat 7.0.37 (from a tar.gz). I'm getting a juli FileHandler problem and the existing posts / google search results do not appear to be the same as mine. I'm running

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
1. What is the file path of 7.0.27 (where is it installed? C:\apache-tomcat-7.0.27 or somewhere else?) c:\rsi_tc\tomcat 2. what is the file path of 7.0.28+ ? (where is it installed)? c:\rsi_tc\tomcat (same) 3. when you 'switch 7.0.27 back in', what does that mean? Does it mean that

RE: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Brijesh Deo
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: 06 March 2013 03:58 To: Tomcat Users List Subject: Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ? 2013/3/5 Brijesh Deo b...@sonicwall.com: Hi, Is there a way to make TLS

Re: suddenly created many connections

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dhaval, On 3/5/13 10:41 AM, Dhaval Jaiswal wrote: I have seen suddenly so many established connections like below on my system. There is http tomcat both are running on the same machine. Previously it was not there. only last 3 days i am

Re: Limit log files rotation

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felipe, On 3/5/13 11:40 AM, Felipe Jaekel wrote: Searching a bit more I found this: http://www.queuemetrics.com/manuals/QM_AdvancedConfig-chunked/ar01s17.html Simple to setup, but anyway it would be nice if Tomcat could do this out of the

Re: [OT] Integrating blog into a JSP website

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sunil, Marking as off-topic because this has nothing to do with Tomcat directly. On the other hand, it's about web applications and deployment, so... (see below). On 3/5/13 1:05 AM, Sunil Shevante wrote: Hi, Is it possible to integrate a

Re: overcoming a message-size limitation in tribes parallel messaging with NioSender

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 3/5/13 8:15 PM, Vince Stewart wrote: My database replication system works fine till a user saves an image bigger than about half megabyte at which time the process fails. [snip] However the time-out detection does not care if a

Re: [OT] Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 3/5/13 6:15 PM, Howard W. Smith, Jr. wrote: anyway/also, i am able to monitor tomee/tomcat (and do thread dumps against tomcat/tomee running as windows service) via JMX and Java Visual VM (jvisualvm, bundled with Java 7 SDK), since I

Re: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ognjen, On 3/5/13 8:29 AM, Ognjen Blagojevic wrote: Brijesh, On 5.3.2013 11:47, Brijesh Deo wrote: Thanks Ognjen. I tried with -Dhttps.protocols=TLSv1.1 in Tomcat startup but even this doesn’t work with Tomcat 6.0. Looks like upgrading to

Re: Issue in IPv6 evironment

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Geett, On 3/5/13 10:45 PM, Geett Chanddra Singha wrote: Hi All, I am using Apache Tomcat version 6.0.035 for a web application, everything seems to be working fine when I access the application in HTTPS mode,however if I try to access in HTTP

Re: [OT] Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
Chris, On Wed, Mar 6, 2013 at 12:56 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 3/5/13 6:15 PM, Howard W. Smith, Jr. wrote: anyway/also, i am able to monitor tomee/tomcat (and do thread dumps against

Re: Issue in IPv6 evironment

2013-03-05 Thread Geett Chanddra Singha
Chris, Thanks for letting me know, What I wanted to know is that is it ok to add this as shown below protocol=org.apache.coyote.http11.Http11Protocol in Connector port=8080 maxHttpHeaderSize=8192 * maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false acceptCount=100

RE: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Brijesh Deo
Thanks a lot Ognjen for looking into this so extensively. I think I had tried this combination - sslProtocol=SSL and protocols=TLSv1.1. I will try again with both being TLSv1.1 and then I think it would work. Thanks again, Brijesh Sent from Samsung Mobile Original message

Error configuring tomcat with ssl certificates

2013-03-05 Thread Siddhi Borkar
Hi, I need help configuring tomcat 6 will ssl certificates. I have been provided with the following cacert.pem prvkey.key and sslcert.crt I tried the following steps: 1) Generated a keystore using java keytool and the certificate file using the following command. keytool -import

RE: Error configuring tomcat with ssl certificates

2013-03-05 Thread Brijesh Deo
-Original Message- From: Siddhi Borkar [mailto:siddhi_bor...@persistent.co.in] Sent: 06 March 2013 12:15 To: users@tomcat.apache.org Subject: Error configuring tomcat with ssl certificates Hi, I need help configuring tomcat 6 will ssl certificates. I have been provided with the

Re: tomcat 7.0.37 and openjdk 1.7.0.9 on fedora juli FileHandler problems

2013-03-05 Thread Ted
thanks for the responses, it gave me a different thing to search for and found the answer openjdk1.7.0.9 is broken. I didn't find the original bug report but I found others talking about it. https://community.jboss.org/message/796354?_sscc=t Indeed when I downgrade to openjdk1.7.0.3 it