]
Gytis Trikleris commented on JBTM-2384:
---------------------------------------
Disabling jaxrs subsystem solves the problem.
Will check if new commits from WildFly master fix the issue
WildFly fails to start on Sansa because of missing
javax.servlet.ServletException class
---------------------------------------------------------------------------------------
Key: JBTM-2384
URL:
https://issues.jboss.org/browse/JBTM-2384
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Demonstrator
Reporter: Gytis Trikleris
Assignee: Gytis Trikleris
Priority: Blocker
Fix For: 5.next
{code}
[hudson@sansa wildfly-9.0.0.CR1-SNAPSHOT]$ ./bin/standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/hudson/gytis/wildfly-9.0.0.CR1-SNAPSHOT/
JAVA: /usr/local/jdk1.8.0/jre/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -server -XX:+UseCompressedOops -Xms64m
-Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true
-Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n
=========================================================================
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was
removed in 8.0
Listening for transport dt_socket at address: 8787
15:30:51,961 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final
15:30:52,230 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.4.Final
15:30:52,336 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0049: WildFly Full
9.0.0.CR1-SNAPSHOT (WildFly Core 1.0.0.Beta6) starting
15:30:54,086 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("parallel-extension-add") failed - address:
([]): java.lang.RuntimeException: WFLYCTL0079: Failed initializing module
org.jboss.as.jaxrs
at
org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:115)
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:803)
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:601)
at
org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:354)
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:330)
at
org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1185)
at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:432)
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:327)
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:313)
at org.jboss.as.server.ServerService.boot(ServerService.java:381)
at org.jboss.as.server.ServerService.boot(ServerService.java:356)
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:271)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError:
javax/servlet/ServletException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at
org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:107)
... 12 more
Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletException
at
org.jboss.as.jaxrs.JaxrsDeploymentDefinition.registerOperations(JaxrsDeploymentDefinition.java:92)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:153)
at
org.jboss.as.controller.extension.ExtensionRegistry$DeploymentManagementResourceRegistration.registerSubModel(ExtensionRegistry.java:863)
at
org.jboss.as.controller.extension.ExtensionRegistry$SubsystemRegistrationImpl.registerDeploymentModel(ExtensionRegistry.java:674)
at org.jboss.as.jaxrs.JaxrsExtension.initialize(JaxrsExtension.java:89)
at
org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131)
at
org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104)
at
org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144)
at
org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletException from [Module
"org.jboss.as.jaxrs:main" from local module loader @33cb5951 (finder: local
module finder @365c30cc (roots:
/home/hudson/gytis/wildfly-9.0.0.CR1-SNAPSHOT/modules,/home/hudson/gytis/wildfly-9.0.0.CR1-SNAPSHOT/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)
... 14 more
15:30:54,103 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server
boot has failed in an unrecoverable manner; exiting. See previous messages for details.
15:30:54,106 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been
requested.
15:30:54,140 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full
9.0.0.CR1-SNAPSHOT (WildFly Core 1.0.0.Beta6) stopped in 29ms
{code}