Re: Where do System.out and System.err go in Tomcat?

2014-10-10 Thread Ameer Mawia
Hi, Tomcat by default dump both console output and error in catalina.out under tomcat-home/log directory. But you can change it any day by modifying startup script catalina.sh/catalina.bat in *nix environment or catalina.bat in bin directory of tomcat home. Regards, Ameer Mawia On Oct 10, 2014 2

Re: Where do System.out and System.err go in Tomcat?

2014-10-10 Thread Ameer Mawia
Btw if you want the console logs from your application to go in your application log file, then in that case you have to add a console appender to your log4j configuation file(assuming you are infact using log4j). On Oct 10, 2014 3:37 PM, Ameer Mawia ameer.ma...@gmail.com wrote: sorry for typos

Re: Where do System.out and System.err go in Tomcat?

2014-10-10 Thread Ameer Mawia
sorry for typos. In catalina.sh in *nix environment and catalina.bat in windows environment. Regards, Ameer Mawia On Oct 10, 2014 3:35 PM, Ameer Mawia ameer.ma...@gmail.com wrote: Hi, Tomcat by default dump both console output and error in catalina.out under tomcat-home/log directory

Re: Problem when rebooting....

2014-11-09 Thread Ameer Mawia
concrete understanding. Meanwhile you can take a look at various web-fragments in your web-application. Regards, Ameer Mawia, New Delhi On Mon, Nov 10, 2014 at 4:55 AM, Bjørn T Johansen b...@havleik.no wrote: On Sun, 09 Nov 2014 23:49:54 +0100 André Warnier a...@ice-sa.com wrote: Bjørn T

Re: Thread stucked at (java.net.SocketInputStream.socketRead0(Native Method))

2014-11-21 Thread Ameer Mawia
a valid connection. Probably you can take a look at validation query, for now? Ideally it should be a very simple query, returning just one row and column. Regards, Ameer Mawia On Sat, Nov 22, 2014 at 12:30 AM, Dhaval Jaiswal dhaval.jais...@via.com wrote: Following thread stuck and increased

Re: Thread stucked at (java.net.SocketInputStream.socketRead0(Native Method))

2014-11-22 Thread Ameer Mawia
state? Look into the state of tcp connection using netstat. Regards, Ameer Mawia On Sat, Nov 22, 2014 at 10:44 AM, Dhaval Jaiswal dhaval.jais...@via.com wrote: yes. the thread is stucked and started increasing load of the server. My configuration is as below. Query is fetching one row only

Re: Thread stucked at (java.net.SocketInputStream.socketRead0(Native Method))

2014-11-22 Thread Ameer Mawia
is issue still exist, which I'm to certain extent sure, it will not. On Sat, Nov 22, 2014 at 3:08 PM, Ameer Mawia ameer.ma...@gmail.com wrote: Jaiswal, This issue is of connection between your host and postgresql server, you are trying to connect and has nothing to do with Tomcat per

Re: Tomcat 8 does not start with java 8 on YOSEMITE

2014-11-23 Thread Ameer Mawia
. Regards, Ameer Mawia On Sun, Nov 23, 2014 at 4:09 AM, Fabio Ricci fabio.ri...@semweb.ch wrote: Dear tomcat community Maybe someone did have this before (and possibly solved it) On a mac book pro/JOSEMITE I installed Java 8 1.8.0_40-ea with JDK. My $JAVA_HOME is /Library/Java

Re: How to setup rewrite valve for angularjs

2014-11-23 Thread Ameer Mawia
/... To /context/index.jsp Any idea on how to do that? Thanks. Kai yang -- Tay Kai Yang Mobile: (+65) 94879678 Email: kaiyang@gmail.com Skype: Kaiyang.Tay Regards, Ameer Mawia

Re: How to setup rewrite valve for angularjs

2014-11-23 Thread Ameer Mawia
correction: On Nov 24, 2014 11:54 AM, Ameer Mawia ameer.ma...@gmail.com wrote: On Nov 24, 2014 8:30 AM, Tay Kai Yang kaiyang@gmail.com wrote: Hi Daniel Thanks for the reply. I have not used a webapp META-INF/context.xml before. So I had tried to refer to online examples

Re: How to setup rewrite valve for angularjs

