tomcat code in version control

2011-03-24 Thread Bill Wang
Hi Tomcat expert, We have one tomcat application install in our tomcat server (apache-tomcat-6.0.29 + jre1.6.0_22) it is successfully deployed. Now we are thinking to source version control on it. Do I need import all below folders and files to version control, or some of them? bash-3.00$ ls ME

Re: Can't get jkmanager working

2011-03-24 Thread Igor Cicimov
My bad, if I put only JkMount /jkmanager/* jkstatus in the VirtualHost it works but it doesn't allow any other jk setting to be put inside. So I have the rest of the mod_jk settings in the httpd.conf making them globally available. Still wonder why would only jkmanager behave this way? Ig

Can't get jkmanager working

2011-03-24 Thread Igor Cicimov
Hi all, I have tomcat 6.0.26 running on Soalaris 10 and Apache 2.2.15 in front of it with mod_jk 1.2.31 on the same host. I can't get the jkmanager page back from mod_jk and this is my relevant configuration: 1) /usr/local/apache2/conf/httpd.conf JkWorkersFile conf/workers.properties J

Re: tomcat6 still deleting XML files from Catalina/localhost when the system is booted [OT]

2011-03-24 Thread André Warnier
Jason Pyeron wrote: -Original Message- From: Jeffrey Janner Sent: Thursday, March 24, 2011 17:56 To: 'Tomcat Users List' Subject: RE: tomcat6 still deleting XML files from Catalina/localhost when the system is booted -Original Message- From: Robinson, Eric [mailto:eric.robin

RE: tomcat6 still deleting XML files from Catalina/localhost when the system is booted [OT]

2011-03-24 Thread Jason Pyeron
> -Original Message- > From: Jeffrey Janner > Sent: Thursday, March 24, 2011 17:56 > To: 'Tomcat Users List' > Subject: RE: tomcat6 still deleting XML files from > Catalina/localhost when the system is booted > > > -Original Message- > > From: Robinson, Eric [mailto:eric.robin..

Re: Inputbuffer inside the Request Object and Async memory FootPrint

2011-03-24 Thread killbulle
awarnier wrote: > > killbulle wrote: >> Hi, the list >> I trying to figure the exact role off this input buffer, >> i'am not sure that is it very useful in a case off a get request for >> example >> but it impact a lot the tomcat memory footprint in a the AsyncServlet >> usage >> Can someone can

Re: Cannot set JAVA_HOME for jsvc/Tomcat 7.0.11... i've tried EVERYTHING

2011-03-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, On 3/24/2011 1:43 PM, Kevin wrote: > OS: Ubuntu 10.10 > > Tomcat version: 7.0.11 > > Tomcat main folder path: /usr/local/apache-tomcat-7.0.11/ > > JDK version (via the java -version command) : 1.6.0.24 > > JDK location: /usr/lib/jvm/java-6-

RE: tomcat6 still deleting XML files from Catalina/localhost when the system is booted

2011-03-24 Thread Jeffrey Janner
> -Original Message- > From: Robinson, Eric [mailto:eric.robin...@psmnv.com] > The idea of having a loop in the script that waits for the directory to > be mounted sounds problematic to me. We have 75 instances of tomcat, so > 75 startup scripts. Even though they all start with S96, I assum

Re: IIS7/isapi/tomcat performance

2011-03-24 Thread Bilal S
Folks: I might be a little to this discussion. I have taken upon myself; (don't ask why I asked for that kind of pain ;o) to review how IIS and tomcat inter operate and just released in beta a new connector specifically for IIS7 / tomcat (though this works in IIS6 as well). You can download bina

Re: Inputbuffer inside the Request Object and Async memory FootPrint

2011-03-24 Thread André Warnier
killbulle wrote: Hi, the list I trying to figure the exact role off this input buffer, i'am not sure that is it very useful in a case off a get request for example, but it impact a lot the tomcat memory footprint in a the AsyncServlet usage Can someone can infirm or confirm my point What point

Re: Configuring Tomcat 6 to use basic authentication only on https connectors

2011-03-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerhard, On 3/24/2011 1:49 PM, Gaugusch, Gerhard wrote: > is there a way to configure tomcat 6 to use basic authentication only > on https connectors? I know that it is possible to define in each > deployed application via web.xml to allow only https

Re: Cannot set JAVA_HOME for jsvc/Tomcat 7.0.11... i've tried EVERYTHING

2011-03-24 Thread Mark Shifman
add -home as an argument to jsvc. if you type /bin/jsvc --help at a command line there are a bunch of other parameters you may find helpful. also if you look in /jsvc-src/native there are a couple of Tomcat?.sh files (pretty old but you will get the idea) that you can modify to start and stop

Cannot set JAVA_HOME for jsvc/Tomcat 7.0.11... i've tried EVERYTHING

2011-03-24 Thread Kevin
Hi, I'm pulling my hair trying to install Tomcat 7.0.11 on my machine. Here's my info at a glance: OS: Ubuntu 10.10 Tomcat version: 7.0.11 Tomcat main folder path: /usr/local/apache-tomcat-7.0.11/ JDK version (via the java -version command) : 1.6.0.24 JDK location: /usr/lib/jvm/java-6-s

RE: startup.sh catalina.sh blank "it works" page

2011-03-24 Thread Paul Wiggins
Thanks so much! I am able to use /etc/init.d/tomcat6 [start/stop] so I do have a work around. I'm creating a systems test environment for a new technology that will be deployed as strategic technology and therefore opted to do pkg-add install; rather than a manual/custom as I'm new to much of this

Inputbuffer inside the Request Object and Async memory FootPrint

2011-03-24 Thread killbulle
Hi, the list I trying to figure the exact role off this input buffer, i'am not sure that is it very useful in a case off a get request for example, but it impact a lot the tomcat memory footprint in a the AsyncServlet usage Can someone can infirm or confirm my point Regards Marc -- View this mess

Re: startup.sh catalina.sh blank "it works" page

2011-03-24 Thread André Warnier
The Ubuntu/Debian package is not configured to use startup.sh etc.. The paths for the package are heavily "customised" for the locations where the package installs files and symlinks. If you want to use these standard scripts, then de-install the apt package, download Tomcat from the tomcat webs

Request.inputBuferf

2011-03-24 Thread killbulle
-- View this message in context: http://old.nabble.com/Request.inputBuferf-tp31230768p31230768.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

startup.sh catalina.sh blank "it works" page

2011-03-24 Thread Paul Wiggins
Total newbie; but did spend a day: reading, searching, and debugging before posting. Tomcat appears to start correctly when I restart Ubuntu VM, in that :8080 presents me with the “It works” page. However, when use ./startup.sh or “./catalina.sh run”, :8080 presents me with a blank page.

Re: Tomcat 7.0.11, manager application: is this expected?

2011-03-24 Thread Francis GALIEGUE
On Thu, Mar 24, 2011 at 17:03, Mark Thomas wrote: [...] > > The only validation done is that the path is either zero length or > starts with a '/'. Anything else is permitted. Could the validation be > stricter? Sure. But in this case all you get (if I a reading the code > correctly) is an applica

Re: Tomcat + apache + mod_jk

2011-03-24 Thread AReid
Thanks for the response. Unfortunately, we had a load of these errors at one go, and Tomcat subsequently died of an OutOfMemory error. André Warnier 24/03/2011 15:58 Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: Tomcat + apache + mod_jk ar...@bca-grou

Re: Tomcat 7.0.11, manager application: is this expected?

2011-03-24 Thread Mark Thomas
On 24/03/2011 15:52, Francis GALIEGUE wrote: > [o3@tomcat-r8 cockpit]$ wget -O - -nv --http-user=tomcat > --http-password=tomcat > http://localhost:8080/manager/text/deploy'?path=/../cockpit&war=file:/var/lib/o3/tomcat/installs/cockpit' > OK - Deployed application at context path /../cockpit > 2011

Re: Tomcat + apache + mod_jk

2011-03-24 Thread André Warnier
ar...@bca-group.com wrote: So I assume adding connectionTimeout attribute to the connector config could help mitigate this? The connectionTimeout of the Tomcat AJP says this : connectionTimeout The number of milliseconds this Connector will wait, after accepting a connection, for the

Tomcat 7.0.11, manager application: is this expected?

2011-03-24 Thread Francis GALIEGUE
[o3@tomcat-r8 cockpit]$ wget -O - -nv --http-user=tomcat --http-password=tomcat http://localhost:8080/manager/text/deploy'?path=/../cockpit&war=file:/var/lib/o3/tomcat/installs/cockpit' OK - Deployed application at context path /../cockpit 2011-03-24 16:49:14 URL:http://localhost:8080/manager/text/

Re: Tomcat + apache + mod_jk

2011-03-24 Thread André Warnier
ar...@bca-group.com wrote: So I assume adding connectionTimeout attribute to the connector config could help mitigate this? Can you be more specific ? which connector's attribute ? the one in the Tomcat , or a setting in mod_jk's workers.properties ? But anyway, I think not. There is not re

[Commercial] Full time developer Delhi / Noida

2011-03-24 Thread abhishek jain
hi, I am looking for a full time developer, those interested pl mal me offline asap, for this urgent opening. Pl. find the JD below. Job Profile 1 (Job Code JAVA – 64 ): Senior Java developer: a.3 yrs of experience in coding in java / j2ee b.Excellent skills in Core java (mandatory) c.

Re: Tomcat + apache + mod_jk

2011-03-24 Thread AReid
So I assume adding connectionTimeout attribute to the connector config could help mitigate this? André Warnier 24/03/2011 15:15 Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: Tomcat + apache + mod_jk Hi. The schema is : a) request : browser -(1)-> (a

Re: Tomcat + apache + mod_jk

2011-03-24 Thread André Warnier
Hi. The schema is : a) request : browser -(1)-> (apache + mod_jk) --(2)--> tomcat + app. b) response : browser <-(1)-- (apache + mod_jk) <--(2)-- tomcat + app. So let's say that the browser sends the request, over connection (1), to apache. apache creates connection (2) to tomcat, sends the

RE: Tomcat + apache + mod_jk

2011-03-24 Thread AReid
Martin Gainty 24/03/2011 15:04 Please respond to "Tomcat Users List" To Tomcat Users List cc Subject RE: Tomcat + apache + mod_jk can we see the connector configuration you are implementting in server.xml? Martin __ Verzicht und Ver

RE: Tomcat + apache + mod_jk

2011-03-24 Thread Martin Gainty
can we see the connector configuration you are implementting in server.xml? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bi

Tomcat + apache + mod_jk

2011-03-24 Thread AReid
For the first time we have received this error (many times). Looks to me like tomcat cannot talk to apache to me. Can anyone shed any light on this? Windows Server 2003 Tomcat: 6.0.16 Apache: 2.2 JDK: 1.6.0_23 Tomcat and Apache on same box so I don't see how it can be a network issue as some

Re: SSL

2011-03-24 Thread Chris Beckey
FWIW ... >> warning is presented (not issued by a trusted Certificate authority) >> then I get an 'Unable to display screen' error. I'm assuming that this message is coming from your client. In that case all this means is that the client does not trust the certificate that the server is presenti

Re: reverse proxy and tomcat

2011-03-24 Thread János Löbb
André, My "marching order" was to setup a four member tomcat cluster on two machines and have a fail over for minimum one of the apaches. Then I reduced the number tomcats to two, one on each machine. My understanding is that although the user base for the app running on this setup will be re

Re: email to system admin

2011-03-24 Thread Francis GALIEGUE
On Thu, Mar 24, 2011 at 14:27, Emil Dombagolla wrote: > Dear all, > > I have struts2 application running on tomcat 5. > > and i have few error pages to display the run-time errors defined in > web.xml. > > in any case if the application landed to error page i want to get an email > to my inbox wit

email to system admin

2011-03-24 Thread Emil Dombagolla
Dear all, I have struts2 application running on tomcat 5. and i have few error pages to display the run-time errors defined in web.xml. in any case if the application landed to error page i want to get an email to my inbox with the exception details . can i configure this with tomcat. please h

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread neeraj kumar
Hi Mark, Thanks for the prompt reply. On Thu, Mar 24, 2011 at 5:33 PM, Mark Thomas wrote: > On 24/03/2011 11:14, neeraj kumar wrote: > > Hi Mark, > > > > I have a multiwar app. > > That isn't ideal. Web applications are intended to be self-contained. > > The apps are logically exclusive, just t

Re: Tomcat 6 Context not created, deployment fails

2011-03-24 Thread Mark Thomas
On 22/03/2011 22:04, Mark Thomas wrote: > There is certainly scope in there for a sentence or two about deploying > a WAR/directory under a context path not related to its name and/or > deploying a WAR/directory it multiple times. Drafts welcome. I added some more info: http://ci.apache.org/projec

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread Mark Thomas
On 24/03/2011 11:14, neeraj kumar wrote: > Hi Mark, > > I have a multiwar app. That isn't ideal. Web applications are intended to be self-contained. > I made the changes to one war in myway/META-INF/context.xml > > clearReferencesThreadLocals="true"> > > > > The issue is: > > 1.When I use

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread neeraj kumar
Hi Mark, I have a multiwar app. I made the changes to one war in myway/META-INF/context.xml The issue is: 1.When I use tomcat manager to deploy the war, it doesn't respect the path attribute of the war. i.e my war is by the name mywar-R10-SNAPSHOT.war, so the context is set as mywar-R10-SNAP

Re: reverse proxy and tomcat

2011-03-24 Thread André Warnier
Hi. Glad that you resolved the problem, and that maybe something out of my guessing helped you do so. This being said, I am still a bit curious about your setup, and what it achieves. I understand the balancing bit to some extent. But you are aware that, while the first front-end Apache is

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread Francis GALIEGUE
On Thu, Mar 24, 2011 at 08:06, neeraj kumar wrote: > Mark, > > Thanks a lot for the reply. > > This was really helpful. > > Thanks > I find there is a very nice feature with the manager webapp: if you use it in text mode and ask it to deploy/start/stop/undeploy an application, the command you iss

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread neeraj kumar
Mark, Thanks a lot for the reply. This was really helpful. Thanks -- Neeraj On Tue, Mar 22, 2011 at 8:38 PM, Mark Thomas wrote: > On 22/03/2011 14:42, neeraj kumar wrote: > > Hi , > > > > I am using Tomcat 6.0.18 , JVM Version 1.6.0_24 ,OS SunOS 5.10, OSArch > > :AMD64 > > > > Recently I obs