Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 7.2.0
-
Fix Version/s: 7.2.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Jetty 7.2.2 will not find the JDBCSessionIdManager from the jetty.xml config file in the app context config file and reports error:
WARN::Config error at <Set name="idManager">|????<Ref id="jdbcIdMgr"/>|???</Set> java.lang.IllegalStateException: No object for id=jdbcIdMgr
WARN::Config error at <Set name="sessionHandler">|<New class="org.eclipse.jetty.server.session.SessionHandler"><Arg>|<New id="jdbcmgr" class="org.eclipse.jetty.server.session.JDBCSessionManager"><Set name="idManager">|??<Ref id="jdbcIdMgr"/>|?</Set></New>|?</Arg></New>|?</Set> java.lang.IllegalStateException: No object for id=jdbcIdMgr
WARN::Unable to reach node goal: started
java.lang.IllegalStateException: No object for id=jdbcIdMgr
at org.eclipse.jetty.xml.XmlConfiguration.refObj(XmlConfiguration.java:685)
Configuration file worked in 7.1.6 and earlier and configuration is copied from http://docs.codehaus.org/display/JETTY/Session+Clustering+with+a+Database (with package names updated).
Change Property to <Ref id="Server">
<Call id="jdbcIdMgr" name="getAttribute">
<Arg>jdbcIdMgr</Arg>
</Call>
</Ref> as indicated in http://dev.eclipse.org/mhonarc/lists/jetty-users/msg00873.html and https://bugs.eclipse.org/bugs/show_bug.cgi?id=333905