Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-8915

Seam 2.2 Drools doesn't work with Java 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • EAP_EWP 5.2.0
    • EAP_EWP 5.1.2
    • Seam2
    • Seam2.2.5.EAP5, 1.7.0-b147, EAP5 and EAP6

    • Hide

      1. Use Java 7 to build the drools seam example on EAP6 running on Java 7
      2. go to http://127.0.0.1:8080/seam-drools
      3. pick a guess

      Show
      1. Use Java 7 to build the drools seam example on EAP6 running on Java 7 2. go to http://127.0.0.1:8080/seam-drools 3. pick a guess
    • The version of Drools distributed as part of JBoss Enterprise Application Platform 5.1.2 was incompatible with Java 7. To resolve this issue the Drools component has been upgraded.
    • Documented as Resolved Issue
    • NEW

      09:08:51,101 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/seam-drools].[Faces Servlet]] (http--127.0.0.1-8080-1) Servlet.service() for servlet Faces Servlet threw exception: org.drools.RuntimeDroolsException: value '1.7' is not a valid language level
      	at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.getDefaultLanguageLevel(JavaDialectConfiguration.java:162) [drools-compiler.jar:5.1.0.BRMS]
      	at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:57) [drools-compiler.jar:5.1.0.BRMS]
      	at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:279) [drools-compiler.jar:5.1.0.BRMS]
      	at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:268) [drools-compiler.jar:5.1.0.BRMS]
      	at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:181) [drools-compiler.jar:5.1.0.BRMS]
      	at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:159) [drools-compiler.jar:5.1.0.BRMS]
      	at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:46) [jboss-seam.jar:2.2.5.EAP5]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0]
      	at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0]
      	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.callComponentMethod(Component.java:2275) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.callCreateMethod(Component.java:2198) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.newInstance(Component.java:2158) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.getInstance(Component.java:2024) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.getInstance(Component.java:1986) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.getInstance(Component.java:1980) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) [jboss-seam.jar:2.2.5.EAP5]
      	at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173) [jsf-impl-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200) [jsf-impl-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) [jboss-el.jar:1.0_02.CR6]
      	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) [jboss-el.jar:1.0_02.CR6]
      	at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:157) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.drools.ManagedWorkingMemory.getRuleBaseFromValueBinding(ManagedWorkingMemory.java:125) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.drools.ManagedWorkingMemory.getStatefulSession(ManagedWorkingMemory.java:76) [jboss-seam.jar:2.2.5.EAP5]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0]
      	at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0]
      	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.callComponentMethod(Component.java:2275) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.unwrap(Component.java:2301) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.getInstance(Component.java:2044) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.getInstance(Component.java:1986) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.Component.getInstance(Component.java:1980) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.drools.DroolsHandler.getWorkingMemory(DroolsHandler.java:25) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.drools.DroolsDecisionHandler.decide(DroolsDecisionHandler.java:26) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jbpm.graph.node.Decision.handleDecision(Decision.java:165) [jbpm-jpdl.jar:3.2.10]
      	at org.jbpm.graph.node.Decision.execute(Decision.java:95) [jbpm-jpdl.jar:3.2.10]
      	at org.jbpm.graph.def.Node.enter(Node.java:381) [jbpm-jpdl.jar:3.2.10]
      	at org.jbpm.graph.def.Transition.take(Transition.java:162) [jbpm-jpdl.jar:3.2.10]
      	at org.jbpm.graph.def.Node.leave(Node.java:450) [jbpm-jpdl.jar:3.2.10]
      	at org.jbpm.graph.exe.Token.signal(Token.java:210) [jbpm-jpdl.jar:3.2.10]
      	at org.jbpm.graph.exe.Token.signal(Token.java:171) [jbpm-jpdl.jar:3.2.10]
      	at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:290) [jbpm-jpdl.jar:3.2.10]
      	at org.jboss.seam.pageflow.Pageflow.signal(Pageflow.java:485) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.pageflow.Pageflow.navigate(Pageflow.java:341) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:40) [jboss-seam.jar:2.2.5.EAP5]
      	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130) [jsf-impl-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at javax.faces.component.UICommand.broadcast(UICommand.java:387) [jsf-api-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) [jsf-api-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) [jsf-api-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) [jsf-impl-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) [jsf-api-1.2_15-b01-redhat-1.jar:1.2_15-b01-FCS]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.2.5.EAP5]
      	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam.jar:2.2.5.EAP5]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
      	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]
      
      

              mnovotny@redhat.com Marek Novotny
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: