Re: Tomcat Server can't load himself (without using localhost)

2009-05-27 Thread Sibil87
Christopher Schultz-2 wrote: In your Engine, what is the defaultHost attribute set to? I haven't touch default installation configuration. So the engine is: Engine name=Catalina defaultHost=localhost Should I change it to something else? -- View this message in context:

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-27 Thread Guy Cube
Any found clue for this issue? We are also having similar issue with JBoss 4.2.3/Apache 2.2.9 and mod_proxy_ajp. On JBoss side, ajp connections are hanging there. in netstat -an we saw AJP's tcp connections were in ESTABLISHED state and stay there forever. Can anyone give us clue, how to fix

Re: AJP connections just stop working

2009-05-27 Thread Guy Cube
Hello, We are also haveing exact same issue in our environment. We are using JBoss 4.2.3, Apache 2.2.11 with mod_proxy_ajp using ajp to connect between Apache and JBoss. It happens intermittently and when i happnes all AJP's TCP connections are stayed in ESTABLISHED state on JBoss machine. In

Re: AJP connections just stop working

2009-05-27 Thread Rainer Jung
On 27.05.2009 09:31, Guy Cube wrote: Hello, We are also haveing exact same issue in our environment. We are using JBoss 4.2.3, Apache 2.2.11 with mod_proxy_ajp using ajp to connect between Apache and JBoss. It happens intermittently and when i happnes all AJP's TCP connections are stayed in

retrive Arabic data

2009-05-27 Thread abdul razack
Hi,    I have Java web application (JSP, Servlet, SQL server 2005) running on apache-tomcat-5.5.23.    I am facing one problem when retriving Arabic data from database. The data contains both english and Arabic in table. when retirve  data from java application all arabic is appearing as .

Re: retrive Arabic data

2009-05-27 Thread Sergio Arrighi
Hi, Try to check the encoding of your jsp pages! It must be UTF-8 as well! BB S. abdul razack ha scritto: Hi, I have Java web application (JSP, Servlet, SQL server 2005) running on apache-tomcat-5.5.23. I am facing one problem when retriving Arabic data from database. The data contains

Re: retrive Arabic data

2009-05-27 Thread Youssef Mohammed
u just need to set your content encoding to UTF-8 in your jspes %@ page pageEncoding=UTF-8 % I think also there might be a way to set the default encoding to utf8 ! Regards, Youssef On Wed, May 27, 2009 at 2:16 PM, abdul razack sh_abd...@yahoo.com wrote: Hi,  I have Java web application

Re: retrive Arabic data

2009-05-27 Thread Sergio Arrighi
In server.xml you have to set the http connector attribute: Connector port=80 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true URIEncoding=UTF-8 / Try this

Re: retrive Arabic data

2009-05-27 Thread Mark Thomas
abdul razack wrote: Hi, I have Java web application (JSP, Servlet, SQL server 2005) running on apache-tomcat-5.5.23. I am facing one problem when retriving Arabic data from database. The data contains both english and Arabic in table. when retirve data from java application all

Re: retrive Arabic data

2009-05-27 Thread abdul razack
Thanks for the quick reply. In  all JSP pages, i am using  %@ page contentType=text/html;charset=utf-8 % meta http-equiv=Content-Type content=text/html; charset=utf-8.   But I am surprise to see in servlet that request.getCharacterEncoding ( ) as null.   -Abdul Razack --- On Wed, 5/27/09, Sergio

RE: Classloaders

2009-05-27 Thread Jon Pearson
From: Jon Pearson [mailto:jon.pear...@sixnet.com] Subject: RE: Classloaders This is confounding because an ancestor classloader of my URLClassLoader that made the classes in my plugin JAR available should have access to org.postgresql.Driver. In fact, one of them *must* because

Re: retrive Arabic data

2009-05-27 Thread abdul razack
    1. In server.xml   Connector port=89 maxHttpHeaderSize=8192    maxThreads=150 minSpareThreads=25 useBodyEncodingForURI=true  URIEncoding=UTF-8 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100    connectionTimeout=2

Re: retrive Arabic data

2009-05-27 Thread Mark Thomas
abdul razack wrote: 1. In server.xml Connector port=89 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 useBodyEncodingForURI=true URIEncoding=UTF-8 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100

Re: AJP connections just stop working

