Hi Marcus,
I'll try taking some time today to reproduce this and try to create a
workaround / fix. Not sure that I'll have enough time for it though,
so it might have to wait 'till next week.
Best regards,
Geert
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.
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users