Re: Need some SSL Config help.

2009-07-24 Thread CBy
Josh Gooding wrote: One more thing. Here is my server.xml information that is relative: On Fri, Jul 24, 2009 at 10:25 PM, Josh Gooding wrote: Hello again. Now that I have deployed my project on Tomcat 6.0.18 with a MySQL 5.1 db, I need to clamp the server down tight using SSL. I've

Re: Need some SSL Config help.

2009-07-24 Thread Josh Gooding
One more thing. Here is my server.xml information that is relative: On Fri, Jul 24, 2009 at 10:25 PM, Josh Gooding wrote: > Hello again. > > Now that I have deployed my project on Tomcat 6.0.18 with a MySQL 5.1 db, I > need to clamp the server down tight using SSL. I've already created my >

Need some SSL Config help.

2009-07-24 Thread Josh Gooding
Hello again. Now that I have deployed my project on Tomcat 6.0.18 with a MySQL 5.1 db, I need to clamp the server down tight using SSL. I've already created my keystore file and I am able to get the server to serve on port 443 (by going to http://localhost:443). I can get it to Subsequent attemp

Re: request.getPathInfo() gets truncated when ";" is present

2009-07-24 Thread maestrofjp
> Since our framework is deployed on several different CFML servlets -- > their implementation to get at the original http request wrapper differs > a bit (three different vendors). We'll probably stick to use the poor > man's encoding using a modified unicode representation of ";" in the > end.

Re: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread André Warnier
Juha Laiho wrote: To André; it's rather seldom where an extra GC would help in a situation like this: GC will anyway have run (possibly several times) before the OutOfMemoryError is thrown. The issue is that some class is packratting recerences to objects no longer needed - and as there's someon

Re: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread Juha Laiho
Li,Henry wrote: > Yes, there is memory leak from application. We contact the application vendor > and they do not have patches to fix it for the version which we are using. So > what we need is a partial/dirty fix to mimimize the recycle times. > > Upgrading the application will be a project which

How to apply security patches.

2009-07-24 Thread Dave Thomson
Does anyone have any suggestions on how to apply these security patches? Is it just a matter of copying the appropriate .jar files to the appropriate location while Tomcat is turned off? http://tomcat.apache.org/security-5.html The version is Apache-Tomcat 5.5.27

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Neil Youngman
Christopher Schultz wrote: > Neil, > > On 7/24/2009 10:21 AM, Neil Youngman wrote: >> type="javax.sql.DataSource" >> driverClassName="oracle.jdbc.OracleDr\ >> iver" > > Is that really the content from your XML file with the backslash and > everything? 'cause XML doesn't do backslashe

Re: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henry, On 7/23/2009 7:01 PM, Li,Henry wrote: > I got java.lang.OutOfMemoryError > Current configuration: -Xms1024M -Xmx2304M > The host server has about 4.5G free memory. When I tried to increase > -Xmx2304M to -Xmx3000M, I got this error: > Error oc

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 7/24/2009 10:21 AM, Neil Youngman wrote: > type="javax.sql.DataSource" > driverClassName="oracle.jdbc.OracleDr\ > iver" Is that really the content from your XML file with the backslash and everything? 'cause XML doesn't do bac

Re: request.getPathInfo() gets truncated when ";" is present

2009-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 7/24/2009 3:58 AM, Peter J. Farrell wrote: > @Bill, thanks for mentioning the specific RFC referencing the encoding > of ";". That's what the team here figured out as well and it's nice to > have an independent person verify our assumptions

RE: Problem with deploying an application

2009-07-24 Thread Caldarale, Charles R
> From: Nikos Spanoudakis [mailto:ni...@science.tuc.gr] > Subject: Problem with deploying an application > > I try to deploy an application that executes fine on a linux machine. Is the Linux system running the same version of Tomcat? You might want to compare Tomcat's common and shared director

Re: [Friday] Tomcat artwork

2009-07-24 Thread Pierre Goupil
Cheers ! I've got the Tomcat bag, actually. But it's home-made, now. Thanks for the advice. On Fri, Jul 24, 2009 at 4:15 PM, Mark Thomas wrote: > Pierre Goupil wrote: > > Guys, > > > > Where may I get a good-quality Tomcat logo ? A vector-image one would be > > great. My girl-friend brew home-

RE: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread Li,Henry
Thank you Andre for this information. I will look at it. Regards, Henry -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, July 24, 2009 9:33 AM To: Tomcat Users List Subject: Re: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM runni

RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread M4N - Arjan Tijms
Hi, This kind of error can be caused by having the same class(es) in multiple locations in a given branch of the classloader tree, such as in both a webapp's WEB-INF/lib and in Tomcat's lib directory (or on the system classpath). Have you checked that? Well, that's indeed a good suggestion. We

Problem with deploying an application

2009-07-24 Thread Nikos Spanoudakis
Dear all, I am trying to deploy an application on a Server with the following Information (as taken from Tomcat Web Application Manager): Tomcat Version: Apache Tomcat/5.5.27 JVM Version: 1.5.0_17-b04 JVM Vendor: Sun Microsystems Inc. OS Name: SunOS OS Version: 5.10 OS Architecture: s

Re: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread André Warnier
Li,Henry wrote: Juha, Yes, there is memory leak from application. We contact the application vendor and they do not have patches to fix it for the version which we are using. So what we need is a partial/dirty fix to mimimize the recycle times. Upgrading the application will be a project which

RE: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread Li,Henry
Juha, Yes, there is memory leak from application. We contact the application vendor and they do not have patches to fix it for the version which we are using. So what we need is a partial/dirty fix to mimimize the recycle times. Upgrading the application will be a project which requires lots app

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Neil Youngman
Caldarale, Charles R wrote: >> From: Neil Youngman [mailto:neil.young...@wirefast.com] >> Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect >> URL 'null' >> >> That is interesting, because it appears to check the existence of the >> axis2/META-INF/context.xml file, but, as far

Re: [Friday] Tomcat artwork

2009-07-24 Thread Mark Thomas
Pierre Goupil wrote: > Guys, > > Where may I get a good-quality Tomcat logo ? A vector-image one would be > great. My girl-friend brew home-made clothes and I can't resist. :-) Cool. Have you looked in svn? Also, have you seen all the goodies that are already available: http://www.cafepress.com/

RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread Caldarale, Charles R
> From: M4N - Arjan Tijms [mailto:arjan.ti...@m4n.nl] > Subject: Occasional NoClassDefFoundError, but disappears after couple > of restarts > > The problem I have is that occasionally after I restart Tomcat, the > startup fails with NoClassDefFoundError or ClassNotFoundException for > every servle

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Caldarale, Charles R
> From: Neil Youngman [mailto:neil.young...@wirefast.com] > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > URL 'null' > > That is interesting, because it appears to check the existence of the > axis2/META-INF/context.xml file, but, as far as can be seen from the > strace

Re: Error during initialization of VM

2009-07-24 Thread Goddard Jiri
Hi Chuck, thanks for the insights. I'd go for newer JVM, but it's up to our client to decide. The server was restarted and then we faced this problem. It well might be that the registry entry "got lost" because of that; not the best feature of W2k3 Server i guess... Thanks, Jiri On Fri, Jul 24, 2

Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread M4N - Arjan Tijms
Hi, I'm running Tomcat 6.0.16 on a 32 bit Debian Etch using Java 6 update 12. The problem I have is that occasionally after I restart Tomcat, the startup fails with NoClassDefFoundError or ClassNotFoundException for every servlet listener that's being added from web.xml. If I restart Tomcat

RE: Error during initialization of VM

2009-07-24 Thread Caldarale, Charles R
> From: Goddard Jiri [mailto:g0dd...@googlemail.com] > Subject: Re: Error during initialization of VM > > The Tomcat is currently up and running - all I've done is > just set the Xms256m. If the value was zero in the Tomcat registry settings, that will cause the error you observed. The Tomcat

[Friday] Tomcat artwork

2009-07-24 Thread Pierre Goupil
Guys, Where may I get a good-quality Tomcat logo ? A vector-image one would be great. My girl-friend brew home-made clothes and I can't resist. :-) Regards, Pierre -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa bé

Re: Error during initialization of VM

2009-07-24 Thread Goddard Jiri
The Tomcat is currently up and running - all I've done is just set the Xms256m. I already sent all the log information I was able to collect on the debug level, see my first post. Unfortunately, the JVM is an old one - JRE 1.4.2 (with all the extensions needed to run Tomcat 5.5.17). It works just f

Re: Error during initialization of VM

2009-07-24 Thread André Warnier
Goddard Jiri wrote: Here you are: http://dredwerkz.ic.cz/tomcat_init_vm.png I set -Xms256m -Xmx1024m. It should be more than enough for that app. The tomcat didn't want to start without the Xms (or Xms0m). Not to nitpick, but just to be precise : the Xms and Xmx parameters are parameters for t

RE: Error during initialization of VM

2009-07-24 Thread K Ashwin
HI Jiri, This is interesting that you are getting jvm initializing. Can you paste the complete Catalina_opts and also make sure that your jvm installation has not gone corrupted. Does stderr.log and stdout.log have any information . Most likley you will not find anything there since jvm itself di

