1 2 Previous Next 18 Replies Latest reply on Nov 10, 2006 3:48 PM by mnewcomb

    JBCS, JBoss 4.0.4 GA and JoinPoint

    osterday

      I know JBCS comes with JBAS 4.0.4CR2, but I wanted to test with the GA release and no luck...

      The mail.sar is not loading - root cause is:
      Caused by: java.lang.NoClassDefFoundError: org/jboss/aop/JoinPoint

      Seems that JoinPoint was moved to it's own package in the GA release of JBAS in jboss-aop-jdk50.deployer. It's now in org/jboss/aop/joinpoint/JoinPoint from what I can tell.

      Will the JBAS Final be based on the CR2 or GA release?

        • 1. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
          osterday

          Upon looking at the jars a little closer, it looks like JoinPoint is not in the GA jboss-aop-jdk50.deployer at all... both have Joinpoint.class (small p) in the org/jboss/aop/joinpoint package but in /org/jboss/aop, CR2 has JoinPoint.class and GA has JoinPointInfo.class.

          • 2. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
            acoliver

            JBCS 1.0 M5-final will be on JBAS404CR2. 1.0-RC1 will be based on the appropriate JBAS for the time and 1.0-final will be baased on the appropriate JBAS for the time. You ask "what is the appropriate JBAS for the time" and the answer is "I don't know". There have been serveral points where we had to add new services and stuff to the appserver to support our needs. So we'll release with the best AS release (CR or otherwise) to suit our needs.

            • 3. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
              acoliver

              Oh and I bet if you compile with 4.04GA then it will work (these dependencies were bound by aopc in the build). The reason that 1.0-M5 won't be so is that one of our "QA controls" is that I have to have used it for 1 week on my server as my mailserver w/o fail prior to any substantive changes. Because keeping up with all the pieces of AS is a full time job -- I cannot say that CR2->404GA were or were not substantive changes.

              • 4. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
                kabirkhan

                 

                "acoliver@jboss.org" wrote:
                these dependencies were bound by aopc in the build


                Yep, they should not be created by user's code. I reorganised the hierarchy of some currently private api classes

                • 5. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
                  osterday

                  Thanks for the replies! I'll stick with 4.0.4CR2 for the time being then until I can compile the source.

                  Thanks again for the great work! I'm not sure when our app will be generating enough traffic to give back some results, but we'll be happy to report back!

                  • 6. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
                    rudivankeirsbilck

                    Any idea when JBCS will run under 4.0.4 GA?

                    • 7. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
                      sappenin

                      I think it "runs" under 4.0.4GA now...you just have to build it from the source, using a 4.0.4GA server as your JBOSS_HOME environment variable.

                      • 8. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
                        rudivankeirsbilck

                        So you think that would solve the

                        java.lang.NoClassDefFoundError: org/jboss/aop/JoinPoint

                        that I am getting as described at the start of this post?

                        • 9. Re: JBCS, JBoss 4.0.4 GA and JoinPoint

                          Release 4.0.4GA works fine using HEAD (I use the jboss-4.0.4.GA-Patch1-installer.jar with the EJB3 profile). I haven't tested with the latest release.

                          • 10. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
                            rudivankeirsbilck

                            Well... it definitely responds differently now. Not sure if it's an improvement though ;-)

                            19:14:32,445 INFO [EARDeployer] Init J2EE application: file:/Lab/jboss/v404/server/default/deploy/mail.ear/
                            19:14:36,060 INFO [STDOUT] mail list delivery listener started
                            19:14:36,790 INFO [POP3Protocol] pop3 security domain set to java:/jaas/Mail+SSL
                            19:14:37,567 INFO [EjbModule] Deploying LocalDelivery
                            19:14:37,836 INFO [EjbModule] Deploying RemoteDelivery
                            19:14:37,883 INFO [EjbModule] Deploying ListDelivery
                            19:14:38,379 INFO [JaccHelper] Initialising JACC Context for deployment: mail.par
                            19:14:39,646 INFO [Ejb3Deployment] Found persistence.xml file in EJB3 jar
                            19:14:39,654 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=mail.par
                            java.lang.NoSuchMethodError: org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(Ljava/net/URL;)Lorg/hibernate/ejb/packaging/PersistenceMetadata;
                             at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:407)
                             at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:219)
                             at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34)
                             at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
                             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
                            


                            Has anyone seen that after building and dropping the mail.ear in the deploy dir of an existing JBAS4.0.4GA server?

                            • 11. Re: JBCS, JBoss 4.0.4 GA and JoinPoint

                              What version are you running?

                              • 12. Re: JBCS, JBoss 4.0.4 GA and JoinPoint
                                rudivankeirsbilck

                                I am running JBoss Mail 1.05 and JBAS 4.04GA with the patch 1 installer.

                                Anything else you want or need to know?

                                • 13. Re: JBCS, JBoss 4.0.4 GA and JoinPoint

                                  Yeah, you're right. The M5-pre1 release doesn't work with 4.0.4GA, to use that version you will have to use 4.0.4CR2 for the time being. CVS HEAD works fine so the next release version will run on 4.0.4GA.

                                  Mike.

                                  • 14. Re: JBCS, JBoss 4.0.4 GA and JoinPoint

                                    Hello,

                                    This problem persist in JBOSS 4.0.5GA e EJB3RC9.
                                    Any idea.

                                    Tks

                                    Alexsandro

                                    1 2 Previous Next