{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/2630","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/2630/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/2630/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/2630/events","html_url":"https://github.com/payara/Payara/issues/2630","id":314019091,"number":2630,"title":"Payara 4.181 won't start from intelliJ","user":{"login":"larslorenzen","id":2005397,"avatar_url":"https://avatars3.githubusercontent.com/u/2005397?v=4","gravatar_id":"","url":"https://api.github.com/users/larslorenzen","html_url":"https://github.com/larslorenzen","followers_url":"https://api.github.com/users/larslorenzen/followers","following_url":"https://api.github.com/users/larslorenzen/following{/other_user}","gists_url":"https://api.github.com/users/larslorenzen/gists{/gist_id}","starred_url":"https://api.github.com/users/larslorenzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larslorenzen/subscriptions","organizations_url":"https://api.github.com/users/larslorenzen/orgs","repos_url":"https://api.github.com/users/larslorenzen/repos","events_url":"https://api.github.com/users/larslorenzen/events{/privacy}","received_events_url":"https://api.github.com/users/larslorenzen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-13T08:43:33Z","updated_at":"2018-04-13T09:37:04Z","closed_at":null,"author_association":"NONE","body":"# Description #\r\n----------\r\n\r\nWhen trying to start a simple .war project (generated from the maven war archetype) in intelliJ, an exception is thrown and the server won't start.\r\nThe same project can be started without problems on payara-174 and payara-173.\r\n\r\n## Expected Outcome\r\n\r\nThe deployment from intelliJ should work like with the previous versions.\r\n\r\n## Current Outcome\r\n\r\nServer won't deploy the application, following stacktrace is produced:\r\n\r\n```\r\n[2018-04-13T10:12:37.828+0200] [Payara 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=45 _ThreadName=admin-thread-pool::admin-listener(1)] [timeMillis: 1523607157828] [levelValue: 1000] [[\r\n  Exception while deploying the app [payara-example]]]\r\n\r\n[2018-04-13T10:12:37.828+0200] [Payara 4.1] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=45 _ThreadName=admin-thread-pool::admin-listener(1)] [timeMillis: 1523607157828] [levelValue: 1000] [[\r\n  Exception during lifecycle processing\r\njava.lang.ExceptionInInitializerError\r\n\tat com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.<init>(XMLSchemaValidator.java:1130)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.configurePipeline(XML11Configuration.java:1206)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.configurePipeline(XIncludeAwareParserConfiguration.java:156)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)\r\n\tat com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)\r\n\tat com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:321)\r\n\tat com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:248)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:677)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:389)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:269)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:278)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:239)\r\n\tat com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:161)\r\n\tat org.glassfish.javaee.core.deployment.DolProvider.processDOL(DolProvider.java:199)\r\n\tat org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:223)\r\n\tat org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:91)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:882)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:822)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:379)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)\r\n\tat org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:508)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:544)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAs(Subject.java:360)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:539)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:570)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:562)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAs(Subject.java:360)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:561)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1469)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:111)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1851)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1727)\r\n\tat com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)\r\n\tat com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)\r\n\tat org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)\r\n\tat com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:483)\r\n\tat com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)\r\n\tat org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)\r\n\tat org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)\r\n\tat org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)\r\n\tat org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)\r\n\tat org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)\r\n\tat org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)\r\n\tat org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: com.sun.org.apache.xerces.internal.impl.dv.DVFactoryException: Schema factory class com.sun.org.apache.xerces.internal.impl.dv.xs.SchemaDVFactoryImpl does not extend from SchemaDVFactory.\r\n\tat com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.getInstance(SchemaDVFactory.java:75)\r\n\tat com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.getInstance(SchemaDVFactory.java:57)\r\n\tat com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar$BuiltinSchemaGrammar.<init>(SchemaGrammar.java:278)\r\n\tat com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar.<clinit>(SchemaGrammar.java:1296)\r\n\t... 61 more\r\n]]\r\n\r\n[2018-04-13T10:12:37.903+0200] [Payara 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=45 _ThreadName=admin-thread-pool::admin-listener(1)] [timeMillis: 1523607157903] [levelValue: 1000] [[\r\n  Exception while deploying the app [payara-example]\r\ncom.sun.org.apache.xerces.internal.impl.dv.DVFactoryException: Schema factory class com.sun.org.apache.xerces.internal.impl.dv.xs.SchemaDVFactoryImpl does not extend from SchemaDVFactory.\r\n\tat com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.getInstance(SchemaDVFactory.java:75)\r\n\tat com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.getInstance(SchemaDVFactory.java:57)\r\n\tat com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar$BuiltinSchemaGrammar.<init>(SchemaGrammar.java:278)\r\n\tat com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar.<clinit>(SchemaGrammar.java:1296)\r\n\tat com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.<init>(XMLSchemaValidator.java:1130)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.configurePipeline(XML11Configuration.java:1206)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.configurePipeline(XIncludeAwareParserConfiguration.java:156)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)\r\n\tat com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)\r\n\tat com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:321)\r\n\tat com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:248)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:677)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:389)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:269)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:278)\r\n\tat com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:239)\r\n\tat com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:161)\r\n\tat org.glassfish.javaee.core.deployment.DolProvider.processDOL(DolProvider.java:199)\r\n\tat org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:223)\r\n\tat org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:91)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:882)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:822)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:379)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)\r\n\tat org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:508)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:544)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAs(Subject.java:360)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:539)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:570)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:562)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAs(Subject.java:360)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:561)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1469)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:111)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1851)\r\n\tat com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1727)\r\n\tat com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)\r\n\tat com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)\r\n\tat org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)\r\n\tat com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:483)\r\n\tat com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)\r\n\tat org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)\r\n\tat org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)\r\n\tat org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)\r\n\tat org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)\r\n\tat org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)\r\n\tat org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)\r\n\tat org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n]]\r\n```\r\n\r\n## Steps to reproduce (Only for bug reports) \r\n\r\n1-** Create a simple maven .war project and make sure it has a web.xml. The web.xml file is important. Without it the deployment works.\r\n\r\n2-** Import the project in intelliJ\r\n\r\n3-** Create a run configuration for the 4.181 payara and select the current project as exploded war.\r\n\r\n4-** Start in run or debug mode.\r\n\r\n### Samples\r\n\r\nThe sample project can be found in my github repo: https://github.com/larslorenzen/payara-example\r\n\r\n## Context (Optional)\r\n\r\nThe same exception occurs also on the computers of my colleagues (all mac OS).\r\n\r\n## Environment ##\r\n\r\n- **Payara Version**: 4.1.2.181\r\n- **Edition**: Full\r\n- **JDK Version**:  1.8.0_162 Oracle\r\n- **Operating System**:  Linux OS High Sierra 10.13.4\r\n-** IntelliJ\r\nIntelliJ IDEA 2018.1 (Ultimate Edition)\r\nBuild #IU-181.4203.550, built on March 26, 2018\r\nJRE: 1.8.0_152-release-1136-b20 x86_64\r\nJVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o\r\nmacOS 10.13.4\r\n"},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/381082004","html_url":"https://github.com/payara/Payara/issues/2630#issuecomment-381082004","issue_url":"https://api.github.com/repos/payara/Payara/issues/2630","id":381082004,"user":{"login":"larslorenzen","id":2005397,"avatar_url":"https://avatars3.githubusercontent.com/u/2005397?v=4","gravatar_id":"","url":"https://api.github.com/users/larslorenzen","html_url":"https://github.com/larslorenzen","followers_url":"https://api.github.com/users/larslorenzen/followers","following_url":"https://api.github.com/users/larslorenzen/following{/other_user}","gists_url":"https://api.github.com/users/larslorenzen/gists{/gist_id}","starred_url":"https://api.github.com/users/larslorenzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larslorenzen/subscriptions","organizations_url":"https://api.github.com/users/larslorenzen/orgs","repos_url":"https://api.github.com/users/larslorenzen/repos","events_url":"https://api.github.com/users/larslorenzen/events{/privacy}","received_events_url":"https://api.github.com/users/larslorenzen/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T09:37:04Z","updated_at":"2018-04-13T09:37:04Z","author_association":"NONE","body":"Deployment from the command line is working for the example project. "}}
{"actor":{"display_login":"larslorenzen"}}