Re: distributable mode does not work with Servlet 3.0
Thanks, a library (prettyfaces) uses a web-tag fragment without With metadata-complete="true", It works correctly. Best regards. 2012/2/22 Konstantin Kolinko > 2012/2/22 Lucas Pouzac : > > No, in two cases, the tomcat configuration is identical. Only, I observe > via > > JMX as the manager is not correct. There is only the declaration of the > XSD > > in web.xml which changes. > > > > server.xml : the first cluster > >(...) > > > className="org.apache.catalina.ha.session.BackupManager" > > expireSessionsOnShutdown="false" > > > notifyListenersOnReplication="true" > > mapSendOptions="10" /> > > > > > className="org.apache.catalina.ha.tcp.ReplicationValve" > > > > > filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;" /> > > The above value for filter attribute is incorrect. > The ';' character cannot be used to separate regexps in 7.0. It is a > single regexp. > > > > className="org.apache.catalina.ha.session.JvmRouteBinderValve" /> > > > >> > >> > > 1. What exactly do you observe? Where? Why do you think that there is a > problem? > 2. What is in the logs? > > Regarding servlet 3.0: enabling 3.0 turns on annotation and web > fragments scanning. So maybe there are some additional components in > your web application or its libraries that are detected. > I do not remember how fragments that have different value of > are merged - you may look in the Servlet > Specification. > > Try to add metadata-complete="true" to the in your web.xml file. > > Best regards, > Konstantin Kolinko > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: distributable mode does not work with Servlet 3.0
No, in two cases, the tomcat configuration is identical. Only, I observe via JMX as the manager is not correct. There is only the declaration of the XSD in web.xml which changes. server.xml : the first cluster 2012/2/21 Pid > On 20/02/2012 09:16, Lucas Pouzac wrote: > > Hi, > > > > I have a concern about replication sessions when using the standard > Servlet > > 3.0. > > > > Do you have an idea for this to work? > > > > > > https://issues.apache.org/bugzilla/show_bug.cgi?id=52685 > > > > *If in web.xml, I declare: > > > > http://www.w3.org/2001/XMLSchema-instance"; > > xmlns="http://java.sun.com/xml/ns/javaee"; > > xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; > > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5"> > > ... > > > > ... > > > > > > the session replication works > > (org.apache.catalina.ha.session.BackupManager). > > > > But, if I declare: > > > > http://www.w3.org/2001/XMLSchema-instance"; > > xmlns="http://java.sun.com/xml/ns/javaee"; > > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; version="3.0"> > > ... > > > > ... > > > > > > the session replication doesn't work > > (org.apache.catalina.session.StandardManager).* > > I think from the above, that you're saying that session replication > doesn't work if you use a manager that doesn't replicate sessions. > > Is this correct? > > > p > > > -- > > [key:62590808] > >
distributable mode does not work with Servlet 3.0
Hi, I have a concern about replication sessions when using the standard Servlet 3.0. Do you have an idea for this to work? https://issues.apache.org/bugzilla/show_bug.cgi?id=52685 *If in web.xml, I declare: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5"> ... ... the session replication works (org.apache.catalina.ha.session.BackupManager). But, if I declare: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; version="3.0"> ... ... the session replication doesn't work (org.apache.catalina.session.StandardManager).* (with 7.0.14 and 7.0.25 tomcat version). Best Regards