Error creating bean with name 'blJaxrsObjectMapperProvider' and 'blJaxrsObjectMapperProvider' - jboss7.x

I build a project on JBoss 7.0 and 7.1, but I receive the following error when I try. I'm waiting for your help.
JDK 1.7
Thanks
11:47:16,733 INFO [stdout] (MSC service thread 1-10) [ WARN] 11:47:16 MergeXmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blJaxrsObjectMapperProvider': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'blWrapperOverrideTypeModifier' is defined
11:47:17,604 INFO [stdout] (MSC service thread 1-10) [ERROR] 11:47:17 ContextLoader - Context initialization failed
11:47:17,605 INFO [stdout] (MSC service thread 1-10) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blJaxrsObjectMapperProvider': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'blWrapperOverrideTypeModifier' is defined
11:47:17,605 INFO [stdout] (MSC service thread 1-10) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
11:47:17,605 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
11:47:17,605 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
11:47:17,605 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
11:47:17,605 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
11:47:17,606 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
11:47:17,606 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
11:47:17,606 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
11:47:17,606 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
11:47:17,606 INFO [stdout] (MSC service thread 1-10) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
11:47:17,606 INFO [stdout] (MSC service thread 1-10) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
11:47:17,607 INFO [stdout] (MSC service thread 1-10) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434)
11:47:17,607 INFO [stdout] (MSC service thread 1-10) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
11:47:17,607 INFO [stdout] (MSC service thread 1-10) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
11:47:17,607 INFO [stdout] (MSC service thread 1-10) at org.broadleafcommerce.common.web.extensibility.MergeContextLoader.contextInitialized(MergeContextLoader.java:146)
11:47:17,607 INFO [stdout] (MSC service thread 1-10) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)
11:47:17,607 INFO [stdout] (MSC service thread 1-10) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821)
11:47:17,607 INFO [stdout] (MSC service thread 1-10) at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)
11:47:17,608 INFO [stdout] (MSC service thread 1-10) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
11:47:17,608 INFO [stdout] (MSC service thread 1-10) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
11:47:17,608 INFO [stdout] (MSC service thread 1-10) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
11:47:17,608 INFO [stdout] (MSC service thread 1-10) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
11:47:17,608 INFO [stdout] (MSC service thread 1-10) at java.lang.Thread.run(Thread.java:745)
11:47:17,608 INFO [stdout] (MSC service thread 1-10) Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'blWrapperOverrideTypeModifier' is defined
11:47:17,609 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)
11:47:17,609 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1168)
11:47:17,609 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281)
11:47:17,609 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
11:47:17,609 INFO [stdout] (MSC service thread 1-10) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:461)
11:47:17,609 INFO [stdout] (MSC service thread 1-10) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:435)
11:47:17,610 INFO [stdout] (MSC service thread 1-10) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:559)
11:47:17,610 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
11:47:17,610 INFO [stdout] (MSC service thread 1-10) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
11:47:17,610 INFO [stdout] (MSC service thread 1-10) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)
11:47:17,610 INFO [stdout] (MSC service thread 1-10) ... 22 more
11:47:17,610 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/admin]] (MSC service thread 1-10) Exception sending context initialized event to listener instance of class org.broadleafcommerce.common.web.extensibility.MergeContextLoader: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blJaxrsObjectMapperProvider': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'blWrapperOverrideTypeModifier' is defined
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308) [spring-context-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) [spring-context-4.1.9.RELEASE.jar:]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) [spring-context-4.1.9.RELEASE.jar:]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434) [spring-web-4.1.9.RELEASE.jar:]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) [spring-web-4.1.9.RELEASE.jar:]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) [spring-web-4.1.9.RELEASE.jar:]
at org.broadleafcommerce.common.web.extensibility.MergeContextLoader.contextInitialized(MergeContextLoader.java:146) [broadleaf-common-5.0.1-GA.jar:]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [:1.7.0_80]
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'blWrapperOverrideTypeModifier' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1168) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:461) [spring-context-4.1.9.RELEASE.jar:]
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:435) [spring-context-4.1.9.RELEASE.jar:]
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:559) [spring-context-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) [spring-beans-4.1.9.RELEASE.jar:]
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305) [spring-context-4.1.9.RELEASE.jar:]
... 22 more

If you have javax.ws.rs.core on your classpath then it is required to define the bean
<bean id="blWrapperOverrideTypeModifier" class="org.broadleafcommerce.core.web.api.WrapperOverrideTypeModifier">
in you're applicationContext.

Related

