ok, that took care of the error... thx

I'm not sure I understand it fully though... at least now, I'm getting
a login page... but how does the authentication package tie into my
custom developed modules?

for instance, how does it know which table to use to retrieve my
usernames/password... there doesn't seem to be any configuration for
that? and since i'm not creating any implementation (java class files)
to work with the element declaration, what methods are called after
the login phase?

thanks,
Emmanuel

ps: is there a sequence diag or s'thing available somewhere? thx

On 11/9/05, Geert Bevin <[EMAIL PROTECTED]> wrote:
> This is a problem in the docs, sorry. You need to declare the
> datasource like this:
>
> <property name="datasource"><datasource>postgresql</datasource></
> property>
>
> On 9-nov-05, at 10:35, Emmanuel Okyere wrote:
>
> > well not yet... testing it out, i 'm getting errors... my stack trace
> > is pasted below
> >
> > [java] SEVERE:
> > com.uwyn.rife.engine.exceptions.DeployerInstantiationException:
> > The deployer of element 'manual:LOGIN' couldn't be instantiated.
> >      [java]     at
> > com.uwyn.rife.engine.ElementInfo.deploy(ElementInfo.java:227)
> > [java]     at com.uwyn.rife.engine.SiteBuilder.setupElements
> > (SiteBuilder.java:957)
> >      [java]     at
> > com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java:1564)
> >      [java]     at
> > com.uwyn.rife.engine.SiteBuilder.finish(SiteBuilder.java:250)
> > [java]     at com.uwyn.rife.engine.SiteBuilder.process
> > (SiteBuilder.java:241)
> >      [java]     at
> > com.uwyn.rife.engine.SiteBuilder.setupSubsites(SiteBuilder.java:967)
> >      [java]     at
> > com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java:1565)
> >      [java]     at
> > com.uwyn.rife.engine.SiteBuilder.finish(SiteBuilder.java:250)
> > [java]     at com.uwyn.rife.engine.SiteBuilder.process
> > (SiteBuilder.java:241)
> >      [java]     at
> > com.uwyn.rife.engine.SiteBuilder.getSite(SiteBuilder.java:173)
> >      [java]     at
> > com.uwyn.rife.rep.participants.ParticipantSite.initialize
> > (ParticipantSite.java:36)
> >      [java]     at
> > com.uwyn.rife.rep.BlockingParticipant.run(BlockingParticipant.java:
> > 252)
> >      [java]     at java.lang.Thread.run(Thread.java:595)
> >      [java] Caused by: java.lang.ClassCastException: java.lang.String
> >      [java]     at
> > com.uwyn.rife.authentication.elements.PurgingDatabaseAuthenticatedDepl
> > oyer.deploy(PurgingDatabaseAuthenticatedDeployer.java:59)
> >      [java]     at
> > com.uwyn.rife.engine.ElementInfo.deploy(ElementInfo.java:214)
> > [java]     ... 12 more
> >
> >
> > I think i'm going to dive into the code; shd make things clearer
> > for me
> >
> > Emmanuel
> >
> > On 11/9/05, Geert Bevin <[EMAIL PROTECTED]> wrote:
> >> Glad it worked out :-)
> >>
> >>>> Also, why are you writing Login.java? There's no need to
> >>>> implement an
> >>>> element here, you are integrating a standard RIFE element and RIFE
> >>>> provides you with the implementation. All that you need to do is
> >>>> set
> >>>> the name of your template (login/login.html):
> >>>>
> >>>> <property name="template_name">login.login</property>
> >>>
> >>> That, Geert, is gem lost in the haystack! :)
> >>
> >> --
> >> 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
> >> Rife-users@uwyn.com
> >> http://www.uwyn.com/mailman/listinfo/rife-users
> >>
> > _______________________________________________
> > Rife-users mailing list
> > Rife-users@uwyn.com
> > http://www.uwyn.com/mailman/listinfo/rife-users
> >
>
> --
> 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
> Rife-users@uwyn.com
> http://www.uwyn.com/mailman/listinfo/rife-users
>
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to