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" wrote: > sorry for

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" wrote: > Hi, > > Tomcat by default dump both console output and error in catalina.out under > tomcat-home/log directo

Re: Problem when rebooting....

2014-11-09 Thread Ameer Mawia
erge(set); } } I'will let you know, as soon as I come to some 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 wrote: > On Sun, 09 Nov 2014

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

2014-11-21 Thread Ameer Mawia
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 wrote: > Following thread stuck and increased the l

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 wrote: > yes. the thread is stucked and started increasing load of the server. > > My configuration is as below. Query is fetching one

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

2014-11-22 Thread Ameer Mawia
ould check the load at that specific time at your db server. Try connecting an alternate, probably back db server, to see 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 > wrote: > > > Jaiswal, &

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

2014-11-23 Thread Ameer Mawia
loads-2133151.html> . Regards, Ameer Mawia On Sun, Nov 23, 2014 at 4:09 AM, Fabio Ricci 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

Re: How to setup rewrite valve for angularjs

2014-11-23 Thread Ameer Mawia
ectives, it must be placed in > > the WEB-INF folder of the web application" > > > > > > > > > > Have anyone written a tutorial or can point me to a source for how-to? > > > > > > > The docs seem pretty thorough but if you need a tutorial you could look for > > a mod_rewrite tutorial. This valve is designed to be similar to > > mod_rewrite, so a tutorial for that should be mostly applicable here. > > > > Dan > > > > > > > I am trying to set a single page angularjs app to point > > > /context/path/path/... 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" wrote: > > > On Nov 24, 2014 8:30 AM, "Tay Kai Yang" wrote: > > > > Hi Daniel > > > > Thanks for the reply. > > > > I have not used a webapp META-INF/context.xml before. So I

Re: How to setup rewrite valve for angularjs

2014-11-24 Thread Ameer Mawia
n you please try, something like: GET /web/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 wrote: > Hi > >

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

2014-11-24 Thread Ameer Mawia
r other use 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 >

Re: Tomcat giving more request to my application.

2014-11-29 Thread Ameer Mawia
On Nov 28, 2014 12:08 PM, 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 500 " http://lo

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 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, but I have run > into a

Re: Tomcat cluster with static membership

2014-12-08 Thread Ameer Mawia
these two members entries in both node's server.xml(since running on the same machine, they have varying port with same ip): Regards, Ameer Mawia On Mon, Dec 8, 2014 at 8:26 PM, Théo Chamley wrote: > Hello, > > I am trying to setup a simple Tomcat clust

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Ameer Mawia
On Sat, Dec 13, 2014 at 12:01 AM, Filip Hanik 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 the class

Re: Help! Tomcat crashing on takeoff

2014-12-12 Thread Ameer Mawia
On Sat, Dec 13, 2014 at 12:01 AM, Filip Hanik 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 the class

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

Re: Help! Tomcat crashing on takeoff

2014-12-13 Thread Ameer Mawia
est you past your catalina.log somewhere for us to see, probably you may be missing something? Regards, Ameer Mawia On Sat, Dec 13, 2014 at 7:50 AM, Filip Hanik wrote: > It means they didn't take into effect. > > On the command line you should be able to do > > java -ver

Re: Tomcat server Performance imporvement required

2015-03-29 Thread Ameer Mawia
ve received this message in error, please notify the sender immediately. This notice is included in all e-mail messages leaving PSEG. Thank you for your cooperation. > > - > To unsubscribe, e-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 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 which is 16GB R

Re: GC Issue on Tomcat6

2015-04-17 Thread Ameer Mawia
On Fri, Apr 17, 2015 at 10:07 AM, Subhro Paul wrote: > From: Ameer Mawia > To: Tomcat Users List > Date: 04/17/2015 06:29 PM > Subject:Re: GC Issue on Tomcat6 > > > > http://ca.linkedin.com/in/ameermawia > Toronto, ON > Phone:647-262-4380 >