Can't enable kie-drools-wb-7.10.0.war in wildfly 11 after deployment

I went through the installation guide on https://docs.optaplanner.org/7.10.0.Final/optaplanner-wb-es-docs/html_single/#_planner.quickstart and on https://docs.optaplanner.org/latest/optaplanner-wb-es-docs/html_single/#_wildfly_11_x and did the steps desciped there but I can't enable the kie-wb deployment. I tried to install the kie-wb by copying it in the /standalone/deployments and by adding the kie-wb.war from the wildfly deployments GUI.
I start wildfly with
./bin/standalone.sh --server-config=standalone-full.xml -Dorg.kie.server.user=planner -Dorg.kie.server.pwd=Planner123_ -Dorg.kie.server.controller.user=planner -Dorg.kie.server.controller.pwd=Planner123_ -Dorg.kie.server.id=wildfly-kieserver -Dorg.kie.server.location=http://localhost:8080/kie-server/services/rest/server -Dorg.kie.server.controller=http://localhost:8080/kie-wb/rest/controller
In the second case I get this errors:
15:38:35,251 INFO [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Found kmodule: vfs:/content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,273 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Error when reading virtual file from vfs:/content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml: java.lang.IllegalArgumentException: object is not an instance
of declaring class
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:498)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPathForVFS(ClasspathKieProject.java:423)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fixURLFromKProjectPath(ClasspathKieProject.java:368)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84)
at org.drools.compiler.kie.builder.impl.KieContainerImpl.(KieContainerImpl.java:131)
at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:131)
at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:118)
at org.drools.cdi.KieCDIExtension.init(KieCDIExtension.java:94)
at org.drools.cdi.KieCDIExtension.processInjectionTarget(KieCDIExtension.java:100)
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:498)
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85)
at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)
at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286)
at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124)
at org.jboss.weld.util.Observers.notify(Observers.java:166)
at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285)
at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
at org.jboss.weld.bootstrap.events.AbstractProcessInjectionTarget.fire(AbstractProcessInjectionTarget.java:33)
at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessInjectionTarget(ContainerLifecycleEvents.java:269)
at org.jboss.weld.bootstrap.AbstractBeanDeployer.processInjectionTargetEvents(AbstractBeanDeployer.java:140)
at org.jboss.weld.bootstrap.BeanDeployer.processBeans(BeanDeployer.java:262)
at org.jboss.weld.bootstrap.BeanDeployer.processClassBeanAttributes(BeanDeployer.java:244)
at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:436)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:86)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:97)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
15:38:35,884 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,885 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war
15:38:35,885 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) As folder project tried to fall back to pom.xml, but could not find one
15:38:35,886 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to load pom.properties from/content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,886 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Cannot find maven pom properties for this project. Using the container's default ReleaseId
15:38:35,898 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to build index of kmodule.xml url=vfs:/content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml
Unable to get all ZipFile entries: /content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,898 INFO [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Found kmodule: vfs:/content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,899 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Error when reading virtual file from vfs:/content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml: java.lang.IllegalArgumentException: object is not an instance of declaring class
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:498)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPathForVFS(ClasspathKieProject.java:423)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fixURLFromKProjectPath(ClasspathKieProject.java:368)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84)
at org.drools.compiler.kie.builder.impl.KieContainerImpl.(KieContainerImpl.java:131)
at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:131)
at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:118)
at org.drools.cdi.KieCDIExtension.init(KieCDIExtension.java:94)
at org.drools.cdi.KieCDIExtension.processInjectionTarget(KieCDIExtension.java:100)
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:498)
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85)
at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)
at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286)
at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124)
at org.jboss.weld.util.Observers.notify(Observers.java:166)
at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285)
at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
at org.jboss.weld.bootstrap.events.AbstractProcessInjectionTarget.fire(AbstractProcessInjectionTarget.java:33)
at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessInjectionTarget(ContainerLifecycleEvents.java:269)
at org.jboss.weld.bootstrap.AbstractBeanDeployer.processInjectionTargetEvents(AbstractBeanDeployer.java:140)
at org.jboss.weld.bootstrap.BeanDeployer.processBeans(BeanDeployer.java:262)
at org.jboss.weld.bootstrap.BeanDeployer.processClassBeanAttributes(BeanDeployer.java:244)
at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:436)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:86)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:97)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
15:38:35,927 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,928 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war
15:38:35,928 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) As folder project tried to fall back to pom.xml, but could not find one
15:38:35,928 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to load pom.properties from/content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,929 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Cannot find maven pom properties for this project. Using the container's default ReleaseId
15:38:35,930 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to build index of kmodule.xml url=vfs:/content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml
Unable to get all ZipFile entries: /content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,930 INFO [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Found kmodule: vfs:/content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,931 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Error when reading virtual file from vfs:/content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml: java.lang.IllegalArgumentException: object is not an instance of declaring class
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:498)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPathForVFS(ClasspathKieProject.java:423)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fixURLFromKProjectPath(ClasspathKieProject.java:368)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112)
at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84)
at org.drools.compiler.kie.builder.impl.KieContainerImpl.(KieContainerImpl.java:131)
at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:131)
at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:118)
at org.drools.cdi.KieCDIExtension.init(KieCDIExtension.java:94)
at org.drools.cdi.KieCDIExtension.processInjectionTarget(KieCDIExtension.java:100)
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:498)
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85)
at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)
at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286)
at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124)
at org.jboss.weld.util.Observers.notify(Observers.java:166)
at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285)
at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
at org.jboss.weld.bootstrap.events.AbstractProcessInjectionTarget.fire(AbstractProcessInjectionTarget.java:33)
at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessInjectionTarget(ContainerLifecycleEvents.java:269)
at org.jboss.weld.bootstrap.AbstractBeanDeployer.processInjectionTargetEvents(AbstractBeanDeployer.java:140)
at org.jboss.weld.bootstrap.BeanDeployer.processBeans(BeanDeployer.java:262)
at org.jboss.weld.bootstrap.BeanDeployer.processClassBeanAttributes(BeanDeployer.java:244)
at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:436)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:86)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:97)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
15:38:35,995 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,998 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war
15:38:35,999 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) As folder project tried to fall back to pom.xml, but could not find one
15:38:35,999 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to load pom.properties from/content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:35,999 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Cannot find maven pom properties for this project. Using the container's default ReleaseId
15:38:36,000 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to build index of kmodule.xml url=vfs:/content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml
Unable to get all ZipFile entries: /content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml
15:38:37,640 INFO [org.jboss.errai.common.metadata.MetaDataScanner] (Thread-112) added class scanning extensions: org.jboss.errai.common.metadata.JbossVFsTypeHandler
15:38:37,641 INFO [org.jboss.errai.common.metadata.MetaDataScanner] (Thread-112) added class scanning extensions: org.jboss.errai.common.metadata.JbossVFsTypeHandler
15:40:11,831 INFO [org.jboss.errai.reflections.Reflections] (Thread-112) Reflections took 94179 ms to scan 152 urls, producing 4832 keys and 32877 values [using 2 cores]
15:40:12,062 WARN [org.jboss.errai.config.rebind.EnvUtil] (MSC service thread 1-4) The property errai.security.user_on_hostpage_enabled has been set multiple times.
15:40:12,084 WARN [org.jboss.errai.config.rebind.EnvUtil] (MSC service thread 1-4) The property errai.class_scanning_extension has been set multiple times.
15:40:32,658 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.kie.workbench.common.forms.data.modeller.service.DataObjectFinderService
15:40:32,660 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.uberfire.preferences.shared.PreferenceStorage
15:40:32,664 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.guvnor.common.services.project.service.ModuleService
15:40:32,675 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.guvnor.common.services.project.service.ModuleRepositoriesService
15:40:32,687 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.guvnor.common.services.shared.metadata.MetadataService
15:40:32,708 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.kie.workbench.common.forms.data.modeller.service.DataObjectFormModelCreationService
15:40:32,740 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.kie.workbench.common.stunner.core.service.DiagramLookupService
15:40:32,742 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.optaplanner.workbench.screens.guidedrule.service.ScoreHolderService
15:40:32,749 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.drools.workbench.screens.guided.dtable.service.GuidedDecisionTableGraphSaveAndRenameService
15:40:32,777 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.guvnor.common.services.project.service.WorkspaceProjectService
15:40:32,799 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.kie.workbench.common.forms.editor.service.FormCreatorService
15:40:32,800 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No #Service implementations found for org.uberfire.ext.editor.commons.service.htmleditor.HtmlEditorService
15:42:13,483 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0348: Timeout after [300] seconds waiting for service container stability. Operation will roll back. Step that first updated the service container was 'deploy' at address '[("deployment" => "kie-wb.war")]'
15:42:35,526 ERROR [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0021: Deploy of deployment "kie-wb.war" was rolled back with the following failure message: "WFLYCTL0344: Operation timed out awaiting service container stability"
15:42:47,036 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0190: Step handler org.jboss.as.server.deployment.DeploymentHandlerUtil$1#1dae869d for operation deploy at address [("deployment" => "kie-wb.war")] failed handling operation rollback -- java.util.concurrent.TimeoutException: java.util.concurrent.TimeoutException
at org.jboss.as.controller.OperationContextImpl.waitForRemovals(OperationContextImpl.java:521)
at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1518)
at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1472)
at org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1445)
at org.jboss.as.controller.AbstractOperationContext$Step.access$400(AbstractOperationContext.java:1319)
at org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:876)
at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1411)
at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:265)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:231)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:212)
at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:93)
at org.jboss.as.domain.http.server.security.ElytronIdentityHandler.lambda$handleRequest$0(ElytronIdentityHandler.java:62)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:246)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
at org.jboss.as.domain.http.server.security.ElytronIdentityHandler.handleRequest(ElytronIdentityHandler.java:61)
at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
15:43:06,915 ERROR [org.jboss.as.controller.client] (External Management Request Threads -- 1) WFLYCTL0190: Step handler org.jboss.as.server.deployment.DeploymentHandlerUtil$1#1dae869d for operation deploy at address [("deployment" => "kie-wb.war")] failed handling operation rollback -- java.util.concurrent.TimeoutException
15:43:38,794 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0349: Timeout after [5] seconds waiting for service container stability while finalizing an operation. Process must be restarted. Step that first updated the service container was 'deploy' at address '[("deployment" => "kie-wb.war")]'
How to solve the problem?
The kie-wb doesn't work with Oracle Java. I could deploy kie-wb in wildfly after I removed Oracle Java and installed openJDK.

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.