2014-11-24 Thread Ameer Mawia
/someXYZ.jsp and it should NOT complained about path being NULL. Once this is confirmed you can then find a way to handle this NULL path in re-write rule. Regards, Ameer Mawia On Mon, Nov 24, 2014 at 12:48 PM, Tay Kai Yang kaiyang@gmail.com wrote: Hi I have tried to add

Re: Tomcat 8 does not start with java 8 on YOSEMITE

2014-11-24 Thread Ameer Mawia
of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email, and delete this message and any attachments from your system. Thank you. From: Ameer Mawia ameer.ma...@gmail.com Reply: Tomcat Users List users

Re: Tomcat giving more request to my application.

2014-11-29 Thread Ameer Mawia
On Nov 28, 2014 12:08 PM, sarojkumar.ya...@ril.com wrote: Hello, I am using apache-tomcat-7.0.53 for my application (which is working on multithreading environment). To generate 10 requests with 500 concurrent, I am trying to use following command on my linux server: ab -n 10 -c

Re: My problem: I cannot successfully get or set a session attribute from a JSP file.

2014-12-06 Thread Ameer Mawia
On Sun, Dec 7, 2014 at 2:49 AM, Jim Anderson jim_ander...@centurylink.net wrote: Hi to all, I am currently developing some server side JSP code. By and large, things are progressing and working well. I have gotten half way decent at debugging my java/javascript/jquery/jsp/HTML source code,

Re: Tomcat cluster with static membership

2014-12-08 Thread Ameer Mawia
=org.apache.catalina.tribes.membership.StaticMember port=4000 host=192.168.1.6 uniqueId={10,1,0,100,0,0,0,0,0,0,0,0,0,0,0,0}/ Member className=org.apache.catalina.tribes.membership.StaticMember port=4001 host=192.168.1.6 uniqueId={10,1,0,101,0,0,0,0,0,0,0,0,0,0,0,0}/ Regards, Ameer Mawia

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Ameer Mawia
On Sat, Dec 13, 2014 at 12:01 AM, Filip Hanik fi...@hanik.com wrote: Couple of things that comes to mind 1. the 'java' binary that gets executed is actually not the one you think it is 2. the file /wintouch/tomcat/bin/bootstrap.jar is corrupted or not readable by the JVM hence it can't find

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Ameer Mawia
On Sat, Dec 13, 2014 at 12:01 AM, Filip Hanik fi...@hanik.com wrote: Couple of things that comes to mind 1. the 'java' binary that gets executed is actually not the one you think it is 2. the file /wintouch/tomcat/bin/bootstrap.jar is corrupted or not readable by the JVM hence it can't find

Re: tomcat on windows 2012 weirdness

2014-12-12 Thread Ameer Mawia
On Sat, Dec 13, 2014 at 1:06 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cris, On 12/12/14 2:18 PM, Cris Berneburg - US wrote: Hi Chris Thanks for your replies. I am somewhat new to Tomcat, only been using it for 1

Re: Help! Tomcat crashing on takeoff

2014-12-13 Thread Ameer Mawia
, probably you may be missing something? Regards, Ameer Mawia On Sat, Dec 13, 2014 at 7:50 AM, Filip Hanik fi...@hanik.com wrote: It means they didn't take into effect. On the command line you should be able to do java -verbose:class -version and see if that flag works, if it does, then I

Re: Tomcat server Performance imporvement required

2015-03-29 Thread Ameer Mawia
-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org Regards, Ameer Mawia

Re: GC Issue on Tomcat6

2015-04-17 Thread Ameer Mawia
http://ca.linkedin.com/in/ameermawia Toronto, ON Phone:647-262-4380 On Fri, Apr 17, 2015 at 8:47 AM, David kerber dcker...@verizon.net wrote: On 4/17/2015 8:32 AM, Subhro Paul wrote: Hi Team, For our client website we have two Tomcat servers. Both servers are having same configuration

Re: GC Issue on Tomcat6

2015-04-17 Thread Ameer Mawia
On Fri, Apr 17, 2015 at 10:07 AM, Subhro Paul subhro.p...@tcs.com wrote: From: Ameer Mawia ameer.ma...@gmail.com To: Tomcat Users List users@tomcat.apache.org Date: 04/17/2015 06:29 PM Subject:Re: GC Issue on Tomcat6 http://ca.linkedin.com/in/ameermawia Toronto, ON Phone