ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hogan, John" <JHo...@NDGroup.com>
Subject RE: HELP: WLS ejb building error
Date Fri, 09 Nov 2001 16:28:37 GMT
put the root directory of your compiled classes in your environment so ejbc
can find them

-----Original Message-----
From: Douglas WF Acheson [mailto:dwfa@yahoo.com]
Sent: Friday, November 09, 2001 11:23 AM
To: ant-user@jakarta.apache.org
Subject: 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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message