why tomcat5 does stop automaticlly after started.

2005-12-02 Thread Mike Zang
I installed tomcat5 and mod_jk on FC4 as below: yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps mod_jk At the first, the tomcat5 is ok, but after I reboot the server, the tomcat soon stop after started, I can find it as below after started: tomcat3885 1 18 15:28 pts/200:00:0

why tomcat5 does stop automaticlly after started.

2005-12-02 Thread Mike Zang
I installed tomcat5 and mod_jk on FC4 as below: yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps mod_jk At the first, the tomcat5 is ok, but after I reboot the server, the tomcat soon stop after started, I can find it as below after started: tomcat3885 1 18 15:28 pts/200:00:0

tomcat5 stop auto after started.

2005-12-02 Thread Mike Zang
I installed tomcat5 and mod_jk on FC4 as below: yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps mod_jk At the first, the tomcat5 is ok, but after I reboot the server, the tomcat soon stop after started, I can find it as below after started: tomcat3885 1 18 15:28 pts/200:00:0

Re: Apache Portable Runtime

2005-12-02 Thread Bill Barker
"Robert Palmer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is this something that I should worry about? Is it easily resolved? I have > downloaded and installled Apache Portable Runtiime. It did not install in > the Java path though? > The message has been fixed in 5.5.13.

ArrayIndexOutOfBoundsException when attempting to call Filter init

2005-12-02 Thread Leigh Estes
When initializing a simple filter we have that implements Filter, an ArrayIndexOutOfBoundsException occurs. We have not been able to figure out how this could be caused by something we're doing wrong. The stack trace follows. The line in the SphinxCookieFilter class that it is complaining (line 37)

RE: Help needed to set tomcat5.0.28 and IIS 5

2005-12-02 Thread David Chen
A typo "localhost" caused the errors in log files. However, still can not get it work, it gives me HTTP 500 - Internal server error when I tried "http://localhost/servlets-examples/index.html"; Checked the log file: [Fri Dec 02 17:39:27 2005] [1260:2620] [debug] jk_uri_worker_map.c (449): Attempti

Re: Charset configurations for JSP pages

2005-12-02 Thread Mieke Banderas
Mark Thomas said: >Mieke Banderas wrote: >> Mark Thomas said: >>>Read the spec. >> Where in the spec? > >"JSP.4 Internationalization Issues" would seem to be a blinding >obvious place to start. I didn't find anything obvious in that section. It says: "A JSP page uses a character encoding. The en

Help needed to set tomcat5.0.28 and IIS 5

2005-12-02 Thread David Chen
Hi, there: I tried to set my tomcat 5.0.28 working with IIS 5 in my windows 2000 system, followed exactly steps listed in the document, unfortunately no luck so far. Could anyone here help me through it. My question is: should I change my server.xml to configure 8009 port? the current server.xml

Apache Portable Runtime

2005-12-02 Thread Robert Palmer
Is this something that I should worry about? Is it easily resolved? I have downloaded and installled Apache Portable Runtiime. It did not install in the Java path though? Thanks Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/

RE: Deploying new virtual hosts

2005-12-02 Thread George Sexton
I think it would be a lot more practical for me to fix the things wrong with host-manager than to try and replicate so much of Tomcat's internal workings. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Mikolaj Rydzewski [mail

Re: When does 408 happen ?

2005-12-02 Thread Martin Gainty
Henrik Could you confirm that your 408 is caused by client hanging the connection for 30 min Thanks Martin- - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, December 02, 2005 2:04 PM Subject: Re: When does 408 happen ? hv @ Fashion

Running jconsole against TC 5.5 on Windows

2005-12-02 Thread Damon Rand
Hi there, I'm stuck.. I am running TC 5.5.12 and JDK 1.5.0_05 on Windows as a service. When I start TC with -Dcom.sun.management.jmxremote in the config it starts but jconsole shows nothing in the local connections. When I start TC with -Dcom.sun.management.jmxremote.port=8999 TC crashes out

Re: Certificate Revocation Lists in Tomcat 5.5

2005-12-02 Thread Kennedy Roberts
I've gotten it to work!! (Well, mostly :) ) The last problem that I was having (below) is that the parameter in the server.xml file should have been crlFile rather than crlFiles (with an 's'). Now, when I point to a CRL file in the server.xml file and then try to access the site with a revoke

TC 5 ssl not starting for me

2005-12-02 Thread Chris Pat
Hello I have BOTH TC4 & TC5 running and it works fine for http. I have followed the apache docs and created a keystore with all the defaults that exists in c:\winnt\profiles\adminstrator I made the changes below and even after server restart and url of https://localhost:9443 cannot start. Can any

