[ 
http://jira.nuxeo.org/browse/NXP-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume updated NXP-4173:
-----------------------------------

    Affects Version/s:     (was: 5.2 GA SP1)
                           (was: 5.2 GA)
             Assignee: Florent Guillaume  (was: Thierry Delprat)
        Fix Version/s: 5.3 GA

> Nuxeo Distribution for Tomcat fails on Apache Tomcat 6.0.20 on Windows XP SP4 
> using JDK 6.0 update 26
> -----------------------------------------------------------------------------------------------------
>
>                 Key: NXP-4173
>                 URL: http://jira.nuxeo.org/browse/NXP-4173
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.3 RC
>         Environment: Windows XP SP4, Apache Tomcat 6.0.20, JDK 6.0 Update 16
>            Reporter: Cameron McEwing
>            Assignee: Florent Guillaume
>            Priority: Blocker
>             Fix For: 5.3 GA
>
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>
> ~~~~~~~~~~~~
> Setup 
> ~~~~~~~~~~~~
> Build from source ...
> hg clone http://hg.nuxeo.org/nuxeo#5.2
> cd nuxeo
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-common#1.5
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-runtime#1.5
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-core#1.5
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-services#5.2
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-theme#5.2
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-webengine#5.2
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-jsf#5.2
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-gwt#5.2
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-features#5.2
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-dm#5.2
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-distribution#5.2
> cd nuxeo-distribution
> ant distrib -Ddistrib=tomcat
> ...
>      [exec] [INFO]
>      [exec] [INFO] 
> ------------------------------------------------------------------------
>      [exec] [INFO] Reactor Summary:
>      [exec] [INFO] 
> ------------------------------------------------------------------------
>      [exec] [INFO] Nuxeo Embedded Launcher ............................... 
> SUCCESS [46.515s]
>      [exec] [INFO] Nuxeo Base Template ................................... 
> SUCCESS [33.110s]
>      [exec] [INFO] Nuxeo Server Template ................................. 
> SUCCESS [1:27.750s]
>      [exec] [INFO] Nuxeo Distribution Parent ............................. 
> SUCCESS [0.140s]
>      [exec] [INFO] Nuxeo Jetty Template .................................. 
> SUCCESS [1:44.250s]
>      [exec] [INFO] Nuxeo EP Jetty Template ............................... 
> SUCCESS [10:13.688s]
>      [exec] [INFO] 
> ------------------------------------------------------------------------
>      [exec] [INFO] 
> ------------------------------------------------------------------------
>      [exec] [INFO] BUILD SUCCESSFUL
>      [exec] [INFO] 
> ------------------------------------------------------------------------
>      [exec] [INFO] Total time: 14 minutes 50 seconds
>      [exec] [INFO] Finished at: Tue Oct 13 21:57:52 NZDT 2009
>      [exec] [INFO] Final Memory: 40M/78M
>      [exec] [INFO] 
> ------------------------------------------------------------------------
> distrib:
> BUILD SUCCESSFUL
> Total time: 14 minutes 53 seconds
> C:\Applications\nuxeo-5.2\nuxeo\nuxeo-distribution>
> cd nuxeo-distribution-tomcat
> cd target
> copied /lib/nuxeo-runtime-tomcat-adapter-1.5.1.jar to Tomcat /lib dir
> copied /tomcat/nuxeo dir to Tomcat /webapps
> ~~~~~~~~~~~~
> Problem (1)
> ~~~~~~~~~~~~
> Nuxeo failed to start with a File Not Found Exception couldn't find 
> nuxeo-runtime-osgi-1.5.1-SNAPSHOT.jar
> Wrong jar specified in /webapps/nuxeo/META-INF/context.xml was 
> nuxeo-runtime-osgi-1.5-SNAPSHOT.jar should be 
> nuxeo-runtime-osgi-1.5.1-SNAPSHOT.jar 
> i.e. 
>   <!-- define custom loader that is responsible to start nuxeo runtime (it 
> extends the default one) -->
>   <Loader className="org.nuxeo.runtime.tomcat.NuxeoWebappLoader" 
> loaderClass="org.nuxeo.runtime.tomcat.NuxeoWebappClassLoader"
>           home="nxserver" classPath="bundles/.:lib/.:config" 
> systemBundle="bundles/nuxeo-runtime-osgi-1.5.1-SNAPSHOT.jar" />
> ~~~~~~~~~~~~
> Problem (2)
> ~~~~~~~~~~~~
> Failure in service:org.nuxeo.ecm.webengine.WebEngineComponent startup
> Class Not Found exception ... Class missing ... javax.ejb.TransactionAttribute
> added jboss-ejb3x.jar in jboss/4.2.3.GA/jars to /webapps/nuxeo/libs to resolve
> ~~~~~~~~~~~~
> Problem (3)
> ~~~~~~~~~~~~
> Failure in service:org.nuxeo.theme.webwidgets startup
> Class Not Found exception ... Class missing ... javassist.bytecode.ClassFile
> added javassist-4.0.4.GA.jar to /webapps/nuxeo/libs to resolve
> ~~~~~~~~~~~~
> Problem (4)
> ~~~~~~~~~~~~
> Failure in ????
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> java.lang.ClassNotFoundException. message: 
> org.apache.derby.jdbc.EmbeddedDriver
> copied derby-10.4.1.3.jar form /webapps/nuxeo/nxserver/lib to Tomcat /lib to 
> solve issue.
> ~~~~~~~~~~~~
> Problem (5)
> ~~~~~~~~~~~~
> 22:40:39,484 ERROR [RegistrationInfoImpl] Failed to register extension. 
> Contributor: RegistrationInfo: service:org.nuxe
> .theme.webwidgets to service:org.nuxeo.theme.webwidgets.Service; xpoint: 
> providers
> javax.persistence.PersistenceException: org.hibernate.HibernateException: 
> Could not find datasource
> Caused by: javax.naming.NameNotFoundException: Name nxwebwidgets is not bound 
> in this Context
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
> Missing datasource nxwebwidgets in /webapps/nuxeo/META-INF/context.xml and 
> /webapps/nuxeo/web.xml...
> Added the following to context.xml ...
>   <Resource name="jdbc/nxwebwidgets" auth="Container" 
> type="javax.sql.DataSource"
>             maxActive="100" maxIdle="30" maxWait="10000"
>             driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>             url="jdbc:derby:nxwebwidgets;create=true"/> 
> Added the following to web.xml ...
>   <resource-ref>
>     <description>NXWebWidgets</description>
>     <res-ref-name>jdbc/nxwebwidgets</res-ref-name>
>     <res-type>javax.sql.DataSource</res-type>
>   </resource-ref>
> This failed to resolve the issue. It appears this issue is similar to the 
> JIRA issue ...
> http://jira.nuxeo.org/browse/NXP-4074
> for the Jetty engine, where the datasource is accessed before it is available.
> ~~~~~~~~~~~~
> Problem (6)
> ~~~~~~~~~~~~
> 13-Oct-2009 23:56:16 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 67288 ms
> 23:56:35,828 INFO  [ModuleManager] Registering web module: base
> 23:56:35,828 INFO  [ModuleManager] Registering web module: nxthemes-webwidgets
> 23:56:35,890 INFO  [ModuleManager] Registering web module: Admin
> 23:56:35,906 INFO  [ModuleManager] Registering web module: nxthemes-editor
> 23:56:35,921 INFO  [ModuleManager] Registering web module: sites
> 00:04:31,000 INFO  [ModuleImpl] Loading i18n files for module base
> 00:04:37,515 INFO  [BuiltinTypes] Importing ECM types to JackRabbit 
> repository ...
> 00:04:42,656 ERROR [AsyncEventExecutor$Job] Failed to execute async event 
> documentSecurityUpdated on listener auditLogge
> rtListener
> javax.persistence.PersistenceException: org.hibernate.HibernateException: 
> Could not find datasource
> ...
> Caused by: javax.naming.NameNotFoundException: Name nxaudit-logs is not bound 
> in this Context
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
>         at javax.naming.InitialContext.lookup(InitialContext.java:392)
>         at 
> org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
>         ... 18 more
> The nxaudit-logs datasource appears to be missing from context.xml and web.xml
> Added the following to context.xml (added datasources to match those declared 
> for the Nuxeo-Jetty distribution in jetty.xml)...
>   <resource-ref>
>     <description>NXAudits</description>
>     <res-ref-name>jdbc/nxaudits</res-ref-name>
>     <res-type>javax.sql.DataSource</res-type>
>   </resource-ref>
>   
>   <resource-ref>
>     <description>NXjBPM</description>
>     <res-ref-name>jdbc/nxjbpm</res-ref-name>
>     <res-type>javax.sql.DataSource</res-type>
>   </resource-ref>
>   
>   <resource-ref>
>     <description>PlacefulServiceDS</description>
>     <res-ref-name>jdbc/placeful_service_ds</res-ref-name>
>     <res-type>javax.sql.DataSource</res-type>
>   </resource-ref>
> Added the following to web.xml (added datasources to match those declared for 
> the Nuxeo-Jetty distribution in jetty.xml) ...
>   <Resource name="jdbc/nxaudits" auth="Container" type="javax.sql.DataSource"
>             maxActive="100" maxIdle="30" maxWait="10000"
>             driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>             url="jdbc:derby:nxaudits;create=true"/>               
>                         
>   <Resource name="jdbc/nxjbpm" auth="Container" type="javax.sql.DataSource"
>             maxActive="100" maxIdle="30" maxWait="10000"
>             driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>             url="jdbc:derby:nxjbpm;create=true"/>               
>                         
>   <Resource name="jdbc/placeful_service_ds" auth="Container" 
> type="javax.sql.DataSource"
>             maxActive="100" maxIdle="30" maxWait="10000"
>             driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>             url="jdbc:derby:placeful_service_ds;create=true"/> 
> ~~~~~~~~~~~~
> Problem (7)
> ~~~~~~~~~~~~
> 00:06:11,375 INFO  [ModuleImpl] Loading i18n files for module sites
> 00:06:11,718 ERROR [WebEngineServlet] Failed to render resource
> org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: 
> java_cup/runtime/Scanner
>         at 
> org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
>         at 
> org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
>         at 
> org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
>         at 
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
>         at 
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
>         at 
> org.nuxeo.ecm.webengine.server.resteasy.WebEngineServlet.service(WebEngineServlet.java:197)
>         at 
> org.nuxeo.ecm.webengine.server.resteasy.WebEngineServlet.service(WebEngineServlet.java:158)
> ...
> Caused by: java.lang.ClassNotFoundException: java_cup.runtime.Scanner
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>         ... 38 more
> 00:06:19,703 INFO  [ModuleImpl] Loading i18n files for module Admin
> It appears that the class java_cup.runtime.Scanner is missing. Added 
> xalan-2.7.1.jar to the Tomcat /lib folder to resolve this.
> ~~~~~~~~~~~~
> Problem (8)
> ~~~~~~~~~~~~
> org.nuxeo.ecm.webengine.WebException: Failed to render resource
>       at org.nuxeo.ecm.webengine.WebException.wrap(WebException.java:171)
>       at 
> org.nuxeo.ecm.webengine.model.io.TemplateWriter.writeTo(TemplateWriter.java:49)
>       at 
> org.nuxeo.ecm.webengine.model.io.TemplateWriter.writeTo(TemplateWriter.java:39)
> ...
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.xml.serializer.TreeWalker
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>       ... 50 more
> It appears that the class org.apache.xml.serializer.TreeWalker. This is from 
> xalan-2.7.0.jar. 
> Changed xalan-2.7.1.jar to xalan-2.7.0.jar in the Tomcat /lib folder to 
> resolve this.
> ~~~~~~~~~~~~
> Problem (9)
> ~~~~~~~~~~~~
> [Fatal Error] :-1:-1: Premature end of file.
> org.nuxeo.ecm.core.api.ClientException: Failed to load repository default
>         at 
> org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:90)
>         at 
> org.nuxeo.ecm.core.api.local.LocalSession.getSession(LocalSession.java:140)
>         at 
> org.nuxeo.ecm.core.api.AbstractSession.connect(AbstractSession.java:189)
>         at 
> org.nuxeo.ecm.core.api.repository.Repository.open(Repository.java:149)
>         at 
> org.nuxeo.ecm.core.api.repository.Repository.open(Repository.java:115)
>         at 
> org.nuxeo.ecm.webengine.session.UserSession.openSession(UserSession.java:167)
>         at 
> org.nuxeo.ecm.webengine.session.UserSession.getCoreSession(UserSession.java:121)
>         at 
> org.nuxeo.ecm.webengine.session.UserSession.getCoreSession(UserSession.java:140)
>         at 
> org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.getCoreSession(AbstractWebContext.java:147)
>         at 
> org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.initializeBindings(AbstractWebContext.java:669)
>         at 
> org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.createBindings(AbstractWebContext.java:622)
>         at 
> org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.render(AbstractWebContext.java:568)
>         at org.nuxeo.ecm.webengine.model.Template.render(Template.java:110)
>         at 
> org.nuxeo.ecm.webengine.model.io.TemplateWriter.writeTo(TemplateWriter.java:47)
>         at 
> org.nuxeo.ecm.webengine.model.io.TemplateWriter.writeTo(TemplateWriter.java:39)
>         at 
> org.jboss.resteasy.core.ResponseInvoker.writeTo(ResponseInvoker.java:101)
>         at 
> org.jboss.resteasy.core.SynchronousDispatcher.writeJaxrsResponse(SynchronousDispatcher.java:404)
>         at 
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:365)
>         at 
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
>         at 
> org.nuxeo.ecm.webengine.server.resteasy.WebEngineServlet.service(WebEngineServlet.java:197)
>         at 
> org.nuxeo.ecm.webengine.server.resteasy.WebEngineServlet.service(WebEngineServlet.java:158)
> ...
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> javax.jcr.RepositoryException. message: internal error: f
> ailed to read custom node type definitions stored in custom_nodetypes.xml: 
> Premature end of file.
>         at 
> org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.loadCustomNodeTypeDefs(NodeTypeRegistry.java:856)
>         at 
> org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.<init>(NodeTypeRegistry.java:771)
>         at 
> org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.create(NodeTypeRegistry.java:120)
>         at 
> org.apache.jackrabbit.core.RepositoryImpl.createNodeTypeRegistry(RepositoryImpl.java:605)
>         at 
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:282)
>         at 
> org.nuxeo.ecm.core.repository.jcr.JCRRepository.<init>(JCRRepository.java:70)
>         at 
> org.nuxeo.ecm.core.repository.jcr.JCRRepository.create(JCRRepository.java:96)
>         at 
> org.nuxeo.ecm.core.repository.jcr.JCRRepositoryFactory.createRepository(JCRRepositoryFactory.java:56)
>         at 
> org.nuxeo.ecm.core.repository.RepositoryDescriptor.create(RepositoryDescriptor.java:139)
>         at 
> org.nuxeo.ecm.core.repository.RepositoryManager$Ref.get(RepositoryManager.java:201)
>         at 
> org.nuxeo.ecm.core.repository.RepositoryManager.getRepository(RepositoryManager.java:81)
>         at 
> org.nuxeo.ecm.core.api.local.LocalSession.lookupRepository(LocalSession.java:116)
>         at 
> org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:86)
>         ... 36 more
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> java.io.IOException. message: Premature end of file.
>         at org.apache.jackrabbit.core.util.DOMWalker.<init>(DOMWalker.java:65)
>         at 
> org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.<init>(NodeTypeReader.java:96)
>         at 
> org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.read(NodeTypeReader.java:69)
>         at 
> org.apache.jackrabbit.core.nodetype.NodeTypeDefStore.load(NodeTypeDefStore.java:55)
>         at 
> org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.loadCustomNodeTypeDefs(NodeTypeRegistry.java:850)
>         ... 48 more
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> org.xml.sax.SAXParseException. message: Premature end of
> file.
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
>         at org.apache.jackrabbit.core.util.DOMWalker.<init>(DOMWalker.java:60)
>         ... 52 more
> Could resolve this, as could locate the fault. But was finally able to access 
> the Nuxeo home page at http://localhost:8080/nuxeo/
> ~~~~~~~~~~~~
> Problem (9)
> ~~~~~~~~~~~~
> Tried to access ... http://magellan:8080/nuxeo/sites and received the 
> following error ...
> org.nuxeo.ecm.webengine.model.exceptions.WebDocumentException
>       at org.nuxeo.ecm.webengine.WebException.wrap(WebException.java:169)
>       at org.nuxeo.ecm.webengine.WebException.wrap(WebException.java:152)
>       at org.nuxeo.webengine.sites.Sites.dispatch(Sites.java:80)
>       at org.nuxeo.webengine.sites.Sites.doGet(Sites.java:63)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
>       at 
> org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
>       at 
> org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
>       at 
> org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:151)
>       at 
> org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:95)
>       at 
> org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
>       at 
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
>       at 
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
>       at 
> org.nuxeo.ecm.webengine.server.resteasy.WebEngineServlet.service(WebEngineServlet.java:197)
>       at 
> org.nuxeo.ecm.webengine.server.resteasy.WebEngineServlet.service(WebEngineServlet.java:158)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:468)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>       at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>       at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>       at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>       at java.lang.Thread.run(Thread.java:619)
> Caused by: org.nuxeo.ecm.core.api.ClientException: Failed to execute query: 
> Exception building query: javax.jcr.nodetype.NoSuchNodeTypeException: 
> {http://nuxeo.org/ecm/jcr/docs}WebSite
>       at 
> org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1404)
>       at 
> org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1300)
>       at 
> org.nuxeo.webengine.sites.utils.SiteQueriesColection.queryAllSites(SiteQueriesColection.java:73)
>       at org.nuxeo.webengine.sites.Sites.getWebContainers(Sites.java:88)
>       at org.nuxeo.webengine.sites.Sites.dispatch(Sites.java:70)
>       ... 31 more
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> org.nuxeo.ecm.core.query.QueryException. message: Failed to execute query
>       at org.nuxeo.ecm.core.repository.jcr.JCRQuery.execute(JCRQuery.java:102)
>       at org.nuxeo.ecm.core.repository.jcr.JCRQuery.execute(JCRQuery.java:74)
>       at 
> org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1358)
>       ... 35 more
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> javax.jcr.RepositoryException. message: Exception building query: 
> javax.jcr.nodetype.NoSuchNodeTypeException: 
> {http://nuxeo.org/ecm/jcr/docs}WebSite
>       at 
> org.apache.jackrabbit.core.query.lucene.LuceneQueryBuilder.createQuery(LuceneQueryBuilder.java:224)
>       at 
> org.apache.jackrabbit.core.query.lucene.QueryImpl.execute(QueryImpl.java:109)
>       at 
> org.apache.jackrabbit.core.query.QueryImpl.execute(QueryImpl.java:177)
>       at org.nuxeo.ecm.core.repository.jcr.JCRQuery.execute(JCRQuery.java:99)
>       ... 37 more
> Gave-up as could not resolve this error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to