RE: tcnative-1.dll

2009-03-16 Thread Markov.Yanko
As you can see, Chuck, there are other characteristics (common for both versions) , too: org.apache.coyote.http11.Http11AprProtocol init. Thank you, Ilya. Best Regards, YANKO MARKOV LTS BULGARIA -Original Message- From: Янко Димов Марков Sent: Friday, March 13, 2009 4:44 PM To:

How to install tomcat container into jboss 4.0.4

2009-03-16 Thread Prashant Kadam
Hi, I am working on some webservice deployment part where I want to deploy service to jboss and as per tutorial provided, it mentions to make sure tomcat container is installed into jboss 4.0.4. What is exactly means ? and how to install or how to verify whether it is already

RE: How to install tomcat container into jboss 4.0.4

2009-03-16 Thread Karthik Nanjangude
Hi tomcat container into jboss 4.0.4 Any specific reason for JBOSS 4.0.4 being installed... Latest stable release is 4.2.3 with built in TOMCAT 5 With regards Karthik -Original Message- From: Prashant Kadam [mailto:prashant_ka...@persistent.co.in] Sent: Monday, March 16, 2009

RE: How to install tomcat container into jboss 4.0.4

2009-03-16 Thread Prashant Kadam
WebService (caGrid service) which I want to deploy only supports to jboss 4.0.4 .. cant 4.0.4 come with inbuilt tomcat ? how to verify that ? Thanks Prashant -Original Message- From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Sent: Monday, March 16, 2009 2:27 PM To:

Re: Shutting down Tomcat 5.5.27 on Windows Vista takes forever

2009-03-16 Thread Nuno Guerreiro
Hi! All the logs of a startup and shutdown can be found on: http://dl.getdropbox.com/u/404360/logs.zip Best regards, Nuno Guerreiro On Sun, Mar 15, 2009 at 2:36 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Nuno Guerreiro [mailto:nmd.guerre...@gmail.com] Subject:

RE: How to install tomcat container into jboss 4.0.4

