Re: Compressed SVG support (*.svgz) in Tomcat

2014-01-02 Thread David Law
Chris, thanks for that. :-) I'm starting a new project today, so I'll have to wait til weekend to try out the Rule. Marks Filter was nearly right: just needed to move the chain.doFilter(request, response); // (invokes DefaultServlet.serveResource(...)) AFTER ((HttpServletResponse)

System.out.println statements not captured in catalina.out

2014-01-02 Thread Tapajyoti Roybarman
Hi, I need to record all debug statements (System.out.println(xyz)) from my application in catalina.out log. When I start Tomcat it creates the log file and only records statements till the server startup. But after that, none of the System.out.println() statements present in my JSPs get

Re: Java to JavaScript RMI framework available.

2014-01-02 Thread Johan Compagner
does it also do the other way around? So also having the endpoint on the server that has methods that can be called from javascript in a very easy way? On 31 December 2013 01:55, Igor Urisman igor.uris...@gmail.com wrote: Folks, I needed to write this for something I am working on and

All worker threads of my tomcat have been occupied!

2014-01-02 Thread Benimaur Gao
hi, all I found my tomcat refusing to work this morning. I tried jstack to get some info, and then I found a lot of thread call stack like: http-8082-154 daemon prio=10 tid=0x7f711c21f800 nid=0x5b0a waiting on condition [0x7f70dc887000] java.lang.Thread.State: TIMED_WAITING

Re: JSVC error

2014-01-02 Thread Brett Delle Grazie
Hi, On 2 January 2014 07:02, vicky vicky007aggar...@yahoo.co.in wrote: I've build the JSVC on same machine over which I m running my tomcat instance I have compiled the JSVC in the following manner but still i'm getting the Segmentation fault exception while executing the startup script,

Re: Single error page for multiple web applications

2014-01-02 Thread Maarten van Hulsentop
Thank you all for your input! I do realize that our use case is somewhat odd, as we have multiple webapps that have shared resources and are related in that sense. For now, we should go for the duplication of resources (using Tomcat 7). However, the webAppMount option looks like a fair option to

Re: max_packet_size for data in mod_jk

2014-01-02 Thread Rainer Jung
On 31.12.2013 18:44, frenchc44 wrote: Due to large payloads, we wanted to increase the max_packet size of the mod_jk/ajp layer in order to see if it will help with performance. However, it appears the max_packet_size for non- header requests is capped at 8192 bytes despite the documentation

Re: max_packet_size for data in mod_jk

2014-01-02 Thread frenchc44
Thanks Rainer. To be honest, we don't really know what to expect from a larger packet size, but we think it could only help since it would reduce round trips between apache/tomcat. My main objective with this thread is to confirm my suspicion that the max_packet_size is not for request post data

Re: JSVC error

2014-01-02 Thread Mark Eggers
On 1/1/2014 11:02 PM, vicky wrote: I've build the JSVC on same machine over which I m running my tomcat instance I have compiled the JSVC in the following manner but still i'm getting the Segmentation fault exception while executing the startup script, please suggest how to fix this:-

Re: System.out.println statements not captured in catalina.out

2014-01-02 Thread Mark Eggers
On 1/2/2014 12:42 AM, Tapajyoti Roybarman wrote: Hi, I need to record all debug statements (System.out.println(xyz)) from my application in catalina.out log. When I start Tomcat it creates the log file and only records statements till the server startup. But after that, none of the

Re: JSVC error

2014-01-02 Thread vicky
I'm compiling running JSVC on Linux machine ==Red Hat Enterprise Linux Server release 6.3 (Santiago) I tried the below steps but still i'm getting the segmetation error. 1. export CFLAGS=-m64 2.  ./configure 3.   make Can somebody pls  share the source link for JSVC ,from where I can try

Re: JSVC error

2014-01-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 12/31/13, 10:04 AM, André Warnier wrote: vicky wrote: Even after defining the $CATALINA_PID $JAVA_HOME variable , i'm still the getting segmentation error(detailed error mentioned below) In my experience, a segmentation fault

Re: JSVC error

2014-01-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/2/14, 11:34 AM, Mark Eggers wrote: On 1/1/2014 11:02 PM, vicky wrote: I've build the JSVC on same machine over which I m running my tomcat instance I have compiled the JSVC in the following manner but still i'm getting the

Re: System.out.println statements not captured in catalina.out

2014-01-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tapajyoti, On 1/2/14, 3:42 AM, Tapajyoti Roybarman wrote: I need to record all debug statements (System.out.println(xyz)) from my application in catalina.out log. When I start Tomcat it creates the log file and only records statements till the

Re: All worker threads of my tomcat have been occupied!

2014-01-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Benimaur, On 1/2/14, 5:20 AM, Benimaur Gao wrote: I found my tomcat refusing to work this morning. I tried jstack to get some info, and then I found a lot of thread call stack like: http-8082-154 daemon prio=10 tid=0x7f711c21f800

RE: All worker threads of my tomcat have been occupied!

2014-01-02 Thread Caldarale, Charles R
From: Benimaur Gao [mailto:benim...@gmail.com] Subject: All worker threads of my tomcat have been occupied! I tried jstack to get some info, and then I found a lot of thread call stack like: http-8082-154 daemon prio=10 tid=0x7f711c21f800 nid=0x5b0a waiting on condition

TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
I need TLSv1.2 support for tomcat, can any one help me by providing TLS v1.2 patch, also where should i actually apply the patch, in JDK / Tomcat / Tomcat Native ?? Also what will be the preferable connector settings ? I am using following connector in Apache Tomcat/7.0.42 Connector port=8443

Re: JSVC error

