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

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.

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 displays

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

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*

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

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]

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 Context path=/trayectorias docBase=trayectorias relodable=false crossContext=false privileged=true debug=99 Manager

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

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

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

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

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

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

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.

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:

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]

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]

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

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

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 users@tomcat.apache.org; Martin Gainty [EMAIL PROTECTED] Sent: Friday, December 02, 2005 2:19 AM Subject: Re: Server

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

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

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

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: users@tomcat.apache.org Sent: Friday, December 02, 2005 5:47 AM Subject: Session crash problem. Please help! Hi All I configured on

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

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

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 supported

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.

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

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

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

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

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

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: 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 users@tomcat.apache.org 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

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: I'm

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

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 -

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 COMMUNICATION

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

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

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

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 users@tomcat.apache.org Sent: Friday, December 02, 2005 2:04 PM Subject: Re: When does 408 happen

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

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:

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

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/2

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/2