Re: [rife-users] Re: Configuring Ajax With Rife

3 views
Skip to first unread message
Message has been deleted
Message has been deleted

Geert Bevin

unread,
Apr 16, 2009, 6:04:24 AM4/16/09
to rife-...@googlegroups.com
In your classpath

On 16 Apr 2009, at 12:02, Rahul wrote:

>
> 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...@gmail.com> 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???
> >

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Flytecase Band - http://flytecase.be
Music and words - http://gbevin.com

Reply all
Reply to author
Forward
0 new messages