Using standalone infinispan (7.1.1 version) and infinispan is shutting down - infinispan

I am using standalone infinispan server on linux. We have bundled the infinispan version 7.1.1.Final and its deployed on RHEL7 VM along with one service which is dependent on infinispan server.
During upgrade, we could see that the infinispan server comes online but after few minutes it shuts down causing dependent service to stop and VM to stop.
Later, when we try to bring up the VM and issue get resolved.
This is an intermittent issue seen during upgrades only.
**Logs - **
2022-11-02 22:43:06,618 INFO [org.jboss.modcluster] (ServerService Thread Pool -- 36) MODCLUSTER000002: Initiating mod_cluster shutdown
2022-11-02 22:43:06,623 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017521: Undertow HTTP listener default suspending
2022-11-02 22:43:06,710 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017520: Undertow HTTP listener default stopped, was bound to /<VM_IP>:<VM_Port>
2022-11-02 22:43:06,713 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017506: Undertow 1.0.15.Final stopping
2022-11-02 22:43:06,734 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) JBAS010282: Stopped default cache from clustered container
2022-11-02 22:43:06,747 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) JBAS010282: Stopped ___hotRodTopologyCache cache from clustered container
2022-11-02 22:43:06,757 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) JBAS010282: Stopped ___protobuf_metadata cache from clustered container
2022-11-02 22:43:06,758 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000080: Disconnecting JGroups channel clustered
2022-11-02 22:43:06,770 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000082: Stopping the RpcDispatcher for channel clustered
2022-11-02 22:43:06,788 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015950: JBoss Infinispan Server 7.1.1.Final (WildFly 8.1.0.Final) stopped in 335ms
kindly provide some insights for this investigation.

Related

java.lang.ClassNotFoundException: org.springframework.web.servlet.tags.EvalTag

I am getting this exception while running spring application on Jboss 7.1,the jar containing the class is present there(Spring mvc-3.0.5 release )
15:49:11,354 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
15:49:14,742 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
15:49:15,354 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting
15:49:27,980 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
15:49:27,995 INFO [org.xnio] XNIO Version 3.0.3.GA
15:49:28,308 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
15:49:28,403 INFO [org.jboss.remoting] JBoss Remoting version 3.2.2.GA
15:49:28,496 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
15:49:28,606 INFO [org.jboss.as.security] (ServerService Thread Pool -- 48) JBAS013101: Activating Security Subsystem
15:49:28,621 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 35) JBAS010280: Activating Infinispan subsystem.
15:49:28,668 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 43) JBAS011940: Activating OSGi Subsystem
15:49:28,715 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 42) JBAS011800: Activating Naming Subsystem
15:49:28,824 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 52) JBAS015537: Activating WebServices Extension
15:49:30,917 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.6.final
15:49:30,965 INFO [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.7.Final)
15:49:31,465 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
15:49:32,043 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 31) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
15:49:33,060 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
15:49:36,259 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-1234
15:49:40,308 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.1.GA
15:49:43,016 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory C:\Program Files\jboss_server\jboss-as-7.1.0.Final\standalone\deployments
15:49:43,080 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found SprinWebJboss.war in deployment directory. To trigger deployment create a file called SprinWebJboss.war.dodeploy
15:49:43,220 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on localhost/127.0.0.1:4447
15:49:43,220 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:9999
15:49:43,877 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
15:49:44,566 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.0.Final "Thunder" started in 38848ms - Started 135 of 206 services (70 services are passive or on-demand)
15:49:44,707 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "SprinWebJboss.war"
15:49:47,211 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."SprinWebJboss.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."SprinWebJboss.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "SprinWebJboss.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_04]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_04]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_04]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011093: Could not load component class org.springframework.web.servlet.tags.EvalTag
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:113)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:54)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
... 5 more
Caused by: java.lang.ClassNotFoundException: org.springframework.web.servlet.tags.EvalTag from [Module "deployment.SprinWebJboss.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:111)
... 7 more
15:49:47,242 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "SprinWebJboss.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"SprinWebJboss.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"SprinWebJboss.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"SprinWebJboss.war\""}}
15:49:47,259 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment SprinWebJboss.war in 13ms
15:49:47,259 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."SprinWebJboss.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."SprinWebJboss.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "SprinWebJboss.war"
15:49:47,259 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"SprinWebJboss.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"SprinWebJboss.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"SprinWebJboss.war\""}}}}
Can you find which jar is this class coming from:
org.springframework.web.servlet.tags.EvalTag
Can you unzip the ear and re-check that the jar Spring mvc-3.0.5 release is part of the packaged ear.

