[xwiki-users] Fwd: XWiki initialization failed! with xwiki-enterprise-web-7.2 ?
Hi Vincet, I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war <http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7.2-SNAPSHOT/xwiki-enterprise-web-7.2-20150828.151901-292.war>) from the link http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7... but getting exception when i hit the wiki url in browser. Here is the full stack trace javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://localhost:8888/wiki/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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 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://localhost:8888/wiki/bin/view/Main/] com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:746) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184) 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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 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 [localhost] org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:69) 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:87) org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51) 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:64) org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43) 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:742) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184) 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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 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 [localhost] org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:128) org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140) org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146) org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67) 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:87) org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51) 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:64) org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43) 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:742) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184) 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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 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.query.QueryException: Exception while executing query. Query statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass' ] com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:160) org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71) org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287) org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118) org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71) org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287) org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121) org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140) org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146) org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67) 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:87) org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51) 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:64) org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43) 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:742) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184) 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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 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 0 in 3: Exception while hibernate execute com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366) com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:141) org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71) org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287) org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118) org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71) org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287) org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121) org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140) org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146) org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67) 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:87) org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51) 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:64) org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43) 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:742) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184) 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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 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.NullPointerException org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560) org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4774) org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1326) org.hibernate.hql.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4471) org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:3944) org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2047) org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972) org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972) org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972) org.hibernate.hql.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:831) org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:617) org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:244) org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:256) org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:187) org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101) org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80) org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124) org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156) org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135) org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770) com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.createHibernateQuery(HqlQueryExecutor.java:208) com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:147) com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:142) com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366) com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:141) org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71) org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287) org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118) org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71) org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287) org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121) org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140) org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146) org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67) 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:87) org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51) 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:64) org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43) 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:742) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184) 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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 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) If you can let me know, What is latest version that works well with oracle, it will be helpful so that i can start with that ? Thanks and Regards Mohit Gupta On Sun, Aug 30, 2015 at 3:23 PM, [email protected] <[email protected]> wrote:
On 30 Aug 2015 at 11:51:01, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Vincet,
I believe i need take "7.2-SNAPSHOT/" from " http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/?...". Is that correct ?
Yes, if you need the WAR distribution, you should take the latest snapshot from http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
Thanks -Vincent
On Sun, Aug 30, 2015 at 2:12 PM, [email protected](mailto: [email protected]) wrote:
Hi Mohit,
On 30 Aug 2015 at 10:21:05, Mohit Gupta ([email protected](mailto: [email protected])(mailto:[email protected])) wrote:
Hi Vincet,
Which location i will get the 7.2-milestone-3 war file. i went to http://enterprise.xwiki.org/xwiki/bin/view/Main/Download but latest version to download is still xwiki-enterprise-web-7.2-milestone-2.war( http://www.xwiki.org/xwiki/bin/view/DownloadCode/DownloadFeedback?downloadLi... )
Actually if you check more http://enterprise.xwiki.org/xwiki/bin/view/Main/Download#HDevelopmentBuilds you’ll see you have dev builds there.
Thanks -Vincent
On Thu, Aug 27, 2015 at 4:33 PM, [email protected](mailto:
[email protected])(mailto:[email protected]) wrote:
Hi Mohit,
My fix is NOT in 7.2-milestone-2!
See http://jira.xwiki.org/browse/XWIKI-12425 it says fix version = 7.2-milestone-3
Thanks -Vincent
PS: Please always reply to the list!
On 27 Aug 2015 at 12:31:07, Mohit Gupta ([email protected] (mailto:[email protected])(mailto:[email protected])(mailto: [email protected])) wrote:
Thanks vincet.
After applying your xwiki.oracle.hbm.xml in xwiki-platform-legacy-oldcore-7.2-milestone-2 .jar that problem went away But i am getting below error
root cause
org.xwiki.query.QueryException: Exception while executing query. Query statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name(http://doc.name)(http://doc.name)(http://doc.name) like 'XWikiServer%' ) and doc.fullName=_o1.name(http://o1.name)( http://o1.name)(http://o1.name) and _o1.className='XWiki.XWikiServerClass' ]
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:160)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67)
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:87)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
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:64)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
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:742) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
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 0 in 3: Exception
while hibernate execute
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305)
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366)
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:141)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67)
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:87)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
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:64)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
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:742) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
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.NullPointerException
org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4774)
org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1326)
org.hibernate.hql.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4471)
org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:3944)
org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2047)
org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972)
org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972)
org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972)
org.hibernate.hql.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:831)
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:617)
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301)
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:244)
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:256)
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:187)
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138)
org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:101) org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:80)
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124)
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770)
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.createHibernateQuery(HqlQueryExecutor.java:208)
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:147)
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:142)
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299)
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366)
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:141)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67)
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:87)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
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:64)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
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:742) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
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:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
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)
On Thu, Aug 27, 2015 at 1:50 PM, [email protected](mailto:
[email protected])(mailto:[email protected])(mailto:[email protected]) wrote:
> Hi Mohit, > > As I hint in my previous reply it’s been fixed already, see http://jira.xwiki.org/browse/XWIKI-12425 > > Thanks > -Vincent
[snip]
Hi Mohit, On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto:[email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7... but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug. The query we send is: "where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’" Do you still have the problem? Could you provide the exact JDBC driver and Oracle versions you use? Thanks -Vincent [snip]
Yes Vincet, I am still facing this issue and not able to start with wiki. Here is the required info oracle version :-11.2.0 jdbc driver :- oracle.jdbc.driver.OracleDriver jar file :- ojdbc6 Thanks Mohit On Mon, Sep 14, 2015 at 12:29 PM, [email protected] <[email protected]> wrote:
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto:[email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7... but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715 I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message): select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass' Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL. What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then). Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi All, I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding) XWiki is initializing (12%)... Here are the logs from localhost_access_log.2015-09-20 file 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045 I am not getting what is missing here On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
looks like for generated urls xwiki not appending right application context name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js i tried below configuration in xwiki.cfg but it did not help xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta <[email protected]> wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException
org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, Any help on above ? Thanks Mohit On Sun, Sep 20, 2015 at 4:38 PM, Mohit Gupta <[email protected]> wrote:
looks like for generated urls xwiki not appending right application context name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta <[email protected]> wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException
org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Mohit, Not sure why you needed to use a different database name for the main wiki but in case you need this you can configure xwiki to use this new name, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure... Thanks -Vincent On 21 Sep 2015 at 07:22:37, Mohit Gupta ([email protected](mailto:[email protected])) wrote:
Hi,
Any help on above ?
Thanks Mohit
On Sun, Sep 20, 2015 at 4:38 PM, Mohit Gupta wrote:
looks like for generated urls xwiki not appending right application context name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException
org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
He is using a different app name, not database name. And according to his mail he is setting the right property (xwiki.webapppath, xwiki.home is not used for this try disabling it back). Are you sure you removed the # and that it's the right xwiki.cfg you are modifying (sometimes in the battle... :)). If all is right then it looks like there is a bug somewhere in the URL factory. On Mon, Sep 21, 2015 at 8:33 AM, [email protected] <[email protected]> wrote:
Hi Mohit,
Not sure why you needed to use a different database name for the main wiki but in case you need this you can configure xwiki to use this new name, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure...
Thanks -Vincent
On 21 Sep 2015 at 07:22:37, Mohit Gupta ([email protected](mailto:[email protected])) wrote:
Hi,
Any help on above ?
Thanks Mohit
On Sun, Sep 20, 2015 at 4:38 PM, Mohit Gupta wrote:
looks like for generated urls xwiki not appending right application context name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
> Hi Vincet, > > I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war > ) > from the link > http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7... > but getting exception when i hit the wiki url in browser. Here is the full > stack trace
[snip]
> java.lang.NullPointerException > org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hi Here is my relevant code snippter fro hibernate,cfg , my user name is my_wiki <property name="connection.url">jdbc:mysql://localhost:3306/my_wiki</property> <property name="connection.username">my_wiki</property> <property name="connection.password">my_wiki</property> <property name="connection.driver_class">com.mysql.jdbc.Driver</property> <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property> <property name="dbcp.poolPreparedStatements">true</property> <property name="dbcp.maxOpenPreparedStatements">20</property> <mapping resource="xwiki.hbm.xml"/> <mapping resource="feeds.hbm.xml"/> <mapping resource="activitystream.hbm.xml"/> <mapping resource="instance.hbm.xml"/> <mapping resource="mailsender.hbm.xml"/> Here is the code snippet from xwiki.cfg xwiki.db=my_wiki xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki I used to work xwiki around 2 years back, it used to work like charm. But with latest version , i am not able to start xwiki. First i tried with oracle . Now i am trying with mysql. Thanks Mohit On Mon, Sep 21, 2015 at 1:15 PM, Thomas Mortagne <[email protected]> wrote:
He is using a different app name, not database name. And according to his mail he is setting the right property (xwiki.webapppath, xwiki.home is not used for this try disabling it back).
Are you sure you removed the # and that it's the right xwiki.cfg you are modifying (sometimes in the battle... :)). If all is right then it looks like there is a bug somewhere in the URL factory.
On Mon, Sep 21, 2015 at 8:33 AM, [email protected] <[email protected]> wrote:
Hi Mohit,
Not sure why you needed to use a different database name for the main wiki but in case you need this you can configure xwiki to use this new name, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure...
Thanks -Vincent
On 21 Sep 2015 at 07:22:37, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Hi,
Any help on above ?
Thanks Mohit
On Sun, Sep 20, 2015 at 4:38 PM, Mohit Gupta wrote:
looks like for generated urls xwiki not appending right application context name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
/xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js
HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
> Hi Mohit, > > > On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected] (mailto: [email protected])) wrote: > >> Hi Vincet, >> >> I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war >> ) >> from the link >>
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
>> but getting exception when i hit the wiki url in browser. Here is the full >> stack trace > > [snip] > >> java.lang.NullPointerException >>
org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
> > Strange, I don’t remember seeing this error before. It looks like an Hibernate bug. >
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
> The query we send is: > > "where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’" >
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL )
- just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
> Do you still have the problem? > > Could you provide the exact JDBC driver and Oracle versions you use? > > Thanks > -Vincent > > [snip] > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Sun, Sep 20, 2015 at 2:08 PM, Mohit Gupta <[email protected]> wrote:
looks like for generated urls xwiki not appending right application context name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
If you're using XWiki 7.2M1+ then the right context path should be used. Sergiu fixed this with https://github.com/xwiki/xwiki-platform/commit/58295a36aa61a2a99956093b9571f... . You can check init.vm to see whether the 'xwiiki' context path is hardcoded or not for logging.js . Note that 7.2 final is not released yet so I wouldn't recommend using 7.2M1/M2/M3/RC1 expect for testing because they are development versions. Moreover, during 7.2 we did a lot of changes required to add support for nested spaces/documents and thus the milestones are less stable than usual. Hope this helps, Marius
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta <[email protected]> wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException
org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 22 Sep 2015 at 10:33:40, Marius Dumitru Florea ([email protected](mailto:[email protected])) wrote:
On Sun, Sep 20, 2015 at 2:08 PM, Mohit Gupta wrote:
looks like for generated urls xwiki not appending right application context name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
If you're using XWiki 7.2M1+ then the right context path should be used. Sergiu fixed this with https://github.com/xwiki/xwiki-platform/commit/58295a36aa61a2a99956093b9571f...
This commit seems to have be committed in 7.1 according to the JIRA issue: http://jira.xwiki.org/browse/XWIKI-12155 Thus this commit should in 7.2M1+. Is the JIRA fix version wrong?
. You can check init.vm to see whether the 'xwiiki' context path is hardcoded or not for logging.js .
Note that 7.2 final is not released yet so I wouldn't recommend using 7.2M1/M2/M3/RC1 expect for testing because they are development versions. Moreover, during 7.2 we did a lot of changes required to add support for nested spaces/documents and thus the milestones are less stable than usual.
I agree. OTOH it’s very good that you’re trying it and provide feedback for us since this allows us to fix things to release an as-stable-as-possible 7.2 version :) Just don’t put it in production! Now we need to check if your problem still exist on 7.2RC1 and fix it. I don’t have the time right now but I’ll try to reproduce this week and fix the problem if I can. I’ll post back my findings. Thanks a lot for your help! -Vincent
Hope this helps, Marius
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
Hi Vincet,
I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war ) from the link
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
but getting exception when i hit the wiki url in browser. Here is the full stack trace
[snip]
java.lang.NullPointerException
org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Tue, Sep 22, 2015 at 11:41 AM, [email protected] <[email protected]> wrote:
On 22 Sep 2015 at 10:33:40, Marius Dumitru Florea ([email protected](mailto:[email protected])) wrote:
On Sun, Sep 20, 2015 at 2:08 PM, Mohit Gupta wrote:
looks like for generated urls xwiki not appending right application context name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
If you're using XWiki 7.2M1+ then the right context path should be used. Sergiu fixed this with https://github.com/xwiki/xwiki-platform/commit/58295a36aa61a2a99956093b9571f...
This commit seems to have be committed in 7.1 according to the JIRA issue: http://jira.xwiki.org/browse/XWIKI-12155
Thus this commit should in 7.2M1+. Is the JIRA fix version wrong?
Indeed, it has been committed in both 7.1 and 7.2 (master). I didn't check the jira, I just did a git blame.
. You can check init.vm to see whether the 'xwiiki' context path is hardcoded or not for logging.js .
Note that 7.2 final is not released yet so I wouldn't recommend using 7.2M1/M2/M3/RC1 expect for testing because they are development versions. Moreover, during 7.2 we did a lot of changes required to add support for nested spaces/documents and thus the milestones are less stable than usual.
I agree.
OTOH it’s very good that you’re trying it and provide feedback for us since this allows us to fix things to release an as-stable-as-possible 7.2 version :)
Just don’t put it in production!
Now we need to check if your problem still exist on 7.2RC1 and fix it. I don’t have the time right now but I’ll try to reproduce this week and fix the problem if I can. I’ll post back my findings.
Thanks a lot for your help! -Vincent
Hope this helps, Marius
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit url in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
Hi Mohit,
On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected](mailto: [email protected])) wrote:
> Hi Vincet, > > I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war > ) > from the link > http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7... > but getting exception when i hit the wiki url in browser. Here is the full > stack trace
[snip]
> java.lang.NullPointerException > org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
Strange, I don’t remember seeing this error before. It looks like an Hibernate bug.
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
The query we send is:
"where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’"
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) - just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
Do you still have the problem?
Could you provide the exact JDBC driver and Oracle versions you use?
Thanks -Vincent
[snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Yes its hardcoded in init.vm. It works fine after installing 7.2 version. But looks like some issue is there with Admin rights as I installed one application i.e bulletin board but when i try to add category it gives me below error Failed to execute the [velocity] macro. Click on this message for details. org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to execute the script macro [velocity] at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269) at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683) at sun.reflect.GeneratedMethodAccessor635.invoke(Unknown Source) Do i need to modify some right or some configuration is required here. On Tue, Sep 22, 2015 at 2:20 PM, Marius Dumitru Florea < [email protected]> wrote:
On Tue, Sep 22, 2015 at 11:41 AM, [email protected] <[email protected]> wrote:
On 22 Sep 2015 at 10:33:40, Marius Dumitru Florea (
[email protected](mailto:[email protected])) wrote:
On Sun, Sep 20, 2015 at 2:08 PM, Mohit Gupta wrote:
looks like for generated urls xwiki not appending right application
context
name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
If you're using XWiki 7.2M1+ then the right context path should be used. Sergiu fixed this with
https://github.com/xwiki/xwiki-platform/commit/58295a36aa61a2a99956093b9571f...
This commit seems to have be committed in 7.1 according to the JIRA issue: http://jira.xwiki.org/browse/XWIKI-12155
Thus this commit should in 7.2M1+. Is the JIRA fix version wrong?
Indeed, it has been committed in both 7.1 and 7.2 (master). I didn't check the jira, I just did a git blame.
. You can check init.vm to see whether the 'xwiiki' context path is hardcoded or not for logging.js .
Note that 7.2 final is not released yet so I wouldn't recommend using 7.2M1/M2/M3/RC1 expect for testing because they are development versions. Moreover, during 7.2 we did a lot of changes required to add support for nested spaces/documents and thus the milestones are less stable than usual.
I agree.
OTOH it’s very good that you’re trying it and provide feedback for us
since this allows us to fix things to release an as-stable-as-possible 7.2 version :)
Just don’t put it in production!
Now we need to check if your problem still exist on 7.2RC1 and fix it. I
don’t have the time right now but I’ll try to reproduce this week and fix the problem if I can. I’ll post back my findings.
Thanks a lot for your help! -Vincent
Hope this helps, Marius
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit
url
in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
/xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js
HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
Hi *,
> Hi Mohit, > > > On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected] (mailto: [email protected])) wrote: > >> Hi Vincet, >> >> I took the latest war file(xwiki-enterprise-web-7.2-20150828.151901-292.war >> ) >> from the link >>
http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7...
>> but getting exception when i hit the wiki url in browser. Here is the full >> stack trace > > [snip] > >> java.lang.NullPointerException >>
org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
> > Strange, I don’t remember seeing this error before. It looks like an Hibernate bug. >
Has been reported as such, and usually rejected, e.g.: https://hibernate.atlassian.net/browse/HHH-3715
I feel that the problem is that the XWQL-Query is not translated to HQL properly
> The query we send is: > > "where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like 'XWikiServer%’" >
This is a XWQL query, however, and the HQL that is created from it (I guess its created from the query, as that is what is shown in the error message):
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and _o1.className='XWiki.XWikiServerClass'
Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not proper HQL, something must have gone amiss when translating the XWQL to HQL.
What puzzles me is why this has something to do with the Oracle driver (It is no general bug for sure, otherwise it would have blocked any development ...) I just checked and I get basically the same error message when I try to execute the generated HQL "manually" (from a groovy script in a page), but of course no such error when executing the XWQL (would not have been able to start the server then).
Is it possible to direct the installation temporarily to e.g. HSQL-DB (something along
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL )
- just for testing if the issue goes away then? (It is sure not useful for production use that way until switched back to Oracle ...) If the issue does not go away, then it must be something else ...
> Do you still have the problem? > > Could you provide the exact JDBC driver and Oracle versions you use? > > Thanks > -Vincent > > [snip] > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Tue, Sep 22, 2015 at 6:52 PM, Mohit Gupta <[email protected]> wrote:
Yes its hardcoded in init.vm. It works fine after installing 7.2 version. But looks like some issue is there with Admin rights as I installed one application i.e bulletin board but when i try to add category it gives me below error
Failed to execute the [velocity] macro. Click on this message for details.
org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to execute the script macro [velocity] at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269) at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683) at sun.reflect.GeneratedMethodAccessor635.invoke(Unknown Source)
Do i need to modify some right or some configuration is required here.
Did you check the release notes? http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72M1#HScri...
On Tue, Sep 22, 2015 at 2:20 PM, Marius Dumitru Florea < [email protected]> wrote:
On Tue, Sep 22, 2015 at 11:41 AM, [email protected] <[email protected]> wrote:
On 22 Sep 2015 at 10:33:40, Marius Dumitru Florea (
[email protected](mailto:[email protected])) wrote:
On Sun, Sep 20, 2015 at 2:08 PM, Mohit Gupta wrote:
looks like for generated urls xwiki not appending right application
context
name i.e "myWiki" but instead using "xwiki" . it should be /myWiki/resources/uicomponents/logging/logging.js
If you're using XWiki 7.2M1+ then the right context path should be used. Sergiu fixed this with
https://github.com/xwiki/xwiki-platform/commit/58295a36aa61a2a99956093b9571f...
This commit seems to have be committed in 7.1 according to the JIRA issue: http://jira.xwiki.org/browse/XWIKI-12155
Thus this commit should in 7.2M1+. Is the JIRA fix version wrong?
Indeed, it has been committed in both 7.1 and 7.2 (master). I didn't check the jira, I just did a git blame.
. You can check init.vm to see whether the 'xwiiki' context path is hardcoded or not for logging.js .
Note that 7.2 final is not released yet so I wouldn't recommend using 7.2M1/M2/M3/RC1 expect for testing because they are development versions. Moreover, during 7.2 we did a lot of changes required to add support for nested spaces/documents and thus the milestones are less stable than usual.
I agree.
OTOH it’s very good that you’re trying it and provide feedback for us
since this allows us to fix things to release an as-stable-as-possible 7.2 version :)
Just don’t put it in production!
Now we need to check if your problem still exist on 7.2RC1 and fix it. I
don’t have the time right now but I’ll try to reproduce this week and fix the problem if I can. I’ll post back my findings.
Thanks a lot for your help! -Vincent
Hope this helps, Marius
i tried below configuration in xwiki.cfg but it did not help
xwiki.home=http://localhost:8888/myWiki/ xwiki.webapppath=myWiki
On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta wrote:
Hi All,
I switched to MySQL. Server starts without any error. But when i hit
url
in browser. Page is stuck(looks like its refreshing but not proceeding)
XWiki is initializing (12%)...
Here are the logs from localhost_access_log.2015-09-20 file
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /myWiki/bin/view/Main/ HTTP/1.1" 503 2823 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
/xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js
HTTP/1.1" 404 1015 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET /xwiki/resources/uicomponents/logging/logging.js HTTP/1.1" 404 1045
I am not getting what is missing here
On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < [email protected]> wrote:
> Hi *, > > > Hi Mohit, > > > > > > On 1 Sep 2015 at 15:32:48, Mohit Gupta ([email protected] (mailto: > [email protected])) wrote: > > > >> Hi Vincet, > >> > >> I took the latest war > file(xwiki-enterprise-web-7.2-20150828.151901-292.war > >> ) > >> from the link > >> > http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7... > >> but getting exception when i hit the wiki url in browser. Here is the > full > >> stack trace > > > > [snip] > > > >> java.lang.NullPointerException > >> > org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560) > > > > Strange, I don’t remember seeing this error before. It looks like an > Hibernate bug. > > > > Has been reported as such, and usually rejected, e.g.: > https://hibernate.atlassian.net/browse/HHH-3715 > > I feel that the problem is that the XWQL-Query is not translated to HQL > properly > > > The query we send is: > > > > "where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and > doc.name like 'XWikiServer%’" > > > > This is a XWQL query, however, and the HQL that is created from it (I > guess its created from the query, as that is what is shown in the error > message): > > select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( > doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias > and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and > _o1.className='XWiki.XWikiServerClass' > > Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not > proper HQL, something must have gone amiss when translating the XWQL to HQL. > > What puzzles me is why this has something to do with the Oracle driver > (It is no general bug for sure, otherwise it would have blocked any > development ...) > I just checked and I get basically the same error message when I try to > execute the generated HQL "manually" (from a groovy script in a page), > but of course no such error when executing the XWQL (would not have been > able to start the server then). > > > Is it possible to direct the installation temporarily to e.g. HSQL-DB > (something along > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL ) > - just for testing if the issue goes away then? (It is sure not useful > for production use that way until switched back to Oracle ...) > If the issue does not go away, then it must be something else ... > > > > Do you still have the problem? > > > > Could you provide the exact JDBC driver and Oracle versions you use? > > > > Thanks > > -Vincent > > > > [snip] > > > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (5)
-
Clemens Klein-Robbenhaar -
Marius Dumitru Florea -
Mohit Gupta -
Thomas Mortagne -
vincent@massol.net