Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Hi Amit, I have configured Tomcat/5.5.3 with jdk1.5.0. When I configure tomcat to run on then it DONOT work. On 8080 port tomcat work fine. What May be the reason? Works at my place. 1. How did you configure it? 2. How doesn't it work? Any error messages, logs? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication. * Synchronous means that the thread that executes the request, is also the thread the replicates the data to the other nodes, and will not return until all nodes have received the information. * Asynchronous means that there is a specific 'sender' thread for each cluster node, so the request thread will queue the replication request into a smart queue, and then return to the client. The smart queue is a queue where when a session is added to the queue, and the same session already exists in the queue from a previous request, that session will be replaced in the queue instead of replicating two requests. This almost never happens, unless there is a large network delay. -- !-- When configuring for clustering, you also add in a valve to catch all the requests coming in, at the end of the request, the session may or may not be replicated. A session is replicated if and only if all the conditions are met: 1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND 2. a session exists (has been created) 3. the request is not trapped by the filter attribute The filter attribute is to filter out requests that could not modify the session, hence we don't replicate the session after the end of this request. The filter is negative, ie, anything you put in the filter, you mean to filter out, ie, no replication will be done on requests that match one of the filters. The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to. filter=.*\.gif;.*\.js; means that we will not replicate the session after requests with the URI ending with .gif and .js are intercepted. The deployer element can be used to deploy apps cluster wide. Currently the deployment only deploys/undeploys to working members in the cluster so no WARs are copied upons startup of a broken node. The deployer watches a directory (watchDir) for WAR files when watchEnabled=true When a new war file is added the war gets deployed to the local instance, and then deployed to the other instances in the cluster. When a war file is deleted from the watchDir the war is undeployed locally and cluster wide -- !-- Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster managerClassName=org.apache.catalina.cluster.session.DeltaManager expireSessionsOnShutdown=false useDirtyFlag=true notifyListenersOnReplication=true Membership className=org.apache.catalina.cluster.mcast.McastService mcastAddr=228.0.0.4 mcastPort=45564 mcastFrequency=500 mcastDropTime=3000/ Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener tcpListenAddress=auto tcpListenPort=4001 tcpSelectorTimeout=100 tcpThreadCount=6/ Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter replicationMode=pooled ackTimeout=15000/ Valve className=org.apache.catalina.cluster.tcp.ReplicationValve filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/ Deployer className=org.apache.catalina.cluster.deploy.FarmWarDeployer tempDir=/tmp/war-temp/ deployDir=/tmp/war-deploy/ watchDir=/tmp/war-listen/ watchEnabled=false/ /Cluster -- !-- Normally, users must authenticate themselves to each web app individually. Uncomment the following entry if you would like a user to be authenticated the first time they encounter a resource protected by a security constraint, and then have that user identity maintained across *all* web applications contained in this virtual host. -- !-- Valve className=org.apache.catalina.authenticator.SingleSignOn debug=0/ -- !-- Access log processes all requests for this virtual host. By default, log files are created in the logs directory relative to $CATALINA_HOME. If you wish, you can specify a different directory with the directory attribute. Specify either a relative (to $CATALINA_HOME) or absolute path to the desired directory. -- !-- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common resolveHosts=false/ -- /Host /Engine /Service /Server Amit Gupta Email: [EMAIL PROTECTED] http://amit-gupta.prudence-india.com A request - given the barrage of spam these days, there is a non-zero probability that I accidentally delete important emails. If a response is necessary to your email, rest assured that I will respond in time. If however, you have not received a response in a reasonable period, please don't hesitate to resend. - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 4:00 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, I have
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Hi Amit, I installed it binary downloaded from ftp.ntua.gr. Copied files to /usr/local/tomcat/ . I am running tomcat with /usr/local/tomcat/bin/startup.sh. I have exported JAVA_HOME variable. Its /usr/java/jdk1.5.0/ I'm not sure about your environment, Here is my server.xml But the same server.xml works with the Windows version. Again, 2. How doesn't it work? Any error messages, logs? What gave you the conclusion that it isn't working? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
I am not able to access it through http://my_url: Amit Gupta Email: [EMAIL PROTECTED] http://amit-gupta.prudence-india.com - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 4:42 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, I installed it binary downloaded from ftp.ntua.gr. Copied files to /usr/local/tomcat/ . I am running tomcat with /usr/local/tomcat/bin/startup.sh. I have exported JAVA_HOME variable. Its /usr/java/jdk1.5.0/ I'm not sure about your environment, Here is my server.xml But the same server.xml works with the Windows version. Again, 2. How doesn't it work? Any error messages, logs? What gave you the conclusion that it isn't working? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Hi Amit, I am not able to access it through http://my_url: What do you mean by not able to access? You must be expecting the Tomcat top page, but what are you actually getting? Do you see anything in the log? 2. How doesn't it work? Any error messages, logs? What gave you the conclusion that it isn't working? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Nothing appears. Even no HTTP error appears Amit Gupta - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 5:04 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, I am not able to access it through http://my_url: What do you mean by not able to access? You must be expecting the Tomcat top page, but what are you actually getting? Do you see anything in the log? 2. How doesn't it work? Any error messages, logs? What gave you the conclusion that it isn't working? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Hi Amit, Nothing appears. Even no HTTP error appears How about the log? Could it be that you are blocking port ? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
No I have opened it on firewall. Can you come online Yahoo/MSN chat. Amit Gupta - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 5:22 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, Nothing appears. Even no HTTP error appears How about the log? Could it be that you are blocking port ? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Hi Amit, No I have opened it on firewall. Okay. Firewalls are for the client side. How about server side? Can you come online Yahoo/MSN chat. Sorry, I'm too much a security coward to do chat. ;) Again, How about the log? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
It is remote server So can not check it except browser. - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 5:41 PM Subject: Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port . Hi Amit, No I have opened it on firewall. Okay. Firewalls are for the client side. How about server side? Can you come online Yahoo/MSN chat. Sorry, I'm too much a security coward to do chat. ;) Again, How about the log? Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/5.5.3 with jdk1.5.0 DONOT run on port 5555.
Hi Amit, It is remote server So can not check it except browser. You should ask the server administrator, then. Best regards, -- Shinobu Kawai -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]