No mapping found for HTTP request with URI with Wildfly and Intellij

I just decided to start using Jboss and ran into some issues on configuration. I was hoping to find the solution here.
I am using intellij 14 Ultimate and below are some screen shots of my set up.
/wildfly-9.0.1.Final/bin/standalone.sh
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java -classpath "/Applications/IntelliJ IDEA 14.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA 14.app/Contents/lib/util.jar" -Dfile.encoding=UTF-8 com.intellij.rt.execution.CommandLineWrapper /private/var/folders/82/0w1gp6xx3sl3hptcc5pqsxj00000gn/T/classpath0.tmp com.intellij.javaee.oss.process.JavaeeProcess 53199 com.intellij.javaee.oss.jboss.agent.JBoss71Agent
[2015-08-21 01:03:33,576] Artifact offers:war exploded: Server is not connected. Deploy is not available.
Detected server admin port: 9990
Detected server http port: 8080
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /wildfly-9.0.1.Final
JAVA: /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
13:03:32,399 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final
13:03:33,176 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
13:03:33,375 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 9.0.1.Final (WildFly Core 1.0.1.Final) starting
13:03:36,270 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 8) 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.
13:03:36,272 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 12) 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.
13:03:36,454 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
13:03:36,644 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.3.1.Final
13:03:36,657 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.3.1.Final
13:03:36,820 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
13:03:36,836 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors
13:03:36,860 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.
13:03:36,892 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.9.Final
13:03:36,955 INFO [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
13:03:36,955 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.
13:03:36,959 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension
13:03:36,983 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem
13:03:37,002 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0003: Undertow 1.2.9.Final starting
13:03:37,002 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0003: Undertow 1.2.9.Final starting
13:03:37,010 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]
13:03:37,090 INFO [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting JCA Subsystem (IronJacamar 1.2.4.Final)
13:03:37,187 INFO [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=4.9.2.Final
13:03:37,477 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2
13:03:37,480 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
13:03:37,488 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
13:03:37,625 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path /wildfly-9.0.1.Final/welcome-content
13:03:37,644 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.
13:03:37,717 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting
13:03:37,981 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on /127.0.0.1:8080
13:03:38,321 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) WFLYDS0013: Started FileSystemDeploymentService for directory /wildfly-9.0.1.Final/standalone/deployments
13:03:38,767 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
13:03:38,816 INFO [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final
13:03:39,348 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
13:03:39,348 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
13:03:39,349 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 9.0.1.Final (WildFly Core 1.0.1.Final) started in 8364ms - Started 203 of 379 services (210 services are lazy, passive or on-demand)
Connected to server
[2015-08-21 01:03:40,302] Artifact offers:war exploded: Artifact is being deployed, please wait...
13:03:40,550 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "offers_war_exploded" (runtime-name: "offers_war_exploded.war")
13:03:41,677 WARN [org.jboss.as.ee] (MSC service thread 1-4) WFLYEE0007: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
13:03:41,952 INFO [io.undertow.servlet] (ServerService Thread Pool -- 3) No Spring WebApplicationInitializer types detected on classpath
13:03:42,036 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 3) Initializing Mojarra 2.2.11-jbossorg-1 20150505-1501 for context '/offers_war_exploded'
13:03:43,576 INFO [io.undertow.servlet] (ServerService Thread Pool -- 3) Initializing Spring FrameworkServlet 'offers'
13:03:43,579 INFO [org.springframework.web.servlet.DispatcherServlet] (ServerService Thread Pool -- 3) FrameworkServlet 'offers': initialization started
13:03:43,601 INFO [org.springframework.web.context.support.XmlWebApplicationContext] (ServerService Thread Pool -- 3) Refreshing WebApplicationContext for namespace 'offers-servlet': startup date [Fri Aug 21 13:03:43 CEST 2015]; root of context hierarchy
13:03:43,640 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (ServerService Thread Pool -- 3) Loading XML bean definitions from ServletContext resource [/WEB-INF/offers-servlet.xml]
13:03:43,957 INFO [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (ServerService Thread Pool -- 3) JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
13:03:43,963 INFO [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (ServerService Thread Pool -- 3) JSR-330 'javax.inject.Named' annotation found and supported for component scanning
13:03:44,127 INFO [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor] (ServerService Thread Pool -- 3) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
13:03:44,136 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ServerService Thread Pool -- 3) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory#737dec13: defining beans [offersController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
13:03:44,274 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] (ServerService Thread Pool -- 3) Mapped "{[/],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.caveofprogramming.spring.web.controllers.OffersController.showHome()
13:03:44,304 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 3) HV000001: Hibernate Validator 5.1.3.Final
13:03:44,871 INFO [org.springframework.web.servlet.DispatcherServlet] (ServerService Thread Pool -- 3) FrameworkServlet 'offers': initialization completed in 1292 ms
13:03:44,872 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 3) WFLYUT0021: Registered web context: /offers_war_exploded
13:03:44,892 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "offers_war_exploded" (runtime-name : "offers_war_exploded.war")
[2015-08-21 01:03:44,923] Artifact offers:war exploded: Artifact is deployed successfully
[2015-08-21 01:03:44,923] Artifact offers:war exploded: Deploy took 4,621 milliseconds
13:03:45,415 WARN [org.springframework.web.servlet.PageNotFound] (default task-1) No mapping found for HTTP request with URI [/offers_war_exploded/home] in DispatcherServlet with name 'offers'
13:03:45,953 WARN [org.springframework.web.servlet.PageNotFound] (default task-3) No mapping found for HTTP request with URI [/offers_war_exploded/home] in DispatcherServlet with name 'offers'
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>spring-tutorial-50</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<description></description>
<display-name>offers</display-name>
<servlet-name>offers</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>offers</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
</web-app>
-------UPDATE ONE-------------
I am a little confused here.
The error said:
No mapping found for HTTP request with URI [/offers_war_exploded/home] in DispatcherServlet with name 'offers'
So I decided to do the following:
<url-pattern>/offers_war_exploded/home/*</url-pattern>
Full code:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>spring-tutorial-50</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<description></description>
<display-name>offers</display-name>
<servlet-name>offers</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>offers</servlet-name>
<url-pattern>/offers_war_exploded/home/*</url-pattern>
</servlet-mapping>
</web-app>
Now the artifact is deployed successfully but in the browser I get:

Deploy in cloudbees

I have this trace in jboss in cloudbees:
21:29:57,462 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.subunit."app.ear"."webapp.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."app.ear"."webapp.war".INSTALL: Failed to process phase INSTALL of subdeployment "webapp.war" of deployment "app.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_35]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_35]
Caused by: java.lang.RuntimeException: Could not get class configuration for
br.com.mystudies.service.persistence.BackLogDAOBean due to the following errors:
Can't find a deployment unit named mystudies-persistence at subdeployment
"webapp.war" of deployment "app.ear"
but I downloaded the war file in jenkins and deployed in local environment:
18:19:51,614 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-6) HHH00130:Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
18:19:52,104 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-6) HHH00400:Using dialect: org.hibernate.dialect.MySQLDialect
more log...
18:19:54,399 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-6) HHH00232:Schema update complete
18:19:56,371 INFO [org.jboss.web] (MSC service thread 1-3) registering web context: /mystudies-web-1.0.0
18:19:56,432 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployed "mystudies-web-1.0.0.war"
the deploy hasn't problem.
I searched this problem in google, but no answer.
someone can help me ?
You will want to ensure you can running the same version locally where possible. It is a bit hard to know what it could be from that. Currently only the web profile is supported.

Quartz 1.8.3 and JBoss 7.1.1

Using Quartz 1.8.3 and JBoss 7.1.1 and using the following properties file :
#============================================================================
# Configure Main Scheduler Properties
#============================================================================
org.quartz.scheduler.instanceName = MyScheduler
org.quartz.scheduler.instanceId = AUTO
#============================================================================
# Configure ThreadPool
#============================================================================
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount = 25
org.quartz.threadPool.threadPriority = 5
#============================================================================
# Configure JobStore
#============================================================================
org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreCMT
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.jobStore.useProperties = false
org.quartz.jobStore.dataSource = quartzDS
org.quartz.jobStore.nonManagedTXDataSource = quartzDSNoTx
org.quartz.jobStore.tablePrefix = QRTZ_
org.quartz.jobStore.clusterCheckinInterval = 20000
org.quartz.jobStore.isClustered = false
org.quartz.jobStore.acquireTriggersWithinLock=true
#============================================================================
# Configure Datasources
#============================================================================
org.quartz.dataSource.quartzDS.jndiURL= java:jboss/datasources/myDS
org.quartz.dataSource.quartzDSNoTx.jndiURL= java:jboss/datasources/myDS
#============================================================================
# Quartz Plugin
#============================================================================
org.quartz.plugin.jobstop.class = com.viagents.quartz.JobStopPlugin
org.quartz.plugin.jobstop.tablePrefix = QRTZ_
The way I init Quartz is by using #Singleton, #Startup and #PostConstruct annotation on a method that looks like this :
#EjbInterface(type = EjbInterface.Type.LOCAL)
#TransactionAttribute(TransactionAttributeType.REQUIRED)
public void startJobs() {
try {
Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler();
this.registerJMX(scheduler);
scheduler.start();
...........................................
}
If the org.quartz.jobStore.isClustered property is false I can't acquire a scheduler, I get this exception :
13:20:23,636 INFO [org.quartz.core.QuartzScheduler] (MSC service thread 1-15) Quartz Scheduler v.1.8.3 created.
13:20:23,646 INFO [org.quartz.impl.jdbcjobstore.JobStoreCMT] (MSC service thread 1-15) Using db table-based data access locking (synchronization).
13:20:23,682 INFO [org.quartz.impl.jdbcjobstore.JobStoreCMT] (MSC service thread 1-15) Removed 0 Volatile Trigger(s).
13:20:23,684 INFO [org.quartz.impl.jdbcjobstore.JobStoreCMT] (MSC service thread 1-15) Removed 0 Volatile Job(s).
13:20:23,687 INFO [org.quartz.core.QuartzScheduler] (MSC service thread 1-15) Scheduler MyScheduler_$_NON_CLUSTERED shutting down.
13:20:23,689 INFO [org.quartz.core.QuartzScheduler] (MSC service thread 1-15) Scheduler MyScheduler_$_NON_CLUSTERED paused.
13:20:23,691 INFO [org.quartz.core.QuartzScheduler] (MSC service thread 1-15) Scheduler MyScheduler_$_NON_CLUSTERED shutdown complete.
13:20:23,707 INFO [stdout] (MSC service thread 1-15) java.lang.reflect.UndeclaredThrowableException
13:20:23,709 INFO [stdout] (MSC service thread 1-15) at $Proxy33.rollback(Unknown Source)
13:20:23,710 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3604)
13:20:23,713 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3776)
13:20:23,715 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3725)
13:20:23,717 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanVolatileTriggerAndJobs(JobStoreSupport.java:747)
13:20:23,719 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:605)
13:20:23,721 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.jdbcjobstore.JobStoreCMT.initialize(JobStoreCMT.java:142)
13:20:23,723 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1269)
13:20:23,724 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1460)
13:20:23,862 INFO [stdout] (MSC service thread 1-15) Caused by: java.lang.reflect.InvocationTargetException
13:20:23,865 INFO [stdout] (MSC service thread 1-15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
13:20:23,866 INFO [stdout] (MSC service thread 1-15) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
13:20:23,868 INFO [stdout] (MSC service thread 1-15) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
13:20:23,869 INFO [stdout] (MSC service thread 1-15) at java.lang.reflect.Method.invoke(Method.java:597)
13:20:23,870 INFO [stdout] (MSC service thread 1-15) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:71)
13:20:23,872 INFO [stdout] (MSC service thread 1-15) ... 85 more
13:20:23,873 INFO [stdout] (MSC service thread 1-15) Caused by: java.sql.SQLException: You cannot rollback during a managed transaction!
13:20:23,875 INFO [stdout] (MSC service thread 1-15) at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.jdbcRollback(BaseWrapperManagedConnection.java:1022)
13:20:23,876 INFO [stdout] (MSC service thread 1-15) at org.jboss.jca.adapters.jdbc.WrappedConnection.rollback(WrappedConnection.java:778)
13:20:23,878 INFO [stdout] (MSC service thread 1-15) ... 90 more
13:20:23,880 INFO [org.jboss.as] (MSC service thread 1-11) JBAS015951: Admin console listening on http://127.0.0.1:9990
If I set the cluster property to true, I get this :
13:29:31,562 INFO [org.quartz.core.QuartzScheduler] (MSC service thread 1-4) Scheduler meta-data: Quartz Scheduler (v1.8.3) 'ViSixdScheduler' with instanceId 'Se-PC1339507771533'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 25 threads.
Using job-store 'org.quartz.impl.jdbcjobstore.JobStoreCMT' - which supports persistence. and is clustered.
13:29:31,579 INFO [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-4) Quartz scheduler 'MyScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
13:29:31,581 INFO [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-4) Quartz scheduler version: 1.8.3
13:29:33,577 INFO [org.quartz.utils.UpdateChecker] (Timer-1) New Quartz update(s) found: 1.8.5 [http://www.terracotta.org/kit/reflector?kitID=default&pageID=QuartzChangeLog]
13:29:43,970 INFO [org.quartz.impl.jdbcjobstore.JobStoreCMT] (MSC service thread 1-4) ClusterManager: detected 1 failed or restarted instances.
13:29:43,972 INFO [org.quartz.impl.jdbcjobstore.JobStoreCMT] (MSC service thread 1-4) ClusterManager: Scanning for instance "Se-PC1339504980109"'s failed in-progress jobs.
13:29:43,979 ERROR [org.quartz.impl.jdbcjobstore.JobStoreCMT] (MSC service thread 1-4) ClusterManager: Error managing cluster: null: java.lang.reflect.UndeclaredThrowableException
at $Proxy33.commit(Unknown Source) at org.quartz.impl.jdbcjobstore.JobStoreSupport.commitConnection(JobStoreSupport.java:3624) [quartz-1.8.3.jar:]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3213) [quartz-1.8.3.jar:]
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3820) [quartz-1.8.3.jar:]
If I don't call start on the scheduler I can only fire jobs #once .... but it's quite useless without starting :(
Any help is greatly appreciated.
Thank you
Have a look at this quartz 2.0 tutorial
Regards
How is your quartzDS datasource defined in your standalone.xml? Using Quartz 1.8.5 and Jboss 7.1.1, I see was seeing the same stack trace as you. Quartz started without error after setting the quartz datasource jta attribute to false. With jta set false its more like a plain JDBC connection to a single database
<datasource jta="false" jndi-name="java:/quartzDS" pool-name="quartzDS" enabled="true" use-java-context="true" use-ccm="true">
.

Ear packing structure for jboss 7

we are using J2EE 1.4, servlet version 1.4 and EJB version 2.1, when i deploy my ear file in jboss 7, which is build by using netbeans 6.9.1. I'm getting exception. Is there any specific deployment configuration for jboss 7, If so kindly help me to build a proper ear file which can be deployed in jboss 7. I there any build tool for it.
I just tested in jb 6 and jb7, do not find any problem as per following logs:
09:26:15,723 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBA
S015876: Starting deployment of "mavenproject2-ear-1.0-SNAPSHOT.ear"
09:26:15,936 INFO [org.jboss.as.server.deployment] (MSC service thread 1-15) JB
AS015876: Starting deployment of "mavenproject2-ejb-1.0-SNAPSHOT.jar"
09:26:15,936 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBA
S015876: Starting deployment of "mavenproject2-web-1.0-SNAPSHOT.war"
09:26:17,750 INFO [org.jboss.web] (MSC service thread 1-16) JBAS018210: Registe
ring web context: /mavenproject2-web
09:26:17,754 INFO [org.jboss.as] (MSC service thread 1-15) JBAS015951: Admin co
nsole listening on http://127.0.0.1:9990
09:26:17,756 INFO [org.jboss.as] (MSC service thread 1-15) JBAS015874: JBoss AS
7.1.1.Final "Brontes" started in 27236ms - Started 202 of 283 services (80 serv
ices are passive or on-demand)
09:26:17,843 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018
559: Deployed "mavenproject2-ear-1.0-SNAPSHOT.ear"
Please note that this ear has been created in netbeans7.1 with jboss 6 as target server , and all I did was to copy the ear in D:\jboss-as-7.1.1.Final\standalone\deployments