Re: linking (limiting???)

2013-12-17 Thread Ray Holme
I think I found out how to reply inline usine yahoo. I hope. Trying anyway - NO, it will not let embed replies. BS.. I will copy paste. Inline - per my usual: Yes Doc. On 12/17/2013 10:23 AM, Ray Holme wrote: > First: Thanks for clarifying my understanding of XML tags AND FIXING my typo. >   

Re: linking (limiting???)

2013-12-17 Thread Mark Eggers
Inline - per my usual: On 12/17/2013 10:23 AM, Ray Holme wrote: First: Thanks for clarifying my understanding of XML tags AND FIXING my typo. and apologies for top-posting - I had hoped I was making it easier by restating the crux of the problem and shortening everyone's read. A

Re: linking (limiting???)

2013-12-17 Thread Ray Holme
First: Thanks for clarifying my understanding of XML tags AND FIXING my typo.    and apologies for top-posting - I had hoped I was making it easier by    restating the crux of the problem and shortening everyone's read. AND for the record, yahoo is NO longer including the prior message whi

Re: Modify content in META-INF/context.xml

2013-12-17 Thread Jesse Barnum
> > Automatic deployment has had a bit of an overhaul in Tomcat 8 and those > changes have been back-ported to 7.0.x for the next release. The > behaviour in a number of edge cases is now clearly defined: > http://ci.apache.org/projects/tomcat/tomcat8/docs/config/automatic-deployment.html Yay! T

Re: Setting log file permissions upon creation?

2013-12-17 Thread Mark Eggers
On 12/17/2013 4:39 AM, Chris Wise wrote: On Mon, Dec 16, 2013 at 10:25 PM, Mark Eggers wrote: Inline response: This is true, but shouldn't be a problem. If you're running on a system that has ACL, then you could try the following: cd $CATALINA_BASE setfacl -n -d -m u::rwx,g::rx,o::- logs R

Re: Modify content in META-INF/context.xml

2013-12-17 Thread Jose María Zaragoza
> Automatic deployment has had a bit of an overhaul in Tomcat 8 and those > changes have been back-ported to 7.0.x for the next release. The behaviour in > a number of edge cases is now clearly defined: > http://ci.apache.org/projects/tomcat/tomcat8/docs/config/automatic-deployment.html > > In yo

RE: Modify content in META-INF/context.xml

2013-12-17 Thread Propes, Barry L
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, December 17, 2013 5:27 AM To: Tomcat Users List Subject: Re: Modify content in META-INF/context.xml On 17/12/2013 11:16, Jose María Zaragoza wrote: > 2013/12/17 André Warnier : >> Hi. >> Without having any ide

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
In order to trace create session completely, it was necessary that changing log level of LazyReplicatedMap. (sorry about that.) However this log indicates that session replication works. For example. Dec 17, 2013 1:52:21 PM > org.apache.catalina.tribes.tipis.AbstractReplicatedMap messageReceived

Re: tomcat unexpected shutdown

2013-12-17 Thread Daniel Mikusa
On Dec 16, 2013, at 11:53 PM, 박원석 wrote: > Hello, I'm operating some services under this environment. > > OS : RHEL 6.2 > JVM : 1.6.0_34 > WEB : httpd 2.2.22 > WAS : tomcat 6.0.35(EWS 2.0) > > > but I'm wondering if there is a way to shutdown tomcat unexpectedly?? Perhaps the shutdown port?

Re: Setting log file permissions upon creation?

2013-12-17 Thread Chris Wise
On Mon, Dec 16, 2013 at 10:25 PM, Mark Eggers wrote: > Inline response: > > This is true, but shouldn't be a problem. > > If you're running on a system that has ACL, then you could try the > following: > > cd $CATALINA_BASE > setfacl -n -d -m u::rwx,g::rx,o::- logs > > Read the setfacl / getfacl

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
Here is a full scenario: 1) Both tomcats are down 2) starting up tc1: Dec 17, 2013 1:49:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /u

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
2013/12/17 Nir A > In the tomcat manager We can see that our web application called "HATest" > is having the sessions. > Its a small demo of a shopping cart that keeps the items in the session. > > here is an example of a session we created in on of the tomcats nodes: > > Details for Session 3326

Re: Modify content in META-INF/context.xml

2013-12-17 Thread Mark Thomas
On 17/12/2013 11:16, Jose María Zaragoza wrote: > 2013/12/17 André Warnier : >> Hi. >> Without having any idea really of the precise mechanism behind database >> connections, I can still imagine that with the possibility of pooled >> connections to said database(s), it may be difficult to detect su

Re: Modify content in META-INF/context.xml

2013-12-17 Thread Jose María Zaragoza
2013/12/17 André Warnier : > Hi. > Without having any idea really of the precise mechanism behind database > connections, I can still imagine that with the possibility of pooled > connections to said database(s), it may be difficult to detect such a change > in the corresponding context.xml and app

Re: Modify content in META-INF/context.xml

2013-12-17 Thread André Warnier
Jose María Zaragoza wrote: Hello: I'm using Apache Tomcat 6.0.24 and I've deployed a web application that defines its resources into META-INF/context.xml , especially information about connection pool Sometimes I''ve to edit that file to change some data , i.e, database's JDBC url I've seen th

Modify content in META-INF/context.xml

2013-12-17 Thread Jose María Zaragoza
Hello: I'm using Apache Tomcat 6.0.24 and I've deployed a web application that defines its resources into META-INF/context.xml , especially information about connection pool Sometimes I''ve to edit that file to change some data , i.e, database's JDBC url I've seen that restart web application is

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
In the tomcat manager We can see that our web application called "HATest" is having the sessions. Its a small demo of a shopping cart that keeps the items in the session. here is an example of a session we created in on of the tomcats nodes: Details for Session 33265A9C6318C014ADA92220A76F566C S

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
It seems that there is no problem. Initialization of AbstractReplicatedMap seems to work correctly. > > We have 3 sessions currently: one on node-1 and 2 on node-2 but there are > only primary sessions on each (3) and not backup sessions at all. what > could be the problem? > > How did you confi

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
Ok , So now we started node 1 , waited until it was up and running and only then we started node2. There are no warnings \ errors on the log files. Only problem is that our session's are not being replicated. here are the logs of the catalina: Node1: Dec 17, 2013 10:52:21 AM org.apache.catali

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
DeltaManager starts session sync phase by sending a SESSION-GET-ALL message at startup. DeltaManager that has received the SESSION-GET-ALL message sends all session data by sending a ALL-SESSION-DATA message. Then sends a SESSION-STATE-TRANSFERED message in order to notify the transmission completi