[JBoss JIRA] Updated: (JBRULES-1112) drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
by Fernando Meyer (JIRA)
[ http://jira.jboss.com/jira/browse/JBRULES-1112?page=all ]
Fernando Meyer updated JBRULES-1112:
------------------------------------
Fix Version/s: FUTURE
(was: 4.0.1)
Its not a bug, I some configuration issue. 4.0.1 is outing today so I will leave open for FUTURE assignment I sill need two things, a bundle to integrate with jboss for test, the jetty website is down today (sic), when its online theres no valid bundle for jboss. The other one, please test with a fresh jetty server running standalone.
Fernando
> drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
> ----------------------------------------------------------------------
>
> Key: JBRULES-1112
> URL: http://jira.jboss.com/jira/browse/JBRULES-1112
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-brms
> Affects Versions: 4.0.0.GA
> Environment: Windows XP Professional 2002 service pack 2, JDK1.6.0
> Reporter: Huishan Zhou
> Assigned To: Fernando Meyer
> Priority: Critical
> Fix For: FUTURE
>
>
> The bugs of the following test is based on running drools-jbrms.war
> on JBoss4.0.5 bundled with Jetty6.1.1. (No bugs on running this war in
> JBoss4.0.5 bundled with Tomcat5.5)
> drools-jbrms.war is extracted from drools-4.0.0-brms.zip
> which is downloaded from
> http://labs.jboss.com/drools/downloads.html on 08/21/2007.
> (I also tested drools-jbrms.war extracted from
> jbossrules-4.0.0.12865MR3-brms.zip
> downloaded from
> http://labs.jboss.com/jbossrules/downloads
> on 08/20/2007. Identical error message.)
> (1) during starting of JBoss, it throws the
> ClassNotFoundException, javax/faces/context/FacesContext,
> and in web browser console, it showed that drools-jbrms deployment
> failed.
> We have fixed this exception by adding two jar files, jsf-impl.jar
> and jsf-api.jar, to WEB-INF/lib
> (2) After fixing errors in (1) we can start JBoss. And we can go
> to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> welcome.jsp
> and
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> JBRMS.html with the showup of the code of JBRMS.html itself, not
> the user name and password form that was showed up in the JBoss4.0.5
> bundled with Tomcat5.5
> and
> we can also go to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> login.jsp (What is the purpose of this page?)
> If we try to go to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> JBRMS.jsp
> we got error. We opened JBRMS.jsp, we found that it missed one very
> basic line (but this missing didn't cause any trouble while testing in
> JBoss bundled with Tomcat ?)
> <%@ page language="java" import="org.jboss.seam.security.Identity"
> pageEncoding="ISO-8859-1"%>
> After adding this line to the code. We still got errors:
> = = = = errors message = = = =
> org.apache.jasper.JasperException: Unable to compile class for JSP
> Generated servlet error:
> Only a type can be imported. org.jboss.seam.security.Identity
> resolves to a package
> An error occurred at line: 11 in the jsp file:
> /drools-jbrms/org.drools.brms.JBRMS/JBRMS.jsp
> Generated servlet error:
> Identity cannot be resolved to a type
> An error occurred at line: 10 in the jsp file:
> /drools-jbrms/org.drools.brms.JBRMS/JBRMS.jsp
> Generated servlet error:
> org.jboss.seam.security.Identity cannot be resolved to a type
> = = = = = = = = = = = = = = = = = = =
> We have checked that the jar file for the class
> org.jboss.seam.security.Identity is in the WEB-INF/lib of
> drools-jbrms.war.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Commented: (JBRULES-1112) drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
by Fernando Meyer (JIRA)
[ http://jira.jboss.com/jira/browse/JBRULES-1112?page=comments#action_12373721 ]
Fernando Meyer commented on JBRULES-1112:
-----------------------------------------
The main difference I can see is that you putting jars into WEB-INF/lib and Im putting jar into the app server lib directory
also did you get a fresh brms war from downloadspage ? with no changed files?
Use the latest BRMS version from here.
http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules/drools-4.0.1.SNAP...
> drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
> ----------------------------------------------------------------------
>
> Key: JBRULES-1112
> URL: http://jira.jboss.com/jira/browse/JBRULES-1112
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-brms
> Affects Versions: 4.0.0.GA
> Environment: Windows XP Professional 2002 service pack 2, JDK1.6.0
> Reporter: Huishan Zhou
> Assigned To: Fernando Meyer
> Priority: Critical
> Fix For: 4.0.1
>
>
> The bugs of the following test is based on running drools-jbrms.war
> on JBoss4.0.5 bundled with Jetty6.1.1. (No bugs on running this war in
> JBoss4.0.5 bundled with Tomcat5.5)
> drools-jbrms.war is extracted from drools-4.0.0-brms.zip
> which is downloaded from
> http://labs.jboss.com/drools/downloads.html on 08/21/2007.
> (I also tested drools-jbrms.war extracted from
> jbossrules-4.0.0.12865MR3-brms.zip
> downloaded from
> http://labs.jboss.com/jbossrules/downloads
> on 08/20/2007. Identical error message.)
> (1) during starting of JBoss, it throws the
> ClassNotFoundException, javax/faces/context/FacesContext,
> and in web browser console, it showed that drools-jbrms deployment
> failed.
> We have fixed this exception by adding two jar files, jsf-impl.jar
> and jsf-api.jar, to WEB-INF/lib
> (2) After fixing errors in (1) we can start JBoss. And we can go
> to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> welcome.jsp
> and
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> JBRMS.html with the showup of the code of JBRMS.html itself, not
> the user name and password form that was showed up in the JBoss4.0.5
> bundled with Tomcat5.5
> and
> we can also go to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> login.jsp (What is the purpose of this page?)
> If we try to go to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> JBRMS.jsp
> we got error. We opened JBRMS.jsp, we found that it missed one very
> basic line (but this missing didn't cause any trouble while testing in
> JBoss bundled with Tomcat ?)
> <%@ page language="java" import="org.jboss.seam.security.Identity"
> pageEncoding="ISO-8859-1"%>
> After adding this line to the code. We still got errors:
> = = = = errors message = = = =
> org.apache.jasper.JasperException: Unable to compile class for JSP
> Generated servlet error:
> Only a type can be imported. org.jboss.seam.security.Identity
> resolves to a package
> An error occurred at line: 11 in the jsp file:
> /drools-jbrms/org.drools.brms.JBRMS/JBRMS.jsp
> Generated servlet error:
> Identity cannot be resolved to a type
> An error occurred at line: 10 in the jsp file:
> /drools-jbrms/org.drools.brms.JBRMS/JBRMS.jsp
> Generated servlet error:
> org.jboss.seam.security.Identity cannot be resolved to a type
> = = = = = = = = = = = = = = = = = = =
> We have checked that the jar file for the class
> org.jboss.seam.security.Identity is in the WEB-INF/lib of
> drools-jbrms.war.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Updated: (JBRULES-1112) drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
by Huishan Zhou (JIRA)
[ http://jira.jboss.com/jira/browse/JBRULES-1112?page=all ]
Huishan Zhou updated JBRULES-1112:
----------------------------------
Fix Version/s: 4.0.1
(was: FUTURE)
I didn't find jboss-faces.jar inside JBoss4.0.5. I searched the internet, and find it from
http://www.icefaces.org/JForum/posts/downloadAttach/1321.page together with the other
two files jsf-impl.jar and jsf-api.jar.
I add these three jars to WEB-INF/lib to test drools-jbrms.war in both "single Jetty-6.1.1", and "JBoss-4.0.5GA bundled with Jetty-6.1.1".
They still have the problem (error message can be provided on request). Please send me your three jar files, so that I can test your three jars with drools-jbrms.war.
We can only find lower version of JBoss bundled with Jetty in your website. We create JBoss-4.0.5-GA bundled with Jetty-6.1.1 ourselves because we need some special features of Jetty6.1.1.
But we create this bundle based on the instruction provided by your website and Jetty.
We can contribute this bundle to you if you need. This bundle works fine with many other examples, and has special features of working with continuation and cometd. But this bundle also has some problems in a few other examples such as drools-jbrms.war.
Please beaware that in the selection on affected version of this page, the highest version is 4.0.1. there is no place for version 4.0.5 which is also not the future version since this version already existed on your site.
> drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
> ----------------------------------------------------------------------
>
> Key: JBRULES-1112
> URL: http://jira.jboss.com/jira/browse/JBRULES-1112
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-brms
> Affects Versions: 4.0.0.GA
> Environment: Windows XP Professional 2002 service pack 2, JDK1.6.0
> Reporter: Huishan Zhou
> Assigned To: Fernando Meyer
> Priority: Critical
> Fix For: 4.0.1
>
>
> The bugs of the following test is based on running drools-jbrms.war
> on JBoss4.0.5 bundled with Jetty6.1.1. (No bugs on running this war in
> JBoss4.0.5 bundled with Tomcat5.5)
> drools-jbrms.war is extracted from drools-4.0.0-brms.zip
> which is downloaded from
> http://labs.jboss.com/drools/downloads.html on 08/21/2007.
> (I also tested drools-jbrms.war extracted from
> jbossrules-4.0.0.12865MR3-brms.zip
> downloaded from
> http://labs.jboss.com/jbossrules/downloads
> on 08/20/2007. Identical error message.)
> (1) during starting of JBoss, it throws the
> ClassNotFoundException, javax/faces/context/FacesContext,
> and in web browser console, it showed that drools-jbrms deployment
> failed.
> We have fixed this exception by adding two jar files, jsf-impl.jar
> and jsf-api.jar, to WEB-INF/lib
> (2) After fixing errors in (1) we can start JBoss. And we can go
> to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> welcome.jsp
> and
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> JBRMS.html with the showup of the code of JBRMS.html itself, not
> the user name and password form that was showed up in the JBoss4.0.5
> bundled with Tomcat5.5
> and
> we can also go to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> login.jsp (What is the purpose of this page?)
> If we try to go to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> JBRMS.jsp
> we got error. We opened JBRMS.jsp, we found that it missed one very
> basic line (but this missing didn't cause any trouble while testing in
> JBoss bundled with Tomcat ?)
> <%@ page language="java" import="org.jboss.seam.security.Identity"
> pageEncoding="ISO-8859-1"%>
> After adding this line to the code. We still got errors:
> = = = = errors message = = = =
> org.apache.jasper.JasperException: Unable to compile class for JSP
> Generated servlet error:
> Only a type can be imported. org.jboss.seam.security.Identity
> resolves to a package
> An error occurred at line: 11 in the jsp file:
> /drools-jbrms/org.drools.brms.JBRMS/JBRMS.jsp
> Generated servlet error:
> Identity cannot be resolved to a type
> An error occurred at line: 10 in the jsp file:
> /drools-jbrms/org.drools.brms.JBRMS/JBRMS.jsp
> Generated servlet error:
> org.jboss.seam.security.Identity cannot be resolved to a type
> = = = = = = = = = = = = = = = = = = =
> We have checked that the jar file for the class
> org.jboss.seam.security.Identity is in the WEB-INF/lib of
> drools-jbrms.war.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Updated: (JBRULES-1112) drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
by Fernando Meyer (JIRA)
[ http://jira.jboss.com/jira/browse/JBRULES-1112?page=all ]
Fernando Meyer updated JBRULES-1112:
------------------------------------
Fix Version/s: FUTURE
(was: 4.0.1)
> drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
> ----------------------------------------------------------------------
>
> Key: JBRULES-1112
> URL: http://jira.jboss.com/jira/browse/JBRULES-1112
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-brms
> Affects Versions: 4.0.0.GA
> Environment: Windows XP Professional 2002 service pack 2, JDK1.6.0
> Reporter: Huishan Zhou
> Assigned To: Fernando Meyer
> Priority: Critical
> Fix For: 4.0.1
>
>
> The bugs of the following test is based on running drools-jbrms.war
> on JBoss4.0.5 bundled with Jetty6.1.1. (No bugs on running this war in
> JBoss4.0.5 bundled with Tomcat5.5)
> drools-jbrms.war is extracted from drools-4.0.0-brms.zip
> which is downloaded from
> http://labs.jboss.com/drools/downloads.html on 08/21/2007.
> (I also tested drools-jbrms.war extracted from
> jbossrules-4.0.0.12865MR3-brms.zip
> downloaded from
> http://labs.jboss.com/jbossrules/downloads
> on 08/20/2007. Identical error message.)
> (1) during starting of JBoss, it throws the
> ClassNotFoundException, javax/faces/context/FacesContext,
> and in web browser console, it showed that drools-jbrms deployment
> failed.
> We have fixed this exception by adding two jar files, jsf-impl.jar
> and jsf-api.jar, to WEB-INF/lib
> (2) After fixing errors in (1) we can start JBoss. And we can go
> to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> welcome.jsp
> and
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> JBRMS.html with the showup of the code of JBRMS.html itself, not
> the user name and password form that was showed up in the JBoss4.0.5
> bundled with Tomcat5.5
> and
> we can also go to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> login.jsp (What is the purpose of this page?)
> If we try to go to
> http://localhost:8080/drools-jbrms/drools-jbrms/org.drools.brms.JBRMS/
> JBRMS.jsp
> we got error. We opened JBRMS.jsp, we found that it missed one very
> basic line (but this missing didn't cause any trouble while testing in
> JBoss bundled with Tomcat ?)
> <%@ page language="java" import="org.jboss.seam.security.Identity"
> pageEncoding="ISO-8859-1"%>
> After adding this line to the code. We still got errors:
> = = = = errors message = = = =
> org.apache.jasper.JasperException: Unable to compile class for JSP
> Generated servlet error:
> Only a type can be imported. org.jboss.seam.security.Identity
> resolves to a package
> An error occurred at line: 11 in the jsp file:
> /drools-jbrms/org.drools.brms.JBRMS/JBRMS.jsp
> Generated servlet error:
> Identity cannot be resolved to a type
> An error occurred at line: 10 in the jsp file:
> /drools-jbrms/org.drools.brms.JBRMS/JBRMS.jsp
> Generated servlet error:
> org.jboss.seam.security.Identity cannot be resolved to a type
> = = = = = = = = = = = = = = = = = = =
> We have checked that the jar file for the class
> org.jboss.seam.security.Identity is in the WEB-INF/lib of
> drools-jbrms.war.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Created: (JGRP-582) Timer task throws exception on task submission if task has already been cancelled
by Bela Ban (JIRA)
Timer task throws exception on task submission if task has already been cancelled
---------------------------------------------------------------------------------
Key: JGRP-582
URL: http://jira.jboss.com/jira/browse/JGRP-582
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.5.1, 2.6
When we submit a timer task to a timer, but - before the timer is scheduled - it is cancelled, then we get the exception below.
SOLUTION: simply catch and eat the exception
@FD_SOCK Ping thread 09:43:17,125 ERROR [jgroups] uncaught exception in Thread[FD_SOCK Ping thread,5,JGroups threads] (thread group=org.jgroups.util.Util$1[name=JGroups threads,maxpri=10] )
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Timer.java:354)
at java.util.Timer.schedule(Timer.java:170)
at org.jgroups.util.TimeScheduler.schedule(TimeScheduler.java:125)
at org.jgroups.util.TimeScheduler.add(TimeScheduler.java:112)
at org.jgroups.protocols.FD_SOCK$BroadcastTask.addSuspectedMember(FD_SOCK.java:1186)
at org.jgroups.protocols.FD_SOCK.broadcastSuspectMessage(FD_SOCK.java:721)
at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:453)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Created: (JBRULES-1116) "not" doesn't work for StatelessSessions
by Dean Jones (JIRA)
"not" doesn't work for StatelessSessions
----------------------------------------
Key: JBRULES-1116
URL: http://jira.jboss.com/jira/browse/JBRULES-1116
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.GA
Reporter: Dean Jones
Assigned To: Mark Proctor
Priority: Blocker
When using a StatelessSession, the "not" quantifier doesn't work. Test case below.
package org.drools.examples
rule "Hello World"
when
Integer()
then
System.out.println("Hello world");
end
rule "Goodbye World"
when
not Integer()
then
System.out.println("Goodbye cruel world");
end
public class TestReadRuleFile {
public static void main(String[] args) throws Exception {
PackageBuilder builder = new PackageBuilder();
InputStreamReader is = new InputStreamReader(
TestReadRuleFile.class.getResourceAsStream("test.drl"));
builder.addPackageFromDrl(is);
Package pkg = builder.getPackage();
RuleBase jbossRulebase = RuleBaseFactory.newRuleBase();
jbossRulebase.addPackage(pkg);
StatelessSession session = jbossRulebase.newStatelessSession();
session.execute(new Float(1));
}
}
The "Goodbye world" rule should fire (there are no Integers in the working memory) but doesn't. If you switch to a StatefulSession, the "Goodbye world" rule does fire.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months