2 Replies Latest reply on May 25, 2013 12:57 PM by prashant gandhi

    jboss4.0.1sp1 to jboss6.1.1 migration issue

    prashant gandhi Newbie

      hi,

       

      i get below error when i do <ant> at windows command prompt. The source code works at 4.x level, and breaks at 6.x level. Also, i noticed that the jboss directory structure also is very different between the 2.

       

      i tried moving from 4.x to 5.1.0.GA and it had no problem.

       

      what am i missing here? any help is appreciated.

       

      init-tasks:

       

       

      ejbdoclet:

      [ejbdoclet] Deploy TEMPLATE URL:  jar:file:/C:/DTU/DTU_FE/lib/xdoclet/xdoclet-ap

      ache-module-1.2.2-SNAPSHOT.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-d

      eploy_wsdd.xdt

      [ejbdoclet] Undeploy TEMPLATE URL:  jar:file:/C:/DTU/DTU_FE/lib/xdoclet/xdoclet-

      apache-module-1.2.2-SNAPSHOT.jar!/xdoclet/modules/apache/axis/ejb/resources/axis

      -undeploy_wsdd.xdt

      [ejbdoclet] XDoclet classpath missing J2EE classes

      [ejbdoclet]     at xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTa

      sk.java:86)

      [ejbdoclet]     at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:94)

      [ejbdoclet]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja

      va:291)

      [ejbdoclet]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

      [ejbdoclet]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet

      hodAccessorImpl.java:25)

      [ejbdoclet]     at java.lang.reflect.Method.invoke(Method.java:597)

      [ejbdoclet]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU

      tils.java:106)

      [ejbdoclet]     at org.apache.tools.ant.Task.perform(Task.java:348)

      [ejbdoclet]     at org.apache.tools.ant.Target.execute(Target.java:435)

      [ejbdoclet]     at org.apache.tools.ant.Target.performTasks(Target.java:456)

      [ejbdoclet]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav

      a:1393)

      [ejbdoclet]     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)

       

       

      [ejbdoclet]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De

      faultExecutor.java:41)

      [ejbdoclet]     at org.apache.tools.ant.Project.executeTargets(Project.java:1248

      )

      [ejbdoclet]     at org.apache.tools.ant.Main.runBuild(Main.java:851)

      [ejbdoclet]     at org.apache.tools.ant.Main.startAnt(Main.java:235)

      [ejbdoclet]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

      [ejbdoclet]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

      [ejbdoclet] Caused by: Make sure the jar file containing the javax.ejb.EntityBea

      n class is on the classpath specified in the <taskdef> that defined ejbdoclet. T

      hese classes are needed in order to generate correct output.

      [ejbdoclet]     at xdoclet.DocletTask.checkClass(DocletTask.java:506)

      [ejbdoclet]     at xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTa

      sk.java:83)

      [ejbdoclet]     ... 17 more

       

       

      BUILD FAILED

      C:\DTU\DTU_FE\build.xml:153: Unexpected error

       

       

      Total time: 21 seconds

       

       

      C:\DTU\DTU_FE>