[
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