[jboss-jira] [JBoss JIRA] Created: (JBSEAM-334) Examples need changes to run on JBoss 5.x

Stan Silvert (JIRA) jira-events at jboss.com
Wed Aug 16 10:12:24 EDT 2006


Examples need changes to run on JBoss 5.x
-----------------------------------------

                 Key: JBSEAM-334
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-334
             Project: JBoss Seam
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.0.1
            Reporter: Stan Silvert
             Fix For: 1.1


The examples need to be updated so that they can deploy and run on JBoss 5.x.  

JBoss 5.x ships with the RI JSF 1.2 implementation.  To get the examples to run on JBoss 5.x, you need to remove this from web.xml:
<listener>
        <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

For JBoss 5.x, the listener for JSF 1.2 is added automatically, so you don't need to put it in web.xml.

Also, there are some third party libraries such as cglib that do not ship with JBoss 5.x.  I was able to get the examples to run on JBoss 5.x by adding Seam's thridparty-all.jar to the server/default/lib directory.  However, that's probably not the best way to handle the problem.

-- 
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