JavaBridge Payment Gateway Issue on Tomcat

2009-03-06 Thread Gaurav Pruthi
Dear All, I am facing a strange issue in tomcat from last 2 months. I have 2 websites which are running on PHP. They took tomcat hosting for Payment Gateway Configuration as we only provide JRE in tomcat environment.. I am using JavaBridge for this purpose. Once it is configured and PG is working

RE: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Martin Gainty
_ Windows Live™ Groups: Create an online spot for your favorite groups to meet. http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009 - To unsubscribe

Re: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Bill Barker
"Santosh Gangadhar" wrote in message news:6a0454270903060913x1e8a7914qbf9de52744236...@mail.gmail.com... > On Fri, Mar 6, 2009 at 8:50 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >> > From: Santosh Gangadhar [mailto:sant...@wirkle.com] >> > Subject: Re: Problem using chunke

Re: mod_jk and 304

2009-03-06 Thread Eqbal
Some additional info I found on this: It seems that combination of mod_deflate and mod_jk is causing the issue. I have mod_deflate enabled on apache for css, js files etc. I tried getting a css file directly from apache httpd and it didn't have any problems, but if the css and js files are in t

mod_jk and 304

2009-03-06 Thread Eqbal
I have tomcat running behind apache http server 2.0 using mod_jk. I have noticed that this causes any response to request for files in tomcat that return a 304 status code, to also have a 20 byte message body attached to the response. This causes our load balancer to think this is an error as a

RE: Tomcat URL masking question...

2009-03-06 Thread Caldarale, Charles R
> From: Rodro [mailto:rodrigo_alle...@ibi.com] > Subject: Tomcat URL masking question... > > I execute (call) an app with the following URL: > http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=carinst > (see the attached image) > > Now, I need to mask the URL to get the same result calling the app a

RE: Run multiple web applications in Tomcat each as an independent windows service question

2009-03-06 Thread Caldarale, Charles R
> From: Joe Wallace [mailto:j...@andar360.com] > Subject: RE: Run multiple web applications in Tomcat each as > an independent windows service question > > Since I don't want them sharing static variables > in the jvm I need to keep them completely separate. You're laboring under a misconception:

Re: Tomcat Memory Leaks

2009-03-06 Thread Black Friday
Thanks for all your response. I did see today there were about 6 zip files each of 50-60MB in the WEBAPP folder. These were some back-up files. I did archive these files to other folder and restarted the TOMCAT. Now when TOMCAT was restarted, the memory was reduced and CPU consumption was stabiliz

Re: how to integrate tomcat with open EJB for online money transactions

2009-03-06 Thread David Blevins
I have to agree with the financial transaction advice. Should you need it for other things, the steps for integrating Tomcat and OpenEJB are pretty simple: 1. Download and unpack Tomcat (any 5.5.x or 6.0.x) 2. Download the latest openejb.war file and place it into the webapps/ directory

Re: Tomcat and Apache with mod_jk

2009-03-06 Thread Ian Long
The 64.225.156.250 is the IP address that apache httpd and tomcat are running on. To me it looks as if there is a 'default' host that those 'GET /' requests are being handled by. I assume that VHost is the virtual host within tomcat that actually handled the request, based on the definitio

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Rainer Jung
On 06.03.2009 21:42, Mohit Anchlia wrote: In addition to questions that I have in below email, I have couple of question. 1. activation property disable - Does it first turn off new requests to that worker and then disable the worker after finishing old requests. So is this the best way to see 0

Re: Tomcat and Apache with mod_jk

2009-03-06 Thread Rainer Jung
On 06.03.2009 21:02, Ian Long wrote: I have fixed the problem by stopping the https ping so that these stuck processes don't happen, but am digging into the problem a bit further. I think you are right that it's apache waiting for tomcat to send data back for the request, because if I look at th

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Rainer Jung
On 06.03.2009 19:41, Mohit Anchlia wrote: Thanks ..I got following URL from the browser, which is different then what you suggested. Does this look ok? http://10.10.80.55/JkStatus?cmd=update&from=list&w=tc&sw=appfe1&wa=0&wf=1&wn=appfe1&wr=&wc=&wd=0 If it comes from the Browser, it is OK. I gu

