Work & temp queries-tomcat 6

2014-01-30 Thread vicky007aggarwal
Hi Guys, I've following queries,pls help me in understand the concepts :-- >>>is it required to delete the work & temp while doing a deployment in Tomcat ? >>> is it required to restart the tomcat instance in case of deploying a new >>> version of code? sometimes i did observe that there

Re: JSVC error

2014-01-06 Thread vicky007aggarwal
Can somebody please suggest that how can we integrate jsvc with PSI PROBE application in order to have restart functionality Thanks, Vicky On Jan 4, 2014, at 10:16 AM, vicky wrote: > > > > I'm able to build the jsvc successfully from > "commons-daemon-1.0.15-native-src" file. Thanks for su

Ping_mode

2013-12-26 Thread vicky007aggarwal
Hi guys, Can you plz help me in understand that under what circumstances i should use ping_mode attribute in worker.properties. Actually i dont understand that how it will make the applications more reliable because as per my understanding if apache-tomcat connection results in failure then mo

Re: tomcat 7 ldap error

2013-08-06 Thread vicky007aggarwal
Hi All, Can somebody pls share the steps requires to setup active directory with tomcat . Is it valid to simply define a user in the active directory ldap without assigning any role to it ?? Will we still be able to authenticate the user when logged in from the application.if yes then kindly

Re: [Probe]- Tomcat deployment

2013-08-04 Thread vicky007aggarwal
Thanks Chris .. But is there any sample example which illustrates how to configure/use cluster deployer ?? Pls suggest Does this can be used only if the tomcat instances are clustered? Thanks, Vicky On Aug 4, 2013, at 4:37 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE-

Re: Reuse work temp directories

2013-05-28 Thread vicky007aggarwal
Thanks David & Chris for responding back. Actually i am doing a proof of concept,in which in want to use the same CATALINA_BASE across in lieu of creating 10 different tomcat instances. I am doing this by using variables in server.xml for port numbers,work directories etc. & then i am passing t

Reuse work temp directories

2013-05-27 Thread vicky007aggarwal
Hi Guys, Is there is a way by which we can create work & temp directories on run time so that we can avoid creating multiple tomcat instances having there individual work & temp directories. Please suggest that we can achieve it Thanks, Vicky

Re: Parameterized the server.xml

2013-05-27 Thread vicky007aggarwal
Thanks a ton Kolinko for your help..it works Thanks, Vicky On May 27, 2013, at 6:52 PM, Konstantin Kolinko wrote: > 2013/5/27 : >> Team, >> >> Is there a way by which we can pass the tomcat port numbers via config file >> or command line.i don't want to hardcode the port numbers in >> serve

Parameterized the server.xml

2013-05-27 Thread vicky007aggarwal
Team, Is there a way by which we can pass the tomcat port numbers via config file or command line.i don't want to hardcode the port numbers in server.xml.please suggest how to do it Thanks, Vicky Sent from my iPhone - To unsub

Parameterized the server.xml

2013-05-27 Thread vicky007aggarwal
Team, Is there a way by which we can pass the tomcat port numbers via config file or command line.i don't want to hardcode the port numbers in server.xml.please suggest how to do it Thanks, Vicky Sent from my iPhone - To unsub

Re: how to bind localhost

2013-03-07 Thread vicky007aggarwal
Thanks charles & pls excuse my trivial query On Mar 7, 2013, at 11:42 PM, "Caldarale, Charles R" wrote: >> From: vicky [mailto:vicky007aggar...@yahoo.co.in] >> Subject: how to bind localhost > >> Is there a way to bind the tomcat https port to localhost(127.0.0.1) only. > > Someday, you r

Re: Catalina.out

2013-03-04 Thread vicky007aggarwal
Thank u guys On Mar 4, 2013, at 5:27 PM, Markus Schönhaber wrote: > 04.03.2013 12:33, vicky007aggar...@yahoo.co.in: >> I am using tomcat 7.0.30(os: redhat linux) & referring below link for >> implementing log4j at the container level >> >> http://tomcat.apache.org/tomcat-6.0-doc/logging.ht

Catalina.out