RE: j_security_check

2005-12-02 Thread Caldarale, Charles R
> From: Khawaja Shams [mailto:[EMAIL PROTECTED] > Subject: j_security_check > > when I map my application with a different context path, > I cannot use the j_security_check resource. Don't suppose you'd want to give us a hint about which Tomcat level you're using? - Chuck THIS COMMUNICA

RE: memory limit for tomcat?

2005-12-02 Thread Carl Olivier
I would alos suggest leaving an equal amount (or thereabouts) of RAM to the OS for native allocation. I found - after months of fighting, that assigning too much to the JVM heap can also have detrimental effects. Another thing to look at is to drop the native stack size allocated to threads - the

RE: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9)

2005-12-02 Thread Duan, Nick
I guess one way to test if the ajp listener on tomcat is working is to take a look at your Catalina log file and see if it contains a log message something like "INFO: JK: ajp13 listening on /0.0.0.0:8009". Some other factors to consider: Are tomcat and apache httpd running on the same machine?

Re: Apache 2.2 and mod_proxy_ajp

2005-12-02 Thread Jess Holle
Chris Lear wrote: * Jess Holle wrote (02/12/05 13:53): I have some vague recollection that performance of mod_proxy_ajp tested just /slightly /better than mod_jk. But where is the information on this? It should be in Apache 2.2's doc set, but it would not surprise me at all if this

Re: When does 408 happen ?

2005-12-02 Thread hv @ Fashion Content
So what if my login page does NOT create a session and the user browses to the login page and then enters credentials ? In that case there will be no session created when login form is submitted. As I understand it I must ensure that the login page creates a session Henrik "Mark Thomas" <[EMAIL

RE: TC 5 ssl not starting up

2005-12-02 Thread Nate Rock
Hey Chris, What is the fileName of your keystore? Looks like you might be missing the actual keystore's fileName in the keystoreFile attribute: keystoreFile="c:/winnt/profiles/administrator/" If your keystore is named "myKeystore", add it to the end of your URI in the keystoreFile attrib

Deploying new virtual hosts

2005-12-02 Thread Terence M. Bandoian
Hi- For that many virtual domains, you may want to investigate using a commercial hosting application that allows you to manage the server from a web interface. They are available for Linux and Windows and may be worth the cost in time saved. -Terence M. Bandoian >> George Sexton wrote: >> >>>

Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9)

2005-12-02 Thread Luka Andrejasic
Can someone help me with this problem please? Luka - Original Message - From: "Luka Andrejasic" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, November 30, 2005 9:14 PM Subject: Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9) I tried your version and I tried d

RE: memory limit for tomcat?

