7 Replies Latest reply on Sep 27, 2006 8:03 AM by Arvinder Singh

    How shall I do it that runing the JBossESB4.0Beta1?I want te

    fan hengwei Newbie

      E:\jboss-esb\JBossESB4.0Beta1\docs\samples\trailblazer\bankloanbrokerdemo>ant
      Buildfile: build.xml

      org.jboss.esb.samples.loanbroker.prepare:

      org.jboss.esb.samples.loanbroker.compile:
      [javac] Compiling 25 source files to E:\jboss-esb\JBossESB4.0Beta1\docs\samp
      les\trailblazer\bankloanbrokerdemo\build\classes\loanbroker

      BUILD FAILED
      E:\jboss-esb\JBossESB4.0Beta1\docs\samples\trailblazer\bankloanbrokerdemo\build.
      xml:63: E:\jboss-4.0.4.GA\server\default\deploy\ejb3.deployer not found.

      Total time: 1 second

        • 2. Re: How shall I do it that runing the JBossESB4.0Beta1?I wan
          fan hengwei Newbie

          E:\jboss-esb\JBossESB4.0Beta1\docs\samples\trailblazer\bankloanbrokerdemo>ant ru
          nListener
          Buildfile: build.xml

          org.jboss.esb.samples.loanbroker.prepare:

          org.jboss.esb.samples.loanbroker.compile:
          [javac] Compiling 25 source files to E:\jboss-esb\JBossESB4.0Beta1\docs\samp
          les\trailblazer\bankloanbrokerdemo\build\classes\loanbroker
          [javac] JDK (1.5.0_06) exception. If this error not find in Bug Parade?
          Please pigeonhole the error to Java Developer Connection (http://java.sun.com/webapps/bugreport).
          [javac] com.sun.tools.javac.code.Symbol$CompletionFailure: Not find org\jb
          oss\lang\Annotation.class

          BUILD FAILED
          E:\jboss-esb\JBossESB4.0Beta1\docs\samples\trailblazer\bankloanbrokerdemo\build.
          xml:47: Compile failed; see the compiler error output for details.

          Total time: 4 seconds

          • 3. Re: How shall I do it that runing the JBossESB4.0Beta1?I wan
            fan hengwei Newbie

            antlr.jar
            axis.jar
            commons-discovery.jar
            hibernate-all.jar
            jbossall-client.jar
            jboss-aop.jar
            jboss-aspect-library.jar
            jboss-ejb3-all.jar
            jbossesb-common.jar
            jbossesb-listeners.jar
            jbossesb-services.jar
            jbossretro-rt.jar
            jbossws14-client.jar
            junit.jar
            log4j.jar
            mail.jar
            stringtemplate.jar
            thirdparty-all.jar
            trove.jar
            xstream-1.1.3.jar
            ------------------------------------------------------------------------------
            E:\jboss-esb\JBossESB4.0Beta1\docs\samples\trailblazer\bankloanbrokerdemo>ant ru
            nListener
            Buildfile: build.xml

            org.jboss.esb.samples.loanbroker.prepare:

            org.jboss.esb.samples.loanbroker.compile:
            [javac] Compiling 25 source files to E:\jboss-esb\JBossESB4.0Beta1\docs\samp
            les\trailblazer\bankloanbrokerdemo\build\classes\loanbroker
            [javac] E:\jboss-esb\JBossESB4.0Beta1\docs\samples\trailblazer\bankloanbroke
            rdemo\java\src\org\jboss\soa\esb\samples\loanbroker\web\LoanBrokerWS.java:50: tpye isn't match.
            [javac] finded? javax.jws.soap.SOAPBinding
            [javac] must? java.lang.annotation.Annotation
            [javac] @SOAPBinding(style = SOAPBinding.Style.RPC)
            [javac] ^
            [javac] 1 error

            BUILD FAILED
            E:\jboss-esb\JBossESB4.0Beta1\docs\samples\trailblazer\bankloanbrokerdemo\build.
            xml:47: Compile failed; see the compiler error output for details.

            Total time: 8 seconds

            • 4. Re: How shall I do it that runing the JBossESB4.0Beta1?I wan
              Daniel Röder Newbie

              Hi,

              are you using the JDK5? There is a Quick Start Guide at

              http://labs.jboss.com/portal/jbossesb/docs/index.html

              maybe this helps...

              Daniel[/url]

              • 5. Re: How shall I do it that runing the JBossESB4.0Beta1?I wan
                fan hengwei Newbie

                17:41:17,828 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
                17:41:18,109 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JBossESBDS' to JNDI name 'java:JBossESBDS'
                17:41:19,531 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                17:41:19,765 WARN [JBossManagedConnectionPool] Throwable while trying to match ManagedConnection, destroying connection: org.jboss.resource.connectionmanager.TxConnectionManager$
                xConnectionEventListener@9effe0[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@10b755d handles=0 lastUse=1158313279765 permit=false trackByTx=false m
                p=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject@14649ed context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@19f76a5 xaResour
                e=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@266b44 txSync=null]
                java.lang.NoSuchMethodError: org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getValidateOnMatch()Z
                at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:198)
                at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:187)
                at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:417)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
                at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812)
                at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
                at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists(SQLUtil.java:995)
                at org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.dropTableIfExists(HiLoKeyGeneratorFactory.java:323)
                at org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.startService(HiLoKeyGeneratorFactory.java:226)
                at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                • 6. Re: How shall I do it that runing the JBossESB4.0Beta1?I wan
                  fan hengwei Newbie

                  10:08:43,531 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                  10:08:51,515 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                  10:08:52,281 ERROR [MainDeployer] Could not create deployment: file:/E:/jboss-4.0.4.GA/server/default/deploy/loanbroker.war
                  java.lang.NoClassDefFoundError: org/jboss/soa/esb/util/BaseBusinessObject
                  at java.lang.Class.getDeclaredMethods0(Native Method)
                  at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
                  at java.lang.Class.privateGetPublicMethods(Class.java:2488)
                  at java.lang.Class.getMethods(Class.java:1406)
                  at org.jboss.ws.metadata.AnnotationsMetaDataBuilder.setupEndpointFromAnnotations(AnnotationsMetaDataBuilder.java:150)
                  at org.jboss.ws.metadata.AnnotationsMetaDataBuilderJSE.buildMetaData(AnnotationsMetaDataBuilderJSE.java:82)
                  at org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(WebServiceDeployerJSE.java:196)
                  at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:103)
                  at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66)
                  at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
                  at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy31.create(Unknown Source)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                  at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:585)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                  • 7. Re: How shall I do it that runing the JBossESB4.0Beta1?I wan
                    Arvinder Singh Novice

                    fanhengwei, can you post the full stack trace and include the full jdk version?