2013-03-04 Thread vicky007aggarwal
I am using tomcat 7.0.30(os: redhat linux) & referring below link for implementing log4j at the container level http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j Using this link i am still not able to rotate the Catalina.out , is it feasible to do that,if yes then can someone pl

Re: [tomcat 6.0.35]- propert loadin

2013-02-10 Thread vicky007aggarwal
Thanks Andre & Tim for your comments,so for this peculiar behavior that means there is no reason that y it worked when placing the properties file in /bin Thanks, On Feb 11, 2013, at 2:57 AM, André Warnier wrote: > Tim Watts wrote: >> On Sun, 2013-02-10 at 18:51 +0800, vicky wrote: >>> Hi A

Re: War archive issue

2013-01-21 Thread vicky007aggarwal
Tomcat 6.0.35 Jdk 1.6.24 OS - Red Hat Linux 5 Thanks, Vick On Jan 21, 2013, at 6:20 PM, André Warnier wrote: > vicky007aggar...@yahoo.co.in wrote: >> Can u please explain a bit on this > Tomcat Host OS & version > Java JVM version > Tomcat version (x.y.z) > > > --

Re: War archive issue

2013-01-21 Thread vicky007aggarwal
Can u please explain a bit on this Thanks, Vick On Jan 21, 2013, at 2:26 PM, p...@pidster.com wrote: > On 21 Jan 2013, at 05:42, "vicky007aggar...@yahoo.co.in" > wrote: > >> Is this is an issue in tomcat that if we >> Deploy an archive file having hypen(-) , then the tomcat creates multiple

War archive issue

2013-01-20 Thread vicky007aggarwal
Is this is an issue in tomcat that if we Deploy an archive file having hypen(-) , then the tomcat creates multiple directories while deploying it eg:- if the war file name is demo-rest.war then tomcat creates two Directories i.e "demo-rest" & "demo" Please suggest, does this is the expected beh

Tomcat app log4j

2012-12-19 Thread vicky007aggarwal
My tomcat 6.x is using currently is using the default logging i.e JULI. But my application deployed on it is using log4j which was working fine on jboss earlier but when i deployed the same on tomcat i got below error + SEVERE:Error listener start When i googled i

Tomcat 6.0 - http client

2012-12-14 Thread vicky007aggarwal
Hello Guys, I am facing response latency issue when i am invoking the web service call ( deployed on tomcat 6.x) from an http client. Can some body please share /let me know what are recommended configuration settings which i need to take care of at the http client & at the tomcat level. I gue

Re: Tomcat 6.0 CLASSPATH query

2012-12-08 Thread vicky007aggarwal
Thanks Mark Sorry for the confusion i created related to my requirements. 5 Out of 6 requirements you stated below are correct. The last point i.e $CATALINA_BASE is writable. I can manipulate/write files to this location. So now do you have anything more to add to your proposed solution as you

Re: Tomcat 6.0 CLASSPATH query

2012-12-07 Thread vicky007aggarwal
Application is deployed under tomcat webapps directory . It tries to refer to application specific properties file from tomcat classpath, for that we copied it under tomcat bin directory. My query is that does this is the right way to add properties file to tomcat classpath? Thanks for ur hel

Apache issue

2012-12-05 Thread vicky007aggarwal
Hello Guys, My apache instance after sometime become unresponsive & to restore it i need to restart it. Weird thing is that no exception/error is coming in logs. Can you please suggest what all things i can check for my apache. Is there any jvm related things which i need to check. Please sug

Re: Context root query

2012-11-21 Thread vicky007aggarwal
Thanks a lot Mark for such a elaborate explanation. Your suggestion worked & i have implemented the same Cheers, Vicky On Nov 21, 2012, at 12:23 AM, Mark Eggers wrote: > On 11/20/2012 10:32 AM, vicky wrote: >> >> >> MARK - >> >> My client has application archives files which all have ver

Re: Context root query

2012-11-20 Thread vicky007aggarwal
Helo, Yes , i restarted tomcat after that but that doesn't help. But if i define the following in server.xml , i am able to override the default context root of an application successfully But this is not the appropriate way as i don't want to touch the tomcat server.xml for every applica

Context root query

