Re: Password protecting directories in virtual hosts

2013-02-14 Thread Luciano Andress Martini
The easy way is to use a reverse proxy as apache2 in front-side, in another words, use the traditional apache2 with modproxy to display the tomcat6 pages. Its very easy to do it! 2013/2/14 Dennis Gormley gorm...@hslc.org Hello; I've been struggling with this for a couple of weeks now. I've

Re: Tomcat tried to execute wine! I am going crazy?

2013-01-22 Thread Luciano Andress Martini
PGP SIGNED MESSAGE- Hash: SHA256 Luciano, On 1/21/13 8:08 AM, Luciano Andress Martini wrote: This error is found when i try to open the new version of the system in the web browser in some options. Cannot run program usr/bin/wine I think i am going crazy but i installed wine, so

Re: Tomcat tried to execute wine! I am going crazy?

2013-01-21 Thread Luciano Andress Martini
Ahn... and to add: this error is in the tomcat webserver based on Debian GNU/Linux, looks like very strange to me (more than 14 years of linux/unix experience). Sorry if i have a bad english. 2013/1/21, Luciano Andress Martini 777u...@gmail.com: This error is found when i try to open the new

Stress test on tomcat

2012-11-08 Thread Luciano Andress Martini
Hi friend sorry if i am repeating same topic, but actually what is the better thing to do a stress test on tomcat6. Thanks ! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Luciano Andress Martini
I know that you will think this is strange, but i prefer to use the apache2 as a proxy to the tomcat server creating this lines in a ssl virtualhost: ProxyPass / http://127.0.0.1:8080 ProxyPassReverse / http://127.0.0.1:8080 Yes the data will be encrypted. 2012/3/19, ayouB __

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

2012-01-31 Thread Luciano Andress Martini
2012/1/30, André Warnier a...@ice-sa.com: 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

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: 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 Luciano Andress Martini
: 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 is using the parameter - Xmx? 2012/1/27, Pid p...@pidster.com: On 27/01/2012 17:54, Luciano Andress Martini wrote: -Xmx512m -Xmx1024 ? Please post your replies

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

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 Luciano Andress Martini
paravirtualized with Xen. 2012/1/30, David kerber dcker...@verizon.net: 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

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: 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 Luciano Andress Martini
, 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 -XX:+CMSClassUnloadingEnabled

Re: Problem with apache sharing tomcat files

