Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-4849

Impossible to deploy Jahia6.0 EE in Websphere

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • xCM 6.0.0
    • xCM 6.0.0
    • None

    Description

      60 r28290

      [9/25/09 18:17:07:173 CEST] 00000073 SystemOut O 2009-09-25 18:17:07,172: ERROR [BundleDbPersistenceManager] - failed to read bundle: e9c97bbb-9b25-42eb-9cab-12863c946d65: javax.jcr.RepositoryException: Naming exception using javax.naming.InitialContext url: java:comp/env/jdbc/jahia: A JNDI operation on a "java:" name cannot be completed because the serverruntime is not able to associate the operation's thread with any J2EE application component. This condition can occur when the JNDI client using the "java:" name is not executed on the thread of a server application request. Make sure that a J2EE application does not execute JNDI operations on "java:" names within static code blocks or in threads created by that J2EE application. Such code does not necessarily run on the thread of a server application request and therefore is not supported by JNDI operations on "java:" names.: A JNDI operation on a "java:" name cannot be completed because the serverruntime is not able to associate the operation's thread with any J2EE application component. This condition can occur when the JNDI client using the "java:" name is not executed on the thread of a server application request. Make sure that a J2EE application does not execute JNDI operations on "java:" names within static code blocks or in threads created by that J2EE application. Such code does not necessarily run on the thread of a server application request and therefore is not supported by JNDI operations on "java:" names.
      [9/25/09 18:17:07:678 CEST] 00000073 javaURLContex E NMSV0310E: A JNDI operation on a "java:" name cannot be completed because the server runtime is not able to associate the operation's thread with any J2EE application component. This condition can occur when the JNDI client using the "java:" name is not executed on the thread of a server application request. Make sure that a J2EE application does not execute JNDI operations on "java:" names within static code blocks or in threads created by that J2EE application. Such code does not necessarily run on the thread of a server application request and therefore is not supported by JNDI operations on "java:" names. Exception stack trace:
      javax.naming.ConfigurationException [Root exception is javax.naming.NameNotFoundException: Name comp/env/jdbc not found in context "java:".]
      at com.ibm.ws.naming.java.javaURLContextImpl.throwConfigurationExceptionWithDefaultJavaNS(javaURLContextImpl.java:411)
      at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:388)
      at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:205)
      at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:145)
      at javax.naming.InitialContext.lookup(InitialContext.java:363)
      at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionFactory.getConnection(ConnectionFactory.java:65)
      at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.setupConnection(ConnectionRecoveryManager.java:334)
      at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.reestablishConnection(ConnectionRecoveryManager.java:409)
      at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.getConnection(ConnectionRecoveryManager.java:159)
      at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:293)
      at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:261)
      at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:239)
      at org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1135)
      at org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1093)
      at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:670)
      at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.exists(AbstractBundlePersistenceManager.java:484)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.hasNonVirtualItemState(SharedItemStateManager.java:1337)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.hasItemState(SharedItemStateManager.java:296)
      at org.apache.jackrabbit.core.state.XAItemStateManager.hasItemState(XAItemStateManager.java:288)
      at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:181)
      at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:282)
      at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:228)
      at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:493)
      at org.apache.jackrabbit.core.ItemImpl.restoreTransientItems(ItemImpl.java:633)
      at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1123)
      at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:846)
      at org.jahia.services.content.JCRSessionWrapper.save(JCRSessionWrapper.java:183)
      at org.jahia.services.content.JCRItemWrapperImpl.saveSession(JCRItemWrapperImpl.java:107)
      at org.jahia.services.importexport.DocumentViewImportHandler.endDocument(DocumentViewImportHandler.java:271)
      at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
      at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
      at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
      at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at org.jahia.services.importexport.ImportExportBaseService.handleImport(ImportExportBaseService.java:1468)
      at org.jahia.services.importexport.ImportExportBaseService.importFile(ImportExportBaseService.java:793)
      at org.jahia.services.importexport.ImportExportBaseService.importFile(ImportExportBaseService.java:727)
      at org.jahia.services.importexport.ImportExportBaseService$$FastClassByCGLIB$$de1c40f7.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
      at org.jahia.services.importexport.ImportExportBaseService$$EnhancerByCGLIB$$eec9e136.importFile(<generated>)
      at org.jahia.services.importexport.ImportJob.executeJahiaJob(ImportJob.java:93)
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:150)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
      Caused by: javax.naming.NameNotFoundException: Name comp/env/jdbc not found in context "java:".
      at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1767)
      at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1083)
      at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991)
      at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)
      at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384)
      ... 55 more

      TestRail: Results

        Attachments

          Activity

            People

              shuber_old Serge Huber (Inactive)
              dsaulnier_old Damien Saulnier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 6.0.0