2012-11-20 Thread vicky007aggarwal
> > > > Hello Guys, > > I am trying to define the context root in my application using context.xml. I > defined the following in application context.xml under meta-inf directory > > > > But still tomcat is referring the application name as my context. The value > which i defined in context

Re: Tomcat 6 query

2012-11-05 Thread vicky007aggarwal
Chris , When i was monitoring the tomcat thread pools using psi-probe application (below link for reference) i observed it shows minSpareThread attribute as zero for http connector & when i configured the same attribute via executor & referred it in my http protocol it displays the count which

Re: Tomcat 6.0 threads

2012-11-05 Thread vicky007aggarwal
Thanks a ton Chris, i got my answer. Applause for giving your time. ;) On Nov 6, 2012, at 9:13 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Vicky, > > On 11/5/12 5:12 AM, vicky007aggar...@yahoo.co.in wrote: >> Mark actually i have a scenario in which

Re: Tomcat 6.O ajp thread issue

2012-11-05 Thread vicky007aggarwal
Andre- i am facing issue thats y i m Posting. I didnt intend to spam please. In probe , http values are displayed correctly but not the ajp one. Thanks, Vicky On Nov 5, 2012, at 4:35 PM, André Warnier wrote: > Vicky, > you keep on "top-posting", which is annoying and makes it difficult to f

Re: Tomcat 6.O ajp thread issue

2012-11-05 Thread vicky007aggarwal
Thanks Mark for ur comments .but i didnt understand what you mean by following line ;- I think you were still using the Connector-based server.xml. I am using below executor for both ajp & http but why i am still seeing the ajp default thr

Re: Tomcat 6.0 threads

2012-11-05 Thread vicky007aggarwal
Mark actually i have a scenario in which my application receives variable amount of request depending on time . So at one point i have an approx around 400 users concurrently accessing my application as a result i have an approx 400 threads but when the request count decreases the thread count s

Re: Tomcat 6.O ajp thread issue

2012-11-05 Thread vicky007aggarwal
Thanks Mark, I have following configuration, is there anything else do i need configure ..please suggest ..as i am still able to see ajp port in Probe application with default thread count. Thanks, Vicky On Nov 5, 2012, at 1:27 PM, Mark Eggers wrote: > On 11/4/2012 11:18 PM, vicky007a

Tomcat 6.O ajp thread issue

2012-11-04 Thread vicky007aggarwal
Hi All, I have defined one executor tag in server.xml , which i am referring for both protocols i.e http & Ajp. Strange thing is when i am checking the "MaxThreadsCount" for ajp protocol using Probe application its not showing the value configured in executor instead ajp protocol is still show

Tomcat 6.0 threads

2012-11-04 Thread vicky007aggarwal
Hi All, Can somebody please help me out in stopping the surplus threads which get created in tomcat 6.0 as we dont have "maxSpareThreads" attribute anymore in it .. How can we close these threads Thanks for ur help, Vicky -

Re: Tomcat 6 query

2012-11-04 Thread vicky007aggarwal
Thanks Mark for your valuable comments. Based on 3rd question answer (below mail), so does it mean that in tomcat 6.0 i have to use executor to configure minSpareThreads , i cannot define alone with http/ajp connector?? Can someone confirm on this ..pleasee Thanks, Vicky On Nov 4, 2012, at 1

Re: Tomcat 6 query

2012-11-02 Thread vicky007aggarwal
Thanks mark. I concern why the minSpareThreads" & "maxSpareThreads" attributes dont exist at the below URL anymore > http://tomcat.apache.org/tomcat-6.0-doc/config/http.html As in tomcat 5 , i am able to locate http connector Thanks, Vicky Sent from my iPhone On Nov 2, 2012, at 1:22 PM, Mar

Tomcat 6 query

2012-11-02 Thread vicky007aggarwal
Team, In tomcat 6.0 documentation , i didnt see any details for "minSpareThreads" & "maxSpareThreads" Does these 2 tags are not supported in tomcat 6.0 Thanks, Vicky Sent from my iPhone - To unsubscribe, e-mail: users-unsubscr

Re: Max Threads - Worker Threads clarification

