SHARE
TWEET

Untitled

a guest Sep 22nd, 2016 117 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 00:46:44,742 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 53) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
  2.     at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
  3.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  4.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  5.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  6.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  7.     at java.lang.Thread.run(Thread.java:745)
  8.     at org.jboss.threads.JBossThread.run(JBossThread.java:320)
  9. Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
  10.     at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:162)
  11.     at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)
  12.     at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)
  13.     at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)
  14.     at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)
  15.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
  16.     at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
  17.     at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
  18.     at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
  19.     at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)
  20.     at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)
  21.     at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)
  22.     at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)
  23.     at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
  24.     ... 6 more
  25. Caused by: javax.persistence.PersistenceException: java.sql.SQLException: IJ031017: You cannot set autocommit during a managed transaction
  26.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)
  27.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)
  28.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:1700)
  29.     at org.hibernate.jpa.internal.TransactionImpl.begin(TransactionImpl.java:48)
  30.     at org.keycloak.connections.jpa.JpaKeycloakTransaction.begin(JpaKeycloakTransaction.java:39)
  31.     at org.keycloak.services.DefaultKeycloakTransactionManager.enlist(DefaultKeycloakTransactionManager.java:51)
  32.     at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:96)
  33.     at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:63)
  34.     at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:158)
  35.     at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:51)
  36.     at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:33)
  37.     at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:158)
  38.     at org.keycloak.models.cache.infinispan.RealmCacheSession.getDelegate(RealmCacheSession.java:161)
  39.     at org.keycloak.models.cache.infinispan.RealmCacheSession.getRealms(RealmCacheSession.java:424)
  40.     at hello.HelloResourceProviderFactory.lambda$postInit$0(HelloResourceProviderFactory.java:49)
  41.     at org.keycloak.models.utils.KeycloakModelUtils.runJobInTransaction(KeycloakModelUtils.java:295)
  42.     at hello.HelloResourceProviderFactory.postInit(HelloResourceProviderFactory.java:47)
  43.     at org.keycloak.services.DefaultKeycloakSessionFactory.init(DefaultKeycloakSessionFactory.java:94)
  44.     at org.keycloak.services.resources.KeycloakApplication.createSessionFactory(KeycloakApplication.java:296)
  45.     at org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:93)
  46.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  47.     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  48.     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  49.     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  50.     at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)
  51.     ... 19 more
  52. Caused by: java.sql.SQLException: IJ031017: You cannot set autocommit during a managed transaction
  53.     at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.setJdbcAutoCommit(BaseWrapperManagedConnection.java:994)
  54.     at org.jboss.jca.adapters.jdbc.WrappedConnection.setAutoCommit(WrappedConnection.java:787)
  55.     at org.hibernate.resource.jdbc.internal.AbstractLogicalConnectionImplementor.begin(AbstractLogicalConnectionImplementor.java:67)
  56.     at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.begin(LogicalConnectionManagedImpl.java:238)
  57.     at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.begin(JdbcResourceLocalTransactionCoordinatorImpl.java:214)
  58.     at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:52)
  59.     at org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1512)
  60.     at org.hibernate.jpa.internal.TransactionImpl.begin(TransactionImpl.java:45)
  61.     ... 40 more
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top