Hello,
I'm trying to use ParticipantSpringWeb, but some weird class loading problems
are holding me back:
java.lang.IllegalStateException: Root context attribute is not of type
WebApplicationContext:
org.springframework.web.context.support.XmlWebApplicationContext: [...]
at org.springframework.web.context.support.WebApplicationContextUtils
.getWebApplicationContext(WebApplicationContextUtils.java:66)
at com.uwyn.rife.rep.participants.ParticipantSpringWeb
.initialize(ParticipantSpringWeb.java:48)
at com.uwyn.rife.rep.BlockingParticipant
.run(BlockingParticipant.java:252)
at java.lang.Thread.run(Thread.java:595)
Here's my web.mxl:
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<filter>
<filter-name>RIFE</filter-name>
<filter-class>com.uwyn.rife.servlet.RifeFilter</filter-class>
<init-param>
<param-name>rep.path</param-name>
<param-value>rep/participants.xml</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>RIFE</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<resource-ref>
<res-ref-name>jdbc/GravitDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
As expected, setting engineclassloader.enabled to false fixes the problem -- but
then I lose the ability to use continuations.
-- Pazu <[EMAIL PROTECTED]>
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users