Re: tomcat service version can't access intranet(not internet) files

2012-01-30 Thread Konstantin Kolinko
2012/1/30 chenqiang luc...@gmail.com: I found a problem which confused me so much,(I use tomcat7.0.20-7.0.25)  my web application need access to the files on another machine which is on the intranet, when I use the zip format distribution version of tomcat, everything is ok, but the problem

Re: Restarting tomcat 7.0.23 on MAC OS X 10.6

2012-01-30 Thread Oliver Due Billing
Hey Found some more details. INFO: Server startup in *151496* ms -- This is my problem My startup command is: sudo /Library/Tomcat/bin/startup.sh I Get alot of this stuff, but I do get DB access: The last packet sent successfully to the server was 0 milliseconds ago. The driver has not

Re: How to configure certificate file (*.cer) in Tomcat 6

2012-01-30 Thread Ognjen Blagojevic
Geet, Bottom-posting style is standard on this list (http://en.wikipedia.org/wiki/Posting_style#Bottom-posting). On 30.1.2012 5:42, Geet Chandra wrote: - The customer has got very secure environment...they don't want to use the *.keystore being shipped with particular product. Uhm... lots

Re: How to configure certificate file (*.cer) in Tomcat 6

2012-01-30 Thread Geet Chandra
Thanks Ognjen! Please find my inline comments. 1. By *.keystore, do you mean keystore or truststore? Do you understand the difference between them? - Could you please explain the difference. 2. Is your customer aware that there is no essential difference in term of security between JSSE and

Re: Reinstall with 302 error

2012-01-30 Thread Luciano Andress Martini
http://www.checkupdown.com/status/E302.html Maybe this will help you. 2012/1/28, Pid p...@pidster.com: On 28/01/2012 15:08, Bilal S wrote: It would not be unusual for a page to redirect to itself. Have you tried an alternate connection mechanisms. Http proxy or BonCode (

Re: Reinstall with 302 error

2012-01-30 Thread Pid
On 30/01/2012 11:47, Luciano Andress Martini wrote: http://www.checkupdown.com/status/E302.html Maybe this will help you. Luciano, please put replies *below* the previous comment you're replying to. As I asked the other poster to do in the message you replied to. p 2012/1/28, Pid

Re: How to configure certificate file (*.cer) in Tomcat 6

2012-01-30 Thread Ognjen Blagojevic
On 30.1.2012 12:44, Geet Chandra wrote: 1. By *.keystore, do you mean keystore or truststore? Do you understand the difference between them? - Could you please explain the difference. Google is your friend: http://stackoverflow.com/questions/318441/truststore-and-keystore-definitions 2.

Re: [OT] Reinstall with 302 error (and about top-posting)

2012-01-30 Thread André Warnier
Luciano (and others), The following example is occasionally used in mailing lists to *mock* and *discourage* top-posting: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
Thank you Pid, and André. You remember me to ZZ Top, but solved my problem. 2012/1/27, Pid p...@pidster.com: On 27/01/2012 20:51, André Warnier wrote: Exactly. (this is responding to Pid) Pid wrote: On 27/01/2012 17:54, Luciano Andress Martini wrote: -Xmx512m -Xmx1024 ? Please post

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Jeffrey Janner
See below -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, January 27, 2012 2:41 PM To: Tomcat Users List Subject: Re: Java.lang.out.of.memory not clearly On 27/01/2012 18:39, Luciano Andress Martini wrote: i dont know how to increase the heap space

Apache Tomcat Native library

2012-01-30 Thread Paul Singleton
My standalone Tomcat 6 informs me, at startup, that The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:... Does this library offer any benefit to standalone systems, or is it purely for use with

RE: Apache Tomcat Native library

2012-01-30 Thread Caldarale, Charles R
From: Paul Singleton [mailto:p...@jbgb.com] Subject: Apache Tomcat Native library Does this library offer any benefit to standalone systems, or is it purely for use with Apache httpd + Tomcat? It's most beneficial when you don't have httpd in front of Tomcat and are processing a lot of

Re: Apache Tomcat Native library

2012-01-30 Thread Thomas Rohde
Am 30.01.2012 16:26, schrieb Paul Singleton: My standalone Tomcat 6 informs me, at startup, that The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:... Does this library offer any benefit to

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
Do you know how to solve this memory leak, its a hardware problem? 2012/1/30, Jeffrey Janner jeffrey.jan...@polydyne.com: See below -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, January 27, 2012 2:41 PM To: Tomcat Users List Subject: Re:

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Jeffrey Janner
-Original Message- From: Luciano Andress Martini [mailto:777u...@gmail.com] Sent: Monday, January 30, 2012 9:40 AM To: Tomcat Users List Subject: Re: Java.lang.out.of.memory not clearly Do you know how to solve this memory leak, its a hardware problem? Memory Leak is a

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
I understand it, but im not the developer! I will report that to my boss and for developers, thank you very much. 2012/1/30, Jeffrey Janner jeffrey.jan...@polydyne.com: -Original Message- From: Luciano Andress Martini [mailto:777u...@gmail.com] Sent: Monday, January 30, 2012 9:40

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
Jeffrey im sorry, but i need to ask, my boss says that is impossible to be a problem in the software cause java unalocate objects automatically, is that true? 2012/1/30, Luciano Andress Martini 777u...@gmail.com: I understand it, but im not the developer! I will report that to my boss and

RE: Tomcat 6 - How to make an application available at www.mydomain.com

2012-01-30 Thread Jeffrey Janner
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Sunday, January 29, 2012 7:07 AM To: Tomcat Users List Subject: Re: Tomcat 6 - How to make an application available at www.mydomain.com John Renne wrote: On Jan 29, 2012, at 1:27 PM, André Warnier wrote:

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Caldarale, Charles R
From: Luciano Andress Martini [mailto:777u...@gmail.com] Subject: Re: Java.lang.out.of.memory not clearly Jeffrey im sorry, but i need to ask, my boss says that is impossible to be a problem in the software cause java unalocate objects automatically, is that true? A) Stop your top

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
2012/1/30, Caldarale, Charles R chuck.caldar...@unisys.com: From: Luciano Andress Martini [mailto:777u...@gmail.com] Subject: Re: Java.lang.out.of.memory not clearly Jeffrey im sorry, but i need to ask, my boss says that is impossible to be a problem in the software cause java unalocate

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Pid
On 30/01/2012 16:05, Luciano Andress Martini wrote: 2012/1/30, Caldarale, Charles R chuck.caldar...@unisys.com: From: Luciano Andress Martini [mailto:777u...@gmail.com] Subject: Re: Java.lang.out.of.memory not clearly Jeffrey im sorry, but i need to ask, my boss says that is impossible

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread André Warnier
Luciano Andress Martini wrote: ... Thank you and sorry Chuck. Jeffrey what is your opinion about this? The development team is using a software that Draw java code called developer, and do not programming in. Im a assembler/C programmer and don't have so much knowing about java. But all the

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread David kerber
On 1/30/2012 11:05 AM, Luciano Andress Martini wrote: 2012/1/30, Caldarale, Charles Rchuck.caldar...@unisys.com: From: Luciano Andress Martini [mailto:777u...@gmail.com] Subject: Re: Java.lang.out.of.memory not clearly Jeffrey im sorry, but i need to ask, my boss says that is impossible

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
Pid i changed the configuration, like this: JAVA_OPTS=-Djava.awt.headless=true -Xmx1512m -XX:ParallelGCThreads=4 -XX:+UseParNewGC -XX:MaxPermSize=1024M -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError The system is 64 bits + Java 64 bits, running in debian

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
2012/1/30, Luciano Andress Martini 777u...@gmail.com: Pid i changed the configuration, like this: JAVA_OPTS=-Djava.awt.headless=true -Xmx1512m -XX:ParallelGCThreads=4 -XX:+UseParNewGC -XX:MaxPermSize=1024M -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError

