1 2 Previous Next 18 Replies Latest reply on Sep 17, 2006 10:11 PM by fanhengwei Go to original post
      • 15. Re: why  cann't  build  the JBossESB_4.0_Alpha_1 ?
        tfennelly

        Hi Fanhenwei.

        Not sure what's supposed to happen when running ant from the bankloanbrokerdemo folder without specifying a target! The only targets (that I'm aware of) that should be run from this folder are:
        1. "configure" (i.e. ant configure)
        2. "runListener" (i.e. ant runListener)

        • 16. Re: why  cann't  build  the JBossESB_4.0_Alpha_1 ?

          Those look like compile errors on the WS annotations. Make sure you have the JBossWS (jdk 1.5 version) from the JBossAS with EJB3 support in the classpath.

          • 17. Re: why  cann't  build  the JBossESB_4.0_Alpha_1 ?
            fanhengwei

            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] ??? (1.5.0_06) ?????? ??? Bug Parade ?????????
            ?? Java Developer Connection (http://java.sun.com/webapps/bugreport) ????
            ????? ??????????????????????????
            [javac] com.sun.tools.javac.code.Symbol$CompletionFailure: not find file 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: 3 seconds

            • 18. Re: why  cann't  build  the JBossESB_4.0_Alpha_1 ?
              fanhengwei

              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)

              1 2 Previous Next