9 Replies Latest reply on Oct 24, 2007 3:19 PM by brianadillon

    JAXB Intros patch fails with JBossESB 4.2GA - using JBoss 4.

    brianadillon

      I'm getting various errors at startup after installing the JAXB intros per ESB install doc - I did successfully install jbossws-native-2.0.1.GA. Any ideas?

      Thanks,
      Brian

        • 1. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
          kconner

          Sorry but you need to give us more information than this.

          • 2. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
            brianadillon

            Sorry, was trying to see if this just would ring-a-bell with anyone.

            I run the 'ant patch-jbossws' and get:

            Buildfile: build.xml

            check.deploy.props:

            dependencies.source:

            dependencies.jbossesb:

            dependencies:

            patch-jbossws:
            [copy] Copying 2 files to H:\home\apps\jboss-4.2.1.GA\server\esb\deploy\jbossws.sar

            apply-jbossws-xslt:
            [xslt] Processing H:\home\apps\jboss-4.2.1.GA\server\esb\deploy\jbossws.sar\jbossws.beans\META-INF\jboss-beans.xml
            to H:\home\apps\jboss-4.2.1.GA\server\esb\deploy\jbossws.sar\jbossws.beans\META-INF\jboss-beans.new.xml
            [xslt] Loading stylesheet H:\home\apps\jbossesb-4.2GA\install\jaxb.xslt
            [move] Moving 1 file to H:\home\apps\jboss-4.2.1.GA\server\esb\deploy\jbossws.sar\jbossws.beans\META-INF

            BUILD SUCCESSFUL
            Total time: 1 second


            But when starting JBoss I get:

            ...
            2007-10-24 14:40:57,695 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=WSEndpointJAXBIntrosCustomizationsDeployer state=Not Installed mode=Manual requiredState=Create
            java.lang.NoClassDefFoundError: org/jboss/wsf/spi/deployment/AbstractDeployer
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:675)
            at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:655)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:193)
            at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
            at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
            at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:520)
            at ...

            and

            2007-10-24 14:40:58,155 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=WSWebMetaDataAdapter state=Not Installed mode=Manual requiredState=Create
            java.lang.NoClassDefFoundError: org/jboss/wsf/container/jboss42/WebMetaDataAdapter
            at java.lang.ClassLoader.defineClass1(Native Method)
            ...


            *** DEPLOYMENTS IN ERROR:
            WSEndpointJAXBIntrosCustomizationsDeployer -> java.lang.NoClassDefFoundError: org/jboss/wsf/spi/deployment/AbstractDeployer
            WSWebMetaDataAdapter -> java.lang.NoClassDefFoundError: org/jboss/wsf/container/jboss42/WebMetaDataAdapter

            *** DEPLOYMENTS MISSING DEPENDENCIES:
            WSNativeDeploymentAspectInstallerPostJSE -> WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPostJSE{Create:Configured}, WSDeploymentAspectInstallerPostJSE{Start:Configured}
            WSNativeDeploymentAspectInstallerEJB -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}, WSDeploymentAspectInstallerEJB{Create:Instantiated}, WSDeploymentAspectInstallerEJB{Start:Instantiated}
            WSDeploymentAspectInstallerPostJSE -> WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
            WSNativeDeploymentAspectInstallerPreJSE -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
            WSContainerMetaDataAdapter -> WSApplicationMetaDataAdapterEJB3{Configured:Installed}, WSApplicationMetaDataAdapterEJB21{Configured:Installed}, WSWebMetaDataAdapter{Configured:**ERROR**}
            WSDeploymentAspectInstallerPreJSE -> WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSModifyWebMetaDataDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}
            WSContainerMetaDataDeploymentAspect -> WSContainerMetaDataAdapter{Configured:Instantiated}
            WSDeploymentAspectInstallerEJB -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WSWebAppDeploymentAspect{Configured:Installed},
            ...

            Any ideas?

            Brian

            • 3. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
              kconner

              Can you look in the server/esb/lib directory for the files jbossws-spi.jar and jbossws-jboss42.jar?

              These files should contain the missing classes.

              • 4. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
                brianadillon

                Kevin,
                in jbossws-spi.jar there is no AbstractDeployer - only AbstractExtensible

                in jbossws-jboss42.jar there is no WebMetaDataAdpater.

                Am I getting the wrong jar(s) copied into my jbossws.sar dir?

                Appreciate the help!

                Brian

                • 5. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
                  kurtstam

                  Don't we only do WS.2.0.0?

                  • 6. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
                    kconner

                    Yes, you must have the wrong version of jbossws installed.

                    • 7. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
                      brianadillon

                      ok, trying 2.0.0GA now... will advise.

                      Brian

                      • 8. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
                        kconner

                         

                        "kurt.stam@jboss.com" wrote:
                        Don't we only do WS.2.0.0?


                        Yes, 2.0.0 is the correct version.

                        • 9. Re: JAXB Intros patch fails with JBossESB 4.2GA - using JBos
                          brianadillon

                          golden - comes up fine now and webservice_producer sample works fine.

                          made the wrong assumption I could use the latest ws pkg - sorry.

                          Thanks!

                          Brian