Re: tomcat 6.0.35 with java 7 ssl proxy request body failed

2012-11-25 Thread Mark Thomas
Johanes Soetanto wrote: >Hi all, > >I am wondering whether there is a known issue with running Tomcat >6.0.35 with Java 7 ? None I can think of. >I see lots of "(502)Unknown error 502: proxy: pass request body >failed.." error in our Apache log after running our Tomcat with Java >7. Once I chan

Re: session sharing in Tomcat v7.0

2012-11-25 Thread Mark Thomas
JB JUNG wrote: >and how can I get these two webapps to share session? You can't with Tomcat configuration. You'd need to use some external component to share data between the applications (e.g. database, cache, etc.) Mark -

RE: session sharing in Tomcat v7.0

2012-11-25 Thread Caldarale, Charles R
> From: JB JUNG [mailto:itsjb.j...@samsung.com] > Subject: session sharing in Tomcat v7.0 > When I created 2 webapps in 1 host and I wanted to get these 2 webapps > to use 1 session. This is specifically prohibited by the servlet spec (which you should read): "7.3 Session Scope "HttpSession o

Re: tomcat 6.0.35 with java 7 ssl proxy request body failed

2012-11-25 Thread Johanes Soetanto
Hi Muz, We use RewriteRule instead of ProxyPass which works. RewriteRule /app(.*)$ https://127.0.0.1:8443/app$1 [P,L] I have even changed this to use ProxyPass but without any noticeable difference ProxyPass /app https://127.0.0.1:8443/app ProxyPassReverse /app https://127.0.0.1:8443/app Joha

session sharing in Tomcat v7.0

2012-11-25 Thread JB JUNG
Hi, When I created 2 webapps in 1 host and I wanted to get these 2 webapps to use 1 session. Accordingly, I configured my server.xml like this. Then, I made simple Servlet in each webapp. Here are doget methods for each Servlet. Servlet 1 in app1 request

Re: tomcat 6.0.35 with java 7 ssl proxy request body failed

2012-11-25 Thread Muz
On 26 November 2012 14:28, Johanes Soetanto wrote: > Unknown error 502 Hi Johanes, What are your proxypass settings? Thanks, Muz

tomcat 6.0.35 with java 7 ssl proxy request body failed

2012-11-25 Thread Johanes Soetanto
Hi all, I am wondering whether there is a known issue with running Tomcat 6.0.35 with Java 7 ? I see lots of "(502)Unknown error 502: proxy: pass request body failed.." error in our Apache log after running our Tomcat with Java 7. Once I change back Tomcat to use Java 6, I see no error at all. T

Re: Configuring access to an external directory

2012-11-25 Thread André Warnier
Baron Von Awsm wrote: Andre Thanks very much for your reply. Given your reply, would this be an accurate answer to my original question? When Tomcat is run with the -security option, the Java Security Manager is in effect. From there, configuring the directory access you are after is a matter

Re: Configuring access to an external directory

2012-11-25 Thread Baron Von Awsm
Andre Thanks very much for your reply. Given your reply, would this be an accurate answer to my original question? >>> When Tomcat is run with the -security option, the Java Security Manager is in effect. From there, configuring the directory access you are after is a matter of configuring the J

Re: Upgrading Tomcat 7.0.29 windows service

2012-11-25 Thread Mark Thomas
"Łukasz Matuszewski" wrote: >Welcome, > i have installed Apache Tomcat 7.0.29 as windows service onto Windows >Server 2008. I want to upgrade Apache Tomcat 7.0.29 to new version >7.0.33. >My question is simple: > >Can i just copy all jars from Apache Tomcat 7.0.33 to appriopriate >place in >my A

Upgrading Tomcat 7.0.29 windows service

2012-11-25 Thread Łukasz Matuszewski
Welcome, i have installed Apache Tomcat 7.0.29 as windows service onto Windows Server 2008. I want to upgrade Apache Tomcat 7.0.29 to new version 7.0.33. My question is simple: Can i just copy all jars from Apache Tomcat 7.0.33 to appriopriate place in my Apache Tomcat 7.0.29 installation ?

Re: Configuring access to an external directory

2012-11-25 Thread André Warnier
My 2 cent below Baron Von Awsm wrote: Our web app may be deployed to a Tomcat version 6 or higher, hence Java version 5 or higher. It may be deployed to a Tomcat running on a Windows-derivative OS or Unix-derivative OS. We have a requirement that can be stated as follows, * The web app needs t

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-25 Thread Michael-O
Am 2012-11-24 23:08, schrieb Terence M. Bandoian: On 11/23/2012 3:09 PM, Michael-O wrote: Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like 404 or 400. SendError seems to be the right thing to do but Tomcat alters