Re: nio connector configuration

2009-03-06 Thread Filip Hanik - Dev Lists
otismo wrote: Thanks for checking it out, Filip. I'm running this on what will be 6.0.19, meaning 6.0.x/trunk Yes, running from the trunk yields very different #s. Looking into it more, 6.0.18 didn't honor the pollerThreadCount setting. results (all tests were run for around 3000 sa

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
In addition to questions that I have in below email, I have couple of question. 1. activation property disable - Does it first turn off new requests to that worker and then disable the worker after finishing old requests. So is this the best way to see 0 customer impact? 2. activation propery stop

RE: Run multiple web applications in Tomcat each as an independent windows service question

2009-03-06 Thread Joe Wallace
I essentially will be running the same web app installed multiple times. Each web app will connect to its own unique database. Since I don't want them sharing static variables in the jvm I need to keep them completely separate. This is a well developed application being ported from Jrun where

Re: Tomcat and Apache with mod_jk

2009-03-06 Thread Ian Long
I have fixed the problem by stopping the https ping so that these stuck processes don't happen, but am digging into the problem a bit further. I think you are right that it's apache waiting for tomcat to send data back for the request, because if I look at the tomcat manager application,

Re: how to integrate tomcat with open EJB for online money transactions

2009-03-06 Thread Rusty Wright
Go back and read my note to your previous post where I refer to CyberSource's Hosted Order Page (HOP) and credit card industry's PCI security requirements. For bed time reading, download the PDF of the PCI security requirements (the condensed version will suffice); they're breathtaking. l...@w

Tomcat URL masking question...

2009-03-06 Thread Rodro
Dear Tomcat Users. I'm trying to do a URL masking on Tomcat 5.5.25. What I specifically want to do is: I execute (call) an app with the following URL: http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=carinst (see the attached image) Now, I need to mask the URL to get the same result calling the

Re: nio connector configuration

2009-03-06 Thread otismo
Thanks for checking it out, Filip. > I'm running this on what will be 6.0.19, meaning 6.0.x/trunk Yes, running from the trunk yields very different #s. Looking into it more, 6.0.18 didn't honor the pollerThreadCount setting. results (all tests were run for around 3000 samples): 6.0.18: with 2

Re: request.getRemoteAddr() vs. request.getHeader("REMOTE_ADDR")

2009-03-06 Thread Mark Thomas
Bing Zheng wrote: > The tomcat server (version 5.5.23) is behind a load balancer. If I > use request.getRemoteAddr(), it returns the load balancer's ip. If I > use request.getHeader("REMOTE_ADDR"), it returns the correct client IP > address. Is this a known bug? Thanks. Nope, it is expected be

request.getRemoteAddr() vs. request.getHeader("REMOTE_ADDR")

2009-03-06 Thread Bing Zheng
The tomcat server (version 5.5.23) is behind a load balancer. If I use request.getRemoteAddr(), it returns the load balancer's ip. If I use request.getHeader("REMOTE_ADDR"), it returns the correct client IP address. Is this a known bug? Thanks. -

Re: Too many threads

2009-03-06 Thread Juha Laiho
Alexey Vlasov wrote: > After daemon starting parenting process creayes too many threads. I > would like to know if they are useful and if not how to lessen their > number. Could you tell how these threads harm you / hurt your system performance? Threads are very lightweight objects, sharing a lot

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
Thanks ..I got following URL from the browser, which is different then what you suggested. Does this look ok? http://10.10.80.55/JkStatus?cmd=update&from=list&w=tc&sw=appfe1&wa=0&wf=1&wn=appfe1&wr=&wc=&wd=0 so it look like when I want one node out of service I do the following: Execute GET http

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Rainer Jung
On 06.03.2009 18:57, Mohit Anchlia wrote: So I created new JkMount /JkStatus status under VirtualHost. Went to the page and saw different properties, it looks like I need to change the Activation on individual worker. When I click "E" in front of that worker it takes me to the page where I can ed

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
So I created new JkMount /JkStatus status under VirtualHost. Went to the page and saw different properties, it looks like I need to change the Activation on individual worker. When I click "E" in front of that worker it takes me to the page where I can edit the activation property. I think if I set

Re: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Santosh Gangadhar
On Fri, Mar 6, 2009 at 8:50 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Santosh Gangadhar [mailto:sant...@wirkle.com] > > Subject: Re: Problem using chunked encoding - request thread cleanup > > > > But the client keeps running because Tomcat as such does > > not close

[SECURITY] CVE-2009-0781 XSS in Apache Tomcat examples web application

2009-03-06 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2009-0781: Apache Tomcat cross-site scripting vulnerability Severity: low Vendor: The Apache Software Foundation Versions Affected: Tomcat 6.0.0 to 6.0.18 Tomcat 5.5.0 to 5.5.27 Tomcat 4.1.0 to 4.1.39 Description: The calendar application in th

RE: Tomcat Memory Leaks

2009-03-06 Thread Ilya Kazakevich
Use profiler. Take a look at: http://www.yourkit.com/overview/index.jsp It is a good profiler with manual which will teach you how to use yourkit to find memory leaks. Kazakevich Ilya, MCP, SCJP -Original Message- From: Black Friday [mailto:bf

RE: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Caldarale, Charles R
> From: Santosh Gangadhar [mailto:sant...@wirkle.com] > Subject: Re: Problem using chunked encoding - request thread cleanup > > But the client keeps running because Tomcat as such does > not close the stream. Perhaps I'm missing something, but why would Tomcat ever close the chunked-encoding inp

Re: how to integrate tomcat with open EJB for online money transactions

2009-03-06 Thread l...@work
ok.thanks .i will get an expert to help me in this.thank you guys for all the help. l...@work wrote: > > hi mark! > > thanks for the kind advice.for your information i am a simple java > programmer with SCJP.and i lack knowledge in the integration and > production part as i am not exposed to

Re: how to integrate tomcat with open EJB for online money transactions

2009-03-06 Thread NBW
I'd agree with Mark. If you make a mistake here you could cause all sort of problems legally and financially for yourself. On Fri, Mar 6, 2009 at 9:42 AM, Mark Thomas wrote: > l...@work wrote: > > hi, > > i want to integarte tomcat with open ejb.please guide me on the > > installation step

Re: how to integrate tomcat with open EJB for online money transactions

2009-03-06 Thread l...@work
hi mark! thanks for the kind advice.for your information i am a simple java programmer with SCJP.and i lack knowledge in the integration and production part as i am not exposed to it.but i do have a will to learn and the will to execute if given a chance.if you feel that my questions are too si

Re: how to integrate tomcat with open EJB for online money transactions

2009-03-06 Thread Mark Thomas
l...@work wrote: > hi, > i want to integarte tomcat with open ejb.please guide me on the > installation steps and which version of EJB and version of tomcat is best > combination.i want to use this for online money transactions.is this method > of integarting tomcat with open ejb simpler than

how to integrate tomcat with open EJB for online money transactions

2009-03-06 Thread l...@work
hi, i want to integarte tomcat with open ejb.please guide me on the installation steps and which version of EJB and version of tomcat is best combination.i want to use this for online money transactions.is this method of integarting tomcat with open ejb simpler than just writing an ejb in jb

Re: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Santosh Gangadhar
Tried with JBoss 4.0.3 which internally uses Tomcat 5.5. Same behavior there as well. Santosh. On Fri, Mar 6, 2009 at 5:56 PM, Santosh Gangadhar wrote: > Sorry, missed to give the details. > Tomcat: 5.0.28 > Java: 1.6.0_04 > Commons http client: 3.0.1 > > I'll try the latest Tomcat 6.0. > > Thank

Re: RemoteAddrValve and RemoteHostValve

2009-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed, On 3/5/2009 12:02 PM, Edward Song wrote: > Regardless, I recently wrote a java filter to filter IP's at the application > level, which replicates the valve functionality. > http://j2eewebprogrammer.blogspot.com/2008/12/filtering-ip-traffic-using-j

Re: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Santosh Gangadhar
Sorry, missed to give the details. Tomcat: 5.0.28 Java: 1.6.0_04 Commons http client: 3.0.1 I'll try the latest Tomcat 6.0. Thanks, Santosh. On Fri, Mar 6, 2009 at 5:32 PM, Rainer Jung wrote: > Not answering your question, but which exact Tomcat version are you using? > There have been a coupl

Re: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Rainer Jung
Not answering your question, but which exact Tomcat version are you using? There have been a couple of code changes around those connector classes. Regards, Rainer On 06.03.2009 12:56, Santosh Gangadhar wrote: Hi All, The application we are developing has a sender which pushes indefinite bin

Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Santosh Gangadhar
Hi All, The application we are developing has a sender which pushes indefinite binary data to the web application hosted in Tomcat. The web application is supposed to consumes an un-predefined limit of data per connection and stop. The sender is implemented using Http client and uses InputStreamE

Https forwarding problem

2009-03-06 Thread Hisham
Hi, I am using Tomcat 5.5 and I want to forward incoming requests at port 80 to port 443 (i.e. SSL secure connection). This I have achieved quite easily via the following configuration: web.xml: /* CONFIDENTIAL ser

Re: Tomcat Memory Leaks

2009-03-06 Thread Mark Thomas
Diego Rodríguez Martín wrote: > Hi, > >I'm not an expert, but I think Tomcat 4.X is not compatible with JDK > 1.5. That is not correct. Tomcat 4.x works quite happily with 1.4, 1.5 and 1.6. I have also had a number of recent versions running on 1.3 and 1.2 JVMs although without extensive test

Re: Tomcat Memory Leaks

2009-03-06 Thread Diego Rodríguez Martín
Hi, I'm not an expert, but I think Tomcat 4.X is not compatible with JDK 1.5. Regards, Diego Rodríguez Black Friday escribió: Hi, My system environment is: Windows 2000 Server. JDK 1.5, tomcat 4.X, Oracle 9 The problem is: After tomcat was started, the memory of the tomcat grows

Re: Tomcat Memory Leaks

2009-03-06 Thread Anurag Kapur
Some servlet on startup 'could' be a problem. To get a more definite insight, it might be worth obtaining a Java Heap Dump when you think the memory utilization is very high(close to 1.3G). This would help you know what objects are consuming a large portion of the heap and thus a potential indicati

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
I was looking at the manual and didn't see a way to automatically set the worker to stop. I'll test it today with the way you suggested and post more questions .. On Fri, Mar 6, 2009 at 12:35 AM, Rainer Jung wrote: > On 06.03.2009 09:27, Mohit Anchlia wrote: >> >> Is there a way to dynamically mo

Re: tomcat w/apr data lost in http post request?

2009-03-06 Thread Taylan Develioglu
James, thank you very much. I suspected IE to be guilty because it was happening only with IE clients. Chris, I guess we don't need to try and reproduce this anymore now we know the cause? James Wang wrote: Hi All, That's caused by the IE keep-alive bug, Please refer to my previous post :

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Rainer Jung
On 06.03.2009 09:27, Mohit Anchlia wrote: Is there a way to dynamically move workers in and out of service using status worker. Please first have a look at the status worker and get some experience with it before posting more basic questions. Regards, Rainer ---

Re: mod_jk not working as expected - is there a bug??

2009-03-06 Thread Mohit Anchlia
Is there a way to dynamically move workers in and out of service using status worker. On Thu, Mar 5, 2009 at 10:34 PM, Rainer Jung wrote: > On 06.03.2009 01:44, Mohit Anchlia wrote: >> >> Thanks ..But how do I tie the status worker to the list of nodes that >> I have. For eg in below config how d