Issue with accessing webpage (uploaded on wildfly) - java

The creation of the docker container is made with this command:
docker run -p 8080:8080 -p 9990:9990 --name wildfly -d -it jboss/wildfly `/opt/jboss/wildfly/bin/standalone.sh -bmanagement 0.0.0.0`
When I'm creating the docker container I'm uploading a war file through the admin page which I can access on port 9990. As you can see from the log file, the upload of the war file
ends successfully and the context path is /TestProject, but when I try to access the broswer (http://localhost:8080/TestProject/.../) the message I recieve is "This page isn’t working".
The .war file is tested at locally installed wildfly and it's working.
Log file:
12:24:01,974 WARN [org.jboss.as.ee] (MSC service thread 1-1) WFLYEE0007: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
12:24:02,135 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-4) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
12:24:02,464 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started client-mappings cache from ejb container
12:24:02,580 INFO [io.undertow.servlet] (ServerService Thread Pool -- 66) 2 Spring WebApplicationInitializers detected on classpath
12:24:03,175 INFO [stdout] (ServerService Thread Pool -- 66)
12:24:03,176 INFO [stdout] (ServerService Thread Pool -- 66) . ____ _ __ _ _
12:24:03,176 INFO [stdout] (ServerService Thread Pool -- 66) /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
12:24:03,176 INFO [stdout] (ServerService Thread Pool -- 66) ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
12:24:03,176 INFO [stdout] (ServerService Thread Pool -- 66) \\/ ___)| |_)| | | | | || (_| | ) ) ) )
12:24:03,177 INFO [stdout] (ServerService Thread Pool -- 66) ' |____| .__|_| |_|_| |_\__, | / / / /
12:24:03,177 INFO [stdout] (ServerService Thread Pool -- 66) =========|_|==============|___/=/_/_/_/
12:24:03,179 INFO [stdout] (ServerService Thread Pool -- 66) :: Spring Boot :: (v1.4.2.RELEASE)
12:24:03,180 INFO [stdout] (ServerService Thread Pool -- 66)
12:24:03,252 INFO [com.musala.test.project.TestProjectApplication] (ServerService Thread Pool -- 66) Starting TestProjectApplication on 18aafab37ce1 with PID 53 (started by jboss in /opt/jboss)
12:24:03,253 INFO [com.musala.test.project.TestProjectApplication] (ServerService Thread Pool -- 66) No active profile set, falling back to default profiles: default
12:24:03,296 INFO [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext] (ServerService Thread Pool -- 66) Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext#4750038e: startup date [Wed Nov 08 12:24:03 UTC 2017]; root of context hierarchy
12:24:04,106 INFO [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor] (ServerService Thread Pool -- 66) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
12:24:04,134 INFO [io.undertow.servlet] (ServerService Thread Pool -- 66) Initializing Spring embedded WebApplicationContext
12:24:04,135 INFO [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 66) Root WebApplicationContext: initialization completed in 840 ms
12:24:04,581 INFO [org.springframework.boot.web.servlet.ServletRegistrationBean] (ServerService Thread Pool -- 66) Mapping servlet: 'dispatcherServlet' to [/]
12:24:04,585 INFO [org.springframework.boot.web.servlet.FilterRegistrationBean] (ServerService Thread Pool -- 66) Mapping filter: 'errorPageFilter' to: [/*]
12:24:04,588 INFO [org.springframework.boot.web.servlet.FilterRegistrationBean] (ServerService Thread Pool -- 66) Mapping filter: 'characterEncodingFilter' to: [/*]
12:24:04,588 INFO [org.springframework.boot.web.servlet.FilterRegistrationBean] (ServerService Thread Pool -- 66) Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
12:24:04,589 INFO [org.springframework.boot.web.servlet.FilterRegistrationBean] (ServerService Thread Pool -- 66) Mapping filter: 'httpPutFormContentFilter' to: [/*]
12:24:04,589 INFO [org.springframework.boot.web.servlet.FilterRegistrationBean] (ServerService Thread Pool -- 66) Mapping filter: 'requestContextFilter' to: [/*]
12:24:04,766 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter] (ServerService Thread Pool -- 66) Looking for #ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext#4750038e: startup date [Wed Nov 08 12:24:03 UTC 2017]; root of context hierarchy
12:24:04,808 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] (ServerService Thread Pool -- 66) Mapped "{[/hello]}" onto public java.lang.String com.musala.test.project.TestController.test()
12:24:04,813 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] (ServerService Thread Pool -- 66) Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
12:24:04,813 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] (ServerService Thread Pool -- 66) Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
12:24:04,853 INFO [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] (ServerService Thread Pool -- 66) Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
12:24:04,853 INFO [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] (ServerService Thread Pool -- 66) Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
12:24:04,877 INFO [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] (ServerService Thread Pool -- 66) Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
12:24:04,986 INFO [org.springframework.jmx.export.annotation.AnnotationMBeanExporter] (ServerService Thread Pool -- 66) Registering beans for JMX exposure on startup
12:24:04,997 INFO [com.musala.test.project.TestProjectApplication] (ServerService Thread Pool -- 66) Started TestProjectApplication in 2.33 seconds (JVM running for 1132.907)
12:24:05,044 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 66) Initializing Mojarra 2.2.13.SP4 for context '/TestProject'
12:24:05,911 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 66) WFLYUT0021: Registered web context: '/TestProject' for server 'default-server'
12:24:05,986 INFO [org.jboss.as.server] (External Management Request Threads -- 6) WFLYSRV0010: Deployed "TestProject.war" (runtime-name : "TestProject.war")
Created docker container (showing that the ports are open)
Any help would be much appreciated!

The issue is with running the container. Try adding access to the app from all interfaces:
docker run -p 8080:8080 -p 9990:9990 --name wildfly -d -it jboss/wildfly `/opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0`
The only thing that you were missing was: -b 0.0.0.0

Related

Connection from Ignite Client in Docker container to Ignite Server in another Docker container Issues

I have installed Ignite server running inside Docker container based on CentOS 7. I'm using this command to run Ignite Server Docker container:
docker run -dit --net=streams-net --name=ignite -p 47100:47100 -p 47500:47500 -p 47501:47501 -p 47502:47502 -p 47503:47503 -p 47504:47504 -p 47505:47505 -p 47506:47506 -p 47507:47507 -p 47508:47508 -p 47509:47509 -p 11211:11211 -p 49112:49112 ignite:latest
Here is my server config:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="cacheConfiguration">
<list>
<!-- Partitioned cache example configuration (Atomic mode). -->
<bean class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="default"/>
<property name="atomicityMode" value="ATOMIC"/>
<property name="backups" value="1"/>
</bean>
</list>
</property>
<!-- Explicitly configure TCP discovery SPI to provide list of initial nodes. -->
<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ipFinder">
<!--
Ignite provides several options for automatic discovery that can be used
instead os static IP based discovery. For information on all options refer
to our documentation: http://apacheignite.readme.io/docs/cluster-config
-->
<!-- Uncomment static IP finder to enable static-based discovery of initial nodes. -->
<!--<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">-->
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
<property name="addresses">
<list>
<!-- In distributed environment, replace with actual host IP address. -->
<value>172.20.0.2:47500..47509</value>
</list>
</property>
</bean>
</property>
</bean>
</property>
</bean>
</beans>
The connection from the host machine (Mac OS) to Ignite server in Docker is working and its fine, but when I'm trying to run my client application in another Docker container (based on Jboss/Wildfly image) I get an exception. Telnet from Wildfly container to Ignite container is successfully connected.
Here is my client code:
TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
ipFinder.setAddresses(Arrays.asList("172.20.0.2:47500..47509"));
TcpDiscoverySpi discoverySpi = new TcpDiscoverySpi();
discoverySpi.setLocalPort(47500);
discoverySpi.setLocalPortRange(9);
discoverySpi.setIpFinder(ipFinder);
TcpCommunicationSpi commSpi = new TcpCommunicationSpi();
commSpi.setLocalPort(47100);
IgniteConfiguration cfg = new IgniteConfiguration();
cfg.setDiscoverySpi(discoverySpi);
cfg.setCommunicationSpi(commSpi);
cfg.setClientMode(true);
//cfg.setPeerClassLoadingEnabled(true);
try (Ignite ignite = Ignition.start(cfg)) {
IgniteCache<Integer, String> cache = ignite.getOrCreateCache("data");
for (int i = 100; i < 110; i++) {
cache.put(i, Integer.toString(i));
System.out.println("Record was added " + i);
}
Thread.sleep(999999);
}
Here is log from client:
2019-12-19 09:11:37,936 INFO [io.smallrye.metrics] (MSC service thread 1-8) MicroProfile: Metrics activated
2019-12-19 09:11:38,105 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 76) WFLYCLINF0002: Started client-mappings cache from ejb container
2019-12-19 09:11:38,713 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] (wrn) Failed to resolve IGNITE_HOME automatically for class codebase [class=class o.a.i.i.util.IgniteUtils, e=URI scheme is not "file"]
2019-12-19 09:11:38,715 ERROR [stderr] (ServerService Thread Pool -- 81)
2019-12-19 09:11:38,722 WARNING [] (ServerService Thread Pool -- 81) Failed to resolve default logging config file: config/java.util.logging.properties
2019-12-19 09:11:38,724 ERROR [stderr] (ServerService Thread Pool -- 81) Console logging handler is not configured.
2019-12-19 09:11:38,727 WARNING [org.apache.ignite.internal.util.typedef.G] (ServerService Thread Pool -- 81) Ignite work directory is not provided, automatically resolved to: /opt/jboss/ignite/work
2019-12-19 09:11:38,871 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81)
>>> __________ ________________
>>> / _/ ___/ |/ / _/_ __/ __/
>>> _/ // (7 7 // / / / / _/
>>> /___/\___/_/|_/___/ /_/ /___/
>>>
>>> ver. 2.7.6#20190911-sha1:21f7ca41
>>> 2019 Copyright(C) Apache Software Foundation
>>>
>>> Ignite documentation: http://ignite.apache.org
2019-12-19 09:11:38,875 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] __________ ________________
2019-12-19 09:11:38,876 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] / _/ ___/ |/ / _/_ __/ __/
2019-12-19 09:11:38,878 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] _/ // (7 7 // / / / / _/
2019-12-19 09:11:38,881 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] /___/\___/_/|_/___/ /_/ /___/
2019-12-19 09:11:38,881 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38]
2019-12-19 09:11:38,883 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] ver. 2.7.6#20190911-sha1:21f7ca41
2019-12-19 09:11:38,884 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] 2019 Copyright(C) Apache Software Foundation
2019-12-19 09:11:38,885 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38]
2019-12-19 09:11:38,886 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] Ignite documentation: http://ignite.apache.org
2019-12-19 09:11:38,887 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38]
2019-12-19 09:11:38,887 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] Quiet mode.
2019-12-19 09:11:38,898 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] ^-- Logging by 'JavaLogger [quiet=true, config=null]'
2019-12-19 09:11:38,899 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
2019-12-19 09:11:38,900 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38]
2019-12-19 09:11:38,900 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Config URL: n/a
2019-12-19 09:11:38,922 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) IgniteConfiguration [igniteInstanceName=null, pubPoolSize=8, svcPoolSize=8, callbackPoolSize=8, stripedPoolSize=8, sysPoolSize=8, mgmtPoolSize=4, igfsPoolSize=4, dataStreamerPoolSize=8, utilityCachePoolSize=8, utilityCacheKeepAliveTime=60000, p2pPoolSize=2, qryPoolSize=8, igniteHome=null, igniteWorkDir=/opt/jboss/ignite/work, mbeanSrv=org.jboss.as.jmx.PluggableMBeanServerImpl#6dfabbe3, nodeId=518ef744-d8da-41e4-a907-a2d8b541e89c, marsh=BinaryMarshaller [], marshLocJobs=false, daemon=false, p2pEnabled=false, netTimeout=5000, sndRetryDelay=1000, sndRetryCnt=3, metricsHistSize=10000, metricsUpdateFreq=2000, metricsExpTime=9223372036854775807, discoSpi=TcpDiscoverySpi [addrRslvr=null, sockTimeout=0, ackTimeout=0, marsh=null, reconCnt=10, reconDelay=2000, maxAckTimeout=600000, forceSrvMode=false, clientReconnectDisabled=false, internalLsnr=null], segPlc=STOP, segResolveAttempts=2, waitForSegOnStart=true, allResolversPassReq=true, segChkFreq=10000, commSpi=TcpCommunicationSpi [connectGate=null, connPlc=org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$FirstConnectionPolicy#612791b7, enableForcibleNodeKill=false, enableTroubleshootingLog=false, locAddr=null, locHost=null, locPort=47100, locPortRange=100, shmemPort=-1, directBuf=true, directSndBuf=false, idleConnTimeout=600000, connTimeout=5000, maxConnTimeout=600000, reconCnt=10, sockSndBuf=32768, sockRcvBuf=32768, msgQueueLimit=0, slowClientQueueLimit=0, nioSrvr=null, shmemSrv=null, usePairedConnections=false, connectionsPerNode=1, tcpNoDelay=true, filterReachableAddresses=false, ackSndThreshold=32, unackedMsgsBufSize=0, sockWriteTimeout=2000, boundTcpPort=-1, boundTcpShmemPort=-1, selectorsCnt=4, selectorSpins=0, addrRslvr=null, ctxInitLatch=java.util.concurrent.CountDownLatch#3ba79825[Count = 1], stopping=false], evtSpi=org.apache.ignite.spi.eventstorage.NoopEventStorageSpi#56c02b1c, colSpi=NoopCollisionSpi [], deploySpi=LocalDeploymentSpi [], indexingSpi=org.apache.ignite.spi.indexing.noop.NoopIndexingSpi#7368d9cb, addrRslvr=null, encryptionSpi=org.apache.ignite.spi.encryption.noop.NoopEncryptionSpi#24279471, clientMode=true, rebalanceThreadPoolSize=1, txCfg=TransactionConfiguration [txSerEnabled=false, dfltIsolation=REPEATABLE_READ, dfltConcurrency=PESSIMISTIC, dfltTxTimeout=0, txTimeoutOnPartitionMapExchange=0, pessimisticTxLogSize=0, pessimisticTxLogLinger=10000, tmLookupClsName=null, txManagerFactory=null, useJtaSync=false], cacheSanityCheckEnabled=true, discoStartupDelay=60000, deployMode=SHARED, p2pMissedCacheSize=100, locHost=null, timeSrvPortBase=31100, timeSrvPortRange=100, failureDetectionTimeout=10000, sysWorkerBlockedTimeout=null, clientFailureDetectionTimeout=30000, metricsLogFreq=60000, hadoopCfg=null, connectorCfg=ConnectorConfiguration [jettyPath=null, host=null, port=11211, noDelay=true, directBuf=false, sndBufSize=32768, rcvBufSize=32768, idleQryCurTimeout=600000, idleQryCurCheckFreq=60000, sndQueueLimit=0, selectorCnt=4, idleTimeout=7000, sslEnabled=false, sslClientAuth=false, sslCtxFactory=null, sslFactory=null, portRange=100, threadPoolSize=8, msgInterceptor=null], odbcCfg=null, warmupClos=null, atomicCfg=AtomicConfiguration [seqReserveSize=1000, cacheMode=PARTITIONED, backups=1, aff=null, grpName=null], classLdr=null, sslCtxFactory=null, platformCfg=null, binaryCfg=null, memCfg=null, pstCfg=null, dsCfg=null, activeOnStart=true, autoActivation=true, longQryWarnTimeout=3000, sqlConnCfg=null, cliConnCfg=ClientConnectorConfiguration [host=null, port=10800, portRange=100, sockSndBufSize=0, sockRcvBufSize=0, tcpNoDelay=true, maxOpenCursorsPerConn=128, threadPoolSize=8, idleTimeout=0, jdbcEnabled=true, odbcEnabled=true, thinCliEnabled=true, sslEnabled=false, useIgniteSslCtxFactory=true, sslClientAuth=false, sslCtxFactory=null], mvccVacuumThreadCnt=2, mvccVacuumFreq=5000, authEnabled=false, failureHnd=null, commFailureRslvr=null]
2019-12-19 09:11:38,923 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Daemon mode: off
2019-12-19 09:11:38,925 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] OS: Linux 4.9.184-linuxkit amd64
2019-12-19 09:11:38,926 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) OS: Linux 4.9.184-linuxkit amd64
2019-12-19 09:11:38,927 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) OS user: jboss
2019-12-19 09:11:38,937 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) PID: 318
2019-12-19 09:11:38,938 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:38] VM information: OpenJDK Runtime Environment 11.0.5+10-LTS Oracle Corporation OpenJDK 64-Bit Server VM 11.0.5+10-LTS
2019-12-19 09:11:38,939 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Language runtime: Java Platform API Specification ver. 11
2019-12-19 09:11:38,940 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) VM information: OpenJDK Runtime Environment 11.0.5+10-LTS Oracle Corporation OpenJDK 64-Bit Server VM 11.0.5+10-LTS
2019-12-19 09:11:38,941 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) VM total memory: 0.5GB
2019-12-19 09:11:38,942 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Remote Management [restart: off, REST: off, JMX (remote: off)]
2019-12-19 09:11:38,943 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Logger: JavaLogger [quiet=true, config=null]
2019-12-19 09:11:38,943 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) IGNITE_HOME=null
2019-12-19 09:11:38,944 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) VM arguments: [-D[Standalone], -Xms64m, -Xmx512m, -XX:MetaspaceSize=96M, -XX:MaxMetaspaceSize=256m, -Djava.net.preferIPv4Stack=true, -Djboss.modules.system.pkgs=org.jboss.byteman, -Djava.awt.headless=true, --add-exports=java.base/sun.nio.ch=ALL-UNNAMED, --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED, --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED, -Dorg.jboss.boot.log.file=/opt/jboss/wildfly/standalone/log/server.log, -Dlogging.configuration=file:/opt/jboss/wildfly/standalone/configuration/logging.properties]
2019-12-19 09:11:38,957 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Configured caches [in 'sysMemPlc' dataRegion: ['ignite-sys-cache']]
2019-12-19 09:11:38,967 WARNING [org.apache.ignite.internal.GridDiagnostic] (pub-#22) Initial heap size is 64MB (should be no less than 512MB, use -Xms512m -Xmx512m).
2019-12-19 09:11:38,978 INFO [stdout] (pub-#22) [09:11:38] Initial heap size is 64MB (should be no less than 512MB, use -Xms512m -Xmx512m).
2019-12-19 09:11:39,063 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:39] Configured plugins:
2019-12-19 09:11:39,064 INFO [org.apache.ignite.internal.processors.plugin.IgnitePluginProcessor] (ServerService Thread Pool -- 81) Configured plugins:
2019-12-19 09:11:39,064 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:39] ^-- None
2019-12-19 09:11:39,065 INFO [org.apache.ignite.internal.processors.plugin.IgnitePluginProcessor] (ServerService Thread Pool -- 81) ^-- None
2019-12-19 09:11:39,066 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:39]
2019-12-19 09:11:39,067 INFO [org.apache.ignite.internal.processors.plugin.IgnitePluginProcessor] (ServerService Thread Pool -- 81)
2019-12-19 09:11:39,071 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:39] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=[SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]]]
2019-12-19 09:11:39,071 INFO [org.apache.ignite.internal.processors.failure.FailureProcessor] (ServerService Thread Pool -- 81) Configured failure handler: [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=[SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]]]
2019-12-19 09:11:39,121 INFO [org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi] (ServerService Thread Pool -- 81) Successfully bound communication NIO server to TCP port [port=47100, locHost=0.0.0.0/0.0.0.0, selectorsCnt=4, selectorSpins=0, pairedConn=false]
2019-12-19 09:11:39,125 WARNING [org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi] (ServerService Thread Pool -- 81) Message queue limit is set to 0 which may lead to potential OOMEs when running cache operations in FULL_ASYNC or PRIMARY_SYNC modes due to message queues growth on sender and receiver sides.
2019-12-19 09:11:39,126 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:39] Message queue limit is set to 0 which may lead to potential OOMEs when running cache operations in FULL_ASYNC or PRIMARY_SYNC modes due to message queues growth on sender and receiver sides.
2019-12-19 09:11:39,147 WARNING [org.apache.ignite.spi.checkpoint.noop.NoopCheckpointSpi] (ServerService Thread Pool -- 81) Checkpoints are disabled (to enable configure any GridCheckpointSpi implementation)
2019-12-19 09:11:39,183 WARNING [org.apache.ignite.internal.managers.collision.GridCollisionManager] (ServerService Thread Pool -- 81) Collision resolution is disabled (all jobs will be activated upon arrival).
2019-12-19 09:11:39,190 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:39] Security status [authentication=off, tls/ssl=off]
2019-12-19 09:11:39,191 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Security status [authentication=off, tls/ssl=off]
2019-12-19 09:11:39,341 SEVERE [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Exception during start processors, node will be stopped and close connections: class org.apache.ignite.binary.BinaryObjectException: Failed to find empty constructor for class: org.apache.ignite.internal.processors.platform.websession.PlatformDotNetSessionLockResult
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryClassDescriptor.constructor(BinaryClassDescriptor.java:981)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryClassDescriptor.<init>(BinaryClassDescriptor.java:267)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryContext.registerPredefinedType(BinaryContext.java:1063)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryContext.registerPredefinedType(BinaryContext.java:1048)
2019-12-19 09:11:39,355 SEVERE [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Got exception while starting (will rollback startup routine).: class org.apache.ignite.binary.BinaryObjectException: Failed to find empty constructor for class: org.apache.ignite.internal.processors.platform.websession.PlatformDotNetSessionLockResult
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryClassDescriptor.constructor(BinaryClassDescriptor.java:981)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryClassDescriptor.<init>(BinaryClassDescriptor.java:267)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryContext.registerPredefinedType(BinaryContext.java:1063)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryContext.registerPredefinedType(BinaryContext.java:1048)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryContext.<init>(BinaryContext.java:350)
at deployment.StreamsApp.ear//org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl.start(CacheObjectBinaryProcessorImpl.java:208)
at deployment.StreamsApp.ear//org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1700)
at deployment.StreamsApp.ear//org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1013)
at deployment.StreamsApp.ear//org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2038)
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)
at org.jboss.as.ejb3#18.0.1.Final//org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:127)
at org.jboss.as.ejb3#18.0.1.Final//org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:141)
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
at java.base/java.lang.Thread.run(Thread.java:834)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
2019-12-19 09:11:39,364 WARNING [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81) Attempt to stop starting grid. This operation cannot be guaranteed to be successful.
2019-12-19 09:11:39,380 INFO [stdout] (ServerService Thread Pool -- 81) [09:11:39] Ignite node stopped OK [uptime=00:00:02.180]
2019-12-19 09:11:39,381 INFO [org.apache.ignite.internal.IgniteKernal] (ServerService Thread Pool -- 81)
>>> +---------------------------------------------------------------------------------+
>>> Ignite ver. 2.7.6#20190911-sha1:21f7ca41c4348909e2fd26ccf59b5b2ce1f4474e stopped OK
>>> +---------------------------------------------------------------------------------+
>>> Grid uptime: 00:00:02.180
2019-12-19 09:11:39,404 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 81) MSC000001: Failed to start service jboss.deployment.subunit."StreamsApp.ear"."Streams.jar".component.Main.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."StreamsApp.ear"."Streams.jar".component.Main.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
at java.base/java.lang.Thread.run(Thread.java:834)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)
at org.jboss.as.ejb3#18.0.1.Final//org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:127)
at org.jboss.as.ejb3#18.0.1.Final//org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:141)
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
... 8 more
Caused by: javax.ejb.EJBException: class org.apache.ignite.binary.BinaryObjectException: Failed to find empty constructor for class: org.apache.ignite.internal.processors.platform.websession.PlatformDotNetSessionLockResult
at org.jboss.as.ejb3#18.0.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:246)
... 13 more
Caused by: class org.apache.ignite.binary.BinaryObjectException: Failed to find empty constructor for class: org.apache.ignite.internal.processors.platform.websession.PlatformDotNetSessionLockResult
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryClassDescriptor.constructor(BinaryClassDescriptor.java:981)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryClassDescriptor.<init>(BinaryClassDescriptor.java:267)
at deployment.StreamsApp.ear//org.apache.ignite.internal.binary.BinaryContext.registerPredefinedType(BinaryContext.java:1063)
at deployment.StreamsApp.ear.Streams.jar//ru.sbrf.streams.cache.IgniteInitializer.init(IgniteInitializer.java:34)
at deployment.StreamsApp.ear.Streams.jar//ru.sbrf.streams.Main.startup(Main.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:96)
at org.jboss.invocation#1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at org.jboss.invocation#1.5.2.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
at org.jboss.as.weld.common#18.0.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79)
at org.jboss.as.weld.common#18.0.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doLifecycleInterception(Jsr299BindingsInterceptor.java:126)
at org.jboss.as.weld.common#18.0.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:112)
at org.jboss.invocation#1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at org.jboss.invocation#1.5.2.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
at org.jboss.weld.core#3.1.2.Final//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:81)
at org.jboss.as.weld.common#18.0.1.Final//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
at org.jboss.invocation#1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at org.jboss.as.ee#18.0.1.Final//org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
at org.jboss.invocation#1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at org.jboss.as.ejb3#18.0.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:237)
... 28 more
2019-12-19 09:11:39,471 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "StreamsApp.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"StreamsApp.ear\".\"Streams.jar\".component.Main.START" => "java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: javax.ejb.EJBException: class org.apache.ignite.binary.BinaryObjectException: Failed to find empty constructor for class: org.apache.ignite.internal.processors.platform.websession.PlatformDotNetSessionLockResult
Caused by: class org.apache.ignite.binary.BinaryObjectException: Failed to find empty constructor for class: org.apache.ignite.internal.processors.platform.websession.PlatformDotNetSessionLockResult"}}
2019-12-19 09:11:39,546 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "StreamsApp.ear" (runtime-name : "StreamsApp.ear")
2019-12-19 09:11:39,548 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.subunit."StreamsApp.ear"."Streams.jar".component.Main.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
WFLYCTL0448: 2 additional services are down due to their dependencies being missing or failed
To get rid of this problem, you need to add the file IgniteApp/src/main/application/META-INF/jboss-deployment-structure.xml with the following content:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<system export="true">
<paths>
<path name="sun/reflect"/>
</paths>
</system>
</dependencies>
</deployment>
</jboss-deployment-structure>
This is as per Mockito, Java 9 and java.lang.ClassNotFoundException: sun.reflect.ReflectionFactory
After that, the client node will start without errors. I were not able to check whether it can connect to dockerized server node with the configuration(s) that you have provided.
Please note that you may need to add some JVM args via -e JAVA_OPTS='...' docker option as per Ignite documentation when using Java 11.
I have filed a JIRA issue to deal with this usability problem: IGNITE-12483

Deploy SpringBoot application to JBOSS EAP 6.4

I would like to create a simple hello world like REST Application in Springboot and deploy it to JBOSS EAP 6.4.
I have only one endpoint:
GET request to /api/logparser and return a json
I could manage to build a war file and run locally without any problem.
I think the problem is with my web.xml and context settings but I can't figure out what causing the error.
My project is the following:
build.gradle
plugins {
id 'org.springframework.boot' version '2.1.3.RELEASE'
id 'java'
id 'war'
}
apply plugin: 'io.spring.dependency-management'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
Application.java
package com.custom.logparser;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
#SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
My controller LogFileController.java
package com.custom.logparser;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
#RestController
public class LogFileController {
#RequestMapping("/api/logparser/getlog")
public LogFile greeting() {
return new LogFile("logFileContent");
}
}
LogFile.java
package com.custom.logparser;
public class LogFile {
private final String content;
public LogFile(String content) {
this.content = content;
}
public String getContent() {
return content;
}
}
I've created a ServletInitializer.java
package com.custom.logparser;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
public class ServletInitializer extends SpringBootServletInitializer {
#Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(Application.class);
}
}
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<!-- The definition of the Root Spring Container shared by all Servlets and Filters -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring/dispatcher-config.xml</param-value>
</context-param>
<!-- Creates the Spring Container shared by all Servlets and Filters -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
</web-app>
dispatcher-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd">
<context:annotation-config/>
<context:component-scan base-package="com.custom.logparser"/>
</beans>
I forgot to attach the error msg: http://s000.tinyupload.com/?file_id=05005994728105632903
2019-03-22 09:50:32,637 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "logparser-web-service-0.0.1-SNAPSHOT.war" (runtime-name: "logparser-web-service-0.0.1-SNAPSHOT.war")
2019-03-22 09:50:32,795 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015852: Could not index class META-INF/versions/9/module-info.class at /content/logparser-web-service-0.0.1-SNAPSHOT.war/WEB-INF/lib/log4j-api-2.11.2.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 32
2019-03-22 09:50:33,106 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016002: Processing weld deployment logparser-web-service-0.0.1-SNAPSHOT.war
2019-03-22 09:50:33,124 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016005: Starting Services for CDI deployment: logparser-web-service-0.0.1-SNAPSHOT.war
2019-03-22 09:50:33,127 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016008: Starting weld service for deployment logparser-web-service-0.0.1-SNAPSHOT.war
2019-03-22 09:50:33,165 INFO [org.jboss.web] (ServerService Thread Pool -- 1046) JBAS018210: Register web context: /logparser-web-service-0.0.1-SNAPSHOT
2019-03-22 09:50:33,177 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/logparser-web-service-0.0.1-SNAPSHOT]] (ServerService Thread Pool -- 1046) 2 Spring WebApplicationInitializers detected on classpath
2019-03-22 09:50:33,347 INFO [stdout] (ServerService Thread Pool -- 1046)
2019-03-22 09:50:33,347 INFO [stdout] (ServerService Thread Pool -- 1046) . ____ _ __ _ _
2019-03-22 09:50:33,347 INFO [stdout] (ServerService Thread Pool -- 1046) /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
2019-03-22 09:50:33,347 INFO [stdout] (ServerService Thread Pool -- 1046) ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
2019-03-22 09:50:33,347 INFO [stdout] (ServerService Thread Pool -- 1046) \\/ ___)| |_)| | | | | || (_| | ) ) ) )
2019-03-22 09:50:33,347 INFO [stdout] (ServerService Thread Pool -- 1046) ' |____| .__|_| |_|_| |_\__, | / / / /
2019-03-22 09:50:33,348 INFO [stdout] (ServerService Thread Pool -- 1046) =========|_|==============|___/=/_/_/_/
2019-03-22 09:50:33,348 INFO [stdout] (ServerService Thread Pool -- 1046) :: Spring Boot :: (v2.1.3.RELEASE)
2019-03-22 09:50:33,348 INFO [stdout] (ServerService Thread Pool -- 1046)
2019-03-22 09:50:33,396 INFO [com.custom.logparser.ServletInitializer] (ServerService Thread Pool -- 1046) Starting ServletInitializer on webserverpe480 with PID 500 (started by eea in /usr/share/jbossas)
2019-03-22 09:50:33,397 INFO [com.custom.logparser.ServletInitializer] (ServerService Thread Pool -- 1046) No active profile set, falling back to default profiles: default
2019-03-22 09:50:33,844 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/logparser-web-service-0.0.1-SNAPSHOT]] (ServerService Thread Pool -- 1046) Initializing Spring embedded WebApplicationContext
2019-03-22 09:50:33,845 INFO [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 1046) Root WebApplicationContext: initialization completed in 432 ms
2019-03-22 09:50:34,036 WARN [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext] (ServerService Thread Pool -- 1046) Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultValidator' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.validation.Configuration.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider;
2019-03-22 09:50:34,041 INFO [org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener] (ServerService Thread Pool -- 1046)
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-03-22 09:50:34,043 ERROR [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter] (ServerService Thread Pool -- 1046)
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call the method javax.validation.Configuration.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider; but it does not exist. Its class, javax.validation.Configuration, is available from the following locations:
jar:file:/opt/jboss-eap/modules/system/layers/base/javax/validation/api/main/validation-api.jar!/javax/validation/Configuration.class
vfs:/content/logparser-web-service-0.0.1-SNAPSHOT.war/WEB-INF/lib/validation-api-2.0.1.Final.jar/javax/validation/Configuration.class
It was loaded from the following location:
jar:file:/opt/jboss-eap/modules/system/layers/base/javax/validation/api/main/validation-api.jar!/
Action:
Correct the classpath of your application so that it contains a single, compatible version of javax.validation.Configuration
2019-03-22 09:50:34,043 ERROR [org.jboss.web] (ServerService Thread Pool -- 1046) JBAS018202: Error calling onStartup for servlet container initializer: org.springframework.web.SpringServletContainerInitializer: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultValidator' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.validation.Configuration.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider;
2019-03-22 09:50:34,045 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/logparser-web-service-0.0.1-SNAPSHOT]] (ServerService Thread Pool -- 1046) JBWEB000287: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!
2019-03-22 09:50:34,046 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 1046) JBWEB001103: Error detected during context /logparser-web-service-0.0.1-SNAPSHOT start, will stop it
2019-03-22 09:50:34,049 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/logparser-web-service-0.0.1-SNAPSHOT]] (ServerService Thread Pool -- 1046) Closing Spring root WebApplicationContext
2019-03-22 09:50:34,050 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 1046) MSC000001: Failed to start service jboss.web.deployment.default-host."/logparser-web-service-0.0.1-SNAPSHOT": org.jboss.msc.service.StartException in service jboss.web.deployment.default-host."/logparser-web-service-0.0.1-SNAPSHOT": org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
What did I miss?

Eclipse maven project compliance

I am trying for more than two hours now to fix my maven setup in Eclipse but I am getting from one error to the next and no solution in the intenet worked for me.
Also maven -> update project did not solve the problem.
Also setting java compiler on build path results in no success. Eclipse suggests always to set it back to 1.5 (manually setting 1.7 no success)
I am not sure which entry in my pom.xml causes the error.
I am getting these errors
my pom.xml
`<project xmlns="http://maven.apache.org/POM/4.0.0"` xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.se.bac</groupId>
<artifactId>Mitarbeiterverwaltung</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- JBoss dependency versions -->
<version.wildfly.maven.plugin>1.0.2.Final</version.wildfly.maven.plugin>
<version.jboss.spec.javaee.7.0>1.0.0.Final</version.jboss.spec.javaee.7.0>
<version.war.plugin>2.1.1</version.war.plugin>
<!-- maven-compiler-plugin -->
<version.compiler.plugin>3.1</version.compiler.plugin>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>${version.war.plugin}</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.compiler.plugin}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>1.0.2.Final</version>
<configuration>
<jbossHome>X:\5. Semester\Bac1\wildfly-11.0.0.CR1</jbossHome>
<port>9990</port>
<server-config>standalone.xml</server-config>
</configuration>
<executions>
<!-- Run wildfly and deploy application for integration tests. -->
<execution>
<id>wildfly-run</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
<goal>deploy</goal>
</goals>
</execution>
<!-- Integration test teardown. -->
<execution>
<id>wildfly-shutdown</id>
<phase>post-integration-test</phase>
<goals>
<goal>undeploy</goal>
<goal>shutdown</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.10-SNAPSHOT</version>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<!-- Define the version of JBoss' Java EE 7 APIs we want to import. Any
dependencies from org.jboss.spec will have their version defined by this
BOM -->
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-7.0</artifactId>
<version>${version.jboss.spec.javaee.7.0}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.34</version>
<scope>test</scope>
</dependency>
<!-- Import the CDI API, we use provided scope as the API is included in
JBoss WildFly -->
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- Import the Common Annotations API (JSR-250), we use provided scope
as the API is included in JBoss WildFly -->
<dependency>
<groupId>org.jboss.spec.javax.annotation</groupId>
<artifactId>jboss-annotations-api_1.2_spec</artifactId>
<scope>provided</scope>
</dependency>
<!-- Import the JAX-RS API, we use provided scope as the API is included
in JBoss WildFly -->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>jaxrs-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- Import the JSON API to build JSON Objects -->
<dependency>
<groupId>org.jboss.spec.javax.json</groupId>
<artifactId>jboss-json-api_1.0_spec</artifactId>
<scope>provided</scope>
</dependency>
<!-- Import the EJB API -->
<dependency>
<groupId>org.jboss.spec.javax.ejb</groupId>
<artifactId>jboss-ejb-api_3.2_spec</artifactId>
<scope>provided</scope>
</dependency>
<!-- Import the JPA API -->
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- Import the JSF API, we use provided scope as the API is included in
JBoss WildFly -->
<dependency>
<groupId>org.jboss.spec.javax.faces</groupId>
<artifactId>jboss-jsf-api_2.2_spec</artifactId>
<scope>provided</scope>
</dependency>
<!-- Primefaces -->
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>6.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.el/javax.el-api -->
<dependency>
<groupId>javax.el</groupId>
<artifactId>javax.el-api</artifactId>
<version>3.0.1-b04</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.11.Final</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
And my settings for the project:
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) # Mitarbeiterverwaltung ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # Mitarbeiterverwaltung ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) # Mitarbeiterverwaltung ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # Mitarbeiterverwaltung ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) # Mitarbeiterverwaltung ---
[INFO]
[INFO] --- wildfly-maven-plugin:1.0.2.Final:start (wildfly-run) # Mitarbeiterverwaltung ---
[INFO] JAVA_HOME=C:\Program Files\Java\jdk1.8.0_144\jre
[INFO] JBOSS_HOME=X:\5. Semester\Bac1\wildfly-11.0.0.CR1
[INFO] Server is starting up.
Okt 17, 2017 8:42:00 PM org.xnio.Xnio <clinit>
INFO: XNIO version 3.2.2.Final
Okt 17, 2017 8:42:00 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.2.2.Final
Okt 17, 2017 8:42:00 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 4.0.3.Final
20:42:02,670 INFO [org.jboss.as.security] (MSC service thread 1-8) WFLYSEC0001: Current PicketBox version=5.0.2.Final
20:42:02,676 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]
20:42:02,677 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
20:42:02,680 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
20:42:02,732 INFO [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 5.0.0.Final
20:42:02,737 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0003: Undertow 1.4.18.Final starting
20:42:02,757 INFO [org.jboss.as.naming] (MSC service thread 1-4) WFLYNAM0003: Starting Naming Service
20:42:02,762 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
20:42:02,863 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host.
20:42:02,863 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.
20:42:02,931 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path 'X:\5. Semester\Bac1\wildfly-11.0.0.CR1/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
20:42:02,942 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0012: Started server default-server.
20:42:02,945 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0018: Host default-host starting
20:42:02,985 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
20:42:03,008 INFO [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0493: EJB subsystem suspension complete
20:42:03,083 INFO [org.jboss.as.patching] (MSC service thread 1-5) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
20:42:03,098 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-7) WFLYDM0111: Keystore X:\5. Semester\Bac1\wildfly-11.0.0.CR1\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
20:42:03,100 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory X:\5. Semester\Bac1\wildfly-11.0.0.CR1\standalone\deployments
20:42:03,107 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "mysql-connector-java-5.1.44.zip" (runtime-name: "mysql-connector-java-5.1.44.zip")
20:42:03,108 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "Mitarbeiterverwaltung.war" (runtime-name: "Mitarbeiterverwaltung.war")
20:42:03,108 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "mysql-connector-java-5.1.44-bin.jar" (runtime-name: "mysql-connector-java-5.1.44-bin.jar")
20:42:03,498 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
20:42:03,578 INFO [org.jboss.ws.common.management] (MSC service thread 1-8) JBWS022052: Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12)
20:42:03,769 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
20:42:03,773 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.fabric.jdbc.FabricMySQLDriver (version 5.1)
20:42:03,776 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = mysql-connector-java-5.1.44-bin.jar_com.mysql.fabric.jdbc.FabricMySQLDriver_5_1
20:42:03,777 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = mysql-connector-java-5.1.44-bin.jar_com.mysql.jdbc.Driver_5_1
20:42:03,850 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:/MySqlDS]
20:42:03,924 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-4) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
20:42:04,255 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started client-mappings cache from ejb container
20:42:04,480 INFO [org.jboss.as.jpa] (MSC service thread 1-6) WFLYJPA0002: Read persistence.xml for primary
20:42:04,552 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'Mitarbeiterverwaltung.war#primary'
20:42:04,576 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 62) HHH000204: Processing PersistenceUnitInfo [
name: primary
...]
20:42:05,115 INFO [org.jboss.weld.Version] (MSC service thread 1-8) WELD-000900: 2.4.3 (Final)
20:42:05,288 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'Mitarbeiterverwaltung.war#primary'
20:42:05,565 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ServerService Thread Pool -- 62) IJ000407: No lazy enlistment available for MySqlDS
20:42:05,578 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 62) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
20:42:05,615 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 62) Envers integration enabled? : true
20:42:05,834 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 62) HHH000182: No default (no-argument) constructor for class: org.se.bac.data.model.ProjectEmployee_PK (class must be instantiated by Interceptor)
20:42:05,839 WARN [org.hibernate.mapping.RootClass] (ServerService Thread Pool -- 62) HHH000038: Composite-id class does not override equals(): org.se.bac.data.model.ProjectEmployee_PK
20:42:05,839 WARN [org.hibernate.mapping.RootClass] (ServerService Thread Pool -- 62) HHH000039: Composite-id class does not override hashCode(): org.se.bac.data.model.ProjectEmployee_PK
20:42:06,013 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 62) HHH000182: No default (no-argument) constructor for class: org.se.bac.data.model.ProjectEmployee_PK (class must be instantiated by Interceptor)
20:42:06,254 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 62) HHH000182: No default (no-argument) constructor for class: org.se.bac.data.model.ProjectEmployee_PK (class must be instantiated by Interceptor)
20:42:06,254 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 62) HHH000182: No default (no-argument) constructor for class: org.se.bac.data.model.ProjectEmployee_PK (class must be instantiated by Interceptor)
20:42:07,030 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 68) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.se.bac.service.RESTApplication$Proxy$_$$_WeldClientProxy
20:42:07,034 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 68) RESTEASY002200: Adding class resource org.se.bac.service.ProjectResourceEJB from Application class org.se.bac.service.RESTApplication$Proxy$_$$_WeldClientProxy
20:42:07,034 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 68) RESTEASY002200: Adding class resource org.se.bac.service.CustomerResourceEJB from Application class org.se.bac.service.RESTApplication$Proxy$_$$_WeldClientProxy
20:42:07,034 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 68) RESTEASY002200: Adding class resource org.se.bac.service.EmpResourceEJB from Application class org.se.bac.service.RESTApplication$Proxy$_$$_WeldClientProxy
20:42:07,099 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 68) Mojarra 2.2.13.SP4 für Kontext '/Mitarbeiterverwaltung' wird initialisiert.
20:42:08,049 INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 68) Running on PrimeFaces 6.0
20:42:08,070 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 68) WFLYUT0021: Registered web context: '/Mitarbeiterverwaltung' for server 'default-server'
20:42:08,076 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "mysql-connector-java-5.1.44-bin.jar" (runtime-name : "mysql-connector-java-5.1.44-bin.jar")
20:42:08,076 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "mysql-connector-java-5.1.44.zip" (runtime-name : "mysql-connector-java-5.1.44.zip")
20:42:08,081 INFO [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "Mitarbeiterverwaltung.war" (runtime-name : "Mitarbeiterverwaltung.war")
20:42:08,126 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
20:42:08,126 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
20:42:08,126 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
20:42:08,131 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 11.0.0.CR1 (WildFly Core 3.0.1.Final) started in 7545ms - Started 561 of 789 services (359 services are lazy, passive or on-demand)
[INFO]
[INFO] >>> wildfly-maven-plugin:1.0.2.Final:deploy (wildfly-run) # Mitarbeiterverwaltung >>>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) # Mitarbeiterverwaltung ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # Mitarbeiterverwaltung ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) # Mitarbeiterverwaltung ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # Mitarbeiterverwaltung ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) # Mitarbeiterverwaltung ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) # Mitarbeiterverwaltung ---
[INFO] Packaging webapp
[INFO] Assembling webapp [Mitarbeiterverwaltung] in [C:\Users\Florian\git\Mitarbeiterverwaltung\Mitarbeiterverwaltung\target\Mitarbeiterverwaltung]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\Users\Florian\git\Mitarbeiterverwaltung\Mitarbeiterverwaltung\src\main\webapp]
[INFO] Webapp assembled in [149 msecs]
[INFO] Building war: C:\Users\Florian\git\Mitarbeiterverwaltung\Mitarbeiterverwaltung\target\Mitarbeiterverwaltung.war
[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
[INFO]
[INFO] <<< wildfly-maven-plugin:1.0.2.Final:deploy (wildfly-run) # Mitarbeiterverwaltung <<<
[INFO]
[INFO] --- wildfly-maven-plugin:1.0.2.Final:deploy (wildfly-run) # Mitarbeiterverwaltung ---
20:42:08,818 INFO [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location X:\5. Semester\Bac1\wildfly-11.0.0.CR1\standalone\data\content\8a\f5ae904748ce46128a1e81676f9d16e422dac3\content
20:42:08,828 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 68) WFLYUT0022: Unregistered web context: '/Mitarbeiterverwaltung' from server 'default-server'
20:42:08,862 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 28) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'Mitarbeiterverwaltung.war#primary'
20:42:08,866 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 28) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'Mitarbeiterverwaltung.war#primary'
20:42:08,905 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment Mitarbeiterverwaltung.war (runtime-name: Mitarbeiterverwaltung.war) in 86ms
20:42:08,910 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "Mitarbeiterverwaltung.war" (runtime-name: "Mitarbeiterverwaltung.war")
20:42:09,473 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for primary
20:42:09,509 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0028: Stopped deployment Mitarbeiterverwaltung.war (runtime-name: Mitarbeiterverwaltung.war) in 598ms
20:42:09,510 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "Mitarbeiterverwaltung.war" (runtime-name: "Mitarbeiterverwaltung.war")
20:42:09,889 INFO [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002: Read persistence.xml for primary
20:42:09,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 28) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'Mitarbeiterverwaltung.war#primary'
20:42:10,143 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 28) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'Mitarbeiterverwaltung.war#primary'
20:42:10,143 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 28) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
20:42:10,155 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 28) Envers integration enabled? : true
20:42:10,176 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 28) HHH000182: No default (no-argument) constructor for class: org.se.bac.data.model.ProjectEmployee_PK (class must be instantiated by Interceptor)
20:42:10,176 WARN [org.hibernate.mapping.RootClass] (ServerService Thread Pool -- 28) HHH000038: Composite-id class does not override equals(): org.se.bac.data.model.ProjectEmployee_PK
20:42:10,177 WARN [org.hibernate.mapping.RootClass] (ServerService Thread Pool -- 28) HHH000039: Composite-id class does not override hashCode(): org.se.bac.data.model.ProjectEmployee_PK
20:42:10,192 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 28) HHH000182: No default (no-argument) constructor for class: org.se.bac.data.model.ProjectEmployee_PK (class must be instantiated by Interceptor)
20:42:10,210 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 28) HHH000182: No default (no-argument) constructor for class: org.se.bac.data.model.ProjectEmployee_PK (class must be instantiated by Interceptor)
20:42:10,210 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 28) HHH000182: No default (no-argument) constructor for class: org.se.bac.data.model.ProjectEmployee_PK (class must be instantiated by Interceptor)
20:42:10,394 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 27) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.se.bac.service.RESTApplication$Proxy$_$$_WeldClientProxy
20:42:10,394 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 27) RESTEASY002200: Adding class resource org.se.bac.service.CustomerResourceEJB from Application class org.se.bac.service.RESTApplication$Proxy$_$$_WeldClientProxy
20:42:10,394 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 27) RESTEASY002200: Adding class resource org.se.bac.service.ProjectResourceEJB from Application class org.se.bac.service.RESTApplication$Proxy$_$$_WeldClientProxy
20:42:10,394 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 27) RESTEASY002200: Adding class resource org.se.bac.service.EmpResourceEJB from Application class org.se.bac.service.RESTApplication$Proxy$_$$_WeldClientProxy
20:42:10,404 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 27) Mojarra 2.2.13.SP4 für Kontext '/Mitarbeiterverwaltung' wird initialisiert.
20:42:10,994 INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 27) Running on PrimeFaces 6.0
20:42:10,995 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 27) WFLYUT0021: Registered web context: '/Mitarbeiterverwaltung' for server 'default-server'
20:42:11,053 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0013: Redeployed "Mitarbeiterverwaltung.war"
20:42:11,053 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0016: Replaced deployment "Mitarbeiterverwaltung.war" with deployment "Mitarbeiterverwaltung.war"
20:42:11,054 INFO [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0002: Content removed from location X:\5. Semester\Bac1\wildfly-11.0.0.CR1\standalone\data\content\42\5aae1bfd48b2702b404b259e1baf3eb71b84bf\content
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) # Mitarbeiterverwaltung ---
[INFO] Installing C:\Users\Florian\git\Mitarbeiterverwaltung\Mitarbeiterverwaltung\target\Mitarbeiterverwaltung.war to C:\Users\Florian\.m2\repository\org\se\bac\Mitarbeiterverwaltung\0.0.1-SNAPSHOT\Mitarbeiterverwaltung-0.0.1-SNAPSHOT.war
[INFO] Installing C:\Users\Florian\git\Mitarbeiterverwaltung\Mitarbeiterverwaltung\pom.xml to C:\Users\Florian\.m2\repository\org\se\bac\Mitarbeiterverwaltung\0.0.1-SNAPSHOT\Mitarbeiterverwaltung-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.908s
[INFO] Finished at: Tue Oct 17 20:42:11 CEST 2017
[INFO] Final Memory: 16M/210M
[INFO] ------------------------------------------------------------------------

JPAContainer with EntityManager getting error: java.lang.RuntimeException: javax.naming.NameNotFoundException: env/persistence/em

I'm a bit confused.
I'm #Inject-ing a custom component into a #CDIView.
The component has its PersistenceContext injected
#PersistenceContext
private EntityManager em;
So far everything fine. If I look at it in debug, the EntityManager exists, I can even query the JPAContainer and get a result but when the View loads in my Application I get a javax.naming.NameNotFoundException: env/persistence/em
So I wonder: Why?
Why is there a lookup when I passed a EntityManager in the first place?
Is there some bit of configuration I missed? Is passing a Injected EntityManager in the JPAContainerFactory discouraged?
16:51,367 SEVERE [com.vaadin.server.DefaultErrorHandler] (default task-44) : java.lang.RuntimeException: javax.naming.NameNotFoundException: env/persistence/em -- service jboss.naming.context.java.module."web-0.0.1-SNAPSHOT"."web-0.0.1-SNAPSHOT".env.persistence.em
at com.vaadin.addon.jpacontainer.provider.jndijta.Util.getEntityManager(Util.java:35)
at com.vaadin.addon.jpacontainer.provider.jndijta.CachingMutableEntityProvider.getEntityManager(CachingMutableEntityProvider.java:59)
at com.vaadin.addon.jpacontainer.provider.LocalEntityProvider.doGetEntityManager(LocalEntityProvider.java:226)
at com.vaadin.addon.jpacontainer.provider.LocalEntityProvider.doGetEntityCount(LocalEntityProvider.java:510)
at com.vaadin.addon.jpacontainer.provider.CachingSupport$FilterCacheEntry.getEntityCount(CachingSupport.java:157)
at com.vaadin.addon.jpacontainer.provider.CachingSupport.getEntityCount(CachingSupport.java:826)
at com.vaadin.addon.jpacontainer.provider.CachingMutableLocalEntityProvider.getEntityCount(CachingMutableLocalEntityProvider.java:130)
at com.vaadin.addon.jpacontainer.JPAContainer.size(JPAContainer.java:912)
at com.vaadin.ui.Table.containerItemSetChange(Table.java:4565)
at com.vaadin.addon.jpacontainer.JPAContainer.fireContainerItemSetChange(JPAContainer.java:262)
at com.vaadin.addon.jpacontainer.JPAContainer$1.filtersApplied(JPAContainer.java:179)
at com.vaadin.addon.jpacontainer.filter.util.AdvancedFilterableSupport.fireListeners(AdvancedFilterableSupport.java:99)
at com.vaadin.addon.jpacontainer.filter.util.AdvancedFilterableSupport.applyFilters(AdvancedFilterableSupport.java:222)
at com.vaadin.addon.jpacontainer.filter.util.AdvancedFilterableSupport.removeAllFilters(AdvancedFilterableSupport.java:275)
at com.vaadin.addon.jpacontainer.JPAContainer.removeAllContainerFilters(JPAContainer.java:984)
at org.sportunion.BenutzerView.<init>(BenutzerView.java:207)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at com.vaadin.navigator.Navigator$ClassBasedViewProvider.getView(Navigator.java:340)
at com.vaadin.navigator.Navigator.navigateTo(Navigator.java:559)
at org.sportunion.MainPanel.<init>(MainPanel.java:21)
at org.sportunion.LogintoStartView.<init>(LogintoStartView.java:55)
at org.sportunion.LoginView$1.buttonClick(LoginView.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)
at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008)
at com.vaadin.ui.Button.fireClick(Button.java:364)
at com.vaadin.ui.Button.click(Button.java:353)
at com.vaadin.ui.Button$ClickShortcut.handleAction(Button.java:471)
at com.vaadin.event.ActionManager.handleAction(ActionManager.java:238)
at com.vaadin.event.ConnectorActionManager.handleAction(ConnectorActionManager.java:81)
at com.vaadin.event.ActionManager.handleAction(ActionManager.java:233)
at com.vaadin.event.ActionManager.handleActions(ActionManager.java:216)
at com.vaadin.ui.UI.changeVariables(UI.java:397)
at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:603)
at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:422)
at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)
at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:79)
at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:151)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
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:745)
Caused by: javax.naming.NameNotFoundException: env/persistence/em -- service jboss.naming.context.java.module."web-0.0.1-SNAPSHOT"."web-0.0.1-SNAPSHOT".env.persistence.em
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184)
at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at com.vaadin.addon.jpacontainer.provider.jndijta.Util.getEntityManager(Util.java:31)
... 81 more
UPDATE
this is how my web-project persistence.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit name="sportunion1">
<jta-data-source>java:/Sportunion1</jta-data-source>
<class>org.sportunion.project.domain.Admins</class>
<class>org.sportunion.project.domain.Log</class>
<class>org.sportunion.project.domain.Users</class>
<class>org.sportunion.project.domain.Nas</class>
</persistence-unit>
</persistence>
and this is how my ejb-project persistence.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit name="ejb">
<jta-data-source>java:/Sportunion1</jta-data-source>
<properties>
<property name="hibernate.show_sql" value="false"/>
<property name="hibernate.format_sql" value="false"/>
<property name="hibernate.connection.pool_size" value="5"/>
</properties>
</persistence-unit>
</persistence>
and this is my log before the error:
2016-04-17 22:44:51,404 INFO [org.jboss.as.repository] (management-handler-thread - 41) WFLYDR0001: Content added at location C:\jboss\wildfly-9.0.2.Final\standalone\data\content\dd\2b865703eb79c7de40d506b137977cea1a84bf\content
2016-04-17 22:44:51,428 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0019: Stopped Driver service with driver-name = web-0.0.1-SNAPSHOT.war_com.mysql.fabric.jdbc.FabricMySQLDriver_5_1
2016-04-17 22:44:51,428 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0019: Stopped Driver service with driver-name = web-0.0.1-SNAPSHOT.war_com.mysql.jdbc.Driver_5_1
2016-04-17 22:44:51,428 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 191) WFLYUT0022: Unregistered web context: /web-0.0.1-SNAPSHOT
2016-04-17 22:44:51,694 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 201) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'web-0.0.1-SNAPSHOT.war#sportunion1'
2016-04-17 22:44:51,709 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 200) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'web-0.0.1-SNAPSHOT.war#ejb'
2016-04-17 22:44:51,725 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0010: Stopping weld service for deployment web-0.0.1-SNAPSHOT.war
2016-04-17 22:44:51,725 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 200) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'web-0.0.1-SNAPSHOT.war#sportunion1'
2016-04-17 22:44:51,725 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 201) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'web-0.0.1-SNAPSHOT.war#ejb'
2016-04-17 22:44:52,631 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment web-0.0.1-SNAPSHOT.war (runtime-name: web-0.0.1-SNAPSHOT.war) in 1212ms
2016-04-17 22:44:52,641 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "web-0.0.1-SNAPSHOT.war" (runtime-name: "web-0.0.1-SNAPSHOT.war")
2016-04-17 22:45:04,982 INFO [org.jboss.as.jpa] (MSC service thread 1-7) WFLYJPA0002: Read persistence.xml for sportunion1
2016-04-17 22:45:04,986 INFO [org.jboss.as.jpa] (MSC service thread 1-7) WFLYJPA0002: Read persistence.xml for ejb
2016-04-17 22:45:05,767 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment web-0.0.1-SNAPSHOT.war (runtime-name: web-0.0.1-SNAPSHOT.war) in 13133ms
2016-04-17 22:45:05,783 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "web-0.0.1-SNAPSHOT.war" (runtime-name: "web-0.0.1-SNAPSHOT.war")
2016-04-17 22:45:13,482 INFO [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for sportunion1
2016-04-17 22:45:13,494 INFO [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for ejb
2016-04-17 22:45:14,057 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 204) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'web-0.0.1-SNAPSHOT.war#ejb'
2016-04-17 22:45:14,057 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 204) HHH000204: Processing PersistenceUnitInfo [
name: ejb
...]
2016-04-17 22:45:14,057 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 205) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'web-0.0.1-SNAPSHOT.war#sportunion1'
2016-04-17 22:45:14,073 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 205) HHH000204: Processing PersistenceUnitInfo [
name: sportunion1
...]
2016-04-17 22:45:14,182 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment web-0.0.1-SNAPSHOT.war
2016-04-17 22:45:14,213 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named AdminsService in deployment unit deployment "web-0.0.1-SNAPSHOT.war" are as follows:
java:global/web-0.0.1-SNAPSHOT/AdminsService!org.sportunion.project.AdminsService
java:app/web-0.0.1-SNAPSHOT/AdminsService!org.sportunion.project.AdminsService
java:module/AdminsService!org.sportunion.project.AdminsService
java:global/web-0.0.1-SNAPSHOT/AdminsService
java:app/web-0.0.1-SNAPSHOT/AdminsService
java:module/AdminsService
2016-04-17 22:45:14,213 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named UsersService in deployment unit deployment "web-0.0.1-SNAPSHOT.war" are as follows:
java:global/web-0.0.1-SNAPSHOT/UsersService!org.sportunion.project.UsersService
java:app/web-0.0.1-SNAPSHOT/UsersService!org.sportunion.project.UsersService
java:module/UsersService!org.sportunion.project.UsersService
java:global/web-0.0.1-SNAPSHOT/UsersService
java:app/web-0.0.1-SNAPSHOT/UsersService
java:module/UsersService
2016-04-17 22:45:14,229 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named NasService in deployment unit deployment "web-0.0.1-SNAPSHOT.war" are as follows:
java:global/web-0.0.1-SNAPSHOT/NasService!org.sportunion.project.NasService
java:app/web-0.0.1-SNAPSHOT/NasService!org.sportunion.project.NasService
java:module/NasService!org.sportunion.project.NasService
java:global/web-0.0.1-SNAPSHOT/NasService
java:app/web-0.0.1-SNAPSHOT/NasService
java:module/NasService
2016-04-17 22:45:14,229 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named LogService in deployment unit deployment "web-0.0.1-SNAPSHOT.war" are as follows:
java:global/web-0.0.1-SNAPSHOT/LogService!org.sportunion.project.LogService
java:app/web-0.0.1-SNAPSHOT/LogService!org.sportunion.project.LogService
java:module/LogService!org.sportunion.project.LogService
java:global/web-0.0.1-SNAPSHOT/LogService
java:app/web-0.0.1-SNAPSHOT/LogService
java:module/LogService
2016-04-17 22:45:14,791 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
2016-04-17 22:45:14,798 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.fabric.jdbc.FabricMySQLDriver (version 5.1)
2016-04-17 22:45:14,798 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0006: Starting Services for CDI deployment: web-0.0.1-SNAPSHOT.war
2016-04-17 22:45:14,814 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = web-0.0.1-SNAPSHOT.war_com.mysql.jdbc.Driver_5_1
2016-04-17 22:45:14,814 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0009: Starting weld service for deployment web-0.0.1-SNAPSHOT.war
2016-04-17 22:45:14,814 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = web-0.0.1-SNAPSHOT.war_com.mysql.fabric.jdbc.FabricMySQLDriver_5_1
2016-04-17 22:45:14,892 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 204) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'web-0.0.1-SNAPSHOT.war#ejb'
2016-04-17 22:45:14,908 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 204) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2016-04-17 22:45:14,939 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 204) HHH000397: Using ASTQueryTranslatorFactory
2016-04-17 22:45:15,033 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 206) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'web-0.0.1-SNAPSHOT.war#sportunion1'
2016-04-17 22:45:15,064 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 206) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2016-04-17 22:45:15,080 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 206) HHH000397: Using ASTQueryTranslatorFactory
2016-04-17 22:45:15,924 INFO [io.undertow.servlet] (ServerService Thread Pool -- 208) Initializing AtmosphereFramework
2016-04-17 22:45:16,047 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Installed AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler mapped to context-path: /*
2016-04-17 22:45:16,047 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Installed the following AtmosphereInterceptor mapped to AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler
2016-04-17 22:45:16,063 INFO [org.atmosphere.util.IOUtils] (ServerService Thread Pool -- 208) META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
2016-04-17 22:45:16,110 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Atmosphere is using org.atmosphere.util.VoidAnnotationProcessor for processing annotation
2016-04-17 22:45:16,141 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol
2016-04-17 22:45:16,172 INFO [org.atmosphere.container.JSR356AsyncSupport] (ServerService Thread Pool -- 208) JSR 356 Mapping path /{path}
2016-04-17 22:45:16,172 INFO [io.undertow.websockets.jsr] (ServerService Thread Pool -- 208) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}
2016-04-17 22:45:16,172 INFO [io.undertow.websockets.jsr] (ServerService Thread Pool -- 208) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}/{path0}
2016-04-17 22:45:16,172 INFO [io.undertow.websockets.jsr] (ServerService Thread Pool -- 208) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}/{path0}/{path1}
2016-04-17 22:45:16,172 INFO [io.undertow.websockets.jsr] (ServerService Thread Pool -- 208) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}/{path0}/{path1}/{path2}
2016-04-17 22:45:16,172 INFO [io.undertow.websockets.jsr] (ServerService Thread Pool -- 208) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}/{path0}/{path1}/{path2}/{path3}
2016-04-17 22:45:16,172 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Installing Default AtmosphereInterceptors
2016-04-17 22:45:16,172 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
2016-04-17 22:45:16,188 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response's Headers Interceptor
2016-04-17 22:45:16,188 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
2016-04-17 22:45:16,188 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
2016-04-17 22:45:16,188 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Dropping Interceptor org.atmosphere.interceptor.HeartbeatInterceptor
2016-04-17 22:45:16,188 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
2016-04-17 22:45:16,188 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
2016-04-17 22:45:16,204 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
2016-04-17 22:45:16,204 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
2016-04-17 22:45:16,204 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
2016-04-17 22:45:16,204 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
2016-04-17 22:45:16,204 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
2016-04-17 22:45:16,204 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
2016-04-17 22:45:16,204 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Using BroadcasterCache: org.atmosphere.cache.UUIDBroadcasterCache
2016-04-17 22:45:16,204 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster
2016-04-17 22:45:16,219 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Broadcaster Polling Wait Time 100
2016-04-17 22:45:16,219 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Shared ExecutorService supported: true
2016-04-17 22:45:16,219 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Messaging Thread Pool Size: Unlimited
2016-04-17 22:45:16,219 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Async I/O Thread Pool Size: 200
2016-04-17 22:45:16,219 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
2016-04-17 22:45:16,219 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
2016-04-17 22:45:16,235 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Invoke AtmosphereInterceptor on WebSocket message true
2016-04-17 22:45:16,235 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) HttpSession supported: true
2016-04-17 22:45:16,235 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation
2016-04-17 22:45:16,235 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Atmosphere is using async support: org.atmosphere.container.JSR356AsyncSupport running under container: WildFly 1.0.2.Final - 1.2.9.Final using javax.servlet/3.0 and jsr356/WebSocket API
2016-04-17 22:45:16,235 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Atmosphere Framework 2.2.7.vaadin1 started.
2016-04-17 22:45:16,235 INFO [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 208) Installed AtmosphereInterceptor Track Message Size Interceptor using | with priority BEFORE_DEFAULT
2016-04-17 22:45:16,250 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 208) WFLYUT0021: Registered web context: /web-0.0.1-SNAPSHOT
2016-04-17 22:45:16,391 INFO [org.jboss.as.server] (management-handler-thread - 41) WFLYSRV0013: Redeployed "web-0.0.1-SNAPSHOT.war"
2016-04-17 22:45:16,391 INFO [org.jboss.as.server] (management-handler-thread - 41) WFLYSRV0016: Replaced deployment "web-0.0.1-SNAPSHOT.war" with deployment "web-0.0.1-SNAPSHOT.war"
2016-04-17 22:45:16,407 INFO [org.jboss.as.repository] (management-handler-thread - 41) WFLYDR0002: Content removed from location C:\jboss\wildfly-9.0.2.Final\standalone\data\content\cf\25dce1c34f9d240c649dd8fe101db0b3929e9b\content
and here a picture of my project structure:

Hibernate Schema Export failure without error

Since monday the error occurs, that the data schema is no longer exported correctly. The database tables are not created, even though there are no errors visible in the console log. This error also occures in earlier versions that ran perfectly fine before monday. Also newly created projects with maven have the same problem.
Furthermore, I installed the local WildFly server anew and also tried older versions (WildFly 8.x and 9.x).
The database in use is a mySQL database, but I also tried with other database types like H2 without any success.
The persistence.xml is as follows:
<persistence-unit name="primary">
<jta-data-source>java:jboss/datasources/chargingTransactionWarehouse</jta-data-source>
<properties>
<property name="hibernate.archive.autodetection" value="class, hbm"/>
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
<property name="hibernate.globally_quoted_identifiers" value="true" />
<property name="hibernate.show_sql" value="true" />
<property name="hibernate.format_sql" value="true" />
</properties>
</persistence-unit>
The console output:
19:09:30,499 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final
19:09:30,705 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
19:09:30,781 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 9.0.2.Final (WildFly Core 1.0.2.Final) starting
19:09:31,946 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 21) WFLYCTL0028: Attribute 'job-repository-type' in the resource at address '/subsystem=batch' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
19:09:31,954 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 7) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
19:09:31,968 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 7) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=java:jboss/datasources/chargingTransactionWarehouse' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
19:09:31,969 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 7) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=java:jboss/datasources/ChargingTransactionWarehouse' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
19:09:31,972 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 7) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=CrowdStrom' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
19:09:31,992 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found chargingTransactionWarehouse.war in deployment directory. To trigger deployment create a file called chargingTransactionWarehouse.war.dodeploy
19:09:32,026 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
19:09:32,064 INFO [org.xnio] (MSC service thread 1-6) XNIO version 3.3.1.Final
19:09:32,073 INFO [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.3.1.Final
19:09:32,127 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]
19:09:32,143 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
19:09:32,146 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.
19:09:32,149 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
19:09:32,151 INFO [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
19:09:32,152 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension
19:09:32,161 INFO [org.jboss.as.security] (MSC service thread 1-8) WFLYSEC0001: Current PicketBox version=4.9.2.Final
19:09:32,186 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem
19:09:32,215 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (IronJacamar 1.2.5.Final)
19:09:32,253 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
19:09:32,265 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
19:09:32,267 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2
19:09:32,275 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
19:09:32,274 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.2.9.Final starting
19:09:32,294 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0003: Undertow 1.2.9.Final starting
19:09:32,748 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path C:\Users\crowdstrom\wildfly-9.0.2.Final/welcome-content
19:09:32,758 INFO [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 4.0.9.Final
19:09:32,784 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server.
19:09:32,835 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting
19:09:32,989 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTP listener default listening on localhost/127.0.0.1:8080
19:09:33,102 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
19:09:33,192 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "mysql-connector-java-5.1.38-bin.jar" (runtime-name: "mysql-connector-java-5.1.38-bin.jar")
19:09:33,192 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "chargingTransactionWarehouse.war" (runtime-name: "chargingTransactionWarehouse.war")
19:09:33,244 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) WFLYDS0013: Started FileSystemDeploymentService for directory C:\Users\crowdstrom\wildfly-9.0.2.Final\standalone\deployments
19:09:33,431 INFO [org.jboss.ws.common.management] (MSC service thread 1-8) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final
19:09:33,617 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
19:09:33,619 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.fabric.jdbc.FabricMySQLDriver (version 5.1)
19:09:33,640 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for primary
19:09:33,642 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = mysql-connector-java-5.1.38-bin.jar_com.mysql.fabric.jdbc.FabricMySQLDriver_5_1
19:09:33,647 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = mysql-connector-java-5.1.38-bin.jar_com.mysql.jdbc.Driver_5_1
19:09:33,660 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/ChargingTransactionWarehouse]
19:09:33,661 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/CrowdStrom]
19:09:33,661 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/chargingTransactionWarehouse]
19:09:33,699 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 58) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'chargingTransactionWarehouse.war#primary'
19:09:33,722 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 58) HHH000204: Processing PersistenceUnitInfo [
name: primary
...]
19:09:33,725 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment chargingTransactionWarehouse.war
19:09:33,787 INFO [org.hibernate.Version] (ServerService Thread Pool -- 58) HHH000412: Hibernate Core {4.3.10.Final}
19:09:33,790 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 58) HHH000206: hibernate.properties not found
19:09:33,792 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 58) HHH000021: Bytecode provider name : javassist
19:09:33,809 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-8) HV000001: Hibernate Validator 5.1.3.Final
19:09:34,043 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0006: Starting Services for CDI deployment: chargingTransactionWarehouse.war
19:09:34,081 INFO [org.jboss.weld.Version] (MSC service thread 1-8) WELD-000900: 2.2.16 (SP1)
19:09:34,105 INFO [org.jboss.weld.deployer] (MSC service thread 1-7) WFLYWELD0009: Starting weld service for deployment chargingTransactionWarehouse.war
19:09:34,531 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 58) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'chargingTransactionWarehouse.war#primary'
19:09:34,599 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 58) HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
19:09:34,946 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 58) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
19:09:34,983 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 58) HHH000397: Using ASTQueryTranslatorFactory
19:09:35,097 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 58) HHH000227: Running hbm2ddl schema export
19:09:35,103 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 58) HHH000230: Schema export complete
19:09:35,812 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 61) Mojarra 2.2.12-jbossorg-2 20150729-1131 für Kontext '/chargingTransactionWarehouse' wird initialisiert.
19:09:36,351 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 61) WFLYUT0021: Registered web context: /chargingTransactionWarehouse
19:09:36,408 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "mysql-connector-java-5.1.38-bin.jar" (runtime-name : "mysql-connector-java-5.1.38-bin.jar")
19:09:36,408 INFO [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "chargingTransactionWarehouse.war" (runtime-name : "chargingTransactionWarehouse.war")
19:09:36,835 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
19:09:36,836 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
19:09:36,836 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 9.0.2.Final (WildFly Core 1.0.2.Final) started in 6618ms - Started 350 of 536 services (229 services are lazy, passive or on-demand)
I would be grateful for any helpful answer
King regards
EDIT:
I also tried to use the <class> tags as well as trying different mySQL dialects.
Found the error!
Due to the new JVM version, the actual error was not posted and the server was started. By installing the previous JVM version, the server failed to start and the chargingTransactionWarehouse.war.failure showed that there was a mapping error...

Categories