2012-01-27 Thread Luciano Andress Martini
Oh thank you friends now i found a solution, a changed the UID of the user www-data to the same as tomcat6 and now it works fine. 2012/1/26, Luciano Andress Martini 777u...@gmail.com: Right. First sorry about my bad english, im from Brazil. We have a server running Xen Hypervisor

Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
I need to do this in tomcat6: Apache2 form: Directory /var/www/temporarios/upload_contracheque Order allow,deny deny from all /Directory Thank you friends! - To unsubscribe, e-mail:

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Valve className=org.apache.catalina.valves.RemoteAddrValve deny=.*/ Where i specify the directory? 2012/1/27, Thomas Rohde t...@ordix.de: Am 27.01.2012 13:23, schrieb Luciano Andress Martini: I need to do this in tomcat6: Apache2 form: Directory /var/www/temporarios/upload_contracheque

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
...=// I need to block this, in the similar way that i do in apache... /var/lib/tomcat6/webapps/temporarios/upload_contracheque I really cant move this outside this directory. Thank you. 2012/1/27, André Warnier a...@ice-sa.com: Luciano Andress Martini wrote: I need to do this in tomcat6: Apache2

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
know how to do that? Understand now? 2012/1/27, Luciano Andress Martini 777u...@gmail.com: I really want to block a directory like /webapps/temporarios/upload_contracheque Yes is the first option but withou moving the directory outside tomcat, because im not the developer of the system

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Thomas Rohde Man thank you very much, i will try it now! =] 2012/1/27, Luciano Andress Martini 777u...@gmail.com: Humm sorry friends im not trying to fight, i just really need to do that. I will try to draw what i want to happen, maybe my english is very poor. (TOMCAT SERVER) says

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Thomas Rohde: With this tomcat still can upload files? Cause it need to can =[ 2012/1/27, Luciano Andress Martini 777u...@gmail.com: Thomas Rohde Man thank you very much, i will try it now! =] 2012/1/27, Luciano Andress Martini 777u...@gmail.com: Humm sorry friends im not trying

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Sorry where is the correct place to put this security constraint? 2012/1/27, Luciano Andress Martini 777u...@gmail.com: Thomas Rohde: With this tomcat still can upload files? Cause it need to can =[ 2012/1/27, Luciano Andress Martini 777u...@gmail.com: Thomas Rohde Man thank you

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
for the help. 2012/1/27, Pid p...@pidster.com: On 27/01/2012 14:41, André Warnier wrote: Luciano Andress Martini wrote: Humm sorry friends im not trying to fight, i just really need to do that. I will try to draw what i want to happen, maybe my english is very poor. (TOMCAT SERVER) says -Yes i

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Pid and Andre, i will talk with the developer about this, solved or not, can generate new problems, as you said, the files will be deleted, so i will talk with him. 2012/1/27, Luciano Andress Martini 777u...@gmail.com: Thank you friends and sorry for all this thing. Now i think i have

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

2012-01-27 Thread Luciano Andress Martini
I need to know if the error is from my part (server administrator), from the developer or from the hardware/vms. Some times that occurs when processing two milion of registry (i am talking from expressocard a company of credit cards). Its a rarely error because this processing occurs rarely. in

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
If you want to tunnel a connection to one apache to an internal tomcat server you can with that: Open a config file from a site like /etc/apache2/sites-available/000-default and put this: ProxyPass /est http://192.168.3.38:8080/est ProxyPassReverse /est http://192.168.3.38:8080/est =] This is

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
On RewriteEngine On ProxyPass / http://some_ip:8080/ ProxyPassReverse / http://some_ip:8080/ 2012/1/27, Luciano Andress Martini 777u...@gmail.com: If you want to tunnel a connection to one apache to an internal tomcat server you can with that: Open a config file from a site like /etc/apache2/sites

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
ummm im really sorry =[ 2012/1/27, André Warnier a...@ice-sa.com: Luciano Andress Martini wrote: For facility your understaing, you can do exactly that: Apache Front: http://data.example.com Edit the configuration of the VirtualHost for this domain, example: /etc/apache2/sites-enable

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Yes.. in fact you can't access this servers from internet directly, you be-passed in an apache2 server, that encrypt and tunnel the connections. 2012/1/27, André Warnier a...@ice-sa.com: Luciano Andress Martini wrote: Pid and Andre, i will talk with the developer about this, solved

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
This is how i designed the services. Router - Firewall - Apache2 Tunnel (with iptables rules) - Apache Tomcat6 Server The developers do not have a lot of experience with tomcat. But they are good. 2012/1/27, Luciano Andress Martini 777u...@gmail.com: Yes.. in fact you can't access

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

2012-01-27 Thread Luciano Andress Martini
its 64 bits? How can i increase the object heap? 2012/1/27, Pid p...@pidster.com: On 27/01/2012 16:29, Luciano Andress Martini wrote: I need to know if the error is from my part (server administrator), from the developer or from the hardware/vms. Some times that occurs when processing two

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

2012-01-27 Thread Luciano Andress Martini
-Xmx512m -Xmx1024 ? 2012/1/27, Luciano Andress Martini 777u...@gmail.com: its 64 bits? How can i increase the object heap? 2012/1/27, Pid p...@pidster.com: On 27/01/2012 16:29, Luciano Andress Martini wrote: I need to know if the error is from my part (server administrator), from

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

2012-01-27 Thread Luciano Andress Martini
i dont know how to increase the heap space is using the parameter -Xmx? 2012/1/27, Pid p...@pidster.com: On 27/01/2012 17:54, Luciano Andress Martini wrote: -Xmx512m -Xmx1024 ? Please post your replies below the questions I asked. Someone reading this thread would see the first bit

Re: Problem with apache sharing tomcat files

2012-01-26 Thread Luciano Andress Martini
by apache as a real dir, and the error is because the files do not have the www-data user. 2012/1/26, David kerber dcker...@verizon.net: On 1/26/2012 12:20 PM, Luciano Andress Martini wrote: Tomcat creates files as tomcat user, which is not acessible by apache2, how can i correct this, and make

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Hi Celso, you signature is in portuguese because that i will talk in portuguese... Tenho 12 anos de experiência com Linux e dois livros publicados, nunca vi um tomcat rodar sem consumir umas cacetadas de megas de memória, acho que o java, é uma plataforma ruim, mas que todo mundo defende e quer

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Really sorry about that =[ 2012/1/25, Mark Thomas ma...@apache.org: On 25/01/2012 11:45, Celso Magalhăes Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Tomcat needs less than 20MB to start up. Everything after that

Really block a directory

2012-01-11 Thread Luciano Andress Martini
I need to block a directory in Tomcat, with all the files and sub-dirs, i cant change the path of this directory. =[ Like we do in Apache2, and without changing files permission. Its possible? - To unsubscribe, e-mail:

Re: Really block a directory

2012-01-11 Thread Luciano Andress Martini
:00, Luciano Andress Martini wrote: I need to block a directory in Tomcat, with all the files and sub-dirs, i cant change the path of this directory. =[ Like we do in Apache2, and without changing files permission. Its possible? Yes. Write a Servlet. Hard code it to return 404 and map

Re: Really block a directory

2012-01-11 Thread Luciano Andress Martini
Humm thank you the urlrewriterfilter sounds very good, i will try it. Thank you from Brazil. 2012/1/11, Mikolaj Rydzewski m...@ceti.pl: On Wed, 11 Jan 2012 13:04:24 +, Mark Thomas wrote: On 11/01/2012 13:00, Luciano Andress Martini wrote: I need to block a directory in Tomcat, with all