First question: What version of Weblogic are you using? It makes a difference since 6.x supports the J2EE standard for packaging and (AFAIK) 5.x does not. This means that you cannot package enterprise applications in 5.x (per the J2EE convention).
Next, take a look through the archives for this. I, and several others, have posted some of our findings on this very topic. In particular, the discussions centered on the modification of the "Class-Path" attribute the manifest (META-INF/manifest.mf) file of the enterprise app. However, if you answer the first question I'm sure I can provide you with a much clearer answer ;). Cheers! Eddie -----Original Message----- From: Barry Jia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 7:14 AM To: 'Ant Users List' Subject: EJB Packaging First of all, I would say I am NOT an EJB guy. But I was asked to compile and package the EJBs for WebLogic. In our app, we have 4 EJBs(*.jar ,including a base persistent EJB) and we have a web app (.war) which include all jsp, servlet and web app classes). We want to package them together and then deploy them under WebLogic, when we test them, we got ClassCastException, that maybe because we have an indepand package(common value objects) which is used by all EJBs, any body has any idea about how to package them? sample is better. Thanks ______________________________________________ Barry Jia Brightspark Tel:416-488-1999 ext.306 Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>