Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7602

SAXNotRecognizedException when using JBoss EAP and WildFly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.1
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      JBoss EAP 7.2 or WildFly 17.0.1.Final

      Description

      While starting Magnolia 6.1.1 in the JBoss EAP 7.2 container the following warning is displayed:

      10:25:18,176 WARNING [org.apache.tika.utils.XMLReaderUtils] (ServerService Thread Pool -- 74) SAX Security Manager could not be setup [log suppressed for 5 minutes]: org.xml.sax.SAXNotRecognizedException: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
      	at org.apache.xerces.parsers.AbstractSAXParser.getProperty(AbstractSAXParser.java:2048)
      	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.setProperty(SAXParserImpl.java:508)
      	at org.apache.xerces.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:274)
      	at org.apache.tika.utils.XMLReaderUtils.buildPoolParser(XMLReaderUtils.java:809)
      	at org.apache.tika.utils.XMLReaderUtils.setPoolSize(XMLReaderUtils.java:611)
      	at org.apache.tika.utils.XMLReaderUtils.<clinit>(XMLReaderUtils.java:112)
      	at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:149)
      	at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:145)
      	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createParser(SearchIndex.java:1024)
      	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:571)
      	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:78)
      	at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:683)
      	at org.apache.jackrabbit.core.config.WorkspaceConfig.getQueryHandler(WorkspaceConfig.java:251)
      	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:171)
      	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1902)
      	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2135)
      	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:2038)
      	at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:544)
      	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:327)
      	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:616)
      	at org.apache.jackrabbit.core.jndi.BindableRepository.createRepository(BindableRepository.java:141)
      	at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:117)
      	at org.apache.jackrabbit.core.jndi.BindableRepository.<init>(BindableRepository.java:106)
      	at org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.getObjectInstance(BindableRepositoryFactory.java:52)
      	at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:74)
      	at info.magnolia.jackrabbit.ProviderImpl.init(ProviderImpl.java:240)
      	at info.magnolia.repository.DefaultRepositoryManager.loadRepository(DefaultRepositoryManager.java:259)
      	at info.magnolia.repository.DefaultRepositoryManager.loadRepositories(DefaultRepositoryManager.java:222)
      	at info.magnolia.repository.DefaultRepositoryManager.init(DefaultRepositoryManager.java:121)
      	at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:136)
      	at info.magnolia.init.MagnoliaServletContextListener$1.doExec(MagnoliaServletContextListener.java:259)
      	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:407)
      	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:404)
      	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:378)
      	at info.magnolia.init.MagnoliaServletContextListener.startServer(MagnoliaServletContextListener.java:256)
      	at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:182)
      	at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:128)
      	at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
      	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:216)
      	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:185)
      	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
      	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:250)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: