Hi, Does any one has the idea of Why Class-Path is not working on EAR file. Here is what I am doing: I am using WebLogic 6.1. I am creating an EAR file which contains EJBs,WebApp and Dependent jars. As per the j2ee1.3, if you deploy the EAR contains ejbs and webapps it will create child thread(Webapps) from parent thread(EJB) so that we don't need to load the same dependent jas in both the places. So,i'm trying to access the dependent jars from by specifying the following line in the MANIFEST.MF file Class-Path=xalan.jar xereces.jar But its not working when deploying in weblogic6.1. Thanks and Regards, Prem
So,i'm trying to access the dependent jars from by specifying the following line in the MANIFEST.MF file Class-Path=xalan.jar xereces.jar
Are your dependent jars defined in the application.xml? What manifest are you setting? It needs to be the manifests for each ejb jar that uses the dependent jars, not the manifest for the ear. Also double-check the case in your manifest files because it is case-sensitive. Let me know if this helps. [ November 22, 2002: Message edited by: Chris Mathews ]
That's a colon ( not an equals (=). Also, I think the space after the colon is important. Make sure, if this is the only thing in your MANIFEST.MF, that it also ends in a newline. And this goes in the manifest of the EJB jar, not anywhere else. [ November 22, 2002: Message edited by: Dave Landers ]
subject: Class-Path reference is not working on EAR file.