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