Recently upgraded from hightide-7.1.5 to hightide-7.2.2.
I am using JDBCSessionIdManager to store my session ID's in MySQL so they can
be used across webapps and server restarts.
After upgrading from 7.1.5 to 7.2.2 I started receiving this (being thrown from
the webapp's context.xml file):
2010-12-22 03:47:53.496:INFO::Deployable added:
/home/qa/opt/jetty-hightide-7.2.2.v20101205/contexts/link-core-webapp.xml
2010-12-22 03:47:53.526:WARN::Config error at <Set name="idManager">|??????<Ref
id="jdbcIdMgr"/>|?????</Set> java.lang.IllegalStateException: No object for
id=jdbcIdMgr
2010-12-22 03:47:53.526: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
2010-12-22 03:47:53.526: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)
In my jetty.xml I've got:
<Set name="sessionIdManager">
<New id="jdbcIdMgr"
class="org.eclipse.jetty.server.session.JDBCSessionIdManager">
<Arg>
<Ref id="Server" />
</Arg>
<Set name="workerName">qa</Set>
<Set name="DatasourceName">jdbc/mysql/session</Set>
<Set name="scavengeInterval">60</Set>
</New>
</Set>
<Call name="setAttribute">
<Arg>jdbcIdMgr</Arg>
<Arg>
<Ref id="jdbcIdMgr" />
</Arg>
</Call>
The DSN points to a JNDI resource set up immediately before this in jetty.xml.
When I remove the JDBCSessionManager config from my context's xml file, the
server starts up fine. I've confirmed it's not a JNDI issue as my other JNDI
resources are working properly.
Any ideas?
Thanks in advance...
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users