2012-10-24 Thread vicky007aggarwal
Christopher u r a GEM. Thanks christopher for explaining the basics so passionately & nicely. I have some more trivial questions pls share your brilliance on that as well & help many more like me to learn the concepts ;- In my environment i am using Apache 2.2 & Tomcat 6.0 version . @ Both

Re: SSl Query-- please help

2012-10-24 Thread vicky007aggarwal
Thats really an extensive explanation Thanks for writing this christopher Thanks, Vicky On Oct 24, 2012, at 7:04 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Vicky, > > On 10/23/12 11:43 PM, vicky007aggar...@yahoo.co.in wrote: >> Andre & Christopher t

Re: SSl Query-- please help

2012-10-23 Thread vicky007aggarwal
Andre & Christopher thanks a lot for your time & help. One last query related to mod _jk & mod_proxy_balancer modules:- among these two which one is preferred i mean which is more stable & has good performance.? Any idea It will be great if you can share document link which talks about there pr

Re: SSl Query-- please help

2012-10-21 Thread vicky007aggarwal
All/Andre, """You could probably do this using mod_proxy_http instead of mod_jk (and a HTTPS Connector in Tomcat). But you should then also accept the overhead.""" Queries : 1. Based on above comment does that mean i can use mod_proxy module in order to have ssl communication between apache

Re: SSl Query-- please help

2012-10-21 Thread vicky007aggarwal
Thanks André for such a elaborate reply. Just want to check another thing, is it possible to setup SSL at tomcat level using mod_proxy module.. But i think it does not work in load balancing case. Does my understanding is correct?? Thanks for your support, Vicky On Oct 20, 2012, at 7:21 PM,

Re: Catalina.out log level

2012-10-19 Thread vicky007aggarwal
Thanks ralph for responding Just only below line is enough?? No need to configure/alter anything else u mean ? org.apache.catalina.level=FINEST Thanks, Vicky Sent from my iPhone On Oct 19, 2012, at 7:06 PM, Ralph Plawetzki wrote: > Am 19.10.2012 14:49, schrieb vicky007aggar...@yahoo.co.in: >

Catalina.out log level

2012-10-19 Thread vicky007aggarwal
Hi All, Can you please suggest how to change the log level of tomcat catalina.out file. I did change in the logging.properties for all handlers to finest but still catalina.out showing log levels with Info level only whereas all other log files have finest log level set (e.g. Host-manager.log/m

Re: Debug tomcat 6.0

2012-10-11 Thread vicky007aggarwal
Thanks Mark for such a easy explanatory answer. Appreciated ;) Thanks, Vicky On Oct 11, 2012, at 1:21 PM, Mark Eggers wrote: > On 10/11/2012 12:32 AM, vicky007aggar...@yahoo.co.in wrote: >> All, >> >> How to debug tomcat 6.0 , actually i am a Having issue with tomcat static >> membership clu

Debug tomcat 6.0

2012-10-11 Thread vicky007aggarwal
All, How to debug tomcat 6.0 , actually i am a Having issue with tomcat static membership cluster . But i am not seeing any relevant information in catalina.out file. Kindly suggest Thanks Vicky - To unsubscribe, e-mail: user

Re: Tomcat 6.0 cluster query

2012-10-10 Thread vicky007aggarwal
Thanks Schultz for explaining. I got the clarity now . Thankz a ton Thanks, Vicky On Oct 10, 2012, at 11:05 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Vicky, > > On 10/10/12 1:09 PM, vivek aggarwal wrote: >> I didnt understand the difference betwee

Re: Tomcat 6.0 cluster query

2012-10-10 Thread vicky007aggarwal
Thanks guys for responding promptly. I am looking forward to have a cluster with static membership that does not use multicast for membership. Step by step configuration details will be a great help for me. Plzxzxz help out Thanks, Vicky On Oct 10, 2012, at 7:47 PM, Christopher Schultz

Tomcat 6.0 cluster query

2012-10-10 Thread vicky007aggarwal
Hello All, Can somebody please help me out in setting up unicast clustering on tomcat 6.0. Series. I looked around on apache-tomcat website but didnt find anything in particular which actually helps in understanding & implementing the unicast clusting for a beginner. Kindly suggest Thanks, V