ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Reddy <vinod.re...@tavant.com>
Subject EJBGen java.lang.RuntimeException
Date Wed, 03 Nov 2004 14:48:48 GMT
hi,

If i use the 1.6 version of the ejbgen.jar , the ejbgen is working fine but 

the following mdb variables are cannot be set in the bean class.

the variables are
   *   jms-polling-interval-seconds=4
   *   dispatch-policy=JMSDispatcher

But these variables can be set in the latest version i.e 1.9 version of
ejbgen.jar.
But the following error is comming.....


compile.ejbgen:
     [java] java.lang.RuntimeException: Unknown javadoc problem: result=1,
root=null:
     [java] JAM: Illegal package name:
"D:\cvsmain\asap_root\application\setup\dev\tavant\common\common.properties"
     [java] JAM: Illegal package name:
"D:\cvsmain\asap_root\application\-propertyFile"
     [java] Loading source file
D:\cvsmain\asap_root\application\common\build\commonEJB\mdbJar\tavant\app\as
ap\integrati
on\invoker\ProcessInvokerBean.java...
     [java] JAM: Illegal package name:
"D:\cvsmain\asap_root\application\DTO"
     [java] 3 errors
     [java]
     [java]     at
com.bea.util.jam.internal.javadoc.JavadocRunner.run(JavadocRunner.java:113)
     [java]     at
com.bea.util.jam.internal.javadoc.JavadocClassBuilder.init(JavadocClassBuild
er.java:132)
     [java]     at
com.bea.util.jam.provider.CompositeJamClassBuilder.init(CompositeJamClassBui
lder.java:46)
     [java]     at
com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFact
oryImpl.java:177)
     [java]     at
com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamService
FactoryImpl.java:136)
     [java]     at
com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFact
oryImpl.java:78)
     [java]     at com.bea.sgen.SGen.loadClassesNew(SGen.java:330)
     [java]     at com.bea.sgen.SGen.run(SGen.java:187)
     [java]     at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:303)
     [java]     at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:311)
     [java]     at weblogic.tools.ejbgen.EJBGen.main(EJBGen.java:21)
     [java] Exception in thread "main"
       [if] Error in class net.sf.antcontrib.logic.IfTask
       [if] Error in class net.sf.antcontrib.logic.IfTask
       [if] Error in class net.sf.antcontrib.logic.IfTask

BUILD FAILED

file:D:/cvsmain/asap_root/application/build_sds.xml:662: Java returned: 1


The build script is as follows

<target name="compile.ejbgen" description="Generates the interfaces and
descriptors for a bean.">
 <java
      classname="weblogic.tools.ejbgen.EJBGen"
      failonerror="yes"
      fork="yes">
      <classpath refid="compile.classpath"/>
      <arg value="-sourcepath" />
      <arg value="${src.ejb.dir}" />
      <arg value="-d" />
      <arg value="${dest.ejb.dir}" />
      <arg value="-forceGeneration" />
      <arg value="-descriptorDir" />
      <arg value="${dest.ejb.dir}/${module}/META-INF" />
      <arg value="-valuePackage" />
      <arg value="${valPackage}" />
      <arg value="-valueObjectSuffix" />
      <arg value="DTO" />
      <arg value="-propertyFile" />
      <arg
value="setup/${config}/tavant/${application.name}/${application.name}.proper
ties" />
      <arg value="${src.ejb.dir}/${package}/${subpackage}/*Bean.java" />
  </java>
    <jar destfile="${destExp.dir}/${module}.jar">
      <fileset
dir="${dest.dir}/${application.name}EJB/${submodule}Jar/${module}"
includes="**/*.xml"/>
    </jar>
</target>


Can u plz help me some ...

thanks,
vinod reddy.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message