[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1112) drools-jbrms.war does not work with JBoss4.0.5 bundled with Jetty6.1.1
Huishan Zhou (JIRA)
jira-events at lists.jboss.org
Wed Sep 5 17:25:15 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1112?page=comments#action_12375488 ]
Huishan Zhou commented on JBRULES-1112:
---------------------------------------
Before communicating with you, I use the jsf-impl.jar and jsf-api.jar from SUN's website, and from the MyEclipse plugin. (I did many tests for different sources of those jar files).
After communicating with you, I use the jsf-impl.jar and jsf-api.jar bundled with jboss-faces.jar because you said it must use jboss-faces.jar.
Today I tested again. I even did the test without putting drools-jbrms.war in standalone jetty-6.1.1's webapps but put the three jsf files
in the lib of jetty-6.1.1 (not in the war's lib). It throws the error when the jetty is starting.
But you claim that your three jsf jar files will not only make jetty working, but also make the drools-jbrms.war working, it is a big magic to us.
Did you add any other jar files to a fresh standalone jetty-6.1.1 installation?
> 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
More information about the jboss-jira
mailing list