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 > > Hello; > > I've been struggling with this for a couple of weeks now. I've searched > we

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

2013-01-22 Thread Luciano Andress Martini
rs List > Subject: Re: Tomcat tried to execute wine! I am going crazy? > > -BEGIN 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 we

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

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: users-h..

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 __ : > > hi filip, >

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

2012-01-31 Thread Luciano Andress Martini
2012/1/30, 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

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

2012-01-30 Thread Luciano Andress Martini
ano 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:+UseParNew

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 : >>> 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

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

2012-01-30 Thread Luciano Andress Martini
2012/1/30, 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

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:+CM

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

2012-01-30 Thread Luciano Andress Martini
in debian paravirtualized with Xen. 2012/1/30, David kerber : > On 1/30/2012 11:05 AM, Luciano Andress Martini wrote: >> 2012/1/30, Caldarale, Charles R: >>>> From: Luciano Andress Martini [mailto:777u...@gmail.com] >>>> Subject: Re: Java.lang.out.of.memory not c

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

2012-01-30 Thread Luciano Andress Martini
2012/1/30, 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 c

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

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 : > > >> -Original Message----- >> From: Luciano Andress Martini [mailto:777u...@gmail.com] >> Sent: Monday, January 30, 20

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

2012-01-30 Thread Luciano Andress Martini
ect: 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 is using the parameter - >> Xmx? >> > >> > >> > 2012/1/27, Pid : >> >> On 27

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 : > 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: >

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 : > 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)

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 : > 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 firs

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 : >> On 27/01/2012 16:29, Luciano Andress Martini wrote: >>> I need to know if the error is from my part

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 : > 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 pro

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

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 : > Luciano Andress Martini wrote: >> Pid and Andre, >> i will talk with the developer about this

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 : > 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, e

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

2012-01-27 Thread Luciano Andress Martini
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/apache

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 v

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 f

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

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
the help. 2012/1/27, Pid : > 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

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&

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>: &

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. >

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

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 : > Luciano Andress Martini wrote: >> I need to do this in tomcat6: >&g

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
Where i specify the directory? 2012/1/27, Thomas Rohde : > > > Am 27.01.2012 13:23, schrieb Luciano Andress Martini: >> I need to do this in tomcat6: >> Apache2 form: >> >> Order allow,deny >> deny

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: Order allow,deny deny from all Thank you friends! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users

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

Re: Problem with apache sharing tomcat files

2012-01-26 Thread Luciano Andress Martini
acessed 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 : > 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,

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Really sorry about that =[ 2012/1/25, Mark Thomas : > 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 depends

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 us

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 : > 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 To

Re: Really block a directory

2012-01-11 Thread Luciano Andress Martini
ano 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 Serv

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: users-uns