]
Michael Neale commented on JBRULES-1112:
----------------------------------------
some of those files have since been removed - they are old and incorrect. If you go to the
main url that the app is on, the index.jsp will redirect to the correct URL automatically.
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: