Re: [OT] JDBC problem: PreparedStatement.setTimestamp function ignores milliseconds in TOMCAT + ddbb Oracle

2007-08-08 Thread Jose Gargallo
This is the code: java.sql.Timestamp time = new Timestamp(System.currentTimeMillis()); ... pstmt = this.conexion.prepareStatement(INSERT); ... pstmt.setTimestamp(1, time); should I use java.sql.Date instead of java.util.Data? thanks Christopher Schultz escribió: -BEGIN PGP SIGNED

Tomcat startup error

2007-08-08 Thread R Y
I install tomcat 5.5 package on Ubuntu, it run server on port 8180 by default. I start Tomcat 5.5 by running /etc/init.d/tomcat script, it responses: * Starting Tomcat servlet engine tomcat5.5 [ OK ] but when check its running status, it is: * Tomcat servlet

Re: Tomcat startup error

2007-08-08 Thread David Delbecq
According to your log, i fails to parse the tomcat xml password file. It is malformed from xml point of view. Perhaps you have characters not allowed in xml like or or in a password field? or maybe you forgot to close a xml tag? hints on reading the log: Error at line 11 column 2: The markup

Re: Datasource Error

2007-08-08 Thread Gregor Schneider
Will, as long as you don't post your configuration (context.xml and web.xml of your web-app, your servlet / jsp-code accessing the datasource), nobody will be able to help you. That is, since we all ran out of cristal balls telling us the solution for your problems... Gregor -- what's puzzlin'

Re: Issues with mod_jk and escaped sequences in URLs (particularly %2F)

2007-08-08 Thread Rainer Jung
Hi Christopher, - Which version of Apache? - Which version of mod_jk? - Which platform? Most likely you only need to add AllowEncodedSlashes On to your Apache configuration (see the Apache httpd docs). Such URLs get otherwise rejected by Apache itself. Note that there are goodf security

Re: Local String Problem

2007-08-08 Thread Georg Sauer-Limbach
Fabbris Pierluigi wrote: Hello, I've this Exception in the Log: 7-ago-2007 10.38.05 org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Servlet.service() for servlet invoker threw exception java.util.MissingResourceException: Can't find bundle for base name LocalStrings, locale it_IT

RE: Unsubscribe me please

