« Return to Thread: Configuring Ajax With Rife

Re: Configuring Ajax With Rife

by Rahul-36 :: Rate this Message:

Reply to Author | View in Thread


Ok.. got the problem.....

I am trying to customize the configuration with.....

<element id="DwrDate" file="rife/ajax/dwr.xml" url="dwr/jdate/*">
    <property name="xmlConfiguratorPath">jdate.xml</property>
    <property name="debug">true</property>
</element>

com.uwyn.rife.engine.exceptions.EngineException: The DWR configuration
file 'jdate.xml' could not be found. It was specified in the property
'xmlConfiguratorPath' of element rife/ajax/dwr.xml.

Where exactly to put the file?



On Apr 16, 2:33 pm, Rahul <maverick.rah...@...> wrote:

> I am trying remote access to Java classes and methods using DWR. I
> downloaded the dwr jar file from
> sumo distribution and added to the classpath of my rife project.
>
> According tohttp://rifers.org/wiki/display/RIFE/Ajax
>
> <element id="DwrService" file="rife/ajax/dwr.xml" url="dwr/*"/>
>
> is the standard element declaration.
>
> I added this declaration to the main site file.
>
> While deploying the war file I am getting the error
>
> SEVERE: com.uwyn.rife.engine.exceptions.EngineException:
> com.uwyn.rife.ioc.exceptions.ParticipantUnknownException: The
> participant 'hotel' isn't known in the default repository.
>         at com.uwyn.rife.engine.elements.DwrServiceDeployer.deploy
> (DwrServiceDeployer.java:304)
>         at com.uwyn.rife.engine.ElementInfo.deploy(ElementInfo.java:
> 280)
>         at com.uwyn.rife.engine.SiteBuilder.setupElements
> (SiteBuilder.java:985)
>         at com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java:
> 1615)
>         at com.uwyn.rife.engine.SiteBuilder.finish(SiteBuilder.java:
> 260)
>         at com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:
> 251)
>         at com.uwyn.rife.engine.SiteBuilder.getSite(SiteBuilder.java:
> 177)
>         at com.uwyn.rife.rep.participants.ParticipantSite.initialize
> (ParticipantSite.java:36)
>         at com.uwyn.rife.rep.BlockingParticipant.run
> (BlockingParticipant.java:230)
>
> ..... missing something???
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Configuring Ajax With Rife

 
 
 
Google
rifers.org web