Tomcat 7.0.5 SSL setup issue
I'm unable to setup SSL with Tomcat 7 on a Linux VM .. The error is as below - Please advise *** CertificateRequest Cert Types: RSA, DSS Cert Authorities: CN=Credit Suisse Internal CA, CN=AIA, CN=Public Key Services, CN=Services, CN=Configuration, DC=auredi, DC=net *** ServerHelloDone http-8443-exec-1, WRITE: SSLv3 Handshake, length = 3428 http-8443-exec-1, received EOFException: error http-8443-exec-1, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake http-8443-exec-1, SEND SSLv3 ALERT: fatal, description = handshake_failure http-8443-exec-1, WRITE: SSLv3 Alert, length = 2 http-8443-exec-1, called closeSocket() http-8443-exec-1, IOException in getSession(): javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake http-8443-exec-1, called close() http-8443-exec-1, called closeInternal(true) catalina.out Thanks Nibu === Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html === - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 7.0.5 SSL setup issue
Thomas, Nibu wrote: I'm unable to setup SSL with Tomcat 7 on a Linux VM .. The error is as below - Please advise *** CertificateRequest Cert Types: RSA, DSS Cert Authorities: CN=Credit Suisse Internal CA, CN=AIA, CN=Public Key Services, CN=Services, CN=Configuration, DC=auredi, DC=net *** ServerHelloDone http-8443-exec-1, WRITE: SSLv3 Handshake, length = 3428 http-8443-exec-1, received EOFException: error http-8443-exec-1, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake http-8443-exec-1, SEND SSLv3 ALERT: fatal, description = handshake_failure http-8443-exec-1, WRITE: SSLv3 Alert, length = 2 http-8443-exec-1, called closeSocket() http-8443-exec-1, IOException in getSession(): javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake http-8443-exec-1, called close() http-8443-exec-1, called closeInternal(true) I think you really need to consult the following : 1) http://www.lmgtfy.com/?q=setup+SSL+with+Tomcat+7 2) http://catb.org/~esr/faqs/smart-questions.html - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 6.0.35 NIO CometProcessor redeploy issue
On 18/12/2011 16:13, Peter Balogh wrote: Hi, I'm not sure, if it's the right list to ask for help in this. I'm using Tomcat 6.0.35 from Eclipse. If I change the webapp, and publish it, the next request for the CometProcessor implementation never ends (I'm inspecting the behavior in firebug). Restarting the server seems to fix the problem. Has anyone met this issue? Not that I am aware if but depending on what Eclipse is doing behind the scenes this might or might or might not be a Tomcat bug. Is there any way to prevent it? If you can reproduce this without any Eclipse involvement then please raise a Bugzilla entry and I'll take a look at what is going on. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Hosted environment
On 19/12/2011 02:44, r.sriram wrote: Hello, I am setting up my multiple domains on Go Daddy. In my current in-house windows server my Tomcat is on Program Files (86) and the ROOT is in C:\Program Files (x86)\apache-tomcat-6.0.33\webapps directory. That is where WEB-INF is, that is what is my actual path for all files that gets picked up by my web pages (including my servlets). In Go Daddy, there would be different ROOTs for each domain. (../domain/httpdocs) But there would be one Tomcat installation. can Tomcat be installed in Program Files (86), and the servlets, and all the files needed for the domain be placed in ../domain name/httpdocs? It depends whether Plesk is expecting Tomcat webapps to be placed in httpdocs. p Thanks.Ram - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- [key:62590808] signature.asc Description: OpenPGP digital signature
Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server
On 17/12/2011 22:33, Tim Watts wrote: On Sun, 2011-12-18 at 01:11 +0530, Anshul Asthana wrote: From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, 17 December 2011 6:03 PM Subject: Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server I have written a simple web application to accept Name using Flex SDK 3.2 HttpService and send it to my web application running on Tomcat 6.0 WebServer. We are Using Flex with LiveCycle DS ES 3.0 to communicate Web Server(Tomcat 6.0). Am able to accept input in flex code but the problem is when trying to send data from Flex client to Tomcat WebServer application, it does not work. Both LifeCycle DS ES 3.0 and WebServer Tomcat 6.0 are running on same machine. LiveCycle DS ES 3.0 uses port no - 8400 WebServer Tomcat 6.0 uses port no - 8000 LiveCycle DS ES 3.0 uses two configuration files :- a. services-config.xml b. proxy-config.xml WebServer Tommcat 6.0 uses one configuration files :- a. web.xml That's not even close to true. I have worked with Adobe and they have helped me configure LiveCycle DS ES 3.0. I have Installed Flex Debugger and it gives follwoing error message when trying to communicate with Tomcat 6.0 WebServer:- [RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8400/JLCAPP/messagebroker/amf'] I'm no flex expert but, it looks to me like your flex app is getting a 404 (not found) trying to connect to a LifeCycle server service. I noticed your web.xml has the messagebroker configured in Tomcat. Perhaps that belongs in LifeCycle instead? To be honest, you're going to get precious little help here. It looks to me like your basic problem, at this point, is in understanding how LifeCycle RPC works not Tomcat. I suggest you engage the support forums there. And/Or go through the tutorials (again). Has the OP actually deployed their application? A 404 might suggest otherwise. Have they edited the tomcat/conf/web.xml instead of the one in their application? A number of other similar questions spring to mind... p mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:220] at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects \rpc\src\mx\rpc\Responder.as:53] at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks \projects\rpc\src\mx\rpc\AsyncRequest.as:103] at mx.messaging::ChannelSet/faultPendingSends()[C:\autobuild\3.2.0 \frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1482] at mx.messaging::ChannelSet/channelFaultHandler()[C:\autobuild\3.2.0 \frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:975] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::Channel/connectFailed()[C:\autobuild\3.2.0 \frameworks\projects\rpc\src\mx\messaging\Channel.as:997] at mx.messaging.channels::PollingChannel/connectFailed()[C:\autobuild \3.2.0\frameworks\projects\rpc\src\mx\messaging\channels \PollingChannel.as:354] at mx.messaging.channels::AMFChannel/statusHandler()[C:\autobuild \3.2.0\frameworks\projects\rpc\src\mx\messaging\channels \AMFChannel.as:390] Am providing you with the configuration file that am using at Tomcat Webserver namely web.xml. web.xml --- ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=2.5 xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; !-- MessageBroker Servlet -- !-- Http Flex Session attribute and binding listener support -- listener listener-classflex.messaging.HttpFlexSession/listener-class /listener servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-namedebug/param-name param-value3/param-value /init-param init-param param-namedetail/param-name param-value3/param-value /init-param load-on-startup1/load-on-startup /servlet servlet servlet-nameMessageBrokerServlet/servlet-name servlet-classflex.messaging.MessageBrokerServlet/servlet-class init-param param-nameservices.configuration.file/param-name param-value/WEB-INF/flex/services-config.xml/param-value /init-param load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping servlet-mapping
Re: Tomcat 7.0.23 problem
On 17/12/2011 08:01, Lutischán Ferenc wrote: Dear Users, I have a webapplication. I use it with tomcat 7.0.22, java 1.7.02. When I have upgraded it to 7.0.23, the starting process is paused on the line: INFO: Deploying web application directory /usr/local/tomcat1/webapps/ROOT There are not error messages. Can you suggest something? If you do not have a Realm defined in your server.xml, define one. Dear Pid, Thanks for suggestion. It's work! Regrards, Ferenc Known bug, will be fixed in next release. p -- [key:62590808] signature.asc Description: OpenPGP digital signature
Re: Tomcat SSL
On 14/12/2011 10:42, Jean Louis LECOQUIERRE wrote: Hi I need help to manage the tomcat.jks The certificate Racine is not good, I need to change it What is the command ? $JAVA_HOME/bin/keytool --help p Jean Louis LECOQUIERRE Administrateur systemes et reseaux Challenge International 2 rue vincent van gogh - 76290 Montivilliers - France Phone: +33 (0)2.32.79.63.42 | Fax: +33 (0)2.35.30.03.14 * jean-louis.lecoquie...@challenge-int.fr - http://www.challenge-int.com http://www.challenge-int.com P Afin de contribuer au respect de l´environnement merci de n´imprimer ce mail que si nécessaire -- [key:62590808] signature.asc Description: OpenPGP digital signature
Logging per webapp per instance
Hi, Our webapp is packaged with the log4j framework (1.2.16) and a log4j configuration that redirect all logs to a file on the server filesystem. This log file is rotated when it reaches 50M. Here is the configuration detail : log4j.rootLogger=INFO, file log4j.appender.file=org.apache.log4j.RollingFileAppender log4j.appender.file.File=/var/log/webapp.log log4j.appender.file.MaxFileSize=5KB log4j.appender.file.MaxBackupIndex=50 log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%d %-5p %c - %m%n This configuration file is located inside the webapp.war archive at /WEB-INF/classes/log4j.properties. In our production environment, we started with one tomcat instance and everything was fine. The tomcat version is 5.5.20 and it is running on the Oracle JVM 1.6.0_23-b05. Unfortunately, when the infrastructure team added 2 other Tomcat instances on the same server with the same webapp.war inside, some logs were lost. The 2 instances are basically a complete copy of the file tree of the first instance. Thus, there is 3 identical webapps logging into the same log file simultaneously : /tomcat/instance-1/webapps/webapp.war = /var/log/webapp.log /tomcat/instance-2/webapps/webapp.war = /var/log/webapp.log /tomcat/instance-3/webapps/webapp.war = /var/log/webapp.log My hypothesis is that as every webapp log to the same log file from a different JVM (the tomcat instances), there could be some concurrency issues when the rolling from log4j occurs !!! I would like that each webapp logs to a particular file without having a different log4j configuration packaged in the webapp.war archive. My first idea was to modify the log4j configuration so the webapp will log to the console (stdout) and then find a way to redirect the stdout inside a Tomcat instance to a particular file : /tomcat/instance-1/webapps/webapp.war = stdout = /var/log/webapp-1.log /tomcat/instance-2/webapps/webapp.war = stdout = /var/log/webapp-2.log /tomcat/instance-3/webapps/webapp.war = stdout = /var/log/webapp-3.log I know i could achieve that with the Resin application server through the use of the stdout / configuration element (http://caucho.com/resin-4.0/reference.xtp#stdoutlog, http://caucho.com/resin-4.0/admin/logging.xtp). Is there a way to mimic this behaviour in Tomcat ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Logging per webapp per instance
Hello, you can specify the logoutput as relative path: instead of log4j.appender.file.File=/var/log/webapp.log to log4j.appender.file.File=logs/webapp.log and link the local file to the desired destination. regards Leon On Mon, Dec 19, 2011 at 5:54 PM, Simon spyd...@gmail.com wrote: Hi, Our webapp is packaged with the log4j framework (1.2.16) and a log4j configuration that redirect all logs to a file on the server filesystem. This log file is rotated when it reaches 50M. Here is the configuration detail : log4j.rootLogger=INFO, file log4j.appender.file=org.apache.log4j.RollingFileAppender log4j.appender.file.File=/var/log/webapp.log log4j.appender.file.MaxFileSize=5KB log4j.appender.file.MaxBackupIndex=50 log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%d %-5p %c - %m%n This configuration file is located inside the webapp.war archive at /WEB-INF/classes/log4j.properties. In our production environment, we started with one tomcat instance and everything was fine. The tomcat version is 5.5.20 and it is running on the Oracle JVM 1.6.0_23-b05. Unfortunately, when the infrastructure team added 2 other Tomcat instances on the same server with the same webapp.war inside, some logs were lost. The 2 instances are basically a complete copy of the file tree of the first instance. Thus, there is 3 identical webapps logging into the same log file simultaneously : /tomcat/instance-1/webapps/webapp.war = /var/log/webapp.log /tomcat/instance-2/webapps/webapp.war = /var/log/webapp.log /tomcat/instance-3/webapps/webapp.war = /var/log/webapp.log My hypothesis is that as every webapp log to the same log file from a different JVM (the tomcat instances), there could be some concurrency issues when the rolling from log4j occurs !!! I would like that each webapp logs to a particular file without having a different log4j configuration packaged in the webapp.war archive. My first idea was to modify the log4j configuration so the webapp will log to the console (stdout) and then find a way to redirect the stdout inside a Tomcat instance to a particular file : /tomcat/instance-1/webapps/webapp.war = stdout = /var/log/webapp-1.log /tomcat/instance-2/webapps/webapp.war = stdout = /var/log/webapp-2.log /tomcat/instance-3/webapps/webapp.war = stdout = /var/log/webapp-3.log I know i could achieve that with the Resin application server through the use of the stdout / configuration element (http://caucho.com/resin-4.0/reference.xtp#stdoutlog, http://caucho.com/resin-4.0/admin/logging.xtp). Is there a way to mimic this behaviour in Tomcat ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Logging per webapp per instance
On Mon, 2011-12-19 at 09:05 -0800, Leon Rosenberg wrote: Hello, you can specify the logoutput as relative path: instead of log4j.appender.file.File=/var/log/webapp.log to log4j.appender.file.File=logs/webapp.log and link the local file to the desired destination. +1 or if you don't want to use relative paths, you could use a variable substitution. Ex: log4j.appender.file.File=${catalina.base}/logs/webapp.log Property substitution is not limited to catalina.base (it's just easy to use since it's defined automatically), Log4J can substitute any system property. So you could define your own. Ex: In bin/setenv.sh... -Dmy.log.prefix=server1 In log4j.properties... log4j.appender.file.File=/var/log/${my.log.prefix}-webapp.log For more details on property substitution. https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PropertyConfigurator.html Dan regards Leon On Mon, Dec 19, 2011 at 5:54 PM, Simon spyd...@gmail.com wrote: Hi, Our webapp is packaged with the log4j framework (1.2.16) and a log4j configuration that redirect all logs to a file on the server filesystem. This log file is rotated when it reaches 50M. Here is the configuration detail : log4j.rootLogger=INFO, file log4j.appender.file=org.apache.log4j.RollingFileAppender log4j.appender.file.File=/var/log/webapp.log log4j.appender.file.MaxFileSize=5KB log4j.appender.file.MaxBackupIndex=50 log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%d %-5p %c - %m%n This configuration file is located inside the webapp.war archive at /WEB-INF/classes/log4j.properties. In our production environment, we started with one tomcat instance and everything was fine. The tomcat version is 5.5.20 and it is running on the Oracle JVM 1.6.0_23-b05. Unfortunately, when the infrastructure team added 2 other Tomcat instances on the same server with the same webapp.war inside, some logs were lost. The 2 instances are basically a complete copy of the file tree of the first instance. Thus, there is 3 identical webapps logging into the same log file simultaneously : /tomcat/instance-1/webapps/webapp.war = /var/log/webapp.log /tomcat/instance-2/webapps/webapp.war = /var/log/webapp.log /tomcat/instance-3/webapps/webapp.war = /var/log/webapp.log My hypothesis is that as every webapp log to the same log file from a different JVM (the tomcat instances), there could be some concurrency issues when the rolling from log4j occurs !!! I would like that each webapp logs to a particular file without having a different log4j configuration packaged in the webapp.war archive. My first idea was to modify the log4j configuration so the webapp will log to the console (stdout) and then find a way to redirect the stdout inside a Tomcat instance to a particular file : /tomcat/instance-1/webapps/webapp.war = stdout = /var/log/webapp-1.log /tomcat/instance-2/webapps/webapp.war = stdout = /var/log/webapp-2.log /tomcat/instance-3/webapps/webapp.war = stdout = /var/log/webapp-3.log I know i could achieve that with the Resin application server through the use of the stdout / configuration element (http://caucho.com/resin-4.0/reference.xtp#stdoutlog, http://caucho.com/resin-4.0/admin/logging.xtp). Is there a way to mimic this behaviour in Tomcat ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 6.0.35 NIO CometProcessor redeploy issue
Hi Mark, I've tried to reproduce the issue without Eclipse, but I couldn't. The only way I could make tomcat to reload my app was to change the autoDeploy tag to true in the server.xml, so I'm not sure, if it's not tomcat related. Can changing this small change in the server xml make a difference? Should I try reporting this to the eclipse forums? Thank you for your help, Best regards, Peter Balogh On 2011.12.19. 17:00, Mark Thomas wrote: On 18/12/2011 16:13, Peter Balogh wrote: Hi, I'm not sure, if it's the right list to ask for help in this. I'm using Tomcat 6.0.35 from Eclipse. If I change the webapp, and publish it, the next request for the CometProcessor implementation never ends (I'm inspecting the behavior in firebug). Restarting the server seems to fix the problem. Has anyone met this issue? Not that I am aware if but depending on what Eclipse is doing behind the scenes this might or might or might not be a Tomcat bug. Is there any way to prevent it? If you can reproduce this without any Eclipse involvement then please raise a Bugzilla entry and I'll take a look at what is going on. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: AJP 1.3 Connector
Thanks; but, I disabled the firewall on both machines before I started the configuration. -Original Message- From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Saturday, December 17, 2011 4:19 AM To: Tomcat Users List Subject: Re: AJP 1.3 Connector Firewall? On Dec 17, 2011 11:34 AM, Vickie Troy-McKoy vtmc...@hotmail.com wrote: Hi, I'm in need of a little help. I'm trying to get my tomcat and apache web server instances communicating; they are running on two different physical servers. When I attempt a test of the application url, it basically says that a connection cannot be established. I am running the following: RHEL Release 5.6 (x86_64) Apache Tomcat 7.0.14 Apache/2.0.64 mod_jk/1.2.32 On the 1st physical server, the apache webserver instance resides: httpd.conf contains the following: LoadModule jk_module modules/mod_jk.so # JkWorkersFile conf/workers.properties JkMount /* server2 workers.properties contain the following: worker.list=server2 worker.server2.port=8009 worker.server2.host=server2.ourlab.com worker.server2.type=ajp13 worker.server2.lbfactor=1 worker.server2.socket_keepalive=1 On the 2nd physical server, the apache-tomcat instance resides: server.xml contains the following: !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false protocol=AJP/1.3 redirectPort=8443 / Connector port=8443 maxHttpHeaderSize=8192 protocol=HTTP/1.1 SSLEnabled=true [and various other settings] I am missing something. Can someone please provide help? Thank you... ___ Regards, ___ JESUS--Don't leave earth without Him! There is an election going on all the time. The Lord votes for you and satan votes against you; and you must cast the deciding vote. - Email messages cannot be guaranteed to be secure or error-free as transmitted information can be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The Centers for Medicare Medicaid Services therefore does not accept liability for any error or omissions in the contents of this message, which arise as a result of email transmission. CONFIDENTIALITY NOTICE: This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to which it is addressed. Any review, dissemination, or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and delete and destroy all copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: AJP 1.3 Connector
Thanks for your response. When I ping server2, I get valid responses coming back. When I telnet to server2 on port 8009, I am also able to connect. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Saturday, December 17, 2011 7:14 AM To: Tomcat Users List Subject: Re: AJP 1.3 Connector Vickie Troy-McKoy wrote: Hi, I'm in need of a little help. I'm trying to get my tomcat and apache web server instances communicating; they are running on two different physical servers. When I attempt a test of the application url, it basically says that a connection cannot be established. I am running the following: RHEL Release 5.6 (x86_64) Apache Tomcat 7.0.14 Apache/2.0.64 mod_jk/1.2.32 On the 1st physical server, the apache webserver instance resides: httpd.conf contains the following: LoadModule jk_module modules/mod_jk.so # JkWorkersFile conf/workers.properties JkMount /* server2 workers.properties contain the following: worker.list=server2 worker.server2.port=8009 worker.server2.host=server2.ourlab.com worker.server2.type=ajp13 worker.server2.lbfactor=1 worker.server2.socket_keepalive=1 On the 2nd physical server, the apache-tomcat instance resides: server.xml contains the following: !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false protocol=AJP/1.3 redirectPort=8443 / Connector port=8443 maxHttpHeaderSize=8192 protocol=HTTP/1.1 SSLEnabled=true [and various other settings] I am missing something. Can someone please provide help? Thank you... Hi. Your configuration looks fine. The problem then should be with the network. Try the following : From the Apache httpd server (command-line), 1) enter : ping server2.ourlab.com If you get regular messages showing that the ping packets are being answered, it's fine. If you get error messages, then you have a basic network problem accessing server2.ourlab.com from your Apache host. (faked) example of a good answer : PING server2.ourlab.com (192.168.20.1) 56(84) bytes of data. 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=1 ttl=64 time=0.326 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=2 ttl=64 time=0.158 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=3 ttl=64 time=0.156 ms Example of a bad answer : - unknown host - network is not reachable etc.. 2) If the above is fine, then : enter : telnet server2.ourlab.com 8009 It should at least connect (and may drop the connection right away), but the point is : is it connecting ? If it is, you will get an answer similar to this : Trying 192.168.20.1... Connected to colin-int. Escape character is '^]'. xxx Connection closed by foreign host. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - Email messages cannot be guaranteed to be secure or error-free as transmitted information can be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The Centers for Medicare Medicaid Services therefore does not accept liability for any error or omissions in the contents of this message, which arise as a result of email transmission. CONFIDENTIALITY NOTICE: This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to which it is addressed. Any review, dissemination, or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and delete and destroy all copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Do I Have Java Memory Fragmentation?
We have a Windows 2003 R2 x64 virtual machine running as a guest under Oracle VirtualBox on 64-bit Linux. The Windows VM has 16GB of RAM and is running approximately 80 separate instances of tomcat. (These instances do a specific small function and do not require much power or cause much load.) With all services running, the server still has 3-4GB of free RAM. When we only had about 40-50 tomcat instances, everything was fine. But as we add more instances, we have a problem where tomcat services just spontaneously die. If we check the server after about 12 hours of uptime, we find that 5-6 services have stopped. A little later it might be 10-12 instances, and so on. It gets worse over time. There are no OOM errors in the logs, but attempting to restart the stopped services produces Windows error 1067, and the java logs contain the message unable to allocate enough java heap space. By default, my Java instances are configured with -Xms128M -Xmx384M. Raising these numbers does not help, but if I lower them to, say 64MB, then Java will start and the services will come up (but then I have other problems with the application). All of this makes me think we have a problem with Java memory fragmentation because of having so many instances of Java, and the problem gets worse as the hours go by. Can someone recommend a way to diagnose and/or fix this problem? -- Eric Robinson Director of Information Technology Physician Select Management, LLC 775-885-2211 x 111 Disclaimer - December 19, 2011 This email and any files transmitted with it are confidential and intended solely for users@tomcat.apache.org. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
RE: AJP 1.3 Connector
On Mon, 2011-12-19 at 13:42 -0500, Troy-McKoy, Vickie wrote: Thanks for your response. When I ping server2, I get valid responses coming back. When I telnet to server2 on port 8009, I am also able to connect. Did you do the telnet test from a shell on the apache host? Did you use the exact name *as configured* (i.e. server2.ourlab.com)? What's the exact error message you're getting and which component (browser, apache) is reporting it? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Saturday, December 17, 2011 7:14 AM To: Tomcat Users List Subject: Re: AJP 1.3 Connector Vickie Troy-McKoy wrote: Hi, I'm in need of a little help. I'm trying to get my tomcat and apache web server instances communicating; they are running on two different physical servers. When I attempt a test of the application url, it basically says that a connection cannot be established. I am running the following: RHEL Release 5.6 (x86_64) Apache Tomcat 7.0.14 Apache/2.0.64 mod_jk/1.2.32 On the 1st physical server, the apache webserver instance resides: httpd.conf contains the following: LoadModule jk_module modules/mod_jk.so # JkWorkersFile conf/workers.properties JkMount /* server2 workers.properties contain the following: worker.list=server2 worker.server2.port=8009 worker.server2.host=server2.ourlab.com worker.server2.type=ajp13 worker.server2.lbfactor=1 worker.server2.socket_keepalive=1 On the 2nd physical server, the apache-tomcat instance resides: server.xml contains the following: !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false protocol=AJP/1.3 redirectPort=8443 / Connector port=8443 maxHttpHeaderSize=8192 protocol=HTTP/1.1 SSLEnabled=true [and various other settings] I am missing something. Can someone please provide help? Thank you... Hi. Your configuration looks fine. The problem then should be with the network. Try the following : From the Apache httpd server (command-line), 1) enter : ping server2.ourlab.com If you get regular messages showing that the ping packets are being answered, it's fine. If you get error messages, then you have a basic network problem accessing server2.ourlab.com from your Apache host. (faked) example of a good answer : PING server2.ourlab.com (192.168.20.1) 56(84) bytes of data. 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=1 ttl=64 time=0.326 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=2 ttl=64 time=0.158 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=3 ttl=64 time=0.156 ms Example of a bad answer : - unknown host - network is not reachable etc.. 2) If the above is fine, then : enter : telnet server2.ourlab.com 8009 It should at least connect (and may drop the connection right away), but the point is : is it connecting ? If it is, you will get an answer similar to this : Trying 192.168.20.1... Connected to colin-int. Escape character is '^]'. xxx Connection closed by foreign host. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - Email messages cannot be guaranteed to be secure or error-free as transmitted information can be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The Centers for Medicare Medicaid Services therefore does not accept liability for any error or omissions in the contents of this message, which arise as a result of email transmission. CONFIDENTIALITY NOTICE: This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to which it is addressed. Any review, dissemination, or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and delete and destroy all copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org signature.asc Description: This is a digitally signed message part
RE: Do I Have Java Memory Fragmentation?
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: Do I Have Java Memory Fragmentation? All of this makes me think we have a problem with Java memory fragmentation because of having so many instances of Java Fragmentation doesn't really exist anymore, thanks to paging and garbage collection. (Except in very unusual circumstances involving badly coded JNI methods that pin objects unnecessarily; are you doing that?) Can someone recommend a way to diagnose and/or fix this problem? Look in the Windows logs (event viewer), not the Tomcat ones. Windows may think you're running out of memory + swap space. Raising the -Xmx value for each Tomcat instance will only make it worse, not better. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Do I Have Java Memory Fragmentation?
Do a simple math. If you give each VM up to 384M heap and if you add some 100 MB for permspace and overhead, you have a consumption of 500MB per VM. Take 1GB for OS needs, you have 15, and 15.000/500 makes it save to run 30 tomcat instances max. Since you experience the problems after some running time, I would assume that you VMs are starting with 128 but slowly take up all the space, and the later VMs just have nothing to get. Advice: Calculate your needs exactly by playing with settings (remember always set Ms=Mx) and watching gc logs. You will probably need to reduce the number of instances or buy another machine (or put more memory into this one). Also, do you really need a separate instance for each webapp? You have 60x catalina code in the heap and everything, which probably takes half of your memory. regards Leon On Mon, Dec 19, 2011 at 8:24 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: Do I Have Java Memory Fragmentation? All of this makes me think we have a problem with Java memory fragmentation because of having so many instances of Java Fragmentation doesn't really exist anymore, thanks to paging and garbage collection. (Except in very unusual circumstances involving badly coded JNI methods that pin objects unnecessarily; are you doing that?) Can someone recommend a way to diagnose and/or fix this problem? Look in the Windows logs (event viewer), not the Tomcat ones. Windows may think you're running out of memory + swap space. Raising the -Xmx value for each Tomcat instance will only make it worse, not better. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Do I Have Java Memory Fragmentation?
-Original Message- From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Sent: Monday, December 19, 2011 1:51 PM By default, my Java instances are configured with -Xms128M -Xmx384M. 80 JVM instances allocating 384M of heap each will need about 30GB total virtual memory for heap alone. You said your server has 16GB of real memory. How large is the paging file? I doubt 16GB is enough based on your heap parameters. -Jeff - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 6.0.35 NIO CometProcessor redeploy issue
On 19/12/2011 17:50, Peter Balogh wrote: Hi Mark, I've tried to reproduce the issue without Eclipse, but I couldn't. The only way I could make tomcat to reload my app was to change the autoDeploy tag to true in the server.xml, so I'm not sure, if it's not tomcat related. Can changing this small change in the server xml make a difference? Well, Tomcat isn't going to deploy the updated WAR unless that is set to true. See the docs for details. Should I try reporting this to the eclipse forums? That looks like the right place to start to me. Mark Thank you for your help, Best regards, Peter Balogh On 2011.12.19. 17:00, Mark Thomas wrote: On 18/12/2011 16:13, Peter Balogh wrote: Hi, I'm not sure, if it's the right list to ask for help in this. I'm using Tomcat 6.0.35 from Eclipse. If I change the webapp, and publish it, the next request for the CometProcessor implementation never ends (I'm inspecting the behavior in firebug). Restarting the server seems to fix the problem. Has anyone met this issue? Not that I am aware if but depending on what Eclipse is doing behind the scenes this might or might or might not be a Tomcat bug. Is there any way to prevent it? If you can reproduce this without any Eclipse involvement then please raise a Bugzilla entry and I'll take a look at what is going on. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: URIEncoding
Thanks alot for your help. Yesterday I mentioned that the problem is solved but strange I think my messages is not got by the forum. The problem was using the : meta http-equiv='Content-Type' content='text/html; charset=UTF-8' To change a encoding of a jsp page which is diudn’t work. I simply forget that I am chanign the encoding of a jsp page and not html page. I used the right command for a jsp page which is : %@ page contentType=text/html;charset=UTF-8 % It works fine and force the page to use utf-8 encoding. Thanks once again for your kind response. awarnier wrote: starz10de wrote: One of my try to solve the problem is to use utf-8 in my html page as well as in my backend. It doesn’t work because the reason was that the Browser change automatically to iso encoding. Today I checked the browser encoding before submit the query and saw that it use iso although in my html page it is utf-8. I changed to utf-8 manually and submit the query and it works fine. Good. Now you are providing some real information. I a login page (it has utf-8) I checked this also manually; after login is successful a jsp page will be called to enter the query. This jsp page use iso encoding although inside it utf-8 is defined. I couldn’t understand from why the browser automatically user iso encoding although I force it to use utf-8. Neither do I, but let's find out. Here how I do: meta http-equiv='Content-Type' content='text/html; charset=UTF-8' That looks correct. Which browser is it ? Did you get one of these plugins that I recommended ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/URIEncoding-tp32989250p33005252.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: AJP 1.3 Connector
Yes. From the apache host, I pinged and telneted the tomcat host. # ping tomcatappserver PING tomcatappserver (nn.n.nn.nnn) 56(84) bytes of data. 64 bytes from tomcatappserver (nn.n.nn.nnn): icmp_seq=1 ttl=64 time=0.140 ms # telnet tomcatappserver 8009 Trying nn.n.nn.nnn... Connected to tomcatappserver (nn.n.nn.nnn). Escape character is '^]'. Connection closed by foreign host. When I attempt to connect to the tomcatappserver via the apachewebserver, in firefox browser I get: Unable to connect. Firefox can't establish a connection to the serer at tomcatappserver:8009. I just noticed if I put in the browser, the tomcatappserver url with the default port, I get the Apache Tomcat/7.0.14 page. But, if I put in the apachewebserver url with the default port, I get this message: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.0.64 (Unix) mod_jk/1.2.32 Server at x Port 80 When I remove the JkMount and JkWorkersFile from httpd.conf, I get the default Apache web server page. -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, December 19, 2011 2:20 PM To: Tomcat Users List Subject: RE: AJP 1.3 Connector On Mon, 2011-12-19 at 13:42 -0500, Troy-McKoy, Vickie wrote: Thanks for your response. When I ping server2, I get valid responses coming back. When I telnet to server2 on port 8009, I am also able to connect. Did you do the telnet test from a shell on the apache host? Did you use the exact name *as configured* (i.e. server2.ourlab.com)? What's the exact error message you're getting and which component (browser, apache) is reporting it? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Saturday, December 17, 2011 7:14 AM To: Tomcat Users List Subject: Re: AJP 1.3 Connector Vickie Troy-McKoy wrote: Hi, I'm in need of a little help. I'm trying to get my tomcat and apache web server instances communicating; they are running on two different physical servers. When I attempt a test of the application url, it basically says that a connection cannot be established. I am running the following: RHEL Release 5.6 (x86_64) Apache Tomcat 7.0.14 Apache/2.0.64 mod_jk/1.2.32 On the 1st physical server, the apache webserver instance resides: httpd.conf contains the following: LoadModule jk_module modules/mod_jk.so # JkWorkersFile conf/workers.properties JkMount /* server2 workers.properties contain the following: worker.list=server2 worker.server2.port=8009 worker.server2.host=server2.ourlab.com worker.server2.type=ajp13 worker.server2.lbfactor=1 worker.server2.socket_keepalive=1 On the 2nd physical server, the apache-tomcat instance resides: server.xml contains the following: !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false protocol=AJP/1.3 redirectPort=8443 / Connector port=8443 maxHttpHeaderSize=8192 protocol=HTTP/1.1 SSLEnabled=true [and various other settings] I am missing something. Can someone please provide help? Thank you... Hi. Your configuration looks fine. The problem then should be with the network. Try the following : From the Apache httpd server (command-line), 1) enter : ping server2.ourlab.com If you get regular messages showing that the ping packets are being answered, it's fine. If you get error messages, then you have a basic network problem accessing server2.ourlab.com from your Apache host. (faked) example of a good answer : PING server2.ourlab.com (192.168.20.1) 56(84) bytes of data. 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=1 ttl=64 time=0.326 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=2 ttl=64 time=0.158 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=3 ttl=64 time=0.156 ms Example of a bad answer : - unknown host - network is not reachable etc.. 2) If the above is fine, then : enter : telnet server2.ourlab.com 8009 It should at least connect (and may drop the connection right away), but the point is : is it connecting ? If it is, you will get an answer similar to this : Trying 192.168.20.1... Connected to colin-int. Escape character is '^]'. xxx Connection closed by foreign host. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - Email messages cannot be guaranteed to be secure or error-free as transmitted information can be intercepted, corrupted, lost, destroyed, arrive late or
Re: Tomcat 7.0.5 SSL setup issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nibu, On 12/19/11 3:46 AM, Thomas, Nibu wrote: I'm unable to setup SSL with Tomcat 7 on a Linux VM .. If you're really running 7.0.5, then nobody is going to help you. That was a beta version of Tomcat released over 2 years ago. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7vqCUACgkQ9CaO5/Lv0PDpLQCffQI4Tb4Slda19+aG9fuYLfY2 AsMAnRGs4wVt2eUXT9Q0r/m4ChdT56Um =rYY4 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AJP 1.3 Connector
I'll continue to top-post, since you do. (Note that this is not the most logical way to have a conversation; it is easier when questions and responses follow a logical top-down order). Summary : - your Apache httpd configuration looks OK - your Tomcat AJP Connector looks OK - you can connect with a browser to the HTTP port of Tomcat, and with the URI /, you get the Tomcat homepage - you can ping the Tomcat server from the Apache httpd server - from the Apache httpd server, you can telnet to port 8009 of the Tomcat server - if you remove the JkMount directive from the Apache httpd configuration, you get the expected Apache httpd page - if you insert the JkMount directive, you get a message saying that Tomcat cannot be reached ... Obviously, something is wrong in the above list. If, from the command-line on the Apache httpd host, you can establish a TCP connection to the Tomcat host on port 8009 using telnet, then there is no immediate reason why mod_jk should not be able to do the same. Unless mod_jk is trying to connect to some other host than the one running Tomcat. The thing which causes a bit of doubt there, is that in your workers.properties file, you use the hostname server2.ourlab.com for Tomcat, while in all your other checks and messages, you use the hostname tomcatappserver. Is this just a matter of typing and censoring, or are these really two different names ? Or are they really two different hosts ? That they /should/ be the same host, does not necessarily mean that they /are/. Can you confirm that using the /same/ hostname in your workers.properties file and in your ping and telnet tests, everything goes as you have described it so far ? Note that you can also use the JkLogFile and JkLogLevel directives, to get more explicit error messages from mod_jk. But seen the above, it would probably just tell you that it cannot connect to server2. Troy-McKoy, Vickie wrote: Yes. From the apache host, I pinged and telneted the tomcat host. # ping tomcatappserver PING tomcatappserver (nn.n.nn.nnn) 56(84) bytes of data. 64 bytes from tomcatappserver (nn.n.nn.nnn): icmp_seq=1 ttl=64 time=0.140 ms # telnet tomcatappserver 8009 Trying nn.n.nn.nnn... Connected to tomcatappserver (nn.n.nn.nnn). Escape character is '^]'. Connection closed by foreign host. When I attempt to connect to the tomcatappserver via the apachewebserver, in firefox browser I get: Unable to connect. Firefox can't establish a connection to the serer at tomcatappserver:8009. I just noticed if I put in the browser, the tomcatappserver url with the default port, I get the Apache Tomcat/7.0.14 page. But, if I put in the apachewebserver url with the default port, I get this message: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.0.64 (Unix) mod_jk/1.2.32 Server at x Port 80 When I remove the JkMount and JkWorkersFile from httpd.conf, I get the default Apache web server page. -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, December 19, 2011 2:20 PM To: Tomcat Users List Subject: RE: AJP 1.3 Connector On Mon, 2011-12-19 at 13:42 -0500, Troy-McKoy, Vickie wrote: Thanks for your response. When I ping server2, I get valid responses coming back. When I telnet to server2 on port 8009, I am also able to connect. Did you do the telnet test from a shell on the apache host? Did you use the exact name *as configured* (i.e. server2.ourlab.com)? What's the exact error message you're getting and which component (browser, apache) is reporting it? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Saturday, December 17, 2011 7:14 AM To: Tomcat Users List Subject: Re: AJP 1.3 Connector Vickie Troy-McKoy wrote: Hi, I'm in need of a little help. I'm trying to get my tomcat and apache web server instances communicating; they are running on two different physical servers. When I attempt a test of the application url, it basically says that a connection cannot be established. I am running the following: RHEL Release 5.6 (x86_64) Apache Tomcat 7.0.14 Apache/2.0.64 mod_jk/1.2.32 On the 1st physical server, the apache webserver instance resides: httpd.conf contains the following: LoadModule jk_module modules/mod_jk.so # JkWorkersFile conf/workers.properties JkMount /* server2 workers.properties contain the following: worker.list=server2 worker.server2.port=8009 worker.server2.host=server2.ourlab.com worker.server2.type=ajp13 worker.server2.lbfactor=1 worker.server2.socket_keepalive=1 On the 2nd physical server, the apache-tomcat instance resides: server.xml contains the following: !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false
RE: AJP 1.3 Connector
If you have virtual host in apache jkMount needs to be inside the virtual host. On Dec 20, 2011 7:27 AM, Troy-McKoy, Vickie vtroy-mc...@decc.sdps.org wrote: Yes. From the apache host, I pinged and telneted the tomcat host. # ping tomcatappserver PING tomcatappserver (nn.n.nn.nnn) 56(84) bytes of data. 64 bytes from tomcatappserver (nn.n.nn.nnn): icmp_seq=1 ttl=64 time=0.140 ms # telnet tomcatappserver 8009 Trying nn.n.nn.nnn... Connected to tomcatappserver (nn.n.nn.nnn). Escape character is '^]'. Connection closed by foreign host. When I attempt to connect to the tomcatappserver via the apachewebserver, in firefox browser I get: Unable to connect. Firefox can't establish a connection to the serer at tomcatappserver:8009. I just noticed if I put in the browser, the tomcatappserver url with the default port, I get the Apache Tomcat/7.0.14 page. But, if I put in the apachewebserver url with the default port, I get this message: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.0.64 (Unix) mod_jk/1.2.32 Server at x Port 80 When I remove the JkMount and JkWorkersFile from httpd.conf, I get the default Apache web server page. -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, December 19, 2011 2:20 PM To: Tomcat Users List Subject: RE: AJP 1.3 Connector On Mon, 2011-12-19 at 13:42 -0500, Troy-McKoy, Vickie wrote: Thanks for your response. When I ping server2, I get valid responses coming back. When I telnet to server2 on port 8009, I am also able to connect. Did you do the telnet test from a shell on the apache host? Did you use the exact name *as configured* (i.e. server2.ourlab.com)? What's the exact error message you're getting and which component (browser, apache) is reporting it? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Saturday, December 17, 2011 7:14 AM To: Tomcat Users List Subject: Re: AJP 1.3 Connector Vickie Troy-McKoy wrote: Hi, I'm in need of a little help. I'm trying to get my tomcat and apache web server instances communicating; they are running on two different physical servers. When I attempt a test of the application url, it basically says that a connection cannot be established. I am running the following: RHEL Release 5.6 (x86_64) Apache Tomcat 7.0.14 Apache/2.0.64 mod_jk/1.2.32 On the 1st physical server, the apache webserver instance resides: httpd.conf contains the following: LoadModule jk_module modules/mod_jk.so # JkWorkersFile conf/workers.properties JkMount /* server2 workers.properties contain the following: worker.list=server2 worker.server2.port=8009 worker.server2.host=server2.ourlab.com worker.server2.type=ajp13 worker.server2.lbfactor=1 worker.server2.socket_keepalive=1 On the 2nd physical server, the apache-tomcat instance resides: server.xml contains the following: !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false protocol=AJP/1.3 redirectPort=8443 / Connector port=8443 maxHttpHeaderSize=8192 protocol=HTTP/1.1 SSLEnabled=true [and various other settings] I am missing something. Can someone please provide help? Thank you... Hi. Your configuration looks fine. The problem then should be with the network. Try the following : From the Apache httpd server (command-line), 1) enter : ping server2.ourlab.com If you get regular messages showing that the ping packets are being answered, it's fine. If you get error messages, then you have a basic network problem accessing server2.ourlab.com from your Apache host. (faked) example of a good answer : PING server2.ourlab.com (192.168.20.1) 56(84) bytes of data. 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=1 ttl=64 time=0.326 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=2 ttl=64 time=0.158 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=3 ttl=64 time=0.156 ms Example of a bad answer : - unknown host - network is not reachable etc.. 2) If the above is fine, then : enter : telnet server2.ourlab.com 8009 It should at least connect (and may drop the connection right away), but the point is : is it connecting ? If it is, you will get an answer similar to this : Trying 192.168.20.1... Connected to colin-int. Escape character is '^]'. xxx Connection closed by foreign host. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AJP 1.3 Connector
Igor Cicimov wrote: If you have virtual host in apache jkMount needs to be inside the virtual host. Not necessarily true (JkMountCopy?), but in any case it seems irrelevant here. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Do I Have Java Memory Fragmentation?
Pid wrote: On 19/12/2011 19:41, Leon Rosenberg wrote: Do a simple math. If you give each VM up to 384M heap and if you add some 100 MB for permspace and overhead, you have a consumption of 500MB per VM. Agreed. Object heap != total process usage. Take 1GB for OS needs, you have 15, and 15.000/500 makes it save to run 30 tomcat instances max. Since you experience the problems after some running time, I would assume that you VMs are starting with 128 but slowly take up all the space, and the later VMs just have nothing to get. Is the OP monitoring the JVM memory consumption (via a JMX connection)? Advice: Calculate your needs exactly by playing with settings (remember always set Ms=Mx) and watching gc logs. You will probably need to reduce the number of instances or buy another machine (or put more memory into this one). It would be useful to establish what is consuming memory once Tomcat instances have failed. Is it failed JVM instances that have hung and are still consuming memory, or is it something more exotic to do with the hypervisor? Fixing memory size will offer some gains, but you need to understand what each instance is actually doing, rather than using a standard. Also, do you really need a separate instance for each webapp? You have 60x catalina code in the heap and everything, which probably takes half of your memory. I don't think it's safe to say catalina code will take half your memory, given that we don't know anything about the OPs apps, but it may be a reasonable gain to collapse some apps into one Tomcat. On a 32-bit Linux system, this is what top has to say about the memory usage of one tomcat 5.5 instance, running one single small app, with -Xms128M -Xmx128M, and totally idle for the time being : PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2871 tomcat55 20 0 539m 137m 4560 S 0.0 9.1 129:40.19 jsvc If one multiplies this by 60, one gets : RES : +- 8 GB VIRT : +- 32 GB There may be some overhead due to jsvc, but that would be the same under Windows with tomcat55.exe. Note also that on a 64-bit system like the OP, the numbers above may be somewhat larger. Which make me muse also that since the OP obviously doesn't need a very large heap, he may benefit, maybe greatly, from running a 32-bit JVM for his Tomcat instances, if that is allowed under his version of Windows. He may gain even more by running his VM with a 32-bit Windows in the first place. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AJP 1.3 Connector
I'm having doubts that mod_jk is actually loading. You say httpd.conf contains this line: LoadModule jk_module modules/mod_jk.so Unless you have a 'modules' directory under your ServerRoot that line should probably be /usr/local/lib/apache/mod_jk.so or something similar. Try this command and see what it turns up: find /usr -name mod_jk.so Use the full path in the LoadModule directive and force httpd to reload its config. On Mon, 2011-12-19 at 22:26 +0100, André Warnier wrote: I'll continue to top-post, since you do. (Note that this is not the most logical way to have a conversation; it is easier when questions and responses follow a logical top-down order). Summary : - your Apache httpd configuration looks OK - your Tomcat AJP Connector looks OK - you can connect with a browser to the HTTP port of Tomcat, and with the URI /, you get the Tomcat homepage - you can ping the Tomcat server from the Apache httpd server - from the Apache httpd server, you can telnet to port 8009 of the Tomcat server - if you remove the JkMount directive from the Apache httpd configuration, you get the expected Apache httpd page - if you insert the JkMount directive, you get a message saying that Tomcat cannot be reached ... Obviously, something is wrong in the above list. If, from the command-line on the Apache httpd host, you can establish a TCP connection to the Tomcat host on port 8009 using telnet, then there is no immediate reason why mod_jk should not be able to do the same. Unless mod_jk is trying to connect to some other host than the one running Tomcat. The thing which causes a bit of doubt there, is that in your workers.properties file, you use the hostname server2.ourlab.com for Tomcat, while in all your other checks and messages, you use the hostname tomcatappserver. Is this just a matter of typing and censoring, or are these really two different names ? Or are they really two different hosts ? That they /should/ be the same host, does not necessarily mean that they /are/. Can you confirm that using the /same/ hostname in your workers.properties file and in your ping and telnet tests, everything goes as you have described it so far ? Note that you can also use the JkLogFile and JkLogLevel directives, to get more explicit error messages from mod_jk. But seen the above, it would probably just tell you that it cannot connect to server2. Troy-McKoy, Vickie wrote: Yes. From the apache host, I pinged and telneted the tomcat host. # ping tomcatappserver PING tomcatappserver (nn.n.nn.nnn) 56(84) bytes of data. 64 bytes from tomcatappserver (nn.n.nn.nnn): icmp_seq=1 ttl=64 time=0.140 ms # telnet tomcatappserver 8009 Trying nn.n.nn.nnn... Connected to tomcatappserver (nn.n.nn.nnn). Escape character is '^]'. Connection closed by foreign host. When I attempt to connect to the tomcatappserver via the apachewebserver, in firefox browser I get: Unable to connect. Firefox can't establish a connection to the serer at tomcatappserver:8009. I just noticed if I put in the browser, the tomcatappserver url with the default port, I get the Apache Tomcat/7.0.14 page. But, if I put in the apachewebserver url with the default port, I get this message: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.0.64 (Unix) mod_jk/1.2.32 Server at x Port 80 When I remove the JkMount and JkWorkersFile from httpd.conf, I get the default Apache web server page. -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, December 19, 2011 2:20 PM To: Tomcat Users List Subject: RE: AJP 1.3 Connector On Mon, 2011-12-19 at 13:42 -0500, Troy-McKoy, Vickie wrote: Thanks for your response. When I ping server2, I get valid responses coming back. When I telnet to server2 on port 8009, I am also able to connect. Did you do the telnet test from a shell on the apache host? Did you use the exact name *as configured* (i.e. server2.ourlab.com)? What's the exact error message you're getting and which component (browser, apache) is reporting it? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Saturday, December 17, 2011 7:14 AM To: Tomcat Users List Subject: Re: AJP 1.3 Connector Vickie Troy-McKoy wrote: Hi, I'm in need of a little help. I'm trying to get my tomcat and apache web server instances communicating; they are running on two different physical servers. When I attempt a test of the application url, it basically says that a connection cannot be established. I am running the following: RHEL Release 5.6 (x86_64)
RE: AJP 1.3 Connector
Thank you all for your responses; but my issue was in my testing. My configuration was fine; however, I was testing in my browser using the wrong port number. Thanks again... Regards, -Original Message- From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Monday, December 19, 2011 4:38 PM To: Tomcat Users List Subject: RE: AJP 1.3 Connector If you have virtual host in apache jkMount needs to be inside the virtual host. On Dec 20, 2011 7:27 AM, Troy-McKoy, Vickie vtroy-mc...@decc.sdps.org wrote: Yes. From the apache host, I pinged and telneted the tomcat host. # ping tomcatappserver PING tomcatappserver (nn.n.nn.nnn) 56(84) bytes of data. 64 bytes from tomcatappserver (nn.n.nn.nnn): icmp_seq=1 ttl=64 time=0.140 ms # telnet tomcatappserver 8009 Trying nn.n.nn.nnn... Connected to tomcatappserver (nn.n.nn.nnn). Escape character is '^]'. Connection closed by foreign host. When I attempt to connect to the tomcatappserver via the apachewebserver, in firefox browser I get: Unable to connect. Firefox can't establish a connection to the serer at tomcatappserver:8009. I just noticed if I put in the browser, the tomcatappserver url with the default port, I get the Apache Tomcat/7.0.14 page. But, if I put in the apachewebserver url with the default port, I get this message: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. -- -- Apache/2.0.64 (Unix) mod_jk/1.2.32 Server at x Port 80 When I remove the JkMount and JkWorkersFile from httpd.conf, I get the default Apache web server page. -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, December 19, 2011 2:20 PM To: Tomcat Users List Subject: RE: AJP 1.3 Connector On Mon, 2011-12-19 at 13:42 -0500, Troy-McKoy, Vickie wrote: Thanks for your response. When I ping server2, I get valid responses coming back. When I telnet to server2 on port 8009, I am also able to connect. Did you do the telnet test from a shell on the apache host? Did you use the exact name *as configured* (i.e. server2.ourlab.com)? What's the exact error message you're getting and which component (browser, apache) is reporting it? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Saturday, December 17, 2011 7:14 AM To: Tomcat Users List Subject: Re: AJP 1.3 Connector Vickie Troy-McKoy wrote: Hi, I'm in need of a little help. I'm trying to get my tomcat and apache web server instances communicating; they are running on two different physical servers. When I attempt a test of the application url, it basically says that a connection cannot be established. I am running the following: RHEL Release 5.6 (x86_64) Apache Tomcat 7.0.14 Apache/2.0.64 mod_jk/1.2.32 On the 1st physical server, the apache webserver instance resides: httpd.conf contains the following: LoadModule jk_module modules/mod_jk.so # JkWorkersFile conf/workers.properties JkMount /* server2 workers.properties contain the following: worker.list=server2 worker.server2.port=8009 worker.server2.host=server2.ourlab.com worker.server2.type=ajp13 worker.server2.lbfactor=1 worker.server2.socket_keepalive=1 On the 2nd physical server, the apache-tomcat instance resides: server.xml contains the following: !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false protocol=AJP/1.3 redirectPort=8443 / Connector port=8443 maxHttpHeaderSize=8192 protocol=HTTP/1.1 SSLEnabled=true [and various other settings] I am missing something. Can someone please provide help? Thank you... Hi. Your configuration looks fine. The problem then should be with the network. Try the following : From the Apache httpd server (command-line), 1) enter : ping server2.ourlab.com If you get regular messages showing that the ping packets are being answered, it's fine. If you get error messages, then you have a basic network problem accessing server2.ourlab.com from your Apache host. (faked) example of a good answer : PING server2.ourlab.com (192.168.20.1) 56(84) bytes of data. 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=1 ttl=64 time=0.326 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=2 ttl=64 time=0.158 ms 64 bytes from server2.ourlab.com (192.168.20.1): icmp_seq=3 ttl=64 time=0.156 ms Example of a bad answer : - unknown host - network is not reachable etc.. 2) If the above is fine, then : enter : telnet server2.ourlab.com 8009 It should at least connect (and may drop the connection right away), but the point is : is it connecting ? If it
Re: URIEncoding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/17/11 9:37 AM, André Warnier wrote: I do not see anything in the above that submits anything with an umlaut. The form could have additional inputs that were not included in the OP. This is a GET request, so anything submitted would have to be in the URL, as a query-string. Most web browsers are smart enough to merge the query string from the form action and form the inputs though I found dealt with an issue recently where that didn't work properly. I can't remember what it was... probably Safari. I only see name here. The quotes appear wrong too. +1 There is also a double // after 8080, where it should not be. It shouldn't be there, but it also shouldn't be a problem. It's just sloppy. Are you sure it is not simply the action of your form which is wrong ? If the above bug (failure to merge query-string and form input parameters) is the problem, then the OP might end up with 'null' being read from the request -- IIRC that was my observation. The solution IMO is to always use POST whenever you are expecting non-US-ASCII in your form inputs. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7vvNUACgkQ9CaO5/Lv0PAl/gCfbFlZ7mulTmeKrEr92WxIMh9+ QGoAoKjNZulYD0kibYrShP85dp2pZsxL =fecP -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: URIEncoding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 German Starz, On 12/18/11 7:26 AM, starz10de wrote: I a login page (it has utf-8) I checked this also manually; after login is successful a jsp page will be called to enter the query. This jsp page use iso encoding although inside it utf-8 is defined. Remember that the encoding of the response and the encoding of the page are separate issues. If the page has been saved to the disk as ISO-8859-1, the response can still be sent using UTF-8. I couldn’t understand from why the browser automatically user iso encoding although I force it to use utf-8. Here how I do: meta http-equiv='Content-Type' content='text/html; charset=UTF-8' You should also be using: %@page pageEncoding=UTF-8 ... % or %@page contentType=text/html; charset=UTF-8 ... % I usually rig the JSP to grab the content type and charset directly from the response, instead of hard-coding them. That way, the will always be in sync: meta http-equiv=Content-Type content=$response.contentType / (You /are/ using XHTML, right?) Note that your response must have a definite character encoding set, otherwise the default default default will be ISO-8859-1 and might not be displayed in your Content-Type META tag. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7vvp4ACgkQ9CaO5/Lv0PCxlgCgpf72A/Zr+XAd2q5UwdhFUF4v M4MAoIeIqcXZevsN16jeyfi6IlMjF+NP =D1A2 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Do I Have Java Memory Fragmentation?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/19/11 5:19 PM, André Warnier wrote: On a 32-bit Linux system, this is what top has to say about the memory usage of one tomcat 5.5 instance, running one single small app, with -Xms128M -Xmx128M, and totally idle for the time being : PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2871 tomcat55 20 0 539m 137m 4560 S 0.0 9.1 129:40.19 jsvc If one multiplies this by 60, one gets : RES : +- 8 GB VIRT : +- 32 GB The virtual size gets all muddied by recent JVMs that use shared memory between JVM processes to share the built-in types, etc. There may be some overhead due to jsvc, but that would be the same under Windows with tomcat55.exe. Not much. Note also that on a 64-bit system like the OP, the numbers above may be somewhat larger. Good thought: Eric, are you running 32-bit or 64-bit JVMs? You probably ought to run under 32-bit JVMs since you have no need for large heaps (if you intend to continue to run all several-dozen of these webapps in separate JVMs) and all that extra pointer room can really burn-through RAM quickly. If you must use a 64-bit JVM (why!?), you might want to look at using compressed OOPS which will shrink pointer sizes for Java objects. This may improve performance a bit too. Which make me muse also that since the OP obviously doesn't need a very large heap, he may benefit, maybe greatly, from running a 32-bit JVM for his Tomcat instances, if that is allowed under his version of Windows. He may gain even more by running his VM with a 32-bit Windows in the first place. At least he's running his VM situation properly: with Linux as the host and Microsoft Windows as the guest. I've seen so many going he other way around and it baffles me. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7vwIwACgkQ9CaO5/Lv0PD+2gCeIiWeAMkL4DeAgxKBIa0BUhKD GWMAnjgvwCQ876uytY1e+jdBfUtC3YZ3 =InPi -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [OT] truststore and keystore SSL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lau, Marking OT because this is not a Tomcat question: it's either http-components or Java-in-general. On 12/17/11 2:34 AM, Lau Eng Huat wrote: The question that I have now is how to get it to work with apache httpclient components. Have you tried the apache-commons mailing list? I found that the SSLSocketFactory has 4 constructor class of interest. They are [snip: list of constructors] Which one should I used and the pro and cons of using this ? If I used item 2 method, which one is tomcathost.jks and trust.jks in the first parameter and 3rd parameter. The trust store is always the keystore that contains the certificates to be trusted. That means that the trust store needs to contain the certificate from your remote web server. If the certificate was signed by a globally-trusted certificate authority (CA) such as VeriSign, Thawte, etc. then you probably don't need to go through any of this. Is this a self-signed cert? The other question is how to load certificates dynamically in java, how do I achieved this ? You will have to work this out for yourself. Perhaps you can do periodic re-loading of a keystore? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7vw2cACgkQ9CaO5/Lv0PDreACgu9NyYUx27OX/IwPoQVa6FUm3 ZJAAn2v3Vy8H1ZjpYm2sbuFsei9T/OEn =/rrO -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [OT] truststore and keystore SSL
On Mon, 2011-12-19 at 18:06 -0500, Christopher Schultz wrote: On 12/17/11 2:34 AM, Lau Eng Huat wrote: The question that I have now is how to get it to work with apache httpclient components. Have you tried the apache-commons mailing list? Actually Http Components has been a top level project for sometime and they have their own list: http://hc.apache.org/ signature.asc Description: This is a digitally signed message part
Re: Access dbf files outside context/docbase - fixed
Just to close out this thread, it's now fixed. I found a native Java dBase (.dbf) file driver, and it works great in both 32- and 64-bit environments, without having to mess with ODBC or the screwy Microsoft database file drivers. D On 12/16/2011 10:09 PM, David Kerber wrote: On 12/16/2011 5:54 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, Thanks for posting back. On 12/16/11 2:50 PM, David kerber wrote: Figured out the cause, though I don't have it fixed yet: I'm running under a 64-bit JRE, and there is no 64-bit dBAse driver installed, just 32-bit. So I have to either find a 64-bit dbase ODBC driver (Hah!), or switch to a 32-bit TC and JRE. Unless you need a huge heap, running a 32-bit process might be a better idea, anyway. You can probably improve performance a bit, too. Another good idea is probably to upgrade from Access (or are you really using dBase?) to Microsoft SQL Server (or any actual RDBMS for that matter). :) Yes, using real .dbf files. They're much more reliable than Access .mdbs are, IME. We're actually using them in parallel with a real SQL backend, for different purposes. It's kind of an awkward architecture the way it's being used in this particular case, but it worked great when it was first implemented, and still does for 98% of our needs. This is the first time we've had to mix the two. The real answer, as I did a bit more digging, is to switch to a java native dbase driver, rather than going through MS's ODBC kludge. Since my app is fairly well modularized, that shouldn't be too tough (famous last words) To answer various other issues and possibilities that had been mentioned: I verfied that the driver works fine on my dev machine with UNC names, and I changed the user under which the TC is running to the domain administrator, and that didn't help. I believe Sun's Java started supporting UNC path names somewhere around the late 1.5 or initial 1.6 releases, so it might not have anything to do with the driver itself. Ok, thanks for that tidbit; I didn't realize they came to the UNC table that late in the game. D - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org