2009-05-27 Thread kvancamp
Guy Cube wrote: Hello, We are also haveing exact same issue in our environment. We are using JBoss 4.2.3, Apache 2.2.11 with mod_proxy_ajp using ajp to connect between Apache and JBoss. It happens intermittently and when i happnes all AJP's TCP connections are stayed in ESTABLISHED

Re: NIO Connector: Possible key leak

2009-05-27 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, (I have no idea why my messages are getting messed-up... apologies for the empty messages... I swear I'm sending whole messages!) During performance testing, I got the following warnings in catalina.out. I'm using

Compile JSP before the first request arrives

2009-05-27 Thread S Arvind
Is there any way to pre-compile all the jsp files, when we are deploying in the production environment? -Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison*

Re: hwllo.html

2009-05-27 Thread David Smith
veena pandit wrote: I dont know where to place it. I am following some tutorial. I placed it under tomcat root in a directory named web-apps. Do i have to configure it in web.xml? Thanks, Veena The super simple, static helloworld: Create a new folder under webapps (for the

Re: How to install Tomcat 6.0.18 0n Windows Vista Home Premium?

2009-05-27 Thread S Arvind
try starting by the bat file in bin folder. -Arvind * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Sat, May 23, 2009 at 5:36 PM, a.v.v.gopalakrishna krispa...@gmail.comwrote: Application System Error, Tomcat cannot

Re: Compile JSP before the first request arrives

2009-05-27 Thread David Smith
S Arvind wrote: Is there any way to pre-compile all the jsp files, when we are deploying in the production environment? -Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison* Yes ... depends on your build

Re: hello world

2009-05-27 Thread S Arvind
rename the file name to index.html , or change the welcome page entry in web.xml to hello.html -Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Wed, May 27, 2009 at 6:23 AM, veena pandit v.kri...@gmail.com

RE: Classloaders

2009-05-27 Thread Jon Pearson
2. The documentation on classloaders is here: http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html Thanks, but I've read through that a few times. It describes the existing classloader layout but does not describe how to avoid problems when using your own within Tomcat.

RE: hello world

2009-05-27 Thread Caldarale, Charles R
From: S Arvind [mailto:arvindw...@gmail.com] Subject: Re: hello world rename the file name to index.html , or change the welcome page entry in web.xml to hello.html As previously stated, that's a really bad idea. It would overwrite Tomcat's default home page, obliterating the very useful

tomcat connector manipulation

2009-05-27 Thread xaliasos
Hi, i am writing java web services - tomcat - axis1.4 i set two connectors on tomcat 6. I want some clients (high priority) to arrive at the 1st and some clients(low priority) to arrive at the 2nd connector(different port). What i want to achieve is to serve first the clients(to a web service)

Re: hwllo.html

2009-05-27 Thread veena pandit
This worked, but when I created a directory HelloWorld under webApps and put he hello.html there, I got a 404. Thanks, On Tue, May 26, 2009 at 11:57 PM, Geofrey Rainey geofrey.rai...@tvnz.co.nzwrote: Place an index.html file in the Tomcat default web application docroot: webapps/ROOT Then

Re: Compile JSP before the first request arrives

2009-05-27 Thread S Arvind
can you give me the good docs about this.. -Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Wed, May 27, 2009 at 6:23 PM, David Smith d...@cornell.edu wrote: S Arvind wrote: Is there any way to pre-compile

Re: NIO Connector: Possible key leak

2009-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 5/27/2009 8:45 AM, Filip Hanik - Dev Lists wrote: Christopher Schultz wrote: These are the warnings I received: May 23, 2009 5:03:20 AM org.apache.tomcat.util.net.NioBlockingSelector$KeyReference finalize WARNING: Possible key leak,

RE: Classloaders

2009-05-27 Thread Caldarale, Charles R
From: Jon Pearson [mailto:jon.pear...@sixnet.com] Subject: RE: Classloaders I'm guessing that: * sun.misc.Launcher$ExtClassLoader is the bootstrap class loader Not quite - the bootstrap class loader is null; the ExtClassLoader is the one that looks in the JRE's lib/ext directory. *

RE: hwllo.html

2009-05-27 Thread Caldarale, Charles R
From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hwllo.html when I created a directory HelloWorld under webApps and put he hello.html there, I got a 404. Precision counts; it's not webApps, it's webapps - case matters. What URL did you use to try to access your hello.html? It

RE: Compile JSP before the first request arrives

2009-05-27 Thread Ghufran
Try this Some JSP containers (as per section 8.4.2 of the JSP 1.2 specification) support the capability of precompiling a JSP page. To precompile a JSP page, access the page with a query string of ?jsp_precompile http://hostname.com/mywebapp/mypage.jsp?jsp_precompile see more

RE: Compile JSP before the first request arrives

2009-05-27 Thread Caldarale, Charles R
From: S Arvind [mailto:arvindw...@gmail.com] Subject: Re: Compile JSP before the first request arrives can you give me the good docs about this.. It's in the Tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html#Production%20Configuration

RE: Classloaders

2009-05-27 Thread Jon Pearson
I'm guessing that: * sun.misc.Launcher$ExtClassLoader is the bootstrap class loader Not quite - the bootstrap class loader is null; the ExtClassLoader is the one that looks in the JRE's lib/ext directory. * sun.misc.Launcher$AppClassLoader is the system class loader *

Re: Problem Reading Property files

2009-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 5/26/2009 10:43 PM, john S wrote: Thanks for your response, Actually we dont have the source code for that because it is very old code, but i m using decompiler in which i can get some information. :(

Re: Compile JSP before the first request arrives

2009-05-27 Thread Serge Fonville
Hi Some JSP containers (as per section 8.4.2 of the JSP 1.2 specification) support the capability of precompiling a JSP page. To precompile a JSP page, access the page with a query string of ?jsp_precompile How is this different from just accessing the page after deploying it? And can this

RE: Classloaders

2009-05-27 Thread Jon Pearson
PS I tried using a different URL (file:/etc/BlueVueBatch/BVBDatabases/PostgreSQLDatabase.jar) instead of the weirdly formed one below, but I get the same error message. I guess it will load the classes in that JAR either way, but (as I expected), the format of the URL does not make a difference

Re: hwllo.html

2009-05-27 Thread veena pandit
Hi Chuck, It is webapps and I tried the same exact url. THanks, On Wed, May 27, 2009 at 9:36 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hwllo.html when I created a directory HelloWorld under webApps and put

Re: NIO Connector: Possible key leak

2009-05-27 Thread Filip Hanik - Dev Lists
Thanks Chris, the warning would only print when a GC happens and there are some keys that haven't been cancelled but dereferenced. I will work on this, but it should not cause any problems since the keys will be cleaned out. Filip Christopher Schultz wrote: -BEGIN PGP SIGNED

Re: hwllo.html

2009-05-27 Thread veena pandit
Hi Charles, It works now. I had hello.html needs to be Hello.html. Everyone Thanks, Veena On Wed, May 27, 2009 at 9:36 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hwllo.html when I created a directory

Re: Tomcat not closing threads -- SOLVED ??

2009-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, On 5/26/2009 2:47 PM, Chetan Chheda wrote: After some digging thru config files setup by the vendor, I think I might have found the root cause ..Correlating the access_log and tomcat logs, I found out that tomcat threads were shooting up

RE: CoyoteOutputStream OutputBuffer Problem

2009-05-27 Thread Caldarale, Charles R
From: Mike Duffy [mailto:mduffy_li...@yahoo.com] Subject: Re: CoyoteOutputStream OutputBuffer Problem The OutputBuffer is null when trying to write to the response. The only time the OutputBuffer reference is cleared is when the Response object is recycled, and even then only if you're

Re: Compile JSP before the first request arrives

2009-05-27 Thread Hassan Schroeder
On Wed, May 27, 2009 at 6:51 AM, Serge Fonville serge.fonvi...@gmail.com wrote: To precompile a JSP page, access the page with a query string of ?jsp_precompile How is this different from just accessing the page after deploying it? Yeah, what? :-) And can this also be done for an entire

WebappClassLoader appears to ignore LifecyceListeners

2009-05-27 Thread Okken,Brett
It appears that the WebappClassLoader[1], while declaring that it implements Lifecycle[2], actually ignores LifecycleListeners[3]. I have observed that registering a Lifecycle listener with a WebappClassLoader seems to have no effect. When the classloader is stopped, the listener was not

jmx notification of WebModule stopping

2009-05-27 Thread Okken,Brett
I would like to monitor the status of wars/web modules/applications via jmx using notifications. However, it does not seem that any of the possible MBeans send out notifications of shutdown. I have tried the WebModule (*:j2eeType=WebModule,name=//host/app,*), Manager

MaxPermSize, Tomcat startup trouble

2009-05-27 Thread Henjo
We are currently trying to get a Tomcat 6.0 server running, with Sun JDK 16.0_10. OS is Windows 2003. This Tomcat server will hold about 20 contexts, each ranging from 50-100Mb (mostly libs + jsps). Quite large, so it needs some memory adjustments. If we don't, we get the following exception:

Apache-Tomcat Advanced training courses in the US

2009-05-27 Thread Chetan Chheda
All,     Can you recommend some of them? Topics that I am looking for are : Mod_jk configuration Tomcat connectors Apache webserver  For high traffic scenariors with a performance tuning monitoring perspective .. Thanks, Chetan

RE: WebappClassLoader appears to ignore LifecyceListeners

2009-05-27 Thread Caldarale, Charles R
From: Okken,Brett [mailto:bok...@cerner.com] Subject: WebappClassLoader appears to ignore LifecyceListeners Why are listeners ignored? Because they're not needed. If they are going to be ignored, could this at least be documented? It's all open source, so feel free to submit patches.

Tomcat does not respond

2009-05-27 Thread Diego Castorina
Hi everyone, We are currently running Tomcat 6.0.14 on a Ubuntu Server 8.04 and Java 1.6. Two applications are running: - One of them uses Spring MVC and Jackrabbit providing RESTful API - The second is a client of the former with no database but it is a Grails

RE: MaxPermSize, Tomcat startup trouble

2009-05-27 Thread Caldarale, Charles R
From: Henjo [mailto:henj...@gmail.com] Subject: MaxPermSize, Tomcat startup trouble AFAIK the PermSpace holds all compiled java classes (and jsps) in RAM. No; it holds the java.lang.Class instances that represent the loaded classes (including JSPs). Size of a class file on disk has

Re: Compile JSP before the first request arrives

2009-05-27 Thread Len Popp
On Wed, May 27, 2009 at 09:51, Serge Fonville serge.fonvi...@gmail.com wrote: Hi Some JSP containers (as per section 8.4.2 of the JSP 1.2 specification) support the capability of precompiling a JSP page. To precompile a JSP page, access the page with a query string of ?jsp_precompile How

FW: How to Install/Run Tomcat on Win2003 Server 64-bit?

2009-05-27 Thread Debbie Shapiro
These don't appear to be installation files. What should I be doing with these particular files? Debbie Shapiro, Data Warehouse Manager Office: 425.402.2233 -Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Tuesday, May 26, 2009 9:58 AM To: Tomcat Users List

RE: How to Install/Run Tomcat on Win2003 Server 64-bit?

2009-05-27 Thread Caldarale, Charles R
From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] Subject: FW: How to Install/Run Tomcat on Win2003 Server 64-bit? These don't appear to be installation files. What should I be doing with these particular files? Mark T already answered your question yesterday:

Re: Tomcat not closing threads -- SOLVED ??

2009-05-27 Thread Chetan Chheda
Pardon my ignorance .. but browsing thru the application directories I found a number of other file types like css, javascript, ser etc and wasnt sure whether these need to go to tomcat or not. Hence - JkMount /LCSW/* ajp13  So I went with with I am sure about, which is image files and html

Re: jmx notification of WebModule stopping

2009-05-27 Thread Mark Thomas
Okken,Brett wrote: I would like to monitor the status of wars/web modules/applications via jmx using notifications. However, it does not seem that any of the possible MBeans send out notifications of shutdown. I have tried the WebModule (*:j2eeType=WebModule,name=//host/app,*), Manager

Re: Apache-Tomcat Advanced training courses in the US

2009-05-27 Thread Mark Thomas
Chetan Chheda wrote: All, Can you recommend some of them? Topics that I am looking for are : Mod_jk configuration Tomcat connectors Apache webserver For high traffic scenariors with a performance tuning monitoring perspective ..

RE: Tomcat not closing threads -- SOLVED ??

2009-05-27 Thread Caldarale, Charles R
From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: Re: Tomcat not closing threads -- SOLVED ?? Pardon my ignorance .. but browsing thru the application directories I found a number of other file types like css, javascript, ser etc and wasnt sure whether these need to go to tomcat

Re: Tomcat does not respond

2009-05-27 Thread Mark Thomas
Diego Castorina wrote: Hi everyone, We are currently running Tomcat 6.0.14 on a Ubuntu Server 8.04 and Java 1.6. Two applications are running: - One of them uses Spring MVC and Jackrabbit providing RESTful API - The second is a client of the former with no

Re: Apache httpd vs Tomcat static content performance [more results]

2009-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/25/2009 1:30 PM, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Apache httpd vs Tomcat static content performance [more results] There are some extracts from the 2007 O'Reilly Tomcat book about benchmarking on

Re: Tomcat not closing threads -- SOLVED ??

2009-05-27 Thread Chetan Chheda
This is a vendor supported architecture. They deliver a set of pre-packaged Apache conf files. So apache is a part of their design. On our side, we have multiple httpd's load balancing to multiple tomcats. Also the application is AD integrated and some paths of access lie in the DMZ where only

Re: Apache-Tomcat Advanced training courses in the US

2009-05-27 Thread Landon Fabbricino
I would suggest http://marakana.com/ For a technical training facility, I was extremely impressed. We only covered a little bit of the performance tuning, however, they seemed very flexible in class to cover in detail topics out side of what was covered in the course. From: Chetan Chheda

RE: How to Install/Run Tomcat on Win2003 Server 64-bit?

2009-05-27 Thread Martin Gainty
as mladen mentioned these are the 64bit windows binaries for TC 6 let us know if you have any installation/configuration issues Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist

FW: How to Install/Run Tomcat on Win2003 Server 64-bit?

2009-05-27 Thread Debbie Shapiro
Never mind! I have it figured out, I think. I just copied over the existing tomcat6.exe and tomcat6w.exe files from the standard installation with the files in this amd64 svn (just in case anyone else is trying to do this). Debbie Shapiro, Data Warehouse Manager Office: 425.402.2233

Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mike Oliver
I would like to use Web Services to access the many tomcat instances I have, instead of having to login to each Manager individually. Has anyone created a WSDL wrapper implementation to duplicate the manager or administration applications operations via web services. Non WSDL REST web services

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mark Thomas
Mike Oliver wrote: I would like to use Web Services to access the many tomcat instances I have, instead of having to login to each Manager individually. Has anyone created a WSDL wrapper implementation to duplicate the manager or administration applications operations via web services. Non

RE: Tomcat does not respond

2009-05-27 Thread Martin Gainty
please display TC logs usually located at %CATALINA_HOME%\SERVER_NAME.-MM-DD.log any/all %CATALINA_HOME%/*/WEB-INF/web.xml any/all %CATALINA_HOME%/*/WEB-INF/applicationContext.xml and your startup configuration for Groovy %GROOVY_HOME%\conf\groovy-starter*.conf Saludos Cordiales Martin

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Ken Bowen
I may be misunderstanding, wasn't the OP asking for a way to connect to all those different managers without separate logins? Sort of like a single-signon for the the managers? Or can the current manager do such a thing across multiple Tomcats? Ken On May 27, 2009, at 12:45 PM, Mark

Load balancer (proxy?) problem.

2009-05-27 Thread Bill Davidson
We're using LVS for load balancing to three separate Tomcat 6 servers. We do not have session replication. We do use sticky load balancing, or it wouldn't work. The problem is, we're having some customers, specifically people in parts of Australia and Malaysia, on wireless ISP's who are coming

Re: Load balancer (proxy?) problem.

2009-05-27 Thread Mark Thomas
Bill Davidson wrote: They swear they aren't using proxies. I'm not sure I believe them. Is it possible that their ISP could be redirecting ports 80 and/or 443 through a proxy without the users browser being configured to do so? Yes. Is there some other reason why they could be hitting us

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mike Oliver
Ok perhaps I was unclear. I have multiple instances of Tomcat installed and need to manage the applications deployed on those instances. Currently I must login with a username and password to each instance /manager application through the normal user interface. What I want to do is automate

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mark Thomas
Mike Oliver wrote: Ok perhaps I was unclear. I have multiple instances of Tomcat installed and need to manage the applications deployed on those instances. Currently I must login with a username and password to each instance /manager application through the normal user interface. What

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Peter Lin
I think he wants it in XML format, and be able to bind it to an object model On Wed, May 27, 2009 at 1:29 PM, Mark Thomas ma...@apache.org wrote: Mike Oliver wrote: Ok perhaps I was unclear. I have multiple instances of Tomcat installed and need to manage the applications deployed on those

Re: Load balancer (proxy?) problem.

2009-05-27 Thread Bill Davidson
Mark Thomas wrote: Any reason you can't load balance based on the JVM route in the session ID? Other than not being aware that it could be done or how to do it, none that I know of. Normally, we use cookies for the session id. Can LVS look at the session id in a cookie?

Re: Load balancer (proxy?) problem.

2009-05-27 Thread Mark Thomas
Bill Davidson wrote: Mark Thomas wrote: Any reason you can't load balance based on the JVM route in the session ID? Other than not being aware that it could be done or how to do it, none that I know of. Normally, we use cookies for the session id. Can LVS look at the session id in

RE: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Martin Gainty
there are different approaches based on your security needs if you open your TC webapps you will subject yourself to Man-in-the-middle attacks which would be time-consuming to detect and quite costly to your business have you thought of an alternative approach perhaps some other Secure front

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mike Oliver
Hmmm, I am not looking for the contents of /manager either in HTML or XML. The manager application you access at /manager/html can perform operations like start, stop, deploy, undeploy, check status, etc. out of the box I can setup a manager role and grant that to a user, login as that user

RE: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mike Oliver
Thanks Martin, I would imagine that the manager application wrapped in a web services implementation would have no less security than the manager/html application, and therefore be no more vulnerable than /manager/html would be. At any rate, all our tomcats in our server farm are firewalled and

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mark Thomas
Mike Oliver wrote: Hmmm, I am not looking for the contents of /manager either in HTML or XML. /manager is plain text for automated tools /manager/html is the GUI Mark - To unsubscribe, e-mail:

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread David Smith
Color me crazy, but I'm working on a WSDL project now and ... well ... yuck. Sorry .. just had to get that out of my system. :-) The services offered by manager should work for what you want. The link below is for tomcat 6, but there are equivalents for whatever version you are working with:

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mike Oliver
Thanks, The URI commands don't quite cut it. As I stated I want to deploy a new war file. The use of HttpClient to connect and send commands is one thing but to use these commands requires all files to already exist on the server to be referenced by the command. I want to deploy a new war

Re: Load balancer (proxy?) problem.

2009-05-27 Thread Bill Davidson
Mark Thomas wrote: Don't know. Never used it. Look for something in the docs around layer 7 load-balancing and/or cookies. If you are using https then your SSL will have to be terminated at the load-balancer otherwise you won't be able to see the session cookie or url. Apparently LVS doesn't

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mark Thomas
Mike Oliver wrote: Thanks, The URI commands don't quite cut it. As I stated I want to deploy a new war file. It supports that. Using PUT if I recall correctly. The use of HttpClient to connect and send commands is one thing but to use these commands requires all files to already exist

Windows x64 Installer

2009-05-27 Thread Jeffrey Janner
Would anyone like to tackle post an installer for 64-bit Windows? The current installer is 32-bit only. I know that it is fairly simple to convert an installed 32-bit Tomcat to 64-bit: 1) Install a 64-bit Java. 2) Download the 64-bit Procrun executable and replace Tomcat5.exe Tomcat5w.exe with

Re: Windows x64 Installer

2009-05-27 Thread Mark Thomas
Jeffrey Janner wrote: Would anyone like to tackle post an installer for 64-bit Windows? The current installer is 32-bit only. Already done and will be in 6.0.21 onwards. (didn't quite make 6.0.20) Mark - To unsubscribe,

RE: Windows x64 Installer

2009-05-27 Thread Jeffrey Janner
Thanks Mark. One more reason to hound my developers to move up. Any reason that an app written for 5.5 could not be moved wholesale to 6.x? Also, did I leave out anything in my manual steps? JEff Mark Thomas wrote: Already done and will be in 6.0.21 onwards. (didn't quite make 6.0.20) Mark

Re: Windows x64 Installer

2009-05-27 Thread will trillich
On Wed, May 27, 2009 at 3:43 PM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Would anyone like to tackle post an installer for 64-bit Windows? The current installer is 32-bit only. Hi Jeff -- We just got done tackling a 64-bit windows install, and we're writing up a more complete doc,

Re: Windows x64 Installer

2009-05-27 Thread Mark Thomas
Jeffrey Janner wrote: Thanks Mark. One more reason to hound my developers to move up. Any reason that an app written for 5.5 could not be moved wholesale to 6.x? Also, did I leave out anything in my manual steps? Looks good to me. I need to check how the APR/native library is handled. That

RE: tomcat connector manipulation

2009-05-27 Thread Caldarale, Charles R
From: xalia...@freemail.gr [mailto:xalia...@freemail.gr] Subject: tomcat connector manipulation Is there a way to be able to handle at first the one connector ( (high prior.) and then the other one? Nothing I can think of currently in Tomcat or the servlet spec would help here. You could

Apache, Tomcat, Mod_JK Configurations

2009-05-27 Thread CrystalCracker
Apache 2.2 Tomcat 6 Mod_jk 1.2.21 All of them are running on the same box. I have at any given time around 300 active sessions using the site, and upto 450 at max. Each user on average logs on to the site for around 15 minutes, and the calls are usually big and slow database or web- service

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread André Warnier
Mike Oliver wrote: ... Unless I misunderstand, - the first part of your problem is to be able to login once, and then have this login be valid for all separate Tomcat instances. - the second part of the problem is then, for each Tomcat instance, to be able to use manager-like functionalities to

Re: Load balancer (proxy?) problem.

2009-05-27 Thread André Warnier
Bill Davidson wrote: ... Our application switches between them [HTTP or HTTPS] based upon whether there is sensitive data in the page or not. So I guess that if you did not do that, you would not be having this issue. Feasible ?

RE: MaxPermSize, Tomcat startup trouble

2009-05-27 Thread Peter Crowther
From: Henjo [henj...@gmail.com] OS is Windows 2003. x86 or x64? Available RAM is 3.5Gb on the machine, so that's not a problem. I assume x86 from that sizing. As Chuck points out, you won't get the space you want given Windows' appalling memory use. Any ideas how we can get a much larger

Re: Load balancer (proxy?) problem.

2009-05-27 Thread Bill Davidson
André Warnier wrote: Bill Davidson wrote: ... Our application switches between them [HTTP or HTTPS] based upon whether there is sensitive data in the page or not. So I guess that if you did not do that, you would not be having this issue. Feasible ? Non-trivial. Also, there is resistance

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mike Oliver
Thanks, no its not about single sign on, its about automation via web services. I want the operations that are associated with /manager to be wrapped in WSDL/SOAP so I can automate via SOAP/BPEL the process of deploying new war files to multiple instances of Tomcat. If someone has done this

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Mike Oliver
Thanks, no I haven't dropped REST, as an alternative. if the manager command for deploy using http put will work then that might be a shortcut. But my desire for WSDL/SOAP is because it will then work with BPEL process flows and has better error handling and fits with our JMS AND ESB clients...

RE: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Martin Gainty
Andre could you explain how mod_perl would handle routing capability to pass to tc instances?..could mod_perl accomplish the functionality of a load-balancer? thanks Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de

How does Prefork work?

2009-05-27 Thread CrystalCracker
Can anyone explain me how exactly prefork works? StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 ServerLimit 16 I think I got confused between the terms - server, process and thread. If prefork is a single thread process, what does that ThreadsPerChild

Re: How does Prefork work?

2009-05-27 Thread steve rieger
I think you meant to post that to the httpd/apache list --Original Message-- From: CrystalCracker To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: How does Prefork work? Sent: May 27, 2009 21:10 Can anyone explain me how exactly prefork works? StartServers 2 MaxClients

Re: Tomcat 6 - not started AJP/NIO on CentOS

2009-05-27 Thread Dmitriy Repin
Dmitriy Repin wrote: Caldarale, Charles R wrote: Post the server.xml from your CentOS attempt so we can look at it. - Chuck Problem solved. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Windows x64 Installer

2009-05-27 Thread Mladen Turk
Jeffrey Janner wrote: Would anyone like to tackle post an installer for 64-bit Windows? The current installer is 32-bit only. I know that it is fairly simple to convert an installed 32-bit Tomcat to 64-bit: 4) Run the Tomcat5.exe in Install mode to install the 64-bit version, making sure to

Re: AJP connections just stop working

2009-05-27 Thread Guy Cube
Here are my updates : Interesting finding is whatever AJP connectors stuck in Keepalive mode for long time are for requests coming from remote clients. All connections for requests coming from local (internal network) clients were changed to CLOSE_WAIT after some time. Today I tried with