2014-01-02 Thread Ognjen Blagojevic
Vicky, On 31.12.2013 11:16, vicky wrote: ./startdaemon.sh: line 13: 7429 Segmentation fault (core dumped) ./bin/jsvc -cp $CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/tomcat-juli.jar -outfile $CATALINA_BASE/logs/catalina.out -errfile $CATALINA_BASE/logs/catalina.err

RE: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Caldarale, Charles R
From: Mudassir Aftab [mailto:withmudas...@gmail.com] Subject: TLS is not working in 6.0.37, 7.0.42, 7.0.47 I need TLSv1.2 support for tomcat That's available by default with current OpenSSL versions. Also what will be the preferable connector settings ? Whatever you need them to be. The

Re: JSVC error

2014-01-02 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 12/31/13, 10:04 AM, André Warnier wrote: vicky wrote: Even after defining the $CATALINA_PID $JAVA_HOME variable , i'm still the getting segmentation error(detailed error mentioned below) In my experience,

Re: Java to JavaScript RMI framework available.

2014-01-02 Thread Igor Urisman
Johan, On Thu, Jan 2, 2014 at 1:25 AM, Johan Compagner jcompag...@servoy.comwrote: does it also do the other way around? So also having the endpoint on the server that has methods that can be called from javascript in a very easy way? It doesn't. There is already a mechanism that sits

RE: Java to JavaScript RMI framework available.

2014-01-02 Thread Martin Gainty
Johann- If your design supports Comet, Polling or Piggyback you *may* to take a look at Joe Walker's DWR..(Direct Web Remoting) http://directwebremoting.org/dwr/index.html *Mit freundlichen grüßen* Martin -- Date: Thu, 2 Jan 2014 15:54:01 -0800 Subject: Re: Java to JavaScript RMI

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
Hi , Thanks for reply, I am using following environment Description:Ubuntu 12.04.3 LTS javac 1.7.0_45 apache-tomcat-7.0.42.tar.gz apr-1.5.0.tar.gz tomcat-native-1.1.29-src.tar.gz openssl 1.0.1-4ubuntu5.10 and this how i am configuring Tomcat Native ./configure

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
I have also tried to apply following patch in tomcat native but it did not helped. https://issues.apache.org/bugzilla/attachment.cgi?id=30150 tomcat-native-1.1.29-src.tar.gz On Fri, Jan 3, 2014 at 5:21 AM, Mudassir Aftab withmudas...@gmail.comwrote: Hi , Thanks for reply, I am using

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mudassir, On 1/2/14, 7:21 PM, Mudassir Aftab wrote: Connector port=8443 protocol=HTTP/1.1 maxThreads=200 sslProtocol=TLSv1 sslEnabledProtocols=TLSv1.2 Setting sslProtocol and sslEnabledProtocols will not affect an OpenSSL-based connector

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
I have just configured latest version , following is the log Jan 03, 2014 12:33:58 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.5.0. Jan 03, 2014 12:33:58 AM org.apache.catalina.core.AprLifecycleListener init

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
Thanks for keep replying, is there any way to restrict the cipher suite in the connector configuration?

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
How can i test this ? can i test this with Firefox 25 ? Regards, Mudassir Aftab On Fri, Jan 3, 2014 at 5:41 AM, Mudassir Aftab withmudas...@gmail.comwrote: Thanks for keep replying, is there any way to restrict the cipher suite in the connector configuration?

RE: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Caldarale, Charles R
From: Mudassir Aftab [mailto:withmudas...@gmail.com] Subject: Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47 Don't top post - it makes it really hard to follow the conversation. is there any way to restrict the cipher suite in the connector configuration? You were already told how:

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
Also how can i restrict cipher in the connector ?? Testing localhost:8443 ** TLSv1:EXP-ADH-RC4-MD5 - ENABLED - WEAK 40 bits ** ** TLSv1:ADH-AES128-SHA - ENABLED - WEAK 128 bits ** ** TLSv1:EXP-ADH-DES-CBC-SHA - ENABLED - WEAK 40 bits ** ** TLSv1:ADH-AES256-SHA - ENABLED - WEAK 256 bits ** **

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
How can i specify AES256-SHA256 cipher in tomcat connector? or where should i specify this ? Regards, Mudassir Aftab

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Mudassir Aftab
Should i use following APR connector attribute ? Connector port=8443 protocol=org.apache.coyote.http11.Http11AprProtocol maxThreads=200 sslProtocol=TLSv1 sslEnabledProtocols=TLSv1.2 clientAuth=false ciphers=AES256-SHA256 scheme=https

Re: All worker threads of my tomcat have been occupied!

2014-01-02 Thread Benimaur Gao
@ Chuck that's very strange. I failed to find any thread stack relevant to tomcat reloading. @ Chris No, I do not use the manager app. All settings in my server.xml are just using the default value, except one modification to Context block to set the real deployment path. My question is: what's

RE: All worker threads of my tomcat have been occupied!

2014-01-02 Thread Caldarale, Charles R
From: Benimaur Gao [mailto:benim...@gmail.com] Subject: Re: All worker threads of my tomcat have been occupied! Don't top post - it makes the conversation very difficult to follow. that's very strange. I failed to find any thread stack relevant to tomcat reloading. Perhaps you could post

RE: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-02 Thread Caldarale, Charles R
From: Mudassir Aftab [mailto:withmudas...@gmail.com] Subject: Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47 Should i use following APR connector attribute ? Connector port=8443 protocol=org.apache.coyote.http11.Http11AprProtocol maxThreads=200

Re: All worker threads of my tomcat have been occupied!

2014-01-02 Thread Benimaur Gao
gotcha! I moved tomcat home directory to another partition by using 'cp -r' at that time. That's why tomcat start to reload. Thank you! the whole stack trace is post here http://pastebin.com/KB9cWMFw On Fri, Jan 3, 2014 at 1:32 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: