Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.15 KB | None | 0 0
  1. 12:12:53,025 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final
  2. 12:12:53,235 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
  3. 12:12:53,311 INFO [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting
  4. 12:12:54,532 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment MySpringHibernate.war
  5. 12:12:54,538 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found MySpringHibernate.war in deployment directory. To trigger deployment create a file called MySpringHibernate.war.dodeploy
  6. 12:12:54,598 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
  7. 12:12:54,624 INFO [org.xnio] (MSC service thread 1-5) XNIO version 3.4.0.Final
  8. 12:12:54,639 INFO [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.4.0.Final
  9. 12:12:54,718 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
  10. 12:12:54,757 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]
  11. 12:12:54,758 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.
  12. 12:12:54,804 INFO [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
  13. 12:12:54,805 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension
  14. 12:12:54,807 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.
  15. 12:12:54,809 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem
  16. 12:12:54,810 INFO [org.jboss.as.security] (MSC service thread 1-7) WFLYSEC0001: Current PicketBox version=4.9.6.Final
  17. 12:12:54,846 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 1.4.0.Final starting
  18. 12:12:54,973 INFO [org.jboss.as.connector] (MSC service thread 1-6) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)
  19. 12:12:55,027 INFO [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 4.0.21.Final
  20. 12:12:55,081 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.4)
  21. 12:12:55,102 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = postgres
  22. 12:12:55,118 INFO [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
  23. 12:12:55,120 INFO [org.jboss.as.mail.extension] (MSC service thread 1-5) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
  24. 12:12:55,143 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path '/home/naveen/JBoss/wildfly-10.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
  25. 12:12:55,164 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0012: Started server default-server.
  26. 12:12:55,189 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0018: Host default-host starting
  27. 12:12:55,301 INFO [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
  28. 12:12:55,301 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
  29. 12:12:55,404 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
  30. 12:12:55,663 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/test]
  31. 12:12:55,767 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-5) WFLYDM0111: Keystore /home/naveen/JBoss/wildfly-10.1.0.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
  32. 12:12:55,774 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) WFLYDS0013: Started FileSystemDeploymentService for directory /home/naveen/JBoss/wildfly-10.1.0.Final/standalone/deployments
  33. 12:12:55,792 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "MySpringHibernate.war" (runtime-name: "MySpringHibernate.war")
  34. 12:12:56,009 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final
  35. 12:12:56,042 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 61) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
  36. 12:12:56,043 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 61) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
  37. 12:12:56,051 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
  38. 12:12:56,052 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
  39. 12:12:56,071 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 62) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
  40. 12:12:56,072 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 62) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
  41. 12:12:56,105 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
  42. 12:12:56,202 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6)
  43. 12:12:56,465 WARN [org.jboss.as.ee] (MSC service thread 1-6) WFLYEE0007: Not installing optional component org.springframework.web.servlet.DispatcherServlet due to an exception (enable DEBUG log level to see the cause)
  44. 12:12:56,576 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet from [Module "deployment.MySpringHibernate.war:main" from Service Module Loader]
  45. at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:1079)
  46. at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:284)
  47. at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
  48. at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
  49. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  50. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  51. at java.lang.Thread.run(Thread.java:748)
  52. Caused by: java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet from [Module "deployment.MySpringHibernate.war:main" from Service Module Loader]
  53. at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
  54. at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
  55. at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
  56. at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
  57. at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:723)
  58. ... 6 more
  59.  
  60. 12:12:56,956 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "MySpringHibernate.war")]) - failure description: {
  61. "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet from [Module "deployment.MySpringHibernate.war:main" from Service Module Loader]
  62. Caused by: java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet from [Module "deployment.MySpringHibernate.war:main" from Service Module Loader]"},
  63. "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService"],
  64. "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
  65. }
  66. 12:12:56,991 INFO [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "MySpringHibernate.war" (runtime-name : "MySpringHibernate.war")
  67. 12:12:56,992 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
  68. WFLYCTL0186: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet from [Module "deployment.MySpringHibernate.war:main" from Service Module Loader]
  69.  
  70. 12:12:57,091 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
  71. 12:12:57,092 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
  72. 12:12:57,092 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 4541ms - Started 393 of 647 services (3 services failed or missing dependencies, 404 services are lazy, passive or on-demand)
  73. 12:12:57,129 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment MySpringHibernate.war (runtime-name: MySpringHibernate.war) in 13ms
  74. 12:12:57,175 WARN [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []
  75. 12:12:57,177 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0009: Undeployed "MySpringHibernate.war" (runtime-name: "MySpringHibernate.war")
  76. 12:12:57,178 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report
  77. WFLYCTL0184: New missing/unsatisfied dependencies:
  78. service jboss.deployment.unit."MySpringHibernate.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.deployment.unit."MySpringHibernate.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./MySpringHibernate]
  79. service jboss.deployment.unit."MySpringHibernate.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment.unit."MySpringHibernate.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./MySpringHibernate]
  80. service jboss.deployment.unit."MySpringHibernate.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."MySpringHibernate.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./MySpringHibernate]
  81. service jboss.deployment.unit."MySpringHibernate.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."MySpringHibernate.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./MySpringHibernate]
  82. service jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./MySpringHibernate]
  83. WFLYCTL0186: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./MySpringHibernate.UndertowDeploymentInfoService
  84.  
  85. 12:13:02,011 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0004: Found MySpringHibernate.war in deployment directory. To trigger deployment create a file called MySpringHibernate.war.dodeploy
  86.  
  87. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  88. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  89. <modelVersion>4.0.0</modelVersion>
  90. <groupId>com.sugandh.tdh</groupId>
  91. <artifactId>MySpringHibernate</artifactId>
  92. <packaging>war</packaging>
  93. <version>0.0.1-SNAPSHOT</version>
  94. <name>MySpringHibernate Maven Webapp</name>
  95. <url>http://maven.apache.org</url>
  96. <properties>
  97. <spring.version>4.0.5.RELEASE</spring.version>
  98. <hibernate.version>4.3.5.Final</hibernate.version>
  99. <log4j.version>1.2.17</log4j.version>
  100. <jdk.version>1.7</jdk.version>
  101. <context.path>SpringRestCrud</context.path>
  102. </properties>
  103. <build>
  104. <finalName>${project.artifactId}</finalName>
  105. <plugins>
  106. <plugin>
  107. <artifactId>maven-compiler-plugin</artifactId>
  108. <version>2.3.2</version>
  109. <configuration>
  110. <source>${jdk.version}</source>
  111. <target>${jdk.version}</target>
  112. </configuration>
  113. </plugin>
  114. </plugins>
  115. </build>
  116.  
  117. <dependencies>
  118. <dependency>
  119. <groupId>log4j</groupId>
  120. <artifactId>log4j</artifactId>
  121. <version>${log4j.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework</groupId>
  125. <artifactId>spring-orm</artifactId>
  126. <version>${spring.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework</groupId>
  130. <artifactId>spring-jdbc</artifactId>
  131. <version>${spring.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework</groupId>
  135. <artifactId>spring-web</artifactId>
  136. <version>${spring.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework</groupId>
  140. <artifactId>spring-webmvc</artifactId>
  141. <version>${spring.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>jstl</groupId>
  145. <artifactId>jstl</artifactId>
  146. <version>1.2</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.google.code.gson</groupId>
  150. <artifactId>gson</artifactId>
  151. <version>2.2.2</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>mysql</groupId>
  155. <artifactId>mysql-connector-java</artifactId>
  156. <version>5.1.6</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.codehaus.jackson</groupId>
  160. <artifactId>jackson-mapper-asl</artifactId>
  161. <version>1.9.10</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.hibernate</groupId>
  165. <artifactId>hibernate-entitymanager</artifactId>
  166. <version>${hibernate.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.postgresql</groupId>
  170. <artifactId>postgresql</artifactId>
  171. <version>9.3-1100-jdbc41</version>
  172. </dependency>
  173. </dependencies>
  174. </project>
  175.  
  176. <?xml version="1.0" encoding="UTF-8"?>
  177. <beans xmlns="http://www.springframework.org/schema/beans"
  178. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
  179. xmlns:util="http://www.springframework.org/schema/util" xmlns:mvc="http://www.springframework.org/schema/mvc"
  180. xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
  181. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  182. http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd
  183. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd">
  184.  
  185. <context:component-scan base-package="com.sugandh.controller" />
  186. <mvc:annotation-driven />
  187.  
  188. <!-- bean id="dataSource"
  189. class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  190. <property name="driverClassName" value="org.postgresql.Driver" />
  191. <property name="url" value="jdbc:postgresql://127.0.0.1:5432/Testing" />
  192. <property name="username" value="postgres" />
  193. <property name="password" value="hlinaknk" />
  194. </bean-->
  195.  
  196. <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
  197. <property name="jndiName"><value>java:jboss/datasources/Testing</value></property>
  198. </bean>
  199.  
  200. <bean id="sessionFactory"
  201. class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
  202. <property name="dataSource" ref="dataSource" />
  203. <property name="annotatedClasses">
  204. <list>
  205. <value>com.sugandh.model.Employee</value>
  206. </list>
  207. </property>
  208. <property name="hibernateProperties">
  209. <props>
  210. <prop key="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</prop>
  211. <prop key="hibernate.show_sql">true</prop>
  212. </props>
  213. </property>
  214. </bean>
  215.  
  216. <bean id="txManager"
  217. class="org.springframework.orm.hibernate4.HibernateTransactionManager">
  218. <property name="sessionFactory" ref="sessionFactory" />
  219. </bean>
  220.  
  221. <bean id="persistenceExceptionTranslationPostProcessor"
  222. class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" />
  223.  
  224. <bean id="dataDao" class="com.sugandh.dao.DataDaoImpl"></bean>
  225. <bean id="dataServices" class="com.sugandh.services.DataServicesImpl"></bean>
  226. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement