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
> > Hi Vincent,
>
> Not sure why you're asking me. I've seen your email already on this.
> I didn't answer because I don't know since I'm not using this and I
> don't have the time to try it out. The same applies for other
> readers too. I'm pretty sure you can solve this by yourself by
> reading the documentation for Jetty and by searching the xwiki
> mailing list archives for JNDI configuration.
>
> Thanks
> -Vincent
>
> >
> > 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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org