You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Douglas WF Acheson <dw...@yahoo.com> on 2001/11/09 17:23:13 UTC

HELP: WLS ejb building error

Hello,

  I am using ANT v1.4 and WLS v6.1 with SP1.  I am trying to create a
MDBean the error I am getting is 
build.ejb:
    [mkdir] Created dir: C:\Home\Projects\BEA\CIBC\track1\build\lib
   [ejbjar] building consumer.jar with 2 files
     [ejbc]
     [ejbc] ERROR: Error from ejbc: Unable to load a class specified in
your ejb-jar.xml: <EJB className goes here>
     [ejbc] ERROR: ejbc found errors

What it is telling me is that it cannot find the class specified in the
DD? HELP PLEASE ...

Here is the ant task

<!--
	NAME		: build.ejb
	Purpose : compiles and builds all ejb classes into jar files
-->
	<target name="build.ejb" depends="compile">
		<mkdir dir="${build.home}/lib"/>
		<ejbjar srcdir="${build.home}/classes"
						descriptordir="${artifacts.home}/deploy/ejb">
			<weblogic
				 destdir="${sandbox.dir}/config/${wls.domain}/applications"
       	 suffix=".jar"
				 rebuild="false"
				 keepgeneric="false">
				<classpath   refid="build.classpath"/>
       	<wlclasspath refid="build.classpath"/>
			</weblogic>
			<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN"
					 location="${artifacts.home}/deploy/ejb/dtd/ejb20-jar.dtd"/>
			<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
					
location="${artifacts.home}/deploy/ejb/dtd/weblogic600-ejb-jar.dtd"/>
			<include name="**/*-ejb-jar.xml"/>
			<exclude name="**/*weblogic*.xml"/>
		</ejbjar>
	</target>


Douglas WF Acheson

=====
Douglas WF Acheson

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>