MSC00001: Failed to start service jboss.deployment.subunit."oneflexi.ear"."LinkWEB.war"

What's the reason for the following error, and how can it be solved?
10:54:14,546 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "oneflexi.ear"
10:54:14,998 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "LinkWEB.war"
10:54:14,998 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "LinkEJB.jar"
10:54:15,225 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."oneflexi.ear"."LinkWEB.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."oneflexi.ear"."LinkWEB.war".PARSE: Failed to process phase PARSE of subdeployment "LinkWEB.war" of deployment "oneflexi.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.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:1145) [rt.jar:1.7.0_15]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/content/oneflexi.ear/LinkWEB.war/WEB-INF/jboss-web.xml" at [4,1]
at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:77)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[4,1]
Message: Unexpected element 'error-page' encountered
at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:108)
at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:211)
at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:69)
... 6 more
10:54:15,266 INFO [org.jboss.as] (MSC service thread 1-5) JBAS015951: Admin console listening on http://127.0.0.1:9990
10:54:15,267 ERROR [org.jboss.as] (MSC service thread 1-5) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 2477ms - Started 145 of 223 services (3 services failed or missing dependencies, 74 services are passive or on-demand)
10:54:15,469 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "oneflexi.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"oneflexi.ear\".\"LinkWEB.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"oneflexi.ear\".\"LinkWEB.war\".PARSE: Failed to process phase PARSE of subdeployment \"LinkWEB.war\" of deployment \"oneflexi.ear\""}}
10:54:15,478 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment LinkEJB.jar in 8ms
10:54:15,485 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment LinkWEB.war in 15ms
10:54:15,490 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment oneflexi.ear in 20ms
10:54:15,491 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.subunit."oneflexi.ear"."LinkWEB.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."oneflexi.ear"."LinkWEB.war".PARSE: Failed to process phase PARSE of subdeployment "LinkWEB.war" of deployment "oneflexi.ear"
10:54:15,492 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.subunit.\"oneflexi.ear\".\"LinkWEB.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"oneflexi.ear\".\"LinkWEB.war\".PARSE: Failed to process phase PARSE of subdeployment \"LinkWEB.war\" of deployment \"oneflexi.ear\""}}}}
^A