Re: Error during initialization of VM

2009-07-24 Thread Goddard Jiri
Here you are: http://dredwerkz.ic.cz/tomcat_init_vm.png I set -Xms256m -Xmx1024m. It should be more than enough for that app. The tomcat didn't want to start without the Xms (or Xms0m). Jiri On Fri, Jul 24, 2009 at 2:08 PM, K Ashwin < akesa...@premiertechnologygroup.com> wrote: > Hi Jiri, > > >

RE: Error during initialization of VM

2009-07-24 Thread K Ashwin
Hi Jiri, I didn’t recieve the atttachement. Please post the logs to any of the pastebin and send the link here. Also let us know the jvm heap size and RAM size of the machine running the process. _ From: Goddard Jiri [mailto:g0dd...@googlemail.com] Sent: Friday, July 24, 2009 5:2

Re: Error during initialization of VM

2009-07-24 Thread Goddard Jiri
Hi, it's not really the cause - the server has enough resources (check the attachement). It's simply configured (by default?) in a way that you have tell how much megs of RAM should be allocated for the (J)VM in order to start up the whole thing. Regards, Jiri On Fri, Jul 24, 2009 at 1:49 PM, K

RE: Error during initialization of VM

2009-07-24 Thread K Ashwin
Hi Jiri Please check whether there is enough RAM in the machine to accommodate the heap size you specified for that tomcat instance to start with. I suspect that you don’t have enough ram to accommodate that heap size, which causing the java vm to fail to initialize. -Original Message- Fr

Re: Error during initialization of VM

2009-07-24 Thread Goddard Jiri
I'll give it a try. Regards, Jiri On Fri, Jul 24, 2009 at 1:40 PM, André Warnier wrote: > Goddard Jiri wrote: > >> Resolved. >> Probably lame mistake, but the initial size of java heap was missing. >> Anyway, could there be done some improvement on error >> description/messages? >> This one is

Re: Error during initialization of VM

2009-07-24 Thread André Warnier
Goddard Jiri wrote: Resolved. Probably lame mistake, but the initial size of java heap was missing. Anyway, could there be done some improvement on error description/messages? This one is way too general: [info] Error occurred during initialization of VM First, it's error logged as info. Second,

Re: Error during initialization of VM

2009-07-24 Thread Goddard Jiri
Resolved. Probably lame mistake, but the initial size of java heap was missing. Anyway, could there be done some improvement on error description/messages? This one is way too general: [info] Error occurred during initialization of VM First, it's error logged as info. Second, it really doesn't say

Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development

2009-07-24 Thread André Warnier
Varuna, at this point, (now that you have a correct Windows JAVA_HOME system environment variable set) it may be a good idea to de-install the service and start over. Run "service.bat remove", and then re-run "service.bat install". That will give us again a cleaner starting point for the regis

Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development

2009-07-24 Thread André Warnier
Varuna Seneviratna wrote: ... You're no having much luck, are you ? Think of it this way though : you are learning a lot. C:\apache-tomcat-6.0.20 In the General tab "Path to Excecutable was wrong and as described above I corrected it and now it is "C:\apache-tomcat-6.0.20\bin\tomcat6.exe" \\R

Re: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread Juha Laiho
Li,Henry wrote: > My Tomcat is running on 32-bit Red Hat 4 (2.6.9-78.0.1.ELsmp), host server > has 8G physical memory and 4 processors. > java version "1.4.2" gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10) > I got java.lang.OutOfMemoryError > Current configuration: -Xms1024M -Xmx2304M > The host se

Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development

2009-07-24 Thread Varuna Seneviratna
Pleaase take a look at the Error log I have attached and the link http://forums.sun.com/thread.jspa?threadID=5372855 In the tab box that pops up when tomcat6w.exe is double clicked, I have (it was not there initially) specified Java Classpath as C:\apache-tomcat-6.0.20\bin\bootstrap.jar, if so why

RE: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-24 Thread Neil Youngman
I'm still banging my head against this particular brick wall. I've cut the servlet down to a minimal example and tried to get as much debug out as possible, but I've not got much in the way of clues. I've reached a point where tracing the tomcat session with strace was the only thing I could thi

Re: request.getPathInfo() gets truncated when ";" is present

2009-07-24 Thread Peter J. Farrell
@All, thanks everybody for responding so far. I apologize for not originally including the version of Tomcat we're using (6.0.18). It was an oversight on my part in my hurried effort to write the email -- totally just blitzed that I should include that (my first post to the Tomcat list). I r