RE: Tomcat 4.1.31 crashing with memory errors, crashing with no errors and shutting down cleanly without manual intervention

2007-12-07 Thread Peter Crowther
From: Sean Carnes [mailto:[EMAIL PROTECTED] The highest that we could set the heap was to 1200. That feels a little low, even on Windows. I wonder what's fragmenting the address space. I can get to about 1500 on x86 Windows 2003 Server Standard before the VM fails to start. We have

Tomcat seems to not startup, only when using tcnative

2007-12-07 Thread tony zuccarino
Hi, I have Tomcat 6.0.14 running fine with mod_jk and Apache 2.2. When I place tcnative library path in the java library path, then the catalina.out log starts/stops at below: Dec 7, 2007 4:40:06 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded Apache Tomcat Native library

Re: Hundreds of Instances

2007-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Delian, Delian Krustev wrote: Really? From your other message, you make it look like Java is taking something like 1GB of memory. Sure, the JVM adds some overhead to the heap size you configured, but it shouldn't be more than 5% or 10%... nothing

tomcat ssl handshaking

2007-12-07 Thread Md. Jahid Shohel
Hi, Can anyone tell me, how can I take control of SSL handshaking of https from tomcat, so that I can maintain the protocol by myself? This is really important for me. Regards, Jahid - To start a new topic, e-mail:

Re: Tomcat 4.1.31 crashing with memory errors, crashing with no errors and shutting down cleanly without manual intervention

2007-12-07 Thread Stefano Martines
Hi Sean, I have exactly the same problem. Tomcat5.exe is increasing memory allocation day by day. you mentioned: The memory usage of tomcat has dropped ~40% since we made that change Would you kindly provide with a document or reference on how you did it step by step? How did you setup the

Re: Tomcat 4.1.31 crashing with memory errors, crashing with no errors and shutting down cleanly without manual intervention

2007-12-07 Thread Andrew Miehs
On 06/12/2007, at 10:34 PM, Sean Carnes wrote: The highest that we could set the heap was to 1200. I tried higher and it would not start. It also seemed somewhat unstable above 1024 which was the previous setting, slowness updating the client and other things. The company that develops

Re: tomcat ssl handshaking

2007-12-07 Thread Md. Jahid Shohel
Hi, I am not using virtual host. there is only one host in one machine. but i want to take control so that server sends my own certificate where i will point it. also i want to handle the handshaking so that client's certificate will be varified from my own code, but not from Certificate

RE: Tomcat 4.1.31 crashing with memory errors, crashing with no errors and shutting down cleanly without manual intervention

2007-12-07 Thread Peter Crowther
From: Stefano Martines [mailto:[EMAIL PROTECTED] I have exactly the same problem. Tomcat5.exe is increasing memory allocation day by day. I think you may have a different problem. Sean's problem was that increasing load on his server meant increasing memory use. Do you *also* have

Re: tomcat ssl handshaking

2007-12-07 Thread Martin Gainty
are you using virtual-hosts? if so are your virtual-hosts domain-based or address-based? M- - Original Message - From: Md. Jahid Shohel [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, December 07, 2007 9:46 AM Subject: tomcat ssl handshaking Hi, Can anyone tell me, how

Re: Request parameters incorrect

2007-12-07 Thread Len Popp
If this is a recurring problem, you can try logging the requests at some other points and compare the logs to see where the parameters are getting mixed up. The problem may be caused by a proxy between the client and server, for example. 1. If the params are sent via GET requests, Tomcat's

Fw: Processing of multipart/form-data request failed. Socket read failed

2007-12-07 Thread 宋杨
Hi all: I use ajp between Apache2.2.6 and tomcat5.5.25, when I upload a file Exception occurred like below, anybody could tell me why? Thanks. I think the key is java.io.IOException: Socket read failed org.apache.coyote.ajp.AjpAprProcessor.read(AjpAprProcessor.java:1037) Is it a

Re: DataSource created but not initialized = Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
Hi Martin, My MySQL server is alive and well; I can connect to it using the same parameters, using a JDBC-based database browser. I didn't know about autoReconnect being deprecated; it still appears to be supported, but I see that the MySQL 5.0 reference manual recommends cranking up the

Tomcat 6.0.15 released?

2007-12-07 Thread Joe Bohn
Is Tomcat 6.0.15 released and is it stable? I see discussions on the dev list and votes but I didn't find a conclusion. Also, I don't see Tomcat 6.0.15 available for download on the web page. However, I do see a tag for it in svn. Thanks, Joe Bohn

Re: DataSource created but not initialized = Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
The MySQL driver is in $TOMCAT_HOME/lib, but I don't think that is even the issue here -- the real problem is that the DataSource object is not initialized, so it doesn't even have the url, driver class name, etc. This is what my log looks like when I restart Tomcat: Dec 7, 2007 1:18:50 PM

Re: DataSource created but not initialized = Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread mgainty
Hi Tom here is my jdbc.properties which is used for petstore access to MySQL tables #jdbc.driverClassName=org.hsqldb.jdbcDriver jdbc.driverClassName=com.mysql.jdbc.Driver #jdbc.url=jdbc:hsqldb:hsql://localhost:9001 jdbc.url=jdbc:mysql://localhost:3306/petclinic jdbc.username=fu jdbc.password=bar

Re: Tomcat seems to not startup, only when using tcnative

2007-12-07 Thread ewsinc
fyi, I built this tcnative using the latest APR src libraries 1.2.12, if that helps. ewsinc wrote: Hi, I have Tomcat 6.0.14 running fine with mod_jk and Apache 2.2. When I place tcnative library path in the java library path, then the catalina.out log starts/stops at below: Dec 7,

Re: DataSource created but not initialized = Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread David Smith
Where did you place your mysql driver jar file? It has to be in tomcat's /lib directory to be visible to tomat's internal code for building the db pool and your webapp. Also did you happen to look at the logs around when your webapp started for any relevant messages? --David Thomas Okken

Re: DataSource created but not initialized = Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread David Smith
Ok... The other statistical common thread in this type of issue is a typo or missing config somewhere along the line in one of these files: context.xml -- you've provided that and named the resource jdbc/SmmDB web.xml -- do you have this in your WEB-INF/web.xml: resource-ref

RE: DataSource created but not initialized = Cannot create JDBCdriver of class '' for connect URL 'null'

2007-12-07 Thread Caldarale, Charles R
From: Thomas Okken [mailto:[EMAIL PROTECTED] Subject: Re: DataSource created but not initialized = Cannot create JDBCdriver of class '' for connect URL 'null' There is a warning about the docBase attribute (strange; I copied that text verbatim from the Tomcat FAQ); if I remove that

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Caldarale, Charles R
From: linuxChique [mailto:[EMAIL PROTECTED] Subject: RE: Configuring Tomcat on Fedora Core 8 But what I mean is, how do I know what the root directory is for web serving purposes? (Be careful of the term root. Tomcat requires that the default webapp name for a given Host be named ROOT,

RE: discrepancy for tomcat connector file names for win32

2007-12-07 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: discrepancy for tomcat connector file names for win32 Is there a discrepancy at this URL http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk -1.2.25/ for downloading the binaries for win32. Yes, the files are

discrepancy for tomcat connector file names for win32

2007-12-07 Thread [EMAIL PROTECTED]
Hi, Is there a discrepancy at this URL http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.25/ for downloading the binaries for win32. Please, see below the name of the files and the description at the bottom. Thx. Lalit mod_jk-apache-2.0.29.so

Re: need help with Tomcat5.5.25 and Apache2.0.61 modJK configuration

2007-12-07 Thread Martin Gainty
change modJk=E:\apache\2.0.61\Apache2\modules\mod_jk.dll to modJk=E:\apache\2.0.61\Apache2\modules\mod_jk.dll follow rainier's advice and read up on mod_jk Martin- - Original Message - From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday,

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread linuxChique
It was jira-server.xml before I fixed it, but I saw an error message in the log about /var/www/html/jira/jira-server not existing, and that filename was the only instance of the phrase jira-server anywhere in the configuration, so I changed the docBase from /var/www/html/jira to /var/www/html/

RE: Value can't be changed in bean extended from AbstractControllerof Spring

2007-12-07 Thread Caldarale, Charles R
From: kkus [mailto:[EMAIL PROTECTED] Subject: Re: Value can't be changed in bean extended from AbstractControllerof Spring But Java can handle hot-swapping for normal Java application automatically, so still can't understand why Tomcant can't work this way. Your assumption is incorrect.

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread kkus
For JBoss project it has automatic publishing checked, I guess that is why it can hot-swapping properly without restart/redeployment. Thank you for your pointing! For Tomcat project I start Tomcat from its bootstrap class, so it will be treated as a normal Java application rather than a server

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Caldarale, Charles R
From: linuxChique [mailto:[EMAIL PROTECTED] Subject: RE: Configuring Tomcat on Fedora Core 8 I guess the thing is that I don't know what a PersistentManager is or if I need it. Again, to quote from the doc: In addition to the usual operations of creating and deleting sessions, a

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread linuxChique
I guess the thing is that I don't know what a PersistentManager is or if I need it. Or what file this configuration is stored in. Should I use it? Erin Caldarale, Charles R wrote: To quote from the doc: In order to successfully use a PersistentManager, you must nest inside it a Store

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread Konstantin Kolinko
Do you have Serve modules without publishing option in Eclipse configuration for the server turned on or off? (Double click the server on the servers view to open the configuration dialog). 2007/12/8, kkus [EMAIL PROTECTED]: In my another project (JBoss+Spring+Hibernate), I see my changes

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Caldarale, Charles R
From: linuxChique [mailto:[EMAIL PROTECTED] Subject: RE: Configuring Tomcat on Fedora Core 8 Now I'm getting this, No Store configured, persistence disabled, To quote from the doc: In order to successfully use a PersistentManager, you must nest inside it a Store element, as described

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread kkus
In my another project (JBoss+Spring+Hibernate), I see my changes take effect immediately in Eclipse IDE Debug without restart/redeployment. I think JBoss' ClassLoader is working properly for swapping new changes. All these changes occur in classes extended from SimpleFormController. I use

Re: rare occurrence of an Exception in Filter.doFilter()

2007-12-07 Thread Konstantin Kolinko
Also, you may want to search Bugzilla (http://issues.apache.org/) or user/dev list archives for those strings, Cannot create a session after the response has been committed, Cannot forward after response has been committed E.g., I have found

RE: Still trying to log using org.apache.juli.FileHandler ...

2007-12-07 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Re: Still trying to log using org.apache.juli.FileHandler ... OK, I think, this time I did follow the FM ;-) at: But perhaps not all of it... but when I declared a log4j.properties file inside of a webapp no log file is created

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-07 Thread Martin Gainty
Albretch- try changing to anything other than -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager and TC abends leave logging.manager as juli ClassLoaderLogManager and these exceptions occur Handler error java.lang.IllegalArgumentException: Bad level DEBUG even when

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread linuxChique
Line 20 is a closing Resource tag. Now I see that it shouldn't be there, because the tag is already closed with a slash. So that parsing problem is fixed! Now I'm getting this, No Store configured, persistence disabled, and still a blank page in the browser. Thanks for your help, I really

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-07 Thread Albretch Mueller
I was curious as to the configuration that was being fed by the JVM when you go: ~ catalian run ~ that was it: ~ $JRE_HOME\bin\java -verbose:class -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=$CATALINA_HOME\conf\logging.properties

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Caldarale, Charles R
From: linuxChique [mailto:[EMAIL PROTECTED] Subject: Configuring Tomcat on Fedora Core 8 Dec 7, 2007 2:07:12 PM org.apache.tomcat.util.digester.Digester fatalError SEVERE: Parse Fatal Error at line 20 column 4: The element type Context must be terminated by the matching end-tag

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: Configuring Tomcat on Fedora Core 8 display it here so everyone can see it Everyone already has - look in the original message. If you've lost that, look in the archives. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread Konstantin Kolinko
In this case should I expect to see ... due to Java hot-swapping when breakpoint is reached? Obviously, if you do not see it working, it probably does not. You should familiarize yourselves with code hot-swapping technology, its implications, and how it works upon tomcat, web application

Re: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread linuxChique
I'm sorry, I don't understand. It's in the original post... how is that not here? http://www.nabble.com/Configuring-Tomcat-on-Fedora-Core-8-p14219699.html Is there a chance that you can't see it because it's all XML code? mgainty wrote: display it here so everyone can see it M- --

Re: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Martin Gainty
display it here so everyone can see it M- - Original Message - From: linuxChique [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, December 07, 2007 3:42 PM Subject: Re: Configuring Tomcat on Fedora Core 8 Hi, I've already included the contents of that file in my original

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: Configuring Tomcat on Fedora Core 8 display contents of jira-server.xml The OP already did. Read the whole message. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use

Re: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Martin Gainty
display contents of jira-server.xml M- - Original Message - From: linuxChique [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, December 07, 2007 3:13 PM Subject: Configuring Tomcat on Fedora Core 8 I'm trying to configure Tomcat, and it's not working. I must be doing

Configuring Tomcat on Fedora Core 8

2007-12-07 Thread linuxChique
I'm trying to configure Tomcat, and it's not working. I must be doing something wrong, and I need your help. I'm using it to run Jira. I start Tomcat, but the page is blank. Here's my catalina log: --

Re: DataSource created but not initialized = Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
You're right, it was a typo! I called the datasource SmmDS everywhere, except in the Context element, where I mistakenly called it SmmDB. I think it's pretty weird that the JNDI lookup succeeded anyway. That sounds like a Tomcat bug; it should throw a NameNotFoundException, not return an

need help with Tomcat5.5.25 and Apache2.0.61 modJK configuration

2007-12-07 Thread Sangeeta Verma
Hi, I have installed Apache 2.0.61 and Tomcat 5.5.25 on windows 2003 machine.Ifound mod_jk- apache-2.0.29.so and mod_jk_1.2.6_2.0.50.dll both on web and downloaded. Copied the dll file to apache_home/module directory. When i edit the server.xml file for adding entry under the Server port=8005

Re: Tomcat 6.0.15 released?

2007-12-07 Thread Joe Bohn
Mark Thomas wrote: Joe Bohn wrote: Is Tomcat 6.0.15 released and is it stable? I see discussions on the dev list and votes but I didn't find a conclusion. Also, I don't see Tomcat 6.0.15 available for download on the web page. However, I do see a tag for it in svn. There were issues with

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-07 Thread Albretch Mueller
while searching I also notice that as John Lennon said in imagine I am not the only one ;-) ~ Why have they made so hard just going System.out.println( ...) in your servlets code? ~ lbrtchx - To start a new topic, e-mail:

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-07 Thread Albretch Mueller
OK, I think, this time I did follow the FM ;-) at: ~ http://tomcat.apache.org/tomcat-6.0-doc/logging.html ~ 1._ I did create a log4j.properties file and placed it in $CATALINA_HOME/lib ~ C:\cmllpz\prjx\java\GWB\tc\tc-6.0.14\libdir *.properties Volume in drive C is IBM_PRELOAD Volume Serial

Re: rare occurrence of an Exception in Filter.doFilter()

2007-12-07 Thread Tim Funk
http://wiki.apache.org/tomcat/FAQ/Miscellaneous Look for Why do I get java.lang.IllegalStateException ? The filter is not the problem - its something farther down the stack trace. -Tim Christian Aschoff wrote: i have written a filter for my webapplication that checks the called url for

rare occurrence of an Exception in Filter.doFilter()

2007-12-07 Thread Christian Aschoff
Hello tomcat-users, i have written a filter for my webapplication that checks the called url for special patterns and sends an error 404 when matching the pattern. This works most of the time great. But every ca. 4000 requests, an exception occurs in the filter. I looked around with

Re: need help with Tomcat5.5.25 and Apache2.0.61 modJK configuration

2007-12-07 Thread Rainer Jung
Sangeeta Verma wrote: Hi, I have installed Apache 2.0.61 and Tomcat 5.5.25 on windows 2003 machine.Ifound mod_jk- apache-2.0.29.so and mod_jk_1.2.6_2.0.50.dll both on web and downloaded. The 1.2.6 version is *very* old, we are at version 1.2.25 of mod_jk. Use the 2.0.29 file, because that was

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread Caldarale, Charles R
From: linuxChique [mailto:[EMAIL PROTECTED] Subject: RE: Configuring Tomcat on Fedora Core 8 So how do I know by looking at the directory structure of Jira what my docBase and path should be in jira.xml? You were referring to jira-server.xml, not jira.xml; which is it? Normally, you do

RE: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread linuxChique
Great, thanks. Well, it looks like Tomcat is working properly now, but I'm getting a 404 error, so I must have it configured to look in the wrong directory, right? So how do I know by looking at the directory structure of Jira what my docBase and path should be in jira.xml? -- View this message

Re: Configuring Tomcat on Fedora Core 8

2007-12-07 Thread linuxChique
Hi, I've already included the contents of that file in my original post. mgainty wrote: display contents of jira-server.xml M- -- View this message in context: http://www.nabble.com/Configuring-Tomcat-on-Fedora-Core-8-tf4964192.html#a14220135 Sent from the Tomcat - User mailing list

Re: DataSource created but not initialized = Cannot create JDBCdriver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
OK, I removed the path and docBase attributes from the Context element; as expected, the warning in the log goes away but the DataSource problem does not. The mysql-connector-java-5.1.5-bin.jar file is world-readable; it is in $TOMCAT_HOME/lib and nowhere else; I did have another copy in

DataSource created but not initialized = Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
Hi all, I'm trying to set up a DataSource to manage connections to a MySQL database, but whenever I call getConnection(), I get this error: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at

Re: Tomcat 6.0.15 released?

2007-12-07 Thread Mark Thomas
Joe Bohn wrote: Is Tomcat 6.0.15 released and is it stable? I see discussions on the dev list and votes but I didn't find a conclusion. Also, I don't see Tomcat 6.0.15 available for download on the web page. However, I do see a tag for it in svn. There were issues with 6.0.15 so it never