ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Ant1.4 ejbjar .....
Date Thu, 15 Nov 2001 14:28:34 GMT
Mercado, Tony wrote:

> Has anyone seen this message at the bottom before?
> 
> 	   [ejbjar] Could not fully load class
> com.kmv.blvm.app.InstrumentDataService for super class check



You are referring to these messages, I presume. They are warnings (I 
should change that to make that clear). Basically what is happening is 
that Ant is trying to find out if your bean classes are derived from 
other classes and to also include those classes into the jar it feeds 
into weblogic.ejbc. To do that it loads the class and introspects it. To 
load the class, the class and all its dependencies needs to be on the 
classpath given to the <weblogic> element. If they are not, the class 
cannot be loaded by the VM and the check cannot be done. In that case on 
the classfile is added to the jar.

In Ant 1.5, we are going to change this mechanism so that the dependent 
classes (not just super classes) are loaded up by directly examining the 
classfile and not ny introspection. In the meantime, you'll need to 
adjust your classpath. Running ant with the -debug flag may give more 
information about exactly what is missing (not sure).

Conor


--
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