Hi 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.
On May 26, 2008, at 10:59 AM, [email protected] wrote:
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.
On Mon, 26 May 2008 12:05:14 +0200, Vincent Massol wrote
On May 26, 2008, at 10:59 AM, [email protected] wrote:
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.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
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 at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at ua.gradsoft.xwikisql.SqlPlugin.createDataSource(SqlPlugin.java:99) at ua.gradsoft.xwikisql.SqlPlugin.createDatabase(SqlPlugin.java:88) at ua.gradsoft.xwikisql.SqlPluginApi.getDatabase(SqlPluginApi.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:95) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:252) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:176) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:145) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:134) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:418) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:598) at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:108) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:208) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) 2008-05-26 18:23:58,296 [http://localhost:8080/xwiki/bin/view/main/amma] [P1-17] ERROR log.SimpleLog4JLogSystem - Method getDatabase threw exception for reference $xwiki in template main.amma at [2,12] 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.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
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.
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at ua.gradsoft.xwikisql.SqlPlugin.createDataSource(SqlPlugin.java:99) at ua.gradsoft.xwikisql.SqlPlugin.createDatabase(SqlPlugin.java:88) at ua.gradsoft.xwikisql.SqlPluginApi.getDatabase(SqlPluginApi.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:95) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:252) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:176) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:145) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:134) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:418) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:598) at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:108) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:208) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) 2008-05-26 18:23:58,296 [http://localhost:8080/xwiki/bin/view/main/amma] [P1-17] ERROR log.SimpleLog4JLogSystem - Method getDatabase threw exception for reference $xwiki in template main.amma at [2,12]
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.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
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
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Tue, 27 May 2008 11:05:27 +0530 (IST), project_trainees wrote
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?
I does not known. (In any case -- why not to upgrade Jetty ?)
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
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
Hi Ruslan, Sorry for disturbing with simple things. I have replaced the Jetty with Jetty 6, in the XE 1.3.2. When I started jetty 6 and point the browser to http://localhost:8080/xwiki/bin/view/Main/ ,it is showing error instead of Xwiki page. WebApp JSP Snoop page Request information Requested URL: http://localhost:8080/jspsnoop/ERROR/404 Request method: GET Request URI: /jspsnoop/ERROR/404 Request protocol: HTTP/1.1 Servlet path: /jspsnoop Path info: /ERROR/404 Path translated: D:\XWIKI_HOME_1.3.2\jetty-6.1.10\webapps\test\ERROR\404 Query string: Content length: -1 Content type: null Server name: localhost Server port: 8080 Remote user: null Remote address: 127.0.0.1 Remote host: 127.0.0.1 Authorization scheme: null Request headers Header: Value: Host localhost:8080 User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive Cookie style=null; language=en; JSESSIONID=1xc5y2c9xwree Request Attributes Attribute: Value: javax.servlet.forward.request_uri /xwiki/bin/view/Main/ org.mortbay.jetty.error_page /jspsnoop/ERROR/404 javax.servlet.forward.servlet_path /xwiki/bin/view/Main/ testFilter 2 javax.servlet.error.message NOT_FOUND javax.servlet.forward.context_path javax.servlet.error.status_code 404 javax.servlet.error.servlet_name default javax.servlet.error.request_uri /xwiki/bin/view/Main/ Thanks, Project trainees.
On Tue, 27 May 2008 11:05:27 +0530 (IST), project_trainees wrote
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?
I does not known.
(In any case -- why not to upgrade Jetty ?)
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. http://www.gradsoft.ua
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Tue, 27 May 2008 15:01:42 +0530 (IST), project_trainees wrote
Hi Ruslan, Sorry for disturbing with simple things.
I have replaced the Jetty with Jetty 6, in the XE 1.3.2. When I started jetty 6 and point the browser to http://localhost:8080/xwiki/bin/view/Main/ ,it is showing error instead of Xwiki page.
Are you sure that xwiki was installed ?
WebApp JSP Snoop page Request information Requested URL: http://localhost:8080/jspsnoop/ERROR/404 Request method: GET Request URI: /jspsnoop/ERROR/404 Request protocol: HTTP/1.1 Servlet path: /jspsnoop Path info: /ERROR/404 Path translated: D:\XWIKI_HOME_1.3.2\jetty-6.1.10\webapps\test\ERROR\404 Query string: Content length: -1 Content type: null Server name: localhost Server port: 8080 Remote user: null Remote address: 127.0.0.1 Remote host: 127.0.0.1 Authorization scheme: null Request headers Header: Value: Host localhost:8080 User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Accept text/xml, application/xml,application/xhtml+xml,text/html;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7, *;q=0.7 Keep-Alive 300 Connection keep-alive Cookie style=null; language=en; JSESSIONID=1xc5y2c9xwree Request Attributes Attribute: Value: javax.servlet.forward.request_uri /xwiki/bin/view/Main/ org.mortbay.jetty.error_page /jspsnoop/ERROR/404 javax.servlet.forward.servlet_path /xwiki/bin/view/Main/ testFilter 2 javax.servlet.error.message NOT_FOUND javax.servlet.forward.context_path javax.servlet.error.status_code 404 javax.servlet.error.servlet_name default javax.servlet.error.request_uri /xwiki/bin/view/Main/
Thanks, Project trainees.
On Tue, 27 May 2008 11:05:27 +0530 (IST), project_trainees wrote
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?
I does not known.
(In any case -- why not to upgrade Jetty ?)
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. http://www.gradsoft.ua
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
participants (3)
-
project_trainees@amritatech.com -
rssh -
Vincent Massol