Re: Reinstall with 302 error

2012-01-30 Thread Bilal S
On Sat, Jan 28, 2012 at 11:24 AM, Pid p...@pidster.com wrote: On 28/01/2012 15:08, Bilal S wrote: It would not be unusual for a page to redirect to itself. Have you tried an alternate connection mechanisms. Http proxy or BonCode ( http://tomcatiis.riaforge.org)? Really, is that relevant

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Java.lang.out.of.memory not clearly Java can have memory leaks just as easily as C can Not really; leaks in C are much easier to create. if the app is standalone, it will release them when the app closes and the JRE shuts

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
2012/1/30, Caldarale, Charles R chuck.caldar...@unisys.com: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Java.lang.out.of.memory not clearly Java can have memory leaks just as easily as C can Not really; leaks in C are much easier to create. if the app is standalone,

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
2012/1/30, Luciano Andress Martini 777u...@gmail.com: 2012/1/30, Caldarale, Charles R chuck.caldar...@unisys.com: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Java.lang.out.of.memory not clearly Java can have memory leaks just as easily as C can Not really; leaks in C

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Hassan Schroeder
On Mon, Jan 30, 2012 at 8:44 AM, Luciano Andress Martini 777u...@gmail.com wrote: About the memory leak, I am saying that, not from a hour, but from the Genesis time here. ehhehehe. Or as we used to say at Sun -- hardware breaks while you're using it, software arrives already broken... :-)

Tomcat7 and Apache2 connection configuration (mod_proxy_ajp)

2012-01-30 Thread baba smith
hi i'm trying to connect apache 2 with tomcat 7 with a mod_proxy_ajp connector. my question is: what is the relation of the tomcat server.xml connector configuration and the apache httpd.conf? for example, for the connector in the server.xml i can configure all kind of timeouts and threads and

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Pid
On 30/01/2012 16:33, Luciano Andress Martini wrote: 2012/1/30, Luciano Andress Martini 777u...@gmail.com: Pid i changed the configuration, like this: JAVA_OPTS=-Djava.awt.headless=true -Xmx1512m -XX:ParallelGCThreads=4 -XX:+UseParNewGC -XX:MaxPermSize=1024M -XX:+UseConcMarkSweepGC

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Luciano Andress Martini
By default 4GB per virtual machine with tomcat. Now my boss talked with the developers and added a command to call the garbage colector, it is very better now, and we find the bad guy, its a button, when we click then, the memory increases. 2012/1/30, Pid p...@pidster.com: On 30/01/2012 16:33,

configuring org.apache.catalina.startup.Tomcat using server.xml

2012-01-30 Thread Pradeep Fernando
Hi all, I wanted to do the $subject. For that I extended the existing Tomcat class and added a configure step. Within the configure method i created a digester to configure my embedded tomcat instance. looks like things are getting configured. But when i call start method on Tomcat, it gives

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Jeffrey Janner
-Original Message- From: Luciano Andress Martini [mailto:777u...@gmail.com] Sent: Monday, January 30, 2012 10:34 AM To: Tomcat Users List Subject: Re: Java.lang.out.of.memory not clearly 2012/1/30, Luciano Andress Martini 777u...@gmail.com: Pid i changed the configuration,

RE: Apache Tomcat Native library

2012-01-30 Thread Jeffrey Janner
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, January 30, 2012 9:32 AM To: Tomcat Users List Subject: RE: Apache Tomcat Native library From: Paul Singleton [mailto:p...@jbgb.com] Subject: Apache Tomcat Native library Does

Re: Tomcat7 and Apache2 connection configuration (mod_proxy_ajp)

2012-01-30 Thread André Warnier
baba smith wrote: hi i'm trying to connect apache 2 with tomcat 7 with a mod_proxy_ajp connector. my question is: what is the relation of the tomcat server.xml connector configuration and the apache httpd.conf? for example, for the connector in the server.xml i can configure all kind of timeouts

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Caldarale, Charles R
From: Luciano Andress Martini [mailto:777u...@gmail.com] Subject: Re: Java.lang.out.of.memory not clearly You're top posting again - stop that. By default 4GB per virtual machine with tomcat. But that's all funny money - how much _real_ memory is usable by each VM? If the underlying

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread André Warnier
Luciano Andress Martini wrote: ... Now my boss talked with the developers and added a command to call the garbage colector, it is very better now, and we find the bad guy, its a button, when we click then, the memory increases. Luciano, your original post about this issue mentioned this error

Re: tomcat service version can't access intranet(not internet) files

2012-01-30 Thread chenqiang
Warnier, * Thank you very much for your timely and helpful tip, Yeah, I found the problem both on my windows2003 server and windows xp .* *But I don't know how to change the user account under which the tomcat service is to run, could you so kind as to give me some help?* *Thanks!* On Mon, Jan

Re: tomcat service version can't access intranet(not internet) files

2012-01-30 Thread chenqiang
BTW, I change the user account from local system account to Administrator account using tomcat configuration console, but I cannot start the service under administrator account. On Mon, Jan 30, 2012 at 6:15 PM, André Warnier a...@ice-sa.com wrote: chenqiang wrote: I found a problem which

Re: Tomcat7 and Apache2 connection configuration (mod_proxy_ajp)

2012-01-30 Thread baba smith
the problem that i'm trying to fix is that after a while that apache and tomcat work together, the tomcat stops responding to the apache. it looks like the connector itself stops working. the errors i see in the apach log are: (70007)The timeout specified has expired: ajp_ilink_receive()