Invoke EJBs deployed on an Wildfly 8 instance from another JBoss AS 7 instance

First of all sorry for my bad english writing !
I deployed my EJB bean on Wildfly 8 and invoke it in wildfly 8 without any problem.
but when I changed client server from wildfly 8 to Jboss AS 7, I get "no ejb receiver error".
Wildfly 8 server side running output:
./standalone.sh -b 0.0.0.0 -Djboss.socket.binding.port-offset=100 -Djboss.node.name=nodeA
output log:
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/amin/Programs/AS/server/wildfly-8.0.0.Final
JAVA: /home/amin/Programs/jdk1.7.0_67/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
14:51:58,251 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final
14:51:58,645 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.0.Final
14:51:58,754 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015899: WildFly 8.0.0.Final "WildFly" starting
14:52:00,083 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) JBAS014627: Attribute any-ipv4-address is deprecated, and it might be removed in future version!
14:52:00,168 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found currency-ear.ear in deployment directory. To trigger deployment create a file called currency-ear.ear.dodeploy
14:52:00,197 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
14:52:00,218 INFO [org.xnio] (MSC service thread 1-1) XNIO version 3.2.0.Final
14:52:00,232 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.2.0.Final
14:52:00,289 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem.
14:52:00,310 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
14:52:00,331 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 39) JBAS012615: Activated the following JSF Implementations: [main]
14:52:00,368 INFO [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013171: Activating Security Subsystem
14:52:00,375 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.0.Final
14:52:00,400 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem
14:52:00,425 INFO [org.jboss.as.security] (MSC service thread 1-4) JBAS013170: Current PicketBox version=4.0.20.Final
14:52:00,431 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
14:52:00,511 INFO [org.jboss.as.connector.logging] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.3.Final)
14:52:00,561 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = h2
14:52:00,601 INFO [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
14:52:00,614 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017502: Undertow 1.0.0.Final starting
14:52:00,615 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017502: Undertow 1.0.0.Final starting
14:52:00,620 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
14:52:00,816 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017527: Creating file handler for path /home/amin/Programs/AS/server/wildfly-8.0.0.Final/welcome-content
14:52:00,836 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017525: Started server default-server.
14:52:00,840 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017531: Host default-host starting
14:52:01,043 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017519: Undertow HTTP listener default listening on /0.0.0.0:8180
14:52:01,429 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
14:52:01,485 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory /home/amin/Programs/AS/server/wildfly-8.0.0.Final/standalone/deployments
14:52:01,496 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "ojdbc7-12.1.0.1.0.jar" (runtime-name: "ojdbc7-12.1.0.1.0.jar")
14:52:01,497 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "currency-ear.ear" (runtime-name: "currency-ear.ear")
14:52:02,474 INFO [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.3.Final
14:52:03,704 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 12.1)
14:52:03,797 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010417: Started Driver service with driver-name = ojdbc7-12.1.0.1.0.jar
14:52:03,801 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/currencyDS]
14:52:04,402 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "currency-ejb.jar")
14:52:04,402 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "null" (runtime-name: "currency-web.war")
14:52:04,605 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for currencyexchange
14:52:04,739 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/currencyDS]
14:52:04,756 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016002: Processing weld deployment currency-ear.ear
14:52:04,757 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 52) JBAS011402: Starting Persistence Unit Service 'currency-ear.ear/currency-ejb.jar#currencyexchange'
14:52:04,903 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-3) HV000001: Hibernate Validator 5.0.3.Final
14:52:05,151 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016002: Processing weld deployment currency-web.war
14:52:05,391 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.385--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The access type for the persistent class [class ir.jnf.currency.model.currencylog.CurrencyLog] is set to [FIELD].
14:52:05,428 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.427--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The target entity (reference) class for the many to one mapping element [field currency] is being defaulted to: class ir.jnf.currency.model.currency.Currency.
14:52:05,429 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.429--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The access type for the persistent class [class ir.jnf.currency.model.currency.Currency] is set to [FIELD].
14:52:05,442 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.442--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The target entity (reference) class for the one to many mapping element [field currencyLogs] is being defaulted to: class ir.jnf.currency.model.currencylog.CurrencyLog.
14:52:05,444 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.444--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The alias name for the entity class [class ir.jnf.currency.model.currencylog.CurrencyLog] is being defaulted to: CurrencyLog.
14:52:05,468 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.468--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The column name for element [price] is being defaulted to: PRICE.
14:52:05,469 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.469--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The column name for element [curlogid] is being defaulted to: CURLOGID.
14:52:05,470 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.469--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The column name for element [curlogdate] is being defaulted to: CURLOGDATE.
14:52:05,471 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.47--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The alias name for the entity class [class ir.jnf.currency.model.currency.Currency] is being defaulted to: Currency.
14:52:05,471 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.471--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The table name for entity [class ir.jnf.currency.model.currency.Currency] is being defaulted to: CURRENCY.
14:52:05,472 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.472--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The column name for element [cursymbol] is being defaulted to: CURSYMBOL.
14:52:05,472 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.472--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The column name for element [price] is being defaulted to: PRICE.
14:52:05,473 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.473--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The column name for element [curiso] is being defaulted to: CURISO.
14:52:05,491 INFO [stdout] (ServerService Thread Pool -- 52) [EL Config]: 2014-10-29 14:52:05.49--ServerSession(612909935)--Thread(Thread[ServerService Thread Pool -- 52,5,ServerService ThreadGroup])--The primary key column name for the mapping element [field currency] is being defaulted to: CURISO.
14:52:05,662 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment currency-ejb.jar
14:52:05,665 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named CurrencyDAO in deployment unit subdeployment "currency-ejb.jar" of deployment "currency-ear.ear" are as follows:
java:global/currency-ear/currency-ejb/CurrencyDAO!ir.jnf.currency.dao.currency.CurrencyDAOLocal
java:app/currency-ejb/CurrencyDAO!ir.jnf.currency.dao.currency.CurrencyDAOLocal
java:module/CurrencyDAO!ir.jnf.currency.dao.currency.CurrencyDAOLocal
java:global/currency-ear/currency-ejb/CurrencyDAO
java:app/currency-ejb/CurrencyDAO
java:module/CurrencyDAO
14:52:05,665 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named CurrencyLogDAO in deployment unit subdeployment "currency-ejb.jar" of deployment "currency-ear.ear" are as follows:
java:global/currency-ear/currency-ejb/CurrencyLogDAO!ir.jnf.currency.dao.currencylog.CurrencyLogDAOLocal
java:app/currency-ejb/CurrencyLogDAO!ir.jnf.currency.dao.currencylog.CurrencyLogDAOLocal
java:module/CurrencyLogDAO!ir.jnf.currency.dao.currencylog.CurrencyLogDAOLocal
java:global/currency-ear/currency-ejb/CurrencyLogDAO
java:app/currency-ejb/CurrencyLogDAO
java:module/CurrencyLogDAO
14:52:05,666 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named CurrencyLogService in deployment unit subdeployment "currency-ejb.jar" of deployment "currency-ear.ear" are as follows:
java:global/currency-ear/currency-ejb/CurrencyLogService!ir.jnf.currency.service.currencylog.CurrencyLogServiceLocal
java:app/currency-ejb/CurrencyLogService!ir.jnf.currency.service.currencylog.CurrencyLogServiceLocal
java:module/CurrencyLogService!ir.jnf.currency.service.currencylog.CurrencyLogServiceLocal
java:global/currency-ear/currency-ejb/CurrencyLogService!ir.jnf.currency.service.currencylog.CurrencyLogServiceRemote
java:app/currency-ejb/CurrencyLogService!ir.jnf.currency.service.currencylog.CurrencyLogServiceRemote
java:module/CurrencyLogService!ir.jnf.currency.service.currencylog.CurrencyLogServiceRemote
java:jboss/exported/currency-ear/currency-ejb/CurrencyLogService!ir.jnf.currency.service.currencylog.CurrencyLogServiceRemote
14:52:05,667 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named CurrencyService in deployment unit subdeployment "currency-ejb.jar" of deployment "currency-ear.ear" are as follows:
java:global/currency-ear/currency-ejb/CurrencyService!ir.jnf.currency.service.currency.CurrencyServiceLocal
java:app/currency-ejb/CurrencyService!ir.jnf.currency.service.currency.CurrencyServiceLocal
java:module/CurrencyService!ir.jnf.currency.service.currency.CurrencyServiceLocal
java:global/currency-ear/currency-ejb/CurrencyService
java:app/currency-ejb/CurrencyService
java:module/CurrencyService
14:52:05,703 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 12.1)
14:52:05,704 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016005: Starting Services for CDI deployment: currency-ear.ear
14:52:05,737 INFO [org.jboss.weld.Version] (MSC service thread 1-4) WELD-000900: 2.1.2 (Final)
14:52:05,782 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = currency-ear.ear_oracle.jdbc.OracleDriver_12_1
14:52:05,783 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016008: Starting weld service for deployment currency-ear.ear
14:52:07,320 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Initializing Mojarra 2.2.5-jbossorg-3 20140128-1641 for context '/currency-web'
14:52:08,935 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) JBAS017534: Registered web context: /currency-web
14:52:09,046 INFO [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "ojdbc7-12.1.0.1.0.jar" (runtime-name : "ojdbc7-12.1.0.1.0.jar")
14:52:09,047 INFO [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "currency-ear.ear" (runtime-name : "currency-ear.ear")
14:52:09,175 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:10090/management
14:52:09,175 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:10090
14:52:09,176 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final "WildFly" started in 11254ms - Started 524 of 595 services (115 services are lazy, passive or on-demand)
Jboss Client side configs:
I Create an application user on Wildfly 8 server side and convert password to base64 and put it in jboss client side standalone.xml:
<security-realms>
<security-realm name="ejb-security-realm">
<server-identities>
<secret value="YWRtaW4y"/>
</server-identities>
</security-realm>
I added outbound connection:
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
<outbound-connections>
<remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" username="admin" security-realm="ejb-security-realm">
<properties>
<property name="SASL_POLICY_NOANONYMOUS" value="false"/>
<property name="SSL_ENABLED" value="false"/>
</properties>
</remote-outbound-connection>
</outbound-connections>
and outbound socket binding:
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
<socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
<socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
<socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>
<socket-binding name="ajp" port="8009"/>
<socket-binding name="http" port="8080"/>
<socket-binding name="https" port="8443"/>
<socket-binding name="osgi-http" interface="management" port="8090"/>
<socket-binding name="remoting" port="4447"/>
<socket-binding name="txn-recovery-environment" port="4712"/>
<socket-binding name="txn-status-manager" port="4713"/>
<outbound-socket-binding name="mail-smtp">
<remote-destination host="localhost" port="25"/>
</outbound-socket-binding>
<outbound-socket-binding name="remote-ejb">
<remote-destination host="localhost" port="8180"/>
</outbound-socket-binding>
</socket-binding-group>
I created jboss-ejb-client.xml and put it on client JSP project META-INF:
<jboss-ejb-client xmlns="urn:jboss:ejb-client:1.0">
<client-context>
<ejb-receivers>
<remoting-ejb-receiver outbound-connection-ref="remote-ejb-connection"/>
</ejb-receivers>
</client-context>
</jboss-ejb-client>
running client side Jboss AS 7:
./standalone.sh -Djboss.node.name=nodeB
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/amin/Programs/AS/client/jboss-as-7.1.1.Final
JAVA: /home/amin/Programs/jdk1.7.0_67/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
=========================================================================
15:08:26,841 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
15:08:27,006 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
15:08:27,056 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
15:08:27,892 INFO [org.xnio] XNIO Version 3.0.3.GA
15:08:27,899 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
15:08:27,906 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
15:08:27,926 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
15:08:27,985 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
15:08:28,002 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
15:08:28,049 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
15:08:28,111 INFO [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
15:08:28,120 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
15:08:28,128 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
15:08:28,135 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
15:08:28,142 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
15:08:28,177 INFO [org.jboss.as.security] (MSC service thread 1-4) JBAS013100: Current PicketBox version=4.0.7.Final
15:08:28,212 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
15:08:28,263 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
15:08:28,265 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
15:08:28,464 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA
15:08:28,561 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
15:08:28,842 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:4447
15:08:28,843 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
15:08:28,883 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory /home/amin/Programs/AS/client/jboss-as-7.1.1.Final/standalone/deployments
15:08:28,888 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found currencyJspClient.war in deployment directory. To trigger deployment create a file called currencyJspClient.war.dodeploy
15:08:28,954 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
15:08:28,994 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "currencyJspClient.war"
15:08:35,796 INFO [org.jboss.web] (MSC service thread 1-4) JBAS018210: Registering web context: /currencyJspClient
15:08:35,813 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on http://127.0.0.1:9990
15:08:35,813 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 9189ms - Started 174 of 254 services (79 services are passive or on-demand)
15:08:35,925 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "currencyJspClient.war"
when I go to below link:
http://localhost:8080/currencyJspClient/
I have this error:
15:10:37,868 INFO [org.jboss.ejb.client] (http--127.0.0.1-8080-1) JBoss EJB Client version 1.0.5.Final
15:10:42,877 ERROR [stderr] (http--127.0.0.1-8080-1) java.lang.IllegalStateException: No EJB receiver available for handling [appName:currency-ear,modulename:currency-ejb,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext#36ae4b6f
15:10:42,878 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
15:10:42,880 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
15:10:42,881 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)
15:10:42,882 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)
15:10:42,883 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)
15:10:42,884 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)
15:10:42,885 ERROR [stderr] (http--127.0.0.1-8080-1) at com.sun.proxy.$Proxy10.currencyLogFindAllRemote(Unknown Source)
15:10:42,886 ERROR [stderr] (http--127.0.0.1-8080-1) at currencyJspClient.Farakhani.farakh(Farakhani.java:25)
15:10:42,886 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.jsp.index_jsp._jspService(index_jsp.java:67)
15:10:42,887 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
15:10:42,888 ERROR [stderr] (http--127.0.0.1-8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
15:10:42,889 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
15:10:42,890 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
15:10:42,890 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
15:10:42,891 ERROR [stderr] (http--127.0.0.1-8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
15:10:42,892 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
15:10:42,892 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
15:10:42,893 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
15:10:42,893 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
15:10:42,894 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
15:10:42,894 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
15:10:42,896 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
15:10:42,897 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
15:10:42,897 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
15:10:42,904 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
15:10:42,904 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
15:10:42,904 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
15:10:42,905 ERROR [stderr] (http--127.0.0.1-8080-1) at java.lang.Thread.run(Thread.java:745)
I also added Wildfly 8 client library to lib folder
this is my jsp client app deployed war file tree:
├── index.jsp
├── META-INF
│   ├── jboss-ejb-client.xml
│   └── MANIFEST.MF
└── WEB-INF
├── classes
│   ├── currencyJspClient
│   │   └── Farakhani.class
│   ├── ir
│   │   └── jnf
│   │   └── currency
│   │   ├── model
│   │   │   ├── currency
│   │   │   │   └── Currency.class
│   │   │   └── currencylog
│   │   │   └── CurrencyLog.class
│   │   └── service
│   │   └── currencylog
│   │   └── CurrencyLogServiceRemote.class
│   └── main
│   └── Main.class
└── lib
├── eclipselink-2.5.0.jar
├── javax.persistence-2.1.0.jar
├── jboss-client.jar
└── jboss-ejb-api_3.1_spec-1.0.2.Final.jar
Thanks in adnvance.
In a war deployment jboss-ejb-client.xml is expected to be placed in .war/WEB-INF/ folder.
See also EJB invocations from a remote server instance
EDIT:
After several tests, I came to these results.
Context:
Ejb application running in JBoss 7.1.1
Ejb Client (web application) running in Wildfly 8.1
You are right, the jboss-ejb-client.xml must be place in WEB-INF/META-INF folder in the web application (Documentation is incorrect).
Not is possible invoke with remote authentication enable, exist incompatibilities between remoting implementation. This produces this error during authentication:
In the Client server:
Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
In the Ejb server:
TRACE [org.jboss.sasl.digest.server] (Remoting "test-ejb" task-2) Username: ejb
TRACE [org.jboss.sasl.digest.server] (Remoting "test-ejb" task-2) Client negotiated realm: ApplicationRealm
TRACE [org.jboss.sasl.digest.server] (Remoting "test-ejb" task-2) Client negotiated qop: auth
TRACE [org.jboss.sasl.digest.server] (Remoting "test-ejb" task-2) DIGEST87:digest URI: remoting/localhost
TRACE [org.jboss.remoting.remote.server] (Remoting "test-ejb" task-2) Server sending authentication rejected (javax.security.sasl.SaslException: DIGEST-MD5: digest response format violation. Mismatched URI: remoting/localhost; expecting: remote/localhost)
Se also: Remote EAP 6.3 does not accept password and JBoss EAP 6.3 clients can not authenticate with a username and password (Digest auth) against older EAP 6 versions.
A workaround for this problem is disable the remoting authentication, you can do this removing the security-realm="ApplicationRealm" attribute and username="ejb" and security-realm="ejb-security-realm" attributes from remote-outbound-connection.
Eg.
Server:
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector" socket-binding="remoting"/>
</subsystem>
Client (Server):
<remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" protocol="remote">
<properties>
<property name="SASL_POLICY_NOANONYMOUS" value="false"/>
<property name="SSL_ENABLED" value="false"/>
</properties>
</remote-outbound-connection>
Or use the same version of JBoss on both servers. The same probem is present if you run Ejb client in JBoss 7.1.1
Sample application: https://github.com/fedesierr/remote-ejb-wildfly-jboss7
Of course you can invoke remote ejb deployed in a JBoss EAP 6.x/AS 7 even if your client is deployed in a Wildfly instance.
Since JBoss AS 7/EAP 6.x uses remote as its remoting protocol, you can add the protocol="remote" attribute in the remote-outbound-connection property of your Wildfly instance.
<remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" username="admin" security-realm="ejb-security-realm" protocol="remote">
<properties>
<property name="SASL_POLICY_NOANONYMOUS" value="false"/>
<property name="SSL_ENABLED" value="false"/>
</properties>
</remote-outbound-connection>

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">
.