2009-03-16 Thread Karthik Nanjangude
Hi This is what u get on default server request [ http://localhost:8080/] Tomcat status (full) (XML) JMX Console JBoss Web Console With regards Karthik -Original Message- From: Prashant Kadam [mailto:prashant_ka...@persistent.co.in] Sent: Monday, March 16, 2009 2:35 PM To: 'Tomcat

Re: Path problem

2009-03-16 Thread popprem
Hi, ln my case i the config file is not in any of the jars, also i cant set it to the classpath for some reason. (This product runs in different machines connecting through RMI). My config file just resides inside WEB-INF. so if i want to set it as a system property what can i do? The java

XSD mime type

2009-03-16 Thread Pid
Hi, What, if any, is the correct MIME type for the XSD file type? I'm guessing it's text/xml or application/xml - but it's not defined in either Apache HTTPDs mime types or Tomcats web.xml. (TC6 or HTTPD 2.2.11) Am I missing something obvious? p

Re: tomcat w/apr data lost in http post request?

2009-03-16 Thread Taylan Develioglu
Possibly IE writes to the socket buffer in seperate steps for header info and post parameters. This would cause the data to be sent out in seperate packets if nagle's alg. is off. Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: tomcat

Re: tomcat w/apr data lost in http post request?

2009-03-16 Thread Taylan Develioglu
Hi Chris, Raising the keepalive-timeout value on the connector definitely improves the situation. From what I've gathered from what people posted here (thanks guys) and dumping packets I believe the situation to be somewhat as follows: With nagle's off, IE sends out the http request in two

Re: XSD mime type

2009-03-16 Thread Markus Schönhaber
Pid: What, if any, is the correct MIME type for the XSD file type? When you say the XSD file type, you're talking about files containing XML Schemas? IIRC there's no special media type for schemas. But since they are themselves XML files, this... I'm guessing it's text/xml or application/xml

Re: tomcat w/apr data lost in http post request?

2009-03-16 Thread Taylan Develioglu
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylan, No, you'd need to modify the source. It's not particularly useful in most scenarios to intentionally stall an HTTP conversation, so it's not a built-in feature :) No, I'm saying that you should send

Re: tomcat w/apr data lost in http post request?

2009-03-16 Thread André Warnier
Taylan Develioglu wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylan, No, you'd need to modify the source. It's not particularly useful in most scenarios to intentionally stall an HTTP conversation, so it's not a built-in feature :) No, I'm saying that

Re: Cofiguring tomcat for trial certificate by trusted authorities like verisign not working.

2009-03-16 Thread Bhuvanesh Pattanashetti
Hi ,I had tried that was y also.. now i m able to get the SSL working with the thawte trial SSL certificate. but not with the Verisign yet. i dono why. Even after this importing the CA Certificate. i m getting the alert for non-Secure items. So is that the reason that i dont have the paid SSL

Re: tomcat w/apr data lost in http post request?

2009-03-16 Thread Taylan Develioglu
Hi Andre, I meant to stop writing, not closing the socket. Poor choice of words, apologies. André Warnier wrote: Taylan Develioglu wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylan, No, you'd need to modify the source. It's not particularly useful

Re: XSD mime type

2009-03-16 Thread Pid
Markus Schönhaber wrote: Pid: What, if any, is the correct MIME type for the XSD file type? When you say the XSD file type, you're talking about files containing XML Schemas? Yes. Typically I see schema files defined in schema_name.xsd. IIRC there's no special media type for schemas.

form parameters

2009-03-16 Thread André Warnier
Hi. I am about 99% sure of the following, but I would like to be 100% sure. Referring to HttpServletRequest.getParameter() HttpServletRequest.getParameterValues() If, inside a html page containing a tag such as meta content=text/html; charset=iso-8859-2 http-equiv=Content-Type there is a

Re: form parameters

2009-03-16 Thread Mikolaj Rydzewski
André Warnier wrote: If, inside a html page containing a tag such as meta content=text/html; charset=iso-8859-2 http-equiv=Content-Type [...] would always return into p1, the proper internal Java Unicode string value of the input element param1 of the form, properly decoded from it's

Re: Howdy ! A little help ?

2009-03-16 Thread Loupy Garou
nup all good now worked it out :) Thankyou so much to thoes who helped me :) Stu

Tomcat 6 multiple hosts howto

2009-03-16 Thread Jeroen Kransen
Hello all, I am sure this is a FAQ, but I can't find any info about it. I used Tomcat 5.5 with multiple Host/ elements in the server.xml Now I read that this has to be done differently in Tomcat 6, but I am not sure how. I added a conf/Catalina/examplecom/context.xml, but I don't know what to put

RE: Tomcat 6 multiple hosts howto

2009-03-16 Thread Ilya Kazakevich
I used Tomcat 5.5 with multiple Host/ elements in the server.xml Now I read that this has to be done differently in Tomcat No, it is not. You should have one Host element for every virtual host you need. http://tomcat.apache.org/tomcat-6.0-doc/config/host.html -Original Message- From:

Re: form parameters

2009-03-16 Thread Gregor Schneider
On Mon, Mar 16, 2009 at 3:10 PM, Mikolaj Rydzewski m...@ceti.pl wrote: It doesn't work for me. By default Tomcat uses ISO-8859-1 encoding. And it will try this encoding to parse input parameters. That's true, I'm doing the same here for German Umlaute, however: One link in the Wiki is

RE: Tomcat 6 multiple hosts howto

2009-03-16 Thread Caldarale, Charles R
From: Jeroen Kransen [mailto:jer...@kransen.nl] Subject: Tomcat 6 multiple hosts howto I used Tomcat 5.5 with multiple Host/ elements in the server.xml Now I read that this has to be done differently in Tomcat 6, but I am not sure how. Tomcat 6 is a bit stricter; you may not have been

Re: form parameters

2009-03-16 Thread Joseph Millet
Thing is you've got an HTML form that you tell browsers it is ISO-8859-2, so when they post it to form target URL - it gets send encoded as ISO-8859-2, it is then your responsibility to parse incoming queries in the encoding you asked it to be encoded. Depending upon your requirements, UTF-8 will