2005-12-02 Thread Caldarale, Charles R
> From: joon yoo [mailto:[EMAIL PROTECTED] > Subject: memory limit for tomcat? > > The server is going to be upgraded to 2GB's of RAM, exactly what is > the limit of the amount of memory that can be allocated to tomcat and > still run stably? The limit is a function of the OS and JVM you're usin

Fw: When does 408 happen ?

2005-12-02 Thread Martin Gainty
Henrik- Im would recoomend acquiring a HTTP sniffer such as Packetyzer http://www.networkchemistry.com/products/packetyzer.php to see ascertain HTTP packet characteristic timing deltas and to ulltimately determine who/what is timing out the connection The aforementioned suggestions on httpd.conf

RE: memory limit for tomcat?

2005-12-02 Thread Nate Rock
This is asked on the mailing list a bunch but in short, the theoretical max you could use running windows 32 bit is 1800MB, but depending on other programs loaded at startup (virus checkers, firewall software etc.) I have see ranges from 1024MB-1500MB (MAX!). We typically used 1024MB Initial/1024MB

memory limit for tomcat?

2005-12-02 Thread joon yoo
Hi, Currently on our tomcat 5 server (1GB RAM, Win 2000 server SP4), we have the "initial memory pool" and "max memory pool" values set to 768MB in the apache tomcat properties app. The server is going to be upgraded to 2GB's of RAM, exactly what is the limit of the amount of memory that can be a

TC 5 ssl not starting up

2005-12-02 Thread Chris Pat
Hello I have BOTH TC4 & TC5 running and it works fine for http. I have followed the apache docs and created a keystore with all the defaults that exists in c:\winnt\profiles\adminstrator I made the changes below and even after server restart and url of https://localhost:9443 cannot get to start.

memory limit for tomcat?

2005-12-02 Thread joon yoo
Hi, Currently on our tomcat 5 server (1GB RAM, Win 2000 server SP4), we have the "initial memory pool" and "max memory pool" values set to 768MB in the apache tomcat properties app. The server is going to be upgraded to 2GB's of RAM, exactly what is the limit of the amount of memory that can be a

Re: When does 408 happen ?

2005-12-02 Thread hv @ Fashion Content
Thank you for your response. The odd thing is that I am dealing with pages generated by Tapestry that normally take around 5ms and in the worst cases I have seen 300ms. My manual response time shouldn't be an issue as the browser doesn't have a JSESSION cookie currently, so a new session will b

FW: web.xml question (SOLVED)

2005-12-02 Thread Klotz Jr, Dennis
I wanted to update this particular thread with a valid and fairly easy solution. For those just tuning in: If you want a way to have your login form use SSL but the rest of your application use whatever the original URL specified read on. Note this also keeps the login form from showing as a UR

j_security_check

2005-12-02 Thread Khawaja Shams
Hello, when I map my application with a different context path, I cannot use the j_security_check resource. I have put in a security constraint in my web.xml, which works perfectly when I am not using the context. However, any time I refer to the application through its context mapping name,

Re: When does 408 happen ?

2005-12-02 Thread Mark Thomas
hv @ Fashion Content wrote: I get: HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser Will it happen when a JSESSION cookie is on the client

Re: Web -service

2005-12-02 Thread Dariusz Dwornikowski
MW Janssen wrote: are you using log4j? I had problems with the commons-logging package of axis in combination with log4j. I didn't see any log info in my logfiles anymore. How did I solve this? I found that the classloader hierarchy gives problems if u are using log4j and commons-logging.jar. I

Re: Apache 2.2 and mod_proxy_ajp

2005-12-02 Thread Chris Lear
* Jess Holle wrote (02/12/05 13:53): > I have some vague recollection that performance of mod_proxy_ajp tested > just /slightly /better than mod_jk. But where is the information on this? I joined this list a few days ago after Googling like crazy for information on the most sensible and supporte

RE: Web -service

2005-12-02 Thread MW Janssen
are you using log4j? I had problems with the commons-logging package of axis in combination with log4j. I didn't see any log info in my logfiles anymore. How did I solve this? I found that the classloader hierarchy gives problems if u are using log4j and commons-logging.jar. I replaced commons-lo

RE: SSL InvalidKeystore Format?

2005-12-02 Thread Nate Rock
Dhaval your explincation was excellent! I think with a bit more information about how exactly Scott got his certificate from verisign, I think we can help him out a bit more. 1. What did you use to create your Certificate Request (csr) to verisign? -IIS -java keytool -o

Web -service

2005-12-02 Thread Dariusz Dwornikowski
Hi, (if is post to wrong maillist please tell me) I use: tomcat 5.5.12, jdk1.5,axis 1.2 What i want to have : Working web-service wchich conects with UDDI4j to Juddi and additionally with postgres-jdbc to postgres. What i have: I have written completely working application of function

Class Loader Problem

2005-12-02 Thread Somasundaram.S
Hi, I have jakarta-tomcat-5.5.9 installed and have placed packaged classes which are actually beans in WEB-INF/classes of my web application archive. I am trying to access mysql through these beans. The code is : try { Class.forName(Prop.DB_DRIVER); } catch (ClassNotFou

Re: JSP on apache

2005-12-02 Thread Tim Funk
Both of those binaries look to be for apache2. My guess is to rename the version you are using (apache worker vs prefork) to mod_jk.so. Place the mod_jk.so libexec directory then add the appropriate so load module directives and othr jk config directives. The FAQ should have some links (some g

Re: Session crash problem. Please help!

2005-12-02 Thread Martin Gainty
Allesandro can you attach the stderr_20051202.log stdout_20051202.log Ciao Martin- - Original Message - From: "Alessandro Colantoni" <[EMAIL PROTECTED]> To: Sent: Friday, December 02, 2005 5:47 AM Subject: Session crash problem. Please help! Hi All I configured on conf/web.xml session

Re: Apache 2.2 and mod_proxy_ajp

2005-12-02 Thread Jess Holle
I have some vague recollection that performance of mod_proxy_ajp tested just /slightly /better than mod_jk. Tim Funk wrote: Performance (IIRC while reading on the mailing lists) is about the same. mod_proxy_ajp should be easier to configure and install since it comes bundled with apache and i

RE: JSP on apache

2005-12-02 Thread mukesh
Tim, I have downloaded two files 1) jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-prefork.so 2) jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so I have gone through documentation. It says that I need mod_jk.so to complete the task which I co

Fw: When does 408 happen ?

2005-12-02 Thread Martin Gainty
look at these parameters in httpd.conf http://httpd.apache.org/docs/1.3/mod/core.html#keepalive specifically #The TimeOut directive currently defines the amount of time Apache will wait for three things: #~The total amount of time it takes to receive a GET request. #~The amount of time between

Re: Apache 2.2 and mod_proxy_ajp

2005-12-02 Thread Tim Funk
Performance (IIRC while reading on the mailing lists) is about the same. mod_proxy_ajp should be easier to configure and install since it comes bundled with apache and it should be much easier to install than jk. e wrote: Hi, I'm happy to see Apache 2.2 has been released. I'm curious if any

Apache 2.2 and mod_proxy_ajp

2005-12-02 Thread e
Hi, I'm happy to see Apache 2.2 has been released. I'm curious if anyone has any insights into the performance of mod_proxy_ajp vs mod_jk? Is it more efficient, or just easier to configure? Are there any sample configurations available to look at? Thanks, E

Re: Server Side file access

2005-12-02 Thread Martin Gainty
Glad to hear it Stay in touch, Martin "Good Manners dont cost nothing" - Pink Floyd - Original Message - From: "Phillip Mangwiro" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Friday, December 02, 2005 2:19 AM Subject: Re: Server Side file acc

Problem Solved

2005-12-02 Thread Teh Noranis Mohd Aris
Dear All, For those who replied, thank you so much. I've already solved the problem. I think that I've downloaded the wrong file. I've uninstalled tomcat and installed it again and it works. Thank you again. Regards, Teh __ Start your day with Y

When does 408 happen ?

2005-12-02 Thread hv @ Fashion Content
I get: HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser Will it happen when a JSESSION cookie is on the client, but no longer on the server?

Re: JSP on apache

2005-12-02 Thread Tim Funk
In that case ... http://tomcat.apache.org/connectors-doc/ -Tim mukesh wrote: Tim, I am working on a live server (apache 2.0) which is hosting a website. So I can not think of downloading any other server. I have to integrate my tomcat (version 5.5) with existing server only. -Mukesh

Re: Setting up virtual hosts behind a reverse proxy

2005-12-02 Thread Eric Jain
Eric Jain wrote: I have a Tomcat (5.5.12) server that is hidden behind Apache. On the Apache server, several virtual hosts are defined. ServerName .xxx.xx ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Now I'd like to map some of these virtual

FW: JspFactoryImpl: Exception initializing page context

2005-12-02 Thread Karthik
Hi Plese Some body tell me Why is thgis error appearing Frequently "JspFactoryImpl: Exception initializing page context" O/s = HP - UNIX JDK =1.2.2 TOMCAT = 4.1.27 [ The JDK cannot be upgraded to 1.4.x ,because the web application is aproduction server used by the Clients]

JspFactoryImpl: Exception initializing page context

2005-12-02 Thread Karthik
Hi Plese Some body tell me Why is thgis error appearing Frequently "JspFactoryImpl: Exception initializing page context" O/s = HP - UNIX JDK =1.2.2 TOMCAT = 4.1.27 [ The JDK cannot be upgraded to 1.4.x ,because the web application is aproduction server used by the Clients] w

RE: JSP on apache

2005-12-02 Thread mukesh
Tim, I am working on a live server (apache 2.0) which is hosting a website. So I can not think of downloading any other server. I have to integrate my tomcat (version 5.5) with existing server only. -Mukesh -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday

What's wrong in Tomcat 5.5.12.?

2005-12-02 Thread Pavel Janoušek
Hi all, I run Tomcat 5.5.9. in many instalation for several months. Now, I try to use new version of Tomcat (5.5.12.) and I see some = errors... I know this page = http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html, I = think, that in 5.5.12. bootload

Re: JSP on apache

2005-12-02 Thread Tim Funk
Now that apache 2.2 is just released - it comes with mod_ajp out of the box so there is no need for mod_jk -Tim mukesh wrote: Thanks for your kind response. Well I am using tomcat 5.5 and I could not find any directory with name "native" as its mentioned in mod_jk documentation that aforemen

Re: application scope beans persistence

2005-12-02 Thread Tim Funk
Application scope is not persisted across restarts. Sessions can be persisted across restarts. But sessions which contain non-serializable attributes will not be persisted. (Because they can't be serialized) -Tim Khawaja Shams wrote: Hello all, I am wondering when the application/sessio

Re: Recursive Tagfile and JSP Precompilation

2005-12-02 Thread Tim Funk
Please create a working (simple) war file which reproduces the error and submit it to Bugzilla. -Tim Peter L wrote: Thanks Tim but it doesn't appear to be entirely resolved... Long story short: - Tried to precompile using the jbossweb-tomcat55.sar from jboss-4.0.3 - Same problem (I think its

Re: Deploying new virtual hosts

2005-12-02 Thread Mikolaj Rydzewski
George Sexton wrote: I'm trying to sort out a way I can automate deploying new virtual hosts on my Tomcat server. Right now I'm running about 70 virtual hosts. Each virtual host has only one ROOT context. I'm planning on scaling up to at least 200 virtual hosts before I need to get a second mach

Re: Singleton memory leak after redeploying.

2005-12-02 Thread Lionel Farbos
Hi Rémy, It's a very good news for all !!! Until now, we used a CleanupListener to do such things, and webapps could use it or not. Now, Tomcat will do this automatically for us :-)) But I need some complements : - this new feature will be integrated in Tomcat 3 ? Tomcat 4 ? Tomcat 5.0 ? - in t

RE: JSP on apache

2005-12-02 Thread mukesh
Thanks for your kind response. Well I am using tomcat 5.5 and I could not find any directory with name "native" as its mentioned in mod_jk documentation that aforementioned directory contains mod_jk module. Please suggest which version of mod_jk should I use and where I can get it from? Regards

Session crash problem. Please help!

2005-12-02 Thread Alessandro Colantoni
Hi All I configured on conf/web.xml session timeout on 180 minutes and on my web.xml too. I have the following context.xml session crash very often. it crashes while working too, without leaving any inactivity as well I tried with tomcat 4.1, 5.5.5, 5.5.7,5.5.12 on

Re: Java databases as alternative to MySQL on OS X Server? (OT)

2005-12-02 Thread Mieke Banderas
Mike Sabroff suggested: >Cloudscape is it faster than Apache Derby in your experience? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to reload jsp using ant in Tomcat 5.5

2005-12-02 Thread Guillermo Sobrino
Hello, I'm using Tomcat 5.5 on wich I deploy a web application with ant using: where install.home/component.name-component.version is a local directory wich contains a typical structure with JSP's and a WEB-INF directory wich includes lib and classes directories. I get to d

help about WebAppClassLoader

2005-12-02 Thread Magic.chen
Hi, pals, I'm working on the embeded tomcat server 5.5.12 which is started from eclipse. And i could start/stop the tomcat successfully. but if once i stop the tomcat server, and then start it, a exception was thrown. It seemed that something wrong with WebAppClassLoad. Could anyone give me so

Re: Deploying Servlet Project from Windows to Fedora

2005-12-02 Thread Aydın Toprak
hiii.. I have tried some different configuraitons but neither of them worked I understand a tricky diffrence of the error mesaages that I have given from tomcat .. the first one is exception : javax.servlet.servletexception : Error *instantiating servlet class*

Re: Please Help Me

2005-12-02 Thread David Delbecq
Hi, You need to provide additionnal informations: - what command did you use (according to your error message you are trying to stop a non running tomcat, it obviously fails) - provide a complete message log (from start of script to quit error) - what is your config (which port does tomcat listen

Re: Please Help Me

2005-12-02 Thread Warren Pace
What operating system are you using? > > From: Teh Noranis Mohd Aris <[EMAIL PROTECTED]> > Date: 2005/12/02 Fri AM 04:09:38 EST > To: tomcat-user@jakarta.apache.org > Subject: Please Help Me > > Dear All, > I've installed tomcat version 4.1.31 and tried to > start tomcat but the Tomcat window dis

Please Help Me

2005-12-02 Thread Teh Noranis Mohd Aris
Dear All, I've installed tomcat version 4.1.31 and tried to start tomcat but the Tomcat window displays error messages: Catalina.stop: java.net.ConnectException: Connection refused: connect java.net.ConnectException . . . How can I fix this problem? Please help me. Thank you. ___

Please Help Me

2005-12-02 Thread Teh Noranis Mohd Aris
Dear All, I've installed tomcat version 4.1.31 and tried to start tomcat but the Tomcat window displays error messages: Catalina.stop: java.net.ConnectException: Connection refused: connect java.net.ConnectException . . . How can I fix this problem? Please help me. Thank you. _

application scope beans persistence

2005-12-02 Thread Khawaja Shams
Hello all, I am wondering when the application/session scoped beans are reset. Very often, when I restart tomcat, these variables remain unaffected, but at other times, they are reset. Can someone tell me how I ensure that these are reset/not reset? I am using tomcat with netbeans. Thanks in