Caly.leeAnn wrote:
In the coccon.xconf, the following is specified in the source-handler
section.
<protocol class="com.liq.info.source.RoomViewSourceFactory" name="roomview"/>

That works with Cocoon 2.0.3
After upgrade to 2.1.10, I use the new version of the sitemap.xmap and the
cocoon.xconf, and add the map:match like above to the sitemap.xmap and add
the following to the source-factories section in cocoon.xconf.
<component-instance class="com.liq.info.source.RoomViewSourceFactory"
name="roomview"/>

java.lang.ClassCastException: $Proxy255
        at
org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:204)

Check that your source factory implements these interfaces:

  * org.apache.excalibur.source.SourceFactory
  * org.apache.avalon.framework.component.Component


It also should be ThreadSafe, but that's not related to CCE you got.

Vadim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to