Re: form parameters

2009-03-16 Thread André Warnier
Gregor Schneider wrote: On Mon, Mar 16, 2009 at 3:10 PM, Mikolaj Rydzewski m...@ceti.pl wrote: It doesn't work for me. By default Tomcat uses ISO-8859-1 encoding. And it will try this encoding to parse input parameters. That's true, I'm doing the same here for German Umlaute, however: One

Re: form parameters

2009-03-16 Thread André Warnier
Joseph Millet wrote: Thing is you've got an HTML form that you tell browsers it is ISO-8859-2, so when they post it to form target URL - it gets send encoded as ISO-8859-2, it is then your responsibility to parse incoming queries Sorry, but I think this is incorrect. According to the HTTP

RE: MemoryLeak Problem with ThreadWithAttributes

2009-03-16 Thread Hennig, Patrick
Hi Chuck, sorry for late answer. The Tomcat Level is 5.5.15. How many ThreadWithAttributes objects are you seeing? In one of the HeapDumps i see 25 ThreadWithAttributes Objects. ( http://img518.imageshack.us/img518/4395/incomingreferences.png ~110kb ) Only 1 Object becomes that large. If i

Stack overflow when creating a session

2009-03-16 Thread Michael Moynihan
Hi,   Does anyone know why a Struts app would go into a recursive loop trying to create a session? I see the following  when the app is requested.   java.lang.StackOverflowError at org.apache.catalina.connector.Request.doGetSession(Request.java:2270) at

Re: form parameters

2009-03-16 Thread Gregor Schneider
If found this one: http://www.w3.org/TR/html401/interact/forms.html#adef-accept-charset Actually, to me it's not clear why Tomcat should believe the input being encoded in ISO8859-1, when one can give a detailled information how the form-data is encoded. If I understand it correctly, one can

Re: Stack overflow when creating a session

2009-03-16 Thread Gregor Schneider
Since Struts is very well tested on Tomcat (btw: which versions are you running?), I wouldn't believe this being a Tomcat / Struts-problem but a problem of your app. Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

Re: Stack overflow when creating a session

2009-03-16 Thread Michael Moynihan
Yes, I would agree with you. Struts 1.3.8 on tomcat 6.   - Original Message From: Gregor Schneider rc4...@googlemail.com To: Tomcat Users List users@tomcat.apache.org Sent: Monday, March 16, 2009 1:29:48 PM Subject: Re: Stack overflow when creating a session Since Struts is very well

Re: Stack overflow when creating a session

2009-03-16 Thread Gregor Schneider
So how should we help you then without knowing your application? Remeber: This is a Tomcat-mailinglist. However, since some guys here do have quite some Struts-know, maybe you're lucky if providing sufficiant information... Rgds Gregor -- just because your paranoid, doesn't mean they're not

RE: MemoryLeak Problem with ThreadWithAttributes

2009-03-16 Thread Caldarale, Charles R
From: Hennig, Patrick [mailto:phen...@l1id.com] Subject: RE: MemoryLeak Problem with ThreadWithAttributes The Tomcat Level is 5.5.15. That's over three years old. The first thing I'd do is move up to the current 5.5.27. In one of the HeapDumps i see 25 ThreadWithAttributes Objects.

Tomcat 6.0.18 warning

2009-03-16 Thread ndolan
Hi, I am trying to run a sample JSF tutorial on eclipse 3.2 on mac osx 10.5. The server comes back with a 'requested resource() not found error. From the server log in console, I found a warning as seen below: Mar 15, 2009 7:03:00 PM org.apache.tomcat.util.digester.SetPropertiesRule begin

Re: form parameters

2009-03-16 Thread André Warnier
Gregor Schneider wrote: If found this one: http://www.w3.org/TR/html401/interact/forms.html#adef-accept-charset Actually, to me it's not clear why Tomcat should believe the input being encoded in ISO8859-1, when one can give a detailled information how the form-data is encoded. If I

Re: form parameters

2009-03-16 Thread Mark Thomas
Gregor Schneider wrote: If found this one: http://www.w3.org/TR/html401/interact/forms.html#adef-accept-charset Actually, to me it's not clear why Tomcat should believe the input being encoded in ISO8859-1, when one can give a detailled information how the form-data is encoded. If I

Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-16 Thread Alan Chaney
I've just wasted about a couple of hours sorting out an issue with Vmware server 2 and tomcat and I thought I'd pass it along, hoping to save someone else a small piece of frustration. I've been setting up a new development workstation (CentOS 5.2) and switched to using vmware server 2

RE: Tomcat 6.0.18 warning

2009-03-16 Thread Caldarale, Charles R
From: ndolan [mailto:thallur...@yahoo.com] Subject: Tomcat 6.0.18 warning The server comes back with a 'requested resource() not found error. Comes back from what URL? Check all the logs, not just the console. Mar 15, 2009 7:03:00 PM org.apache.tomcat.util.digester.SetPropertiesRule

Re: MemoryLeak Problem with ThreadWithAttributes

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/16/2009 2:00 PM, Caldarale, Charles R wrote: You need to look inside the java.lang.Object array that this particular thread is holding and see what the type of object in the array is. That should help to narrow down where they're

Re: SEVERE: Can't lookup new HighLowSequence for field id using sequence name SEQ_t_xx_xxx

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ChupaMe, On 3/12/2009 7:40 AM, ChupaMe wrote: we have a Problem with Tomcat/MySQL which causes our webapplication to stop working. After a restart of Tomcat and MySQL it works again. But we have to do this a few times a day. [snip] Often the

Re: Cofiguring tomcat for trial certificate by trusted authorities like verisign not working.

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhuvanesh, On 3/16/2009 8:40 AM, Bhuvanesh Pattanashetti wrote: Hi ,I had tried that was y also.. now i m able to get the SSL working with the thawte trial SSL certificate. but not with the Verisign yet. i dono why. If you are using an EV cert,

RE: MemoryLeak Problem with ThreadWithAttributes

2009-03-16 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: MemoryLeak Problem with ThreadWithAttributes The current version of ThreadWithAttributes doesn't have any methods with locals of type Object[] These aren't local variables, these are references local to the

RE: MemoryLeak Problem with ThreadWithAttributes

2009-03-16 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: MemoryLeak Problem with ThreadWithAttributes I'm still chasing what the array is used for. This is getting weird. The only usage of the thData array in 5.5.15 is only two slots long. Something has gone seriously

Re: form parameters

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, FYI After logging, this seems to be one of the most-discussed topics on the list. On 3/16/2009 9:54 AM, André Warnier wrote: I am about 99% sure of the following, but I would like to be 100% sure. To sum up: 1. Using meta to set the

Re: form parameters

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/16/2009 11:53 AM, André Warnier wrote: As far as I understand the HTTP specs, something like request.setCharacterEncoding() should only be used (with a charset different from iso-8859-1) when a request comes in without a charset

Re: Stack overflow when creating a session

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 3/16/2009 12:48 PM, Michael Moynihan wrote: Does anyone know why a Struts app would go into a recursive loop trying to create a session? I see the following when the app is requested. java.lang.StackOverflowError at

Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan, On 3/16/2009 4:09 PM, Alan Chaney wrote: I spent some time looking to see whether these were configurable, but I found nothing, apart from a rather snotty message on the vmware bulletin boards stating that they didn't think that you should

Re: Garbage collection problem and Tomcat

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ian, On 3/12/2009 2:03 PM, Ian Long wrote: I'm using hibernate wrapped via the spring framework, so all connections *should* be returned to the pool under all conditions. Do you ever obtain a java.sql.Connection object in your own code? If so,

Re: MemoryLeak Problem with ThreadWithAttributes

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/16/2009 4:51 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: MemoryLeak Problem with ThreadWithAttributes The current version of ThreadWithAttributes doesn't have any

Tomcat 6 on Windows 2003 - 64 bit

2009-03-16 Thread Tuan Quan
Hi all, I've installed Java JDK 1.6.0_04 - 64 Bit version. Then install Tomcat 6.0.16, but when starting Tomcat I got the error below in Tomcat's log file. The JRE 1.6.0_04 is there and installed.   [2009-03-16 16:00:07] [986 prunsrv.c] [error] Failed creating java C:\Program

RE: Tomcat 6 on Windows 2003 - 64 bit

2009-03-16 Thread Caldarale, Charles R
From: Tuan Quan [mailto:tuan_q...@yahoo.com] Subject: Tomcat 6 on Windows 2003 - 64 bit I've installed Java JDK 1.6.0_04 - 64 Bit version. Then install Tomcat 6.0.16, You need to replace the tomcat6.exe and tomcat6w.exe programs in Tomcat's bin directory with the 64-bit versions. Those

Re: form parameters

2009-03-16 Thread André Warnier
Christopher Schultz wrote: Quick question: multipart/form-data is typically used for file upload... why not use application/x-www-form-urlencoded instead? I realize the problem is that certain browsers do not send the proper charset in the Content-Type, but I'd like to understand your affinity

RE: Tomcat 6 on Windows 2003 - 64 bit

2009-03-16 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: Tomcat 6 on Windows 2003 - 64 bit Those are available for download here: http://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/amd64/ Rename them, replacing the '5' with a '6', then try starting

Re: Tomcat 6 on Windows 2003 - 64 bit

2009-03-16 Thread André Warnier
Tuan Quan wrote: Hi all, I've installed Java JDK 1.6.0_04 - 64 Bit version. Then install Tomcat 6.0.16, but when starting Tomcat I got the error below in Tomcat's log file. The JRE 1.6.0_04 is there and installed. [2009-03-16 16:00:07] [986 prunsrv.c] [error] Failed creating java C:\Program

RE: MemoryLeak Problem with ThreadWithAttributes

2009-03-16 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: MemoryLeak Problem with ThreadWithAttributes Back in 2003, Remy makes a claim that almost sounds like thData is deprecated and unused. I'm interested in what you find. It does appear to be dead code in 6.0.18.

[OT] Coding your JDBC to avoid connection leaks

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, We've had enough people ask about JDBC connection leaks over the years that I thought I'd write a blog entry about how to properly write JDBC code. While it's not Tomcat-specific, I figured I'd post it here in case anyone wants to refer to it in

Re: form parameters

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, (Man, I need to get a keyboard mapping for é. This copy-and-paste thing is such a drag...) On 3/16/2009 6:09 PM, André Warnier wrote: Christopher Schultz wrote: Quick question: multipart/form-data is typically used for file upload... why

Re: form parameters

2009-03-16 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/16/2009 11:53 AM, André Warnier wrote: As far as I understand the HTTP specs, something like request.setCharacterEncoding() should only be used (with a charset different from iso-8859-1) when a request comes

mysql/J connector + tomcat and it configuration

2009-03-16 Thread Tomas Rodriguez
Hi everybody. I'm new in this list and new work with tomcat, by this reason I have a doubt with mysql/j connector and Tomcat. my doubt is. what should I do for configurate mysql/j and tomcat work together? somebody can help me with this big problem for me?. Thanks so much. have a good day

Re: mysql/J connector + tomcat and it configuration

2009-03-16 Thread Ken Bowen
Hello Tomas, Start with http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html What Tomcat/Java versions are you using? If you are just starting, you should use Tomcat 6.0.18 and Java 1.5+ --Ken On Mar 16, 2009, at 8:15 PM, Tomas Rodriguez wrote: Hi everybody. I'm

Re: form parameters

2009-03-16 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, (Man, I need to get a keyboard mapping for é. This copy-and-paste thing is such a drag...) Well, you can use Andre, I don't mind and I'm used to all kinds of spellings. Or you can use André , the special form

Re: form parameters

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/16/2009 6:59 PM, André Warnier wrote: The real fix would be HTTP 1.2, specifying once and for all that the default encoding for query parameters is Unicode/UTF-8 Yes. Given that HTTP/1.1 clients should include Content-Type yet don't,

Re: form parameters

2009-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/16/2009 8:30 PM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, (Man, I need to get a keyboard mapping for é. This copy-and-paste thing is such a drag...) Well, you can use