All right :)
I didn’t checked this part so well apparently…Tomcat 6 can’t have the right servlet.
Time to go with a tomcat 7 !
Thank you.
Daniel
Le 30 août 2015 à 11:34, vincent(a)massol.net a écrit :
Ah, but that’s a very different error, not related to the DB:
Caused by: java.lang.ClassNotFoundException: javax.servlet.AsyncContext
This means you’re using a too old version of your Servlet Container which doesn’t support
Servlet 3.0.
XWiki 7.x requires Servlet 3.0.1, see
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequis…
<http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites>
At least your DB is now correctly configured apparently :)
Thanks
-Vincent
On 30 Aug 2015 at 11:03:21, Daniel Tibô
(daniel.tibo@gmail.com(mailto:daniel.tibo@gmail.com)) wrote:
> Hi,
>
> As requested :
http://pastebin.com/Cn5cmpqc
>
> I’ve uncommented the 2 previous commented lines with DBCP but there is no change.
>
> For now I’m stuck with this :
http://pastebin.com/6UzFgAzr
>
> Thanks
>
> Daniel
>
> > Le 30 août 2015 à 10:38, vincent(a)massol.net a écrit :
> >
> > Hi,
> >
> > So:
> >
> > * Could you show the line you have in hibernate.cfg.xml for the
“connection.url” property?
> > * You should not comment or uncomment anything else in the file (unless you
know what you’re doing). The DBCP config is needed for example. You should try to have the
file the same the original version except the MySQL part commented out and the default
HSQLDB part commented.
> > * Best would be if you could paste the hibernate file you’re using on pastebin
for example (or any such tools) so that we could review it.
> >
> > Thanks
> > -Vincent
> >
> > On 29 Aug 2015 at 22:47:59, Daniel Tibô (daniel.tibo(a)gmail.com
(mailto:daniel.tibo@gmail.com )) wrote:
> >
> > > Extra information : I can connect myself to the database with the xwiki
user with a simple « mysql -u xwiki -p « .
> > >
> > > Thx
> > >
> > > > Le 29 août 2015 à 22:04, Daniel Tibô a écrit :
> > > >
> > > > Hi Vincent,
> > > >
> > > > There was, indeed, a problem with the connector.
> > > >
> > > > I’ve forgot to place it after the second installation…
> > > >
> > > > But, when I have double checked if i had the right version from
oracle, i have seen that the 5.0.8 i had (direct link from the installation guide) is not
« recommended » for my version of mysql (5.1).
> > > > (
https://dev.mysql.com/doc/connector-j/en/connector-j-versions.html
)
> > > >
> > > > So i’ve tried with the « 5.1.36 » and… I have something else now..
> > > >
> > > > It’s related to the database access for the xwiki user maybe ? (
java.sql.SQLException: Access denied for user 'xwiki'(a)'127.0.0.1' (using
password: YES) )
> > > >
> > > >
> > > > with : "org.hibernate.HibernateException: Could not create a
DBCP pool. »
> > > >
> > > > I’ve tried to comment the 2 line :
> > > >
> > > > true
> > > > 20
> > > >
> > > > but without success due to the previous « access denied » i think.
(do i have to leave it commented for the futur ?)
> > > >
> > > > Thanks for your help !
> > > >
> > > > Daniel
> > > >
> > > > type Exception report
> > > >
> > > > message
> > > >
> > > > description The server encountered an internal error () that
prevented it from fulfilling this request.
> > > >
> > > > exception
> > > >
> > > > javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 11007 in 0: Failed to extract Entity Resource Reference from URL
[
http://xxx.xxx.xxx.xxx:8080/xwiki/bin/view/Main/ ]
> > > >
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
> > > >
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
> > > >
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> > > >
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> > > > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > > > com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
> > > >
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> > > >
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> > > >
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
> > > >
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> > > >
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> > > >
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
> > > >
> > > > root cause
> > > >
> > > > com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL
[
http://xxx.xxx.xxx.xxx:8080/xwiki/bin/view/Main/ ]
> > > > com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:696)
> > > > com.xpn.xwiki.XWiki.getXWiki(XWiki.java:640)
> > > > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:225)
> > > > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:180)
> > > >
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> > > >
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> > > >
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> > > > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > > > com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
> > > >
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> > > >
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> > > >
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
> > > >
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> > > >
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> > > >
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
> > > >
> > > > root cause
> > > >
> > > > java.lang.RuntimeException: Failed to located wiki descriptor for
alias [xxx.xxx.xxx.xxx]
> > > >
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
> > > >
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
> > > >
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
> > > >
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
> > > >
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:60)
> > > >
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:44)
> > > >
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
> > > >
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
> > > >
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:68)
> > > >
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:44)
> > > >
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
> > > >
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
> > > > com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:693)
> > > > com.xpn.xwiki.XWiki.getXWiki(XWiki.java:640)
> > > > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:225)
> > > > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:180)
> > > >
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> > > >
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> > > >
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> > > > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > > > com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
> > > >
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> > > >
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> > > >
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
> > > >
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> > > >
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> > > >
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
> > > >
> > > > root cause
> > > >
> > > > org.xwiki.wiki.manager.WikiManagerException: Failed to locate
XWiki.XWikiServerClass document for wiki alias [xxx.xxx.xxx.xxx]
> > > >
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:127)
> > > > ...
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
>
http://lists.xwiki.org/mailman/listinfo/users
<http://lists.xwiki.org/mailman/listinfo/users>