Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying a war web app (not exploded) shows erros in the output of the server WF 26.1.2 #554

Open
odockal opened this issue Oct 17, 2022 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@odockal
Copy link
Contributor

odockal commented Oct 17, 2022

I am trying to deploy a web app using war file on a WF server 26.1.2, all is based on Java 17 and I am getting errors in server output when deploying should have happened.

09:26:03,444 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "java-webapp.war" (runtime-name : "java-webapp.war")
09:26:03,444 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
WFLYCTL0185:    Newly corrected services:
      service jboss.ejb.remote.client-mappings.http-remoting-connector (new available)
      service org.wildfly.clustering.group.ejb (new available)
      service org.wildfly.clustering.infinispan.cache.store.ejb.passivation (new available)
      service org.wildfly.clustering.infinispan.cache-configuration.ejb.passivation.expiration (new available)
      service org.wildfly.clustering.infinispan.cache-configuration.ejb.passivation.locking (new available)
      service org.wildfly.clustering.infinispan.cache-configuration.ejb.passivation.memory (new available)
      service org.wildfly.clustering.infinispan.cache-configuration.ejb.passivation.transaction (new available)
WFLYCTL0186:   Services which failed to start:      service org.wildfly.clustering.infinispan.cache-container-configuration.ejb: java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.clustering.marshalling.protostream.util.UtilMarshallerProvider
WFLYCTL0448: 7 additional services are down due to their dependencies being missing or failed
09:28:03,581 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment java-webapp.war (runtime-name: java-webapp.war) in 10ms
09:28:03,586 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "java-webapp.war" (runtime-name: "java-webapp.war")
09:28:03,701 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-container-configuration.ejb: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-container-configuration.ejb: java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.clustering.marshalling.protostream.util.UtilMarshallerProvider
	at [email protected]//org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
	at [email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
	at [email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
	at [email protected]//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
	at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
	at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
	at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
	at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.clustering.marshalling.protostream.util.UtilMarshallerProvider
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.lang.Class.getEnumConstantsShared(Class.java:3837)
	at java.base/java.lang.System$2.getEnumConstantsShared(System.java:2284)
	at java.base/java.util.EnumSet.getUniverse(EnumSet.java:408)
	at java.base/java.util.EnumSet.noneOf(EnumSet.java:111)
	at java.base/java.util.EnumSet.allOf(EnumSet.java:132)
	at [email protected]//org.wildfly.clustering.marshalling.protostream.ProviderSerializationContextInitializer.registerMarshallers(ProviderSerializationContextInitializer.java:46)
	at [email protected]//org.wildfly.clustering.marshalling.protostream.SerializationContextInitializerProvider.registerMarshallers(SerializationContextInitializerProvider.java:54)
	at [email protected]//org.wildfly.clustering.marshalling.protostream.SerializationContextBuilder.init(SerializationContextBuilder.java:138)
	at [email protected]//org.wildfly.clustering.marshalling.protostream.SerializationContextBuilder.register(SerializationContextBuilder.java:90)
	at [email protected]//org.wildfly.clustering.marshalling.protostream.SerializationContextBuilder.<init>(SerializationContextBuilder.java:53)
	at [email protected]//org.wildfly.clustering.infinispan.marshalling.protostream.ProtoStreamMarshaller.<init>(ProtoStreamMarshaller.java:40)
	at [email protected]//org.wildfly.clustering.infinispan.spi.marshalling.InfinispanProtoStreamMarshaller.<init>(InfinispanProtoStreamMarshaller.java:38)
	at [email protected]//org.wildfly.clustering.infinispan.spi.marshalling.InfinispanMarshallerFactory$3.apply(InfinispanMarshallerFactory.java:67)
	at [email protected]//org.wildfly.clustering.infinispan.spi.marshalling.InfinispanMarshallerFactory$3.apply(InfinispanMarshallerFactory.java:64)
	at [email protected]//org.jboss.as.clustering.infinispan.subsystem.GlobalConfigurationServiceConfigurator.get(GlobalConfigurationServiceConfigurator.java:126)
	at [email protected]//org.jboss.as.clustering.infinispan.subsystem.GlobalConfigurationServiceConfigurator.get(GlobalConfigurationServiceConfigurator.java:78)
	at [email protected]//org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
	... 8 more

09:28:03,759 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0016: Replaced deployment "java-webapp.war" with deployment "java-webapp.war"
09:28:03,760 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service org.wildfly.clustering.infinispan.cache-container-configuration.ejb: java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.clustering.marshalling.protostream.util.UtilMarshallerProvider

09:42:53,299 WARN  [org.jboss.as.server.deployment.scanner] (pool-9-thread-2) WFLYDS0006: Reliable deployment behaviour is not possible when auto-deployment of exploded content is enabled (i.e. deployment without use of ".dodeploy"' marker files). Configuration of auto-deployment of exploded content is not recommended in any situation where reliability is desired. Configuring the deployment scanner's auto-deploy-exploded setting to "false" is recommended.
09:42:53,320 INFO  [org.jboss.as.controller] (pool-9-thread-2) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service org.wildfly.clustering.infinispan.cache-container-configuration.ejb: java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.clustering.marshalling.protostream.util.UtilMarshallerProvider
@odockal odockal added the kind/bug Something isn't working label Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants