Hi Ruslan,
http://docs.codehaus.org/display/JETTY/JNDI - this is for Jetty
6, and I am using Jetty 5.1.5. Where can I find documentation for
this?Or, it doesn't matters?
Thanks,
project trainees.
On Mon, 26 May 2008 05:27:33 -0700 (PDT),
project_trainees wrote
> Hi,
> I enabled log4j.logger.ua.gradsoft.xwikisql=debug in
> /classes/log4j, and in xwiki.log it shows :-
>
> 2008-05-26 18:23:58,078
[
http://localhost:8080/xwiki/bin/view/main/amma]
> [P1-17] ERROR xwikisql.SqlPlugin
- exception during
> creation
> of datasource XWikiDS
> javax.naming.NoInitialContextException: Need to specify class name in
> environment or system property, or as an applet parameter, or in an
> application resource file: java.naming.factory.initial
Ok -- so jetty jndi is not enabled.
Now you can read
http://docs.codehaus.org/display/JETTY/JNDI
and enable one.
> Thanks,
> project trainees.
>
> > Ohh ... xwikisql is my stuff:
> >
> > So
> > 1. enable logging as specified in
> >
http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html
> > log4j.logger.ua.gradsoft.xwikisql=debug
> >
> > 2. look at error message in xwiki.log
> > (I think we will see something like 'NameNotFound' there)
> >
> > 3. look at web container documentation how to configure JNDI
entry
> >> > I am using XE 1.3.2 and Mysql
5.0 with jetty 5.1.5. Can any
one
> >> > give a
> >> > support for JNDI configuration of jetty 5.1.5 (Not jetty 6). Or
is
> >> > it same
> >> > for both Jetty 5 & jetty 6? Can any one help?
> >> > I am sending the same for three times! Is this an answred
> Qn:? I
> >> > have followed this:-
> >> >
http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html, but
it
> >> > shows the error:-
> >> > Error number 4001 in 4: Error while parsing velocity page
> >> > main.amma Wrapped Exception: Invocation of method 'getDatabase'
in
>> >> > class ua.gradsoft.xwikisql.SqlPluginApi threw exception
>> >> > ua.gradsoft.xwikisql.SqlRuntimeException: exception during
>> >> > creation of datasource XWikiDS @ main.amma2,23
>> >> >
>> >> > Regards,
>> >> > Project trainees.
> --
> Ruslan Shevchenko
> GradSoft.
http://www.gradsoft.ua Ruslan Shevchenko
GradSoft.
_______________________________________________
users mailing list
users(a)xwiki.org