10 Replies Latest reply on Nov 9, 2006 8:12 PM by jazir1979

    RC9 is out

    bill.burke

      The biggest change is that we switch MDB to be fully JCA Inflow based. This means that the JMS RA is required to be used.

      Release Notes:

      http://jira.jboss.com/jira/secure/ReleaseNote.jspa?version=12310759&styleName=Text&projectId=10021&Create=Create

      Please help expand our Migration Guide on our WIKI:

      http://wiki.jboss.org/wiki/Wiki.jsp?page=FromRC8RC9

        • 1. Re: RC9 is out
          juergen.zimmermann

          Is RC9 only for 4.0.4, but also for 4.0.5RC1?

          • 2. Re: RC9 is out
            bdecoste

            4.0.4, 4.0.5, 5.0, 9.2, everything - just ask Burke. He might have backmerged to 3.2 :-)

            • 3. Re: RC9 is out
              webmarck

              The patch installer assume jboss.server.config is set to all - IF you overwrite it to default (witch is possible if you picked ejb3 in Web installer) please be aware that it copies files that will make JBoss throw some exceptions dying startup. I have identified:

              ejb3-clustered-sfsbcache-service.xml
              ejb3-entity-cache-service.xml

              (Both in the deploy dir)

              if I remove them then the server starts without exceptions - maybe there are others....

              • 4. Re: RC9 is out
                apill

                What versions of Hibernate, Hibernate Annotations, Hibernate Entity Manager are bundled with EJB3 RC9 and EJB 3 Embeddable Alpha 9?

                • 5. Re: RC9 is out
                  andydale

                  apill,

                  According to the hibernate website the version of Hibernate Annotations and Hibernate EntityManager should 3.2.0.CR2.

                  http://forum.hibernate.org/viewtopic.php?t=964828&start=0&postdays=0&postorder=asc&highlight=

                  Cheers,

                  Andy

                  • 6. Re: RC9 is out
                    wolfgangknauf

                    Some changes from 4.0.4 with installer for RC8 to 4.0.5CR1/RC9 that I noticed (I hope someone can comment on them):

                    Libraries:
                    \client\jboss-ejb3-client.jar was before split to jboss-ejb3-client.jar and jboss-ejb3x.jar
                    \client\jboss-aop-jdk50-client.jar and \client\jboss-aspect-jdk50-client.jar are no longer installed (now only in deploy\ejb3.deployer)

                    Will those JAR changes also take place in the installer for 4.0.5 ? This is quite important to me because I modified a Eclipse WTP JBoss plugin to work with 4.0.4 and now my JAR file references need to be changed)

                    ================

                    Installing to "deploy" configuration:
                    If I deploy an EJB3 application (EAR file with EJB and AppClient project referencing application_5.xsd, ejb-jar_3_0.xsd, persistence_1_0.xsd and application-client_5.xsd) the server loads javaee_web_services_client_1_2.xsd from the internet. If there is no internet connection this message can be found in the log:

                    21:58:57,718 WARN [JBossEntityResolver] Cannot load systemId from resource: javaee_web_services_client_1_2.xsd
                    21:58:57,734 WARN [SaxJBossXBParser] schema_reference.4: Failed to read schema document 'javaee_web_services_client_1_2.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. @ http://java.sun.com/xml/ns/javaee/javaee_5.xsd[78,69]
                    21:58:57,750 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=KuchenSimpleEJB.jar
                    org.jboss.xb.binding.JBossXBException: Failed to parse source: src-resolve: Cannot resolve the name 'javaee:service-refGroup' to a(n) 'group' component. @ http://java.sun.com/xml/ns/javaee/javaee_5.xsd[798,49]
                    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:156)
                    at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:169)
                    at org.jboss.ejb3.metamodel.EjbJarDDObjectFactory.parse(EjbJarDDObjectFactory.java:87)
                    at org.jboss.ejb3.Ejb3HandlerFactory$DDFactory.(Ejb3HandlerFactory.java:44)
                    at org.jboss.ejb3.Ejb3HandlerFactory.getInstance(Ejb3HandlerFactory.java:83)
                    ...

                    With an internet connection the file is loaded.
                    This worked with 4.0.4.

                    ====================
                    Removing a detached entity worked with 4.0.4/RC8 (I did not know I did something wrong ;-) ), now it throws this exception:

                    Caused by: java.lang.IllegalArgumentException: Removing a detached instance de.fhw.swtvertiefung.knauf.kuchen.KuchenSimpleBean#1
                    at org.hibernate.ejb.event.EJB3DeleteEventListener.performDetachedEntityDeletionCheck(EJB3DeleteEventListener.java:47)
                    at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:75)
                    at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:49)
                    at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:766)
                    at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:744)
                    at org.hibernate.ejb.AbstractEntityManagerImpl.remove(AbstractEntityManagerImpl.java:245)
                    at org.jboss.ejb3.entity.TransactionScopedEntityManager.remove(TransactionScopedEntityManager.java:187)
                    at de.fhw.swtvertiefung.knauf.kuchen.KuchenWorkerBean.deleteKuchen(KuchenWorkerBean.java:32)


                    I did not find anything about such a change in the release notes.
                    Will have to modify my code a bit ;-)

                    • 7. Re: RC9 is out
                      rkrylov
                      • 8. Re: RC9 is out
                        wolfgangknauf

                        Helped myself with javaee_web_services_client_1_2.xsd:

                        1) Download from http://java.sun.com/xml/ns/javaee/javaee_web_services_client_1_2.xsd
                        2) Do some zip magic and add it to the file server\CONFIG\deploy\jbossws.sar\jbossws.jar\ in the subpath "schema" (I managed to add it in this subpath with winzip 10 in the "Files by Folder (Explorer style)" view).

                        ============

                        I noticed another change: In RC8 a named query like "from MyBean" was possible, now this raises an error:

                        [SessionFactoryImpl] Error in named query: findAll
                        org.hibernate.hql.ast.QuerySyntaxException: JPA-QL compliance requires select clause [from myPackage.MyBean]
                        at org.hibernate.hql.ast.tree.SelectClause.initializeDerivedSelectClause(SelectClause.java:261)
                        ...

                        Must be "select o from MyBean o" now....

                        • 9. Re: RC9 is out
                          breako

                          Why does it not say what version of hibernate is shipped with RC9 in the release notes?
                          Where canI go to recommend this should be done.
                          The reason is I want to be able to debug and see what is going on in some complex persistence use cases. If I can be 100% sure what version of hibernate is being used, I can get the corresponding source code.
                          Thanks

                          • 10. Re: RC9 is out
                            jazir1979

                             

                            "jimcarrey" wrote:
                            Why does it not say what version of hibernate is shipped with RC9 in the release notes?
                            Where canI go to recommend this should be done.
                            The reason is I want to be able to debug and see what is going on in some complex persistence use cases. If I can be 100% sure what version of hibernate is being used, I can get the corresponding source code.
                            Thanks


                            The version number is in the META-INF/MANIFEST.MF of the hibernate jar files.