1 2 Previous Next 20 Replies Latest reply on Apr 5, 2012 12:10 AM by khosro_question

    Seam 3 + AS 7

    esteve

      Hi,
      Has anyone tested a Seam 3 project with JBoss AS 7?
      I am trying it but there are a lot of problems.
      I think it should be very interesting a migration guide from AS 6 to AS 7, for both Seam 3 an AS projects.
      With the AS 7 next release it will be a great oportunity for seam 3 community to have both projects work correctly together.
      Thanks a lot.

        • 1. Re: Seam 3 + AS 7
          lightguard

          What problems are you seeing and with which modules?


          I have an example app I'm working on that will eventually become a Getting Started guide for Seam 3 that runs fine on AS7. It has Faces (3.0.2), Catch, Persistence, International, Config, Validation and Security. I know if you're using Rest on AS7 you need to manually add dom4j into your project. I think there's something with Remoting too, but it escapes me right now, it's here in the forums somewhere though.


          We certainly want to know any problems you experience with AS7 so we can get them fixed quickly.

          • 2. Re: Seam 3 + AS 7
            esteve
            I will try it with Faces 3.0.2 because I used MyFaces and had some problemes. If I remove them presentation layer works well.

            The most worring problems are in persistence layer:
            16:39:15,617 INFO  [org.hibernate.validator.engine.resolver.DefaultTraversableResolver] (http--127.0.0.1-8080-6) Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

            16:39:15,644 ERROR [com.myproject.security.impl.SecurityServiceImpl] (http--127.0.0.1-8080-6) : java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Could not find TransactionManager in JNDI

                      at org.jboss.seam.persistence.ManagedPersistenceContextProxyHandler.joinTransaction(ManagedPersistenceContextProxyHandler.java:140) [seam-persistence-3.0.0.Final.jar:]

                      at org.jboss.seam.persistence.ManagedPersistenceContextProxyHandler.invoke(ManagedPersistenceContextProxyHandler.java:114) [seam-persistence-3.0.0.Final.jar:]

            It works well in AS 6.  Database related configuration seams correct as the schema is autopopuled correctly.

            So I need to know:
            · What do I have to do to enable MyFaces
            · Do I have to change anything related to persistence?

            I will try seam-booking example on AS7
            Thanks

            • 3. Re: Seam 3 + AS 7
              esteve
              Hi,
              Trying seam-booking example 3.0.0.Final with seam-faces 3.0.2 doesnt't work out of the box:
              14:05:45,356 INFO  [org.jboss.seam.solder.core.CoreExtension] (MSC service thread 1-4) Preventing class org.jboss.seam.faces.validation.InputElement from being installed as bean due to @Veto annotation
              14:05:45,845 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "booking.war" was rolled back with failure message {"Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"booking.war\".component.\"com.ocpsoft.pretty.faces.config.PrettyConfigListener\".START","jboss.deployment.unit.\"booking.war\".component.\"com.ocpsoft.pretty.faces.component.tag.LinkTag\".START","jboss.deployment.unit.\"booking.war\".component.\"com.ocpsoft.pretty.faces.component.tag.UrlBufferTag\".START","jboss.naming.context.java.module.booking.booking.\"env/org.jboss.seam.examples.booking.account.Registrar/em\".jboss.deployment.unit.\"booking.war\".module.booking.booking.13","jboss.naming.context.java.module.booking.booking.\"env/org.jboss.seam.examples.booking.security.BookingAuthenticator/em\".jboss.deployment.unit.\"booking.war\".module.booking.booking.12","jboss.deployment.unit.\"booking.war\".component.\"com.ocpsoft.pretty.PrettyFilter\".START","jboss.deployment.unit.\"booking.war\".component.\"org.jboss.seam.servlet.event.ServletEventBridgeFilter\".START","jboss.deployment.unit.\"booking.war\".component.Registrar.START","jboss.persistenceunit.\"booking.war#booking\"","jboss.deployment.unit.\"booking.war\".component.\"org.jboss.seam.servlet.event.ServletEventBridgeServlet\".START","jboss.naming.context.java.module.booking.booking.\"env/org.jboss.seam.examples.booking.booking.BookingAgent/em\".jboss.deployment.unit.\"booking.war\".module.booking.booking.8","jboss.deployment.unit.\"booking.war\".component.BookingAgent.START","jboss.deployment.unit.\"booking.war\".component.BookingHistory.START","jboss.deployment.unit.\"booking.war\".component.\"org.jboss.seam.servlet.exception.CatchExceptionFilter\".START","jboss.deployment.unit.\"booking.war\".component.HotelSearch.START","jboss.deployment.unit.\"booking.war\".jndiDependencyService","jboss.naming.context.java.module.booking.booking.\"env/org.jboss.seam.examples.booking.booking.BookingHistory/entityManager\".jboss.deployment.unit.\"booking.war\".module.booking.booking.9","jboss.deployment.unit.\"booking.war\".component.\"org.jboss.seam.servlet.event.ServletEventBridgeListener\".START","jboss.naming.context.java.module.booking.booking.\"env/org.jboss.seam.examples.booking.inventory.HotelSearch/em\".jboss.deployment.unit.\"booking.war\".module.booking.booking.10","jboss.deployment.unit.\"booking.war\".component.BookingAuthenticator.START","jboss.deployment.unit.\"booking.war\".component.\"org.jboss.seam.solder.resourceLoader.servlet.ResourceListener\".START","jboss.deployment.unit.\"booking.war\".component.\"org.jboss.seam.faces.beanManager.BeanManagerServletContextListener\".START","jboss.deployment.unit.\"booking.war\".component.CurrentUserManager.START","jboss.naming.context.java.module.booking.booking.\"env/org.jboss.seam.examples.booking.account.PasswordManager/em\".jboss.deployment.unit.\"booking.war\".module.booking.booking.11","jboss.web.\"booking.war\"","jboss.deployment.unit.\"booking.war\".component.PasswordManager.START","jboss.deployment.unit.\"booking.war\".component.\"org.jboss.as.weld.webtier.jsp.JspInitializationListener\".START"]}
              14:05:45,880 INFO  [org.jboss.weld] (MSC service thread 1-3) Stopping weld service
              • 4. Re: Seam 3 + AS 7
                lightguard

                Is prettyfaces on the classpath?

                • 5. Re: Seam 3 + AS 7
                  ssarver

                  $SEAMHOME/examples/security-idmconsole
                  does not work!

                  war:

                        0  Stored        0   0% 2011-07-13 08:13 00000000  META-INF/
                       126  Defl:N      103  18% 2011-07-13 08:13 4955e677  META-INF/MANIFEST.MF
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/templates/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/converter/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/producer/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/META-INF/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/lib/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  style/
                      2168  Defl:N      798  63% 2011-03-28 20:41 29432337  manageusers.xhtml
                      1384  Defl:N      593  57% 2011-03-28 20:41 14264f92  home.xhtml
                        85  Defl:N       78   8% 2011-03-28 20:41 599b33af  index.html
                      3153  Defl:N      796  75% 2011-03-28 20:41 2f2a12fb  userdetail.xhtml
                      5236  Defl:N      666  87% 2011-03-28 20:41 44b0d3de  WEB-INF/faces-config.xml
                      1201  Defl:N      546  55% 2011-03-28 20:41 f49797f3  WEB-INF/templates/default.xhtml
                      1278  Defl:N      567  56% 2011-07-13 08:13 c0395aed  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/converter/RoleTypeConverter.class
                      1291  Defl:N      580  55% 2011-07-13 08:13 e2cd5867  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/converter/GroupConverter.class
                       674  Defl:N      381  44% 2011-07-13 08:13 4353fc53  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/producer/EntityManagerProducer.class
                      2063  Defl:N      813  61% 2011-07-13 08:13 6c608219  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectAttribute.class
                      2609  Defl:N      918  65% 2011-07-13 08:13 58866e5a  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectRelationship.class
                      1302  Defl:N      616  53% 2011-07-13 08:13 8342b4f8  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectCredentialType.class
                      1272  Defl:N      611  52% 2011-07-13 08:13 29fb42e6  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectType.class
                      1796  Defl:N      749  58% 2011-07-13 08:13 7b8db7b3  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.class
                      1308  Defl:N      614  53% 2011-07-13 08:13 5014d8ee  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectRelationshipType.class
                      2845  Defl:N      975  66% 2011-07-13 08:13 47254e75  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityPermission.class
                      1100  Defl:N      557  49% 2011-07-13 08:13 20f93ad4  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityRoleName.class
                      2320  Defl:N      847  64% 2011-07-13 08:13 1c80d34e  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectCredential.class
                      1232  Defl:N      314  75% 2011-07-13 08:13 65f4c6b8  WEB-INF/classes/import.sql
                       790  Defl:N      401  49% 2011-07-13 08:13 3bccf519  WEB-INF/classes/META-INF/idmconsole-ds.xml
                      1470  Defl:N      443  70% 2011-07-13 08:13 06aa3ca7  WEB-INF/classes/META-INF/seam-beans.xml
                      3661  Defl:N      866  76% 2011-07-13 08:13 7c77e794  WEB-INF/classes/META-INF/DEPENDENCIES.txt
                      1009  Defl:N      411  59% 2011-07-13 08:13 d74d907f  WEB-INF/classes/META-INF/persistence.xml
                       920  Defl:N      379  59% 2011-07-13 08:13 0ae8482c  WEB-INF/classes/META-INF/persistence.xml00
                     11357  Defl:N     3948  65% 2011-07-13 08:13 7b5d04bc  WEB-INF/classes/META-INF/LICENSE.txt
                      1240  Defl:N      362  71% 2011-03-28 20:41 702c3287  WEB-INF/security.drl
                      1469  Defl:N      684  53% 2011-03-28 20:41 025ca01e  WEB-INF/web.xml
                    153322  Defl:N   139645   9% 2011-07-07 12:54 a286ccb6  WEB-INF/lib/seam-security-impl-3.0.0.Final.jar
                     91386  Defl:N    81132  11% 2011-07-07 12:54 56e6e291  WEB-INF/lib/seam-config-xml-3.0.0.Final.jar
                    204093  Defl:N   181695  11% 2011-07-07 12:54 ed9a2ff2  WEB-INF/lib/picketlink-idm-core-1.5.0.Alpha02.jar
                     55966  Defl:N    44907  20% 2011-07-07 12:54 d81b0cc2  WEB-INF/lib/seam-international-3.0.0.Final.jar
                    156012  Defl:N   118329  24% 2011-07-07 12:54 529f3ca5  WEB-INF/lib/drools-api-5.1.1.jar
                    667765  Defl:N   613725   8% 2011-07-07 12:54 d457af86  WEB-INF/lib/mvel2-2.0.16.jar
                    118459  Defl:N   102978  13% 2011-07-07 12:54 c881d02f  WEB-INF/lib/seam-persistence-3.0.0.Final.jar
                    543011  Defl:N   456324  16% 2011-07-12 14:02 f915bdef  WEB-INF/lib/joda-time-1.6.1.jar
                  2105151  Defl:N  1889494  10% 2011-07-07 12:54 465cc481  WEB-INF/lib/drools-core-5.1.1.jar
                    150774  Defl:N   137219   9% 2011-07-07 12:54 418fdec3  WEB-INF/lib/antlr-runtime-3.1.3.jar
                  1674737  Defl:N  1601274   4% 2011-07-07 12:55 b5de0b5f  WEB-INF/lib/ecj-3.5.1.jar
                    397907  Defl:N   343667  14% 2011-07-07 12:54 7f34b227  WEB-INF/lib/seam-solder-3.0.0.Final.jar
                  1118669  Defl:N  1009442  10% 2011-07-07 12:54 81d5b498  WEB-INF/lib/drools-compiler-5.1.1.jar
                    109307  Defl:N   100776   8% 2011-07-13 07:36 cf79a4a1  WEB-INF/lib/el-impl-2.1.2-b04.jar
                     33704  Defl:N    23654  30% 2011-07-07 12:54 c2755ce4  WEB-INF/lib/seam-security-api-3.0.0.Final.jar
                     23055  Defl:N    14694  36% 2011-07-07 12:54 5dfcdff2  WEB-INF/lib/picketlink-idm-spi-1.5.0.Alpha02.jar
                     27714  Defl:N    18846  32% 2011-07-07 12:54 9718b1ca  WEB-INF/lib/picketlink-idm-api-1.5.0.Alpha02.jar
                     25717  Defl:N    20670  20% 2011-07-07 12:54 8473b909  WEB-INF/lib/picketlink-idm-common-1.5.0.Alpha02.jar
                      1427  Defl:N      489  66% 2011-03-28 20:41 01326549  WEB-INF/beans.xml
                      2795  Defl:N     2586   8% 2011-03-28 20:41 616a4519  style/btn
                  newuser.png
                       922  Defl:N      393  57% 2011-03-28 20:41 1ed72fdb  style/default.css
                      1967  Defl:N      624  68% 2011-03-28 20:41 c2605526  roledetail.xhtml
                      1736  Defl:N      719  59% 2011-03-28 20:41 fb987a7f  managegroups.xhtml
                       713  Defl:N      303  58% 2011-03-28 20:41 7da5422c  menu.xhtml
                      1961  Defl:N      580  70% 2011-03-28 20:41 13354e5d  changepassword.xhtml
                      1245  Defl:N      499  60% 2011-03-28 20:41 b4890c38  groupdetail.xhtml
                      1731  Defl:N      720  58% 2011-03-28 20:41 2504a901  manageroletypes.xhtml
                      1227  Defl:N      506  59% 2011-03-28 20:41 04d0868f  roletypedetail.xhtml
                       142  Defl:N      119  16% 2011-03-28 20:41 42cc6156  META-INF/context.xml
                         0  Stored        0   0% 2011-07-13 08:13 00000000  META-INF/maven/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  META-INF/maven/org.jboss.seam.security/
                         0  Stored        0   0% 2011-07-13 08:13 00000000  META-INF/maven/org.jboss.seam.security/seam-security-example-idmconsole/
                      8801  Defl:N     2309  74% 2011-07-13 08:02 f6433eef  META-INF/maven/org.jboss.seam.security/seam-security-example-idmconsole/pom.xml
                       146  Defl:N      130  11% 2011-07-13 08:13 a51db5ad  META-INF/maven/org.jboss.seam.security/seam-security-example-idmconsole/pom.properties



                  • 6. Re: Seam 3 + AS 7
                    ssarver


                    $SEAMHOME/examples/security-idmconsole
                    does not work!

                    war:

                    Archive:  security-idmconsole.war
                    Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
                    --------  ------  ------- ---- ---------- ----- --------  ----
                           0  Stored        0   0% 2011-07-13 08:13 00000000  META-INF/
                         126  Defl:N      103  18% 2011-07-13 08:13 4955e677  META-INF/MANIFEST.MF
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/templates/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/converter/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/producer/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/classes/META-INF/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  WEB-INF/lib/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  style/
                        2168  Defl:N      798  63% 2011-03-28 20:41 29432337  manageusers.xhtml
                        1384  Defl:N      593  57% 2011-03-28 20:41 14264f92  home.xhtml
                          85  Defl:N       78   8% 2011-03-28 20:41 599b33af  index.html
                        3153  Defl:N      796  75% 2011-03-28 20:41 2f2a12fb  userdetail.xhtml
                        5236  Defl:N      666  87% 2011-03-28 20:41 44b0d3de  WEB-INF/faces-config.xml
                        1201  Defl:N      546  55% 2011-03-28 20:41 f49797f3  WEB-INF/templates/default.xhtml
                        1278  Defl:N      567  56% 2011-07-13 08:13 c0395aed  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/converter/RoleTypeConverter.class
                        1291  Defl:N      580  55% 2011-07-13 08:13 e2cd5867  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/converter/GroupConverter.class
                         674  Defl:N      381  44% 2011-07-13 08:13 4353fc53  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/producer/EntityManagerProducer.class
                        2063  Defl:N      813  61% 2011-07-13 08:13 6c608219  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectAttribute.class
                        2609  Defl:N      918  65% 2011-07-13 08:13 58866e5a  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectRelationship.class
                        1302  Defl:N      616  53% 2011-07-13 08:13 8342b4f8  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectCredentialType.class
                        1272  Defl:N      611  52% 2011-07-13 08:13 29fb42e6  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectType.class
                        1796  Defl:N      749  58% 2011-07-13 08:13 7b8db7b3  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObject.class
                        1308  Defl:N      614  53% 2011-07-13 08:13 5014d8ee  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectRelationshipType.class
                        2845  Defl:N      975  66% 2011-07-13 08:13 47254e75  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityPermission.class
                        1100  Defl:N      557  49% 2011-07-13 08:13 20f93ad4  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityRoleName.class
                        2320  Defl:N      847  64% 2011-07-13 08:13 1c80d34e  WEB-INF/classes/org/jboss/seam/security/examples/idmconsole/model/IdentityObjectCredential.class
                        1232  Defl:N      314  75% 2011-07-13 08:13 65f4c6b8  WEB-INF/classes/import.sql
                         790  Defl:N      401  49% 2011-07-13 08:13 3bccf519  WEB-INF/classes/META-INF/idmconsole-ds.xml
                        1470  Defl:N      443  70% 2011-07-13 08:13 06aa3ca7  WEB-INF/classes/META-INF/seam-beans.xml
                        3661  Defl:N      866  76% 2011-07-13 08:13 7c77e794  WEB-INF/classes/META-INF/DEPENDENCIES.txt
                        1009  Defl:N      411  59% 2011-07-13 08:13 d74d907f  WEB-INF/classes/META-INF/persistence.xml
                         920  Defl:N      379  59% 2011-07-13 08:13 0ae8482c  WEB-INF/classes/META-INF/persistence.xml00
                       11357  Defl:N     3948  65% 2011-07-13 08:13 7b5d04bc  WEB-INF/classes/META-INF/LICENSE.txt
                        1240  Defl:N      362  71% 2011-03-28 20:41 702c3287  WEB-INF/security.drl
                        1469  Defl:N      684  53% 2011-03-28 20:41 025ca01e  WEB-INF/web.xml
                      153322  Defl:N   139645   9% 2011-07-07 12:54 a286ccb6  WEB-INF/lib/seam-security-impl-3.0.0.Final.jar
                       91386  Defl:N    81132  11% 2011-07-07 12:54 56e6e291  WEB-INF/lib/seam-config-xml-3.0.0.Final.jar
                      204093  Defl:N   181695  11% 2011-07-07 12:54 ed9a2ff2  WEB-INF/lib/picketlink-idm-core-1.5.0.Alpha02.jar
                       55966  Defl:N    44907  20% 2011-07-07 12:54 d81b0cc2  WEB-INF/lib/seam-international-3.0.0.Final.jar
                      156012  Defl:N   118329  24% 2011-07-07 12:54 529f3ca5  WEB-INF/lib/drools-api-5.1.1.jar
                      667765  Defl:N   613725   8% 2011-07-07 12:54 d457af86  WEB-INF/lib/mvel2-2.0.16.jar
                      118459  Defl:N   102978  13% 2011-07-07 12:54 c881d02f  WEB-INF/lib/seam-persistence-3.0.0.Final.jar
                      543011  Defl:N   456324  16% 2011-07-12 14:02 f915bdef  WEB-INF/lib/joda-time-1.6.1.jar
                    2105151  Defl:N  1889494  10% 2011-07-07 12:54 465cc481  WEB-INF/lib/drools-core-5.1.1.jar
                      150774  Defl:N   137219   9% 2011-07-07 12:54 418fdec3  WEB-INF/lib/antlr-runtime-3.1.3.jar
                    1674737  Defl:N  1601274   4% 2011-07-07 12:55 b5de0b5f  WEB-INF/lib/ecj-3.5.1.jar
                      397907  Defl:N   343667  14% 2011-07-07 12:54 7f34b227  WEB-INF/lib/seam-solder-3.0.0.Final.jar
                    1118669  Defl:N  1009442  10% 2011-07-07 12:54 81d5b498  WEB-INF/lib/drools-compiler-5.1.1.jar
                      109307  Defl:N   100776   8% 2011-07-13 07:36 cf79a4a1  WEB-INF/lib/el-impl-2.1.2-b04.jar
                       33704  Defl:N    23654  30% 2011-07-07 12:54 c2755ce4  WEB-INF/lib/seam-security-api-3.0.0.Final.jar
                       23055  Defl:N    14694  36% 2011-07-07 12:54 5dfcdff2  WEB-INF/lib/picketlink-idm-spi-1.5.0.Alpha02.jar
                       27714  Defl:N    18846  32% 2011-07-07 12:54 9718b1ca  WEB-INF/lib/picketlink-idm-api-1.5.0.Alpha02.jar
                       25717  Defl:N    20670  20% 2011-07-07 12:54 8473b909  WEB-INF/lib/picketlink-idm-common-1.5.0.Alpha02.jar
                        1427  Defl:N      489  66% 2011-03-28 20:41 01326549  WEB-INF/beans.xml
                        2795  Defl:N     2586   8% 2011-03-28 20:41 616a4519  style/btn
                    newuser.png
                         922  Defl:N      393  57% 2011-03-28 20:41 1ed72fdb  style/default.css
                        1967  Defl:N      624  68% 2011-03-28 20:41 c2605526  roledetail.xhtml
                        1736  Defl:N      719  59% 2011-03-28 20:41 fb987a7f  managegroups.xhtml
                         713  Defl:N      303  58% 2011-03-28 20:41 7da5422c  menu.xhtml
                        1961  Defl:N      580  70% 2011-03-28 20:41 13354e5d  changepassword.xhtml
                        1245  Defl:N      499  60% 2011-03-28 20:41 b4890c38  groupdetail.xhtml
                        1731  Defl:N      720  58% 2011-03-28 20:41 2504a901  manageroletypes.xhtml
                        1227  Defl:N      506  59% 2011-03-28 20:41 04d0868f  roletypedetail.xhtml
                         142  Defl:N      119  16% 2011-03-28 20:41 42cc6156  META-INF/context.xml
                           0  Stored        0   0% 2011-07-13 08:13 00000000  META-INF/maven/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  META-INF/maven/org.jboss.seam.security/
                           0  Stored        0   0% 2011-07-13 08:13 00000000  META-INF/maven/org.jboss.seam.security/seam-security-example-idmconsole/
                        8801  Defl:N     2309  74% 2011-07-13 08:02 f6433eef  META-INF/maven/org.jboss.seam.security/seam-security-example-idmconsole/pom.xml
                         146  Defl:N      130  11% 2011-07-13 08:13 a51db5ad  META-INF/maven/org.jboss.seam.security/seam-security-example-idmconsole/pom.properties
                    --------          -------  ---                            -------
                    7737921          6928064  11%                            78 files




                    • 7. Re: Seam 3 + AS 7
                      ssarver
                      exception:


                      08:18:05,481 ERROR [org.jboss.weld.Bean] (http--127.0.0.1-8080-2) WELD-000019 Error destroying an instance Managed Bean [class org.jboss.seam.security.permission.SecurityRuleProducer] with qualifiers [@Any @Default] of org.jboss.seam.sec
                      urity.permission.SecurityRuleProducer@f9f3b2
                      08:18:05,481 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http--127.0.0.1-8080-2) Error Rendering View[/manageusers.xhtml]: javax.el.ELException: /manageusers.xhtml @22,144 rendered="#{identity.hasPermission('seam.acc
                      ount', 'create')}": java.lang.IllegalArgumentException: stream cannot be null
                              at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
                              at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:193) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:421) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:853) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1652) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
                              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
                              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
                              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
                              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
                              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313) [jboss-jsf-api_2.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final]
                              at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49) [jboss-as-jpa-7.0.0.Final.jar:7.0.0.Final]
                              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
                      Caused by: java.lang.IllegalArgumentException: stream cannot be null
                              at org.drools.io.impl.InputStreamResource.<init>(InputStreamResource.java:35) [drools-core-5.1.1.jar:]
                              at org.drools.io.impl.ResourceFactoryServiceImpl.newInputStreamResource(ResourceFactoryServiceImpl.java:87) [drools-core-5.1.1.jar:]
                              at org.drools.io.ResourceFactory.newInputStreamResource(ResourceFactory.java:87) [drools-api-5.1.1.jar:]
                              at org.jboss.seam.security.permission.SecurityRuleProducer.createSecurityKnowledgeBase(SecurityRuleProducer.java:42) [seam-security-impl-3.0.0.Final.jar:]
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
                              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
                              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:169) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.ProducerMethod$1.produce(ProducerMethod.java:149) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:361) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:122) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:124) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.proxies.KnowledgeBase$KnowledgeBaseEventManager$-1706263264$Proxy$_$$_WeldClientProxy.newStatefulKnowledgeSession(KnowledgeBase$KnowledgeBaseEventManager$-1706263264$Proxy$_$$_WeldClientProxy.java) [weld-core-1.1.2.AS7.jar:]
                              at org.jboss.seam.security.permission.RuleBasedPermissionResolver.init(RuleBasedPermissionResolver.java:49) [seam-security-impl-3.0.0.Final.jar:]
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
                              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
                              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.injection.MethodInjectionPoint.invoke(MethodInjectionPoint.java:127) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.util.Beans.callInitializers(Beans.java:901) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:888) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1$1.proceed(ManagedBean.java:182) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:54) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1.work(ManagedBean.java:176) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.ManagedBean$FixInjectionPoint.run(ManagedBean.java:142) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.inject(ManagedBean.java:170) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:339) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:122) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at org.jboss.seam.security.permission.RuleBasedPermissionResolver$Proxy$_$$_WeldClientProxy.hasPermission(RuleBasedPermissionResolver$Proxy$_$$_WeldClientProxy.java) [seam-security-impl-3.0.0.Final.jar:]
                              at org.jboss.seam.security.permission.PermissionMapper.resolvePermission(PermissionMapper.java:32) [seam-security-impl-3.0.0.Final.jar:]
                              at org.jboss.seam.security.permission.PermissionMapper$Proxy$_$$_WeldClientProxy.resolvePermission(PermissionMapper$Proxy$_$$_WeldClientProxy.java) [seam-security-impl-3.0.0.Final.jar:]
                              at org.jboss.seam.security.IdentityImpl.hasPermission(IdentityImpl.java:726) [seam-security-impl-3.0.0.Final.jar:]
                              at org.jboss.seam.security.IdentityImpl$Proxy$_$$_WeldClientProxy.hasPermission(IdentityImpl$Proxy$_$$_WeldClientProxy.java) [seam-security-impl-3.0.0.Final.jar:]
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
                              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
                              at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:735) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.el.BeanELResolver.invoke(BeanELResolver.java:467) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
                              at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:246) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
                              at org.apache.el.parser.AstValue.getValue(AstValue.java:131) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
                              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
                              at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]
                              ... 32 more
                      • 8. Re: Seam 3 + AS 7
                        ssarver

                        pom.xml

                        <?xml version="1.0" encoding="UTF-8"?>
                        <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
                           <modelVersion>4.0.0</modelVersion>
                           <groupId>org.jboss.seam.security</groupId>
                           <artifactId>seam-security-example-idmconsole</artifactId>
                           <packaging>war</packaging>
                           <name>Seam Security Identity Management Console Example</name>
                         
                           <parent>
                              <groupId>org.jboss.seam.security</groupId>
                              <artifactId>seam-security-parent</artifactId>
                              <version>3.0.0.Final</version>
                              <relativePath>../../pom.xml</relativePath>
                           </parent>

                           <properties>
                              <!--
                                 Explicitly declaring the source encoding eliminates the following message:
                                 [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
                              -->
                              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                              <!-- To set the jboss.home environment variable the Maven way, set the jboss.home property in an active profile in the Maven 2 settings.xml file -->
                              <jboss.home>${env.JBOSS_HOME}</jboss.home>
                              <jboss.domain>default</jboss.domain>
                           </properties>

                           <dependencies>

                        <dependency>
                          <groupId>joda-time</groupId>
                          <artifactId>joda-time</artifactId>
                          <version>1.6.1</version>
                        </dependency>

                              <!-- Seam Security -->
                              <dependency>
                                 <groupId>org.jboss.seam.security</groupId>
                                 <artifactId>seam-security-impl</artifactId>
                                 <version>${project.version}</version>
                              </dependency>

                              <dependency>
                                 <groupId>org.drools</groupId>
                                 <artifactId>drools-core</artifactId>
                              </dependency>

                              <dependency>
                                 <groupId>org.drools</groupId>
                                 <artifactId>drools-compiler</artifactId>
                              </dependency>

                              <dependency>
                                 <groupId>org.jboss.seam.persistence</groupId>
                                 <artifactId>seam-persistence</artifactId>
                              </dependency>

                              <dependency>
                                 <groupId>org.jboss.seam.config</groupId>
                                 <artifactId>seam-config-xml</artifactId>
                              </dependency>

                              <!-- CDI (JSR-299) -->
                              <dependency>
                                 <groupId>javax.enterprise</groupId>
                                 <artifactId>cdi-api</artifactId>
                                 <scope>provided</scope>
                              </dependency>

                              <dependency>
                                 <groupId>org.hibernate.javax.persistence</groupId>
                                 <artifactId>hibernate-jpa-2.0-api</artifactId>
                                 <scope>provided</scope>
                              </dependency>

                              <!-- Bean Validation (JSR-303) -->
                              <dependency>
                                 <groupId>javax.validation</groupId>
                                 <artifactId>validation-api</artifactId>
                                 <scope>provided</scope>
                              </dependency>

                              <!-- Bean Validation Implementation -->
                              <!-- Provides portable constraints such as @NotEmpty, @Email and @Url -->
                              <!-- Hibernate Validator is the only JSR-303 implementation at the moment, so we can assume it's provided -->
                              <dependency>
                                 <groupId>org.hibernate</groupId>
                                 <artifactId>hibernate-validator</artifactId>
                                 <version>4.0.0.GA</version>
                                 <scope>provided</scope>
                              </dependency>

                              <!-- JSF -->
                              <dependency>
                                 <groupId>javax.faces</groupId>
                                 <artifactId>jsf-api</artifactId>
                                 <scope>provided</scope>
                              </dependency>

                              <!-- Optional, but highly recommended. -->
                              <dependency>
                                 <groupId>org.testng</groupId>
                                 <artifactId>testng</artifactId>
                                 <version>5.10</version>
                                 <scope>test</scope>
                                 <classifier>jdk15</classifier>
                              </dependency>

                              <!-- Needed on JBoss AS as EL is out of date -->
                              <dependency>
                                 <groupId>org.glassfish.web</groupId>
                                 <artifactId>el-impl</artifactId>
                                 <scope>runtime</scope>
                                 <!-- FIXME this version should be in the Weld API BOM -->
                                 <version>2.1.2-b04</version>
                                 <exclusions>
                                    <exclusion>
                                       <groupId>javax.el</groupId>
                                       <artifactId>el-api</artifactId>
                                    </exclusion>
                                 </exclusions>
                              </dependency>


                              <!-- Include the JBoss' Java EE 6 APIs -->
                              <!-- JBoss distributes a complete set of Java EE 6 APIs including a
                                 Bill of Materials (BOM). A BOM specifies the versions of a "stack" (or a
                                 collection) of artifacts. We use this here so that we always get the correct
                                 versions of artifacts. Here we use the jboss-javaee-web-6.0 stack (you can
                                 read this as the JBoss stack of the Java EE 6 Web Profile APIs), and we use
                                 version 2.0.0.Beta1 which is the latest release of the stack. You can actually
                                 use this stack with any version of JBoss AS that implements Java EE 6, not
                                 just JBoss AS 7! -->
                              <dependency>
                                 <groupId>org.jboss.spec</groupId>
                                 <artifactId>jboss-javaee-web-6.0</artifactId>
                                 <version>2.0.0.Final</version>
                                 <type>pom</type>
                                 <scope>provided</scope>
                              </dependency>

                           </dependencies>
                           <build>
                              <finalName>security-idmconsole</finalName>
                              <plugins>
                                 <!-- Compiler plugin enforces Java 1.6 compatibility -->
                                 <plugin>
                                    <groupId>org.apache.maven.plugins</groupId>
                                    <artifactId>maven-compiler-plugin</artifactId>
                                    <configuration>
                                       <source>1.6</source>
                                       <target>1.6</target>
                                    </configuration>
                                 </plugin>

                                 <!-- Configure the JBoss AS Maven deploy plugin -->
                                 <plugin>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>jboss-maven-plugin</artifactId>
                                    <configuration>
                                       <jbossHome>${jboss.home}</jbossHome>
                                       <serverName>${jboss.domain}</serverName>
                                       <fileNames>
                                          <fileName>${project.build.directory}/idmconsole.war</fileName>
                                       </fileNames>
                                    </configuration>
                                 </plugin>

                                 <!-- Compiler plugin enforces Java 1.6 compatibility and activates
                                    annotation processors -->
                                 <plugin>
                                    <artifactId>maven-compiler-plugin</artifactId>
                                    <version>2.3.1</version>
                                    <configuration>
                                       <source>1.6</source>
                                       <target>1.6</target>
                                    </configuration>
                                 </plugin>
                                 <plugin>
                                    <artifactId>maven-war-plugin</artifactId>
                                    <version>2.1.1</version>
                                    <configuration>
                                       <!-- Java EE 6 doesn't require web.xml, Maven needs to catch
                                          up! -->
                                       <failOnMissingWebXml>false</failOnMissingWebXml>
                                    </configuration>
                                 </plugin>

                              </plugins>
                           </build>
                          
                           <profiles>
                              <profile>
                                 <id>distribution</id>
                                 <activation>
                                    <property>
                                       <name>release</name>
                                    </property>
                                 </activation>
                                 <build>
                                    <plugins>
                                       <plugin>
                                          <groupId>org.apache.maven.plugins</groupId>
                                          <artifactId>maven-assembly-plugin</artifactId>
                                       </plugin>
                                    </plugins>
                                 </build>
                              </profile>
                             
                              <profile>
                                 <id>glassfish</id>
                                 <dependencies>
                                   <dependency>
                                     <groupId>joda-time</groupId>
                                     <artifactId>joda-time</artifactId>        
                                   </dependency>
                                 </dependencies>
                              </profile>        

                              <profile>
                                 <!-- The default profile skips all tests, though you can tune it
                                    to run just unit tests based on a custom pattern -->
                                 <!-- Seperate profiles are provided for running all tests, including
                                    Arquillian tests that execute in the specified container -->
                                 <id>default</id>
                                 <activation>
                                    <activeByDefault>true</activeByDefault>
                                 </activation>
                                 <build>
                                    <plugins>
                                       <plugin>
                                          <artifactId>maven-surefire-plugin</artifactId>
                                          <version>2.4.3</version>
                                          <configuration>
                                             <skip>true</skip>
                                          </configuration>
                                       </plugin>
                                       <!-- The JBoss AS plugin deploys your war to a local JBoss
                                          AS container -->
                                       <!-- To use, set the JBOSS_HOME environment variable and run:
                                          mvn package jboss-as:deploy -->
                                       <plugin>
                                          <groupId>org.jboss.as.plugins</groupId>
                                          <artifactId>jboss-as-maven-plugin</artifactId>
                                          <version>7.0.0.Final</version>
                                       </plugin>
                                    </plugins>
                                 </build>
                              </profile>

                           </profiles>
                        </project>

                        • 9. Re: Seam 3 + AS 7
                          ssarver
                          • 10. Re: Seam 3 + AS 7
                            esteve
                            • 11. Re: Seam 3 + AS 7
                              andrewwheeler

                              The Could not find TransactionManager in JNDI exception is caused by Seam persistence. If was looking for a user transaction with a JNDI pattern that is no longer supported (under comp). This has been fixed in 3.0.1.SNAPSHOT.

                              • 12. Re: Seam 3 + AS 7
                                esteve

                                Andrew,
                                Test with 3.0.1-SNAPSHOT and everything works OK.
                                Thanks a lot

                                • 13. Re: Seam 3 + AS 7
                                  aareshchanka

                                  I'm trying to run seam-booking example and getting current errors on AS7, seems like as7 doen't loads seam-solger correctly:


                                  org.jboss.weld.exceptions.CreationException: WELD-000079 Could not find the EJB in JNDI: class org.jboss.seam.examples.booking.booking.BookingAgent$Proxy$_$$_Weld$Proxy$


                                  javax.faces.el.EvaluationException: org.jboss.weld.exceptions.CreationException: WELD-000079 Could not find the EJB in JNDI:  class org.jboss.seam.examples.booking.booking.BookingAgent$Proxy$_$$_Weld$Proxy$
                                       at org.jboss.seam.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:58)
                                       at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
                                       at org.jboss.seam.faces.component.UIViewAction.broadcast(UIViewAction.java:365)
                                  ......

                                  Caused by: java.lang.IllegalArgumentException: Invalid logger interface org.jboss.seam.examples.booking.log.BookingLog (implementation not found)
                                       at org.jboss.logging.Logger.getMessageLogger(Logger.java:2254)
                                       at org.jboss.logging.Logger.getMessageLogger(Logger.java:2215)
                                       at org.jboss.seam.solder.logging.TypedMessageLoggerProducer.produceTypedLogger(TypedMessageLoggerProducer.java:66)
                                       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                  • 14. Re: Seam 3 + AS 7
                                    aareshchanka


                                    javax.faces.el.EvaluationException: org.jboss.weld.exceptions.CreationException: WELD-000079 Could not find the EJB in JNDI:  class org.jboss.seam.examples.booking.booking.BookingAgent$Proxy$_$$_Weld$Proxy$
                                         at org.jboss.seam.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:58)
                                    
                                    
                                    Caused by: java.lang.IllegalArgumentException: Invalid logger interface org.jboss.seam.examples.booking.log.BookingLog (implementation not found)
                                         at org.jboss.logging.Logger.getMessageLogger(Logger.java:2254)
                                         at org.jboss.logging.Logger.getMessageLogger(Logger.java:2215)
                                         at org.jboss.seam.solder.logging.TypedMessageLoggerProducer.produceTypedLogger(TypedMessageLoggerProducer.java:66)
                                         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)




                                    1 2 Previous Next