2007-08-08 Thread S . Cullen
Yes and it doesn't work!!! And I still haven't been unsubscribed. Thanks Kind Regards Sheila Cullen ext 2699 -Original Message- From: Sebastiaan van Erk [mailto:[EMAIL PROTECTED] Sent: 06 August 2007 17:53 To: Tomcat Users List Subject: Re: Unsubscribe me please Yes,

Re: Unsubscribe me please

2007-08-08 Thread David Delbecq
Send email to [EMAIL PROTECTED] with the same email address as the one you use to send emails to mailing list. You will receive a confirmation email within a few minutes. you must reply to that email and the mailing list server will say you bye bye If you don't get the confirmation email, check

Re: Tomcat startup error

2007-08-08 Thread Manivannan Palanichamy
Proabably, you have wronly edited server.xml or tomcat-users.xml. Revert the changes or get fresh files then try again. On 8/8/07, R Y [EMAIL PROTECTED] wrote: I install tomcat 5.5 package on Ubuntu, it run server on port 8180 by default. I start Tomcat 5.5 by running /etc/init.d/tomcat

Tomcat 6 cluster management

2007-08-08 Thread Mark Faircloth
The Tomcat 6 documentation says that the MBean values 'type=Cluster' and 'type=Cluster,host=${HOST}' should be available like they were in Tomcat 5.5. However, they are not visible via jmx using jconsole or Probe. Does anyone know how to view Cluster information in Tomcat 6? Thanks Mark

Re: Unsubscribe me please

2007-08-08 Thread David Smith
Then you should email users-owner [at] tomcat.apache.org and ask one of the list owners to unsubscribe you. This question has been asked and answered repeatedly in the recent past. --David [EMAIL PROTECTED] wrote: Yes and it doesn't work!!! And I still haven't been unsubscribed.

Re: ajp through ProxyPass is sending HTTP HEAD requests as HTTPGET to servlets.

2007-08-08 Thread Rainer Jung
Hi Chad, yes, it looks like that's a bug in mod_proxy_ajp. You should log a bug in bugzilla for httpd. I checked the code for Apache httpd 2.2.4 and also shortly for 2.2.x head and trunk. The situation is as follows (you might include this in the bug description): Apache httpd decodes HTTP

Re: Datasource Error

2007-08-08 Thread David Smith
We still need to see these files (sanatized for passwords if any are present): $CATALINA_HOME/conf/server.xml $CATALINA_HOME/conf/Catalina/localhost/[appName].xml $CATALINA_HOME/webapps/[appName]/WEB-INF/web.xml The problem is in one of these files. No help can be offered until we see these.

Re: [OT] JDBC problem: PreparedStatement.setTimestamp function ignores milliseconds in TOMCAT + ddbb Oracle

2007-08-08 Thread Jon Wingfield
That looks ok. Timestamp is the correct thing to use. You have two systems: one that works, one that doesn't. So, check for differences in the SQL sub-systems between the two: Are the drivers of the same (uptodate) version? Are the database schemas using the same column type? (ie the one that

Re: Datasource Error

2007-08-08 Thread David Smith
Oh, and that second file may also be located at $CATALINA_HOME/webapps/[appName]/META-INF/context.xml --David David Smith wrote: We still need to see these files (sanatized for passwords if any are present): $CATALINA_HOME/conf/server.xml $CATALINA_HOME/conf/Catalina/localhost/[appName].xml

RE: Unsubscribe me please

2007-08-08 Thread Peter Crowther
From: David Smith [mailto:[EMAIL PROTECTED] Then you should email users-owner [at] tomcat.apache.org and ask one of the list owners to unsubscribe you. This question has been asked and answered repeatedly in the recent past. Yes, it has. Which is a shame, as possible technological

Tomcat Status

2007-08-08 Thread Andrew Hole
Hi! Exists some tool to monitor more than one instance of Tomcat in the same server? Lambda Probe is an excellent tool, but only monitoring instance where is installled. In a simple way I want to have a web page showing tomcat status and some other information: Tomcat1 - Status Running Tomcat2

tomcat is looking for a class I don't use anymore

2007-08-08 Thread Mastrorillo Laurence
Hi everybody, I am having a problem with an old class no longer in used in my application. I am using tomcat 5.0.18 with jdk 1.5 from ibm. I undeployed the application, suppressed the class and every references to it (I am sure of that!), and then deployed again in tomcat. And in the

MaxHTTPHeaderSize

2007-08-08 Thread Rob Kirkbride
Hi, I've been getting a lot MsgAjp Overflow messages recently. The strange this is only seems to happen only 1 app server at a time and seems to stop and start in bursts of sometimes over an hour, but then nothing for several hours after that. This is with Tomcat 5.5.20 and mod_jk 1.2.23.

Re: tomcat is looking for a class I don't use anymore

2007-08-08 Thread David Delbecq
Did you delete all your .class of your application and rebuild them after removing myclass.java? It could be another class was referencing that class and was not recompiled, and as such can not be loaded anymore because reference another non existing class. The stacktrace of Exception could be

Re: tomcat is looking for a class I don't use anymore

2007-08-08 Thread Mastrorillo Laurence
I did delete all my .class. I can affirm it is not referenced anywhere in my code anymore. In fact, i deleted all my application and deployed the new one from the entire .war. Here is the stack trace : 2007-08-08 12:04:12 fileStore[/]: java.lang.ClassNotFoundException: org.medias.amma.sgbd.Jeu

RE: tomcat is looking for a class I don't use anymore

2007-08-08 Thread Peter Crowther
From: Mastrorillo Laurence 2007-08-08 12:04:12 fileStore[/]: java.lang.ClassNotFoundException: [...] at org.apache.catalina.session.FileStore.load(FileStore.java:336) I suspect Tomcat persisted its session state to disk at shutdown, and is trying to re-read those sessions.

Re: tomcat is looking for a class I don't use anymore

2007-08-08 Thread Mastrorillo Laurence
THANKS PETER, I found out how to delete tomcat sessions that persists after un-deployement. That did it !! No more exceptions ! Peter Crowther a écrit : From: Mastrorillo Laurence 2007-08-08 12:04:12 fileStore[/]: java.lang.ClassNotFoundException: [...] at

Re: Datasource Error

2007-08-08 Thread Indudhar Devanath
Will, The tomcat isn't able to find the database jdbc driver class. Make sure you put database-jdbc.jar file inside tomcat/common/endorsed/ folder. Lets say you were using MySql database. MySql provides a jdbc jar file to connect to the database. Get that jar file and put it in /endorsed/

Re: Tomcat Status

2007-08-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: Exists some tool to monitor more than one instance of Tomcat in the same server? Lambda Probe is an excellent tool, but only monitoring instance where is installed. Why not contact the fine folks at Lambda Probe to see

Re: Datasource Error

2007-08-08 Thread Mastrorillo Laurence
I also had the same problem when using struts Datasource. I noticed this depends of the struts version, tomcat version or even the jdk but was unable to really find out what the problem was. I solved it by not using the struts datasource description in the struts-config.xml anymore. I instead

Re: ajp through ProxyPass is sending HTTP HEAD requests as HTTPGET to servlets.

2007-08-08 Thread Jim Jagielski
Added as PR: 43060 Thanks for the info and the analysis... I'll take a look and tune as required. On Aug 8, 2007, at 5:46 AM, Rainer Jung wrote: Hi Chad, yes, it looks like that's a bug in mod_proxy_ajp. You should log a bug in bugzilla for httpd. I checked the code for Apache httpd

Re: MaxHTTPHeaderSize

2007-08-08 Thread Rainer Jung
Hi Rob, I would prefer to find out, what kind of requests cause this behaviour. Are there log messages in the mod_jk log file? The mod_jk log file contains the pid and thread-ID of the web server thread processing the request. Dependent on the platform an web server, you casn also log the

RE: enabling tomcat SSL on linux

2007-08-08 Thread Peter Crowther
Azhar, can you give us a little more information as to what the refusal takes? What are the symptoms? That you cannot connect from a browser on the same machine / different machine? Does netstat -an | grep 8443 show a port in LISTENING state? - Peter -Original

Re: enabling tomcat SSL on linux

2007-08-08 Thread Juan Ignacio Garzón
Is there an error message given by Tomcat? Maybe its an access problem to the keystore file by tomcat process. Are you sure that you have no other process using that port? 2007/8/8, Waseem Azhar [EMAIL PROTECTED]: Hi All, I am stuck, any idea how to enable tomcat SSL on linux ? I have

Re: MaxHTTPHeaderSize

2007-08-08 Thread Rob Kirkbride
Rainer, Thanks for the comprehensive reply. We're using Apache on RHEL4. I'll try and investigate the actual URL. It is a very busy environment ( 25 million hits a day) so it'll take me some time to pick through. Yes it does look like a response. I'm assuming this doesn't just mean it's a big

Re: How to avoide delete context.xml - 6.0.14

2007-08-08 Thread Hassan Schroeder
On 8/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Hassan, I did exactly that way you described to me, but the 2nd deployment still dosn't work properly. You might want to create a very simple WAR file and see if it behaves the same way... The only way that works (not always) is to

RE: [OT] JDBC problem: PreparedStatement.setTimestamp function ignores milliseconds in TOMCAT + ddbb Oracle

2007-08-08 Thread Propes, Barry L
if he's using Oracle, a date field should take any kind of timestamp variable. Oracle does have a Timestamp field/data type, but you don't have to make it as such to get this to work. Could have been that my JDK API differed slightly from your's. -Original Message- From: Jon Wingfield

RE: http ip server lost ?

2007-08-08 Thread Propes, Barry L
did something get changed in your configuration file or welcome attribute? -Original Message- From: Philippe Couas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 9:14 AM To: [EMAIL PROTECTED] Subject: http ip server lost ? Hi, Tomcat 4.1.36 lost prefix ip server ? Usually

Re: enabling tomcat SSL on linux

2007-08-08 Thread Waseem Azhar
Connecting to 127.0.0.1:8443... failed: Connection refused is the message i get. I get the same message 'Connection refused' when try to connect from the browser remotely. I have tried using netstat -an | grep 8443 command but nothing show up. seems tomcat is not listening. What could be the

Tomcat listening on port, but get timeout in browser

2007-08-08 Thread David Doughty
I've got a Tomcat installation that is acting strange, and not being much of a Tomcat geek, I'm feeling a bit lost. We just rebuilt the java application it's supposed to be serving, and restarted Tomcat. It appears (from 'ps' and the log files) to start up just fine; netstat shows a process

Re: [OT] JDBC problem: PreparedStatement.setTimestamp function ignores milliseconds in TOMCAT + ddbb Oracle

2007-08-08 Thread Jon Wingfield
It's a long time since my last Oracle project ;) The OP was finding milliseconds weren't being stored. I was under the impression this would be the case if the date datatype were being used instead of a timestamp. Propes, Barry L wrote: if he's using Oracle, a date field should take any kind

Re: enabling tomcat SSL on linux

2007-08-08 Thread Hassan Schroeder
On 8/8/07, Waseem Azhar [EMAIL PROTECTED] wrote: Connecting to 127.0.0.1:8443... failed: Connection refused is the message i get. I get the same message 'Connection refused' when try to connect from the browser remotely. I have tried using netstat -an | grep 8443 command but nothing show up.

Tomcat native.

2007-08-08 Thread Alec Bickerton
Hi, I've only recently returned to using tomcat since tomcat 4.0.1 and I note that things have moved on somewhat. I'm currently working with the Tomcat 5.5.xx line. I would like to know is : What exactly is the advantage of using the tomcat-native library? I work with some fairly large

RE: [OT] JDBC problem: PreparedStatement.setTimestamp function ignores milliseconds in TOMCAT + ddbb Oracle

2007-08-08 Thread Propes, Barry L
no I think they will, you just have to alter the session's NLS date format, correct? To see them, I mean? -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 10:13 AM To: Tomcat Users List Subject: Re: [OT] JDBC problem:

Re: Tomcat listening on port, but get timeout in browser

2007-08-08 Thread Hassan Schroeder
On 8/8/07, David Doughty [EMAIL PROTECTED] wrote: , and restarted Tomcat. It appears (from 'ps' and the log files) to start up just fine; netstat shows a process listening on the port (8080); but when we point a browser to the port, we get

Re: Tomcat listening on port, but get timeout in browser

2007-08-08 Thread Juan Ignacio Garzón
Are you entering to a static or dynamic (ie servlet, jsp) page? Maybe its a database timeout, or the application you are running is too heavy (a performance bug). Try entering a static page in order to discard an application / database problem. 2007/8/8, David Doughty [EMAIL PROTECTED]: I've

Re: [OT] JDBC problem: PreparedStatement.setTimestamp function ignores milliseconds in TOMCAT + ddbb Oracle

2007-08-08 Thread Jon Wingfield
Ah, I see. So the OP's data may be intact but he may be covering one eye and squinting when looking at the results... Propes, Barry L wrote: no I think they will, you just have to alter the session's NLS date format, correct? To see them, I mean? -Original Message- From: Jon

RE: enabling tomcat SSL on linux

2007-08-08 Thread Peter Crowther
From: Waseem Azhar [mailto:[EMAIL PROTECTED] Connecting to 127.0.0.1:8443... failed: Connection refused is the message i get. I get the same message 'Connection refused' when try to connect from the browser remotely. I have tried using netstat -an | grep 8443 command but nothing show

RE: [OT] JDBC problem: PreparedStatement.setTimestamp function ignores milliseconds in TOMCAT + ddbb Oracle

2007-08-08 Thread Propes, Barry L
yeah, possibly, and my apologies if it appears I hijacked the thread in anywayeven though it's marked OT. -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 10:35 AM To: Tomcat Users List Subject: Re: [OT] JDBC problem:

Re: enabling tomcat SSL on linux

2007-08-08 Thread Waseem Azhar
Yes, I got it working. Tomcat wasn't able to locate certificate file. netstat -an | grep 8443 was a really good tip. Thanks a lot Peter. On 8/8/07, Peter Crowther [EMAIL PROTECTED] wrote: From: Waseem Azhar [mailto:[EMAIL PROTECTED] Connecting to 127.0.0.1:8443... failed: Connection

very slow upload over SSL

2007-08-08 Thread Hoa Doan
Hi, I am trying to upload a file size of 2MB to my server. Doing it without SSL takes only 1 sec but doing it over SSL takes so long that the server time out. Longer than 10 min! I have searched everywhere but I can't find any solution. Please help. Server Specs: Window XP Tomcat 6

RHEL and Tomcat startup/shutdown scripts

2007-08-08 Thread Andrew R Feller
Hello everyone, Over the past couple of months, I have been working with some Tomcat instances on RHEL 5 and wondered: what is the recommended method to startup/shutdown Tomcat? After reading the Tomcat documentation, they talk about compiling the jsvc source under the bin directory and using

Re: Tomcat 6 cluster management

2007-08-08 Thread Filip Hanik - Dev Lists
Mark Faircloth wrote: The Tomcat 6 documentation says that the MBean values 'type=Cluster' and 'type=Cluster,host=${HOST}' should be available like they were in Tomcat 5.5. However, they are not visible via jmx using jconsole or Probe. Does anyone know how to view Cluster information in

Re: tomcat is looking for a class I don't use anymore

2007-08-08 Thread Filip Hanik - Dev Lists
make sure you delete all the .ser files, that is where your session info is stored even stored during a restart Filip Mastrorillo Laurence wrote: Hi everybody, I am having a problem with an old class no longer in used in my application. I am using tomcat 5.0.18 with jdk 1.5 from ibm. I

Re: Tomcat native.

2007-08-08 Thread Filip Hanik - Dev Lists
Alec Bickerton wrote: Hi, I've only recently returned to using tomcat since tomcat 4.0.1 and I note that things have moved on somewhat. I'm currently working with the Tomcat 5.5.xx line. I would like to know is : What exactly is the advantage of using the tomcat-native library? no longer

Re: very slow upload over SSL

2007-08-08 Thread Filip Hanik - Dev Lists
feel free to open a bugzilla item, and attach a test case, and I will look at it http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%206 Filip Hoa Doan wrote: Hi, I am trying to upload a file size of 2MB to my server. Doing it without SSL takes only 1 sec but doing it over SSL

Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread Markus Schiegl
Hi there, starting Tomcat from a path containing a pound sign (#) somewhere results in a ClassNotFoundException. I've checked this with - Solaris Sparc/X86 + Mac OS X - Java 5 + 6 - Tomcat 5.5.23 + 6.0.13 example: - mkdir /export/home/markus/tomcat#1 - extract tomcat within this directory -

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread Alexey Solofnenko
Are you allowed to create symbolic links with normal names? - Alexey. Markus Schiegl wrote: Hi there, starting Tomcat from a path containing a pound sign (#) somewhere results in a ClassNotFoundException. I've checked this with - Solaris Sparc/X86 + Mac OS X - Java 5 + 6 - Tomcat 5.5.23 +

RE: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread Fargusson.Alan
The # character starts a comment in the shell. Try quoting the pathname, or put a \ in front of the #. I would bet that your mkdir and cd commands didn't do what you think they did. -Original Message- From: Markus Schiegl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 1:54

WARNING: Parameters: Invalid chunk ignored.

2007-08-08 Thread Susan Richards
What does this mean on Tomcat 5.5.23? How do I fix it?

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread Markus Schiegl
Hi, being root (for these tests) should give me enough permissions. I have no problems creating sym-links at all (with or without #) although my test-case involves no symbolic links. Any specific test? kind regards, Markus Alexey Solofnenko wrote: Are you allowed to create symbolic links

RE: WARNING: Parameters: Invalid chunk ignored.

2007-08-08 Thread Nathan Hook
Do you happen to be using Java Server Faces in your application? http://icefaces.org/JForum/posts/list/4918.page Original Message Follows From: Susan Richards [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: users@tomcat.apache.org Subject: WARNING: Parameters:

RE: WARNING: Parameters: Invalid chunk ignored.

2007-08-08 Thread Susan Richards
It's a vendor's application, so I'm not sure, but I don't think so. I don't see a faces-config.xml file on the web server. Nathan Hook [EMAIL PROTECTED] 8/8/2007 4:14 PM Do you happen to be using Java Server Faces in your application? http://icefaces.org/JForum/posts/list/4918.page

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread Markus Schiegl
Hi, as far as i see the shell has no problems passing the # character. I've added ps auxwww |grep java after the java call in catalina.sh, just to verify the java-program itself is called with the correct values, see below: $ ~/tomcat#1/apache-tomcat-6.0.13/bin$ ./startup.sh Using CATALINA_BASE:

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread ben short
Why not just change it to /export/home/markus/tomcat_1 or something and be done with it. Is trying to make it work with a # really worth the time an effort? Think in terms of hours spent * hourly rate or hour spent that you could be doing something else. Just my opinion. On 8/8/07, Markus

6.0.13 MySQL DBCP Example

2007-08-08 Thread G M
I've been trying for days now to establish a jdbc resource for mysql in tomcat 6.0.13 To whom it may correspond: I get the following error Unable to get connection, DataSource invalid: org.apache.tomcat.dbcp.dbcp.SQLNestedException : Cannot create JDBC driver of class '' for connect URL 'null'

Re: Tomcat on Plesk

2007-08-08 Thread Martin Gainty
Did you ask why they are implementing on Plesk with Tomcat? If its *NOT* a political consideration Im sure the folks at Plesk would be willing to accomodate Maybe the Tomcat Ports 8005/8009/8080 are bound to some System service? Topic 2: Is there anyone out there who can get ANY work done on

Re: WARNING: Parameters: Invalid chunk ignored.

2007-08-08 Thread Bill Barker
Susan Richards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What does this mean on Tomcat 5.5.23? How do I fix it? Most likely, it means that your parameters (POST body or query-string) is ending with a '' character (e.g. something like /mypage.jsp?foo=bar). Other patterns

Pipelining Problem after Form Authentication with Firefox and Status Code 408

2007-08-08 Thread Derek
Hello, I have some troubles with firefox and form authentication running on Tomcat 5.0.28. It happens as followed: User requests restricted Page and is redirected to a LoginServlet which forwards the request to a Login.jsp. Nothing special here. Instead of logging in, the user waits, for

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread Markus Schiegl
Hi Ben, this is exactly the question. As these directories are created and used by other software changing the # sign to something else involves modifications to these programs and therefore hours/days of work too. I've decided to put in a few hours to evaluate the situation before making a