[JBoss JIRA] Created: (JBRULES-3118) Parser: import of class called Enum fails to parse
by Michael Anstis (JIRA)
Parser: import of class called Enum fails to parse
--------------------------------------------------
Key: JBRULES-3118
URL: https://issues.jboss.org/browse/JBRULES-3118
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.2.0.Final
Reporter: Michael Anstis
Assignee: Mark Proctor
The following DRL fails to compile, with error "Syntax error on token "enum", Identifier expected."
package com.sample
import com.sample.DroolsTest.Message;
//The "enum" sub-package causes the problem, not "Enum" class
import org.apache.commons.lang.enum.Enum
rule "Hello World"
when
m : Message( status == Message.HELLO, myMessage : message )
then
System.out.println( myMessage );
m.setMessage( "Goodbye cruel world" );
m.setStatus( Message.GOODBYE );
update( m );
end
rule "GoodBye"
when
Message( status == Message.GOODBYE, myMessage : message )
then
System.out.println( myMessage );
end
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBWEB-205) Invalid async context for servlet: Atmosphere Async Servlet on JBoss Web
by Lukáš Fryč (JIRA)
Invalid async context for servlet: Atmosphere Async Servlet on JBoss Web
-------------------------------------------------------------------------
Key: JBWEB-205
URL: https://issues.jboss.org/browse/JBWEB-205
Project: JBoss Web
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Firefox 4.0.1 / Chromium 12
AS 6.0.0.Final / 6.1.0-SNAPSHOT / AS 7.0.0.CR1
Atmosphere 0.7.1/0.7.2
Reporter: Lukáš Fryč
Assignee: Remy Maucherat
Source of sample for reproduction:
https://github.com/lfryc/push-jms/commit/9cee160570e049ca4783e1fcbdac25ff...
{code}
16:08:28,467 ERROR [org.apache.catalina.connector.CoyoteAdapter] (http-localhost-127.0.0.1-8080-7) An exception or error occurred in the container during the request processing: java.lang.IllegalStateException: Invalid async context for servlet AutoRegisteredPushServlet
at org.apache.catalina.core.StandardWrapperValve.async(StandardWrapperValve.java:643) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.core.StandardWrapperValve.event(StandardWrapperValve.java:402) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.core.StandardContextValve.event(StandardContextValve.java:183) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.core.StandardHostValve.event(StandardHostValve.java:246) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.core.StandardEngineValve.event(StandardEngineValve.java:128) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.catalina.connector.CoyoteAdapter.event(CoyoteAdapter.java:265) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.coyote.http11.Http11Processor.event(Http11Processor.java:757) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.event(Http11Protocol.java:615) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:938) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months