Hi All, I am facing strange problem while deploying a EJB Bean, please take a luk at description below V r using Weblogic 7.0 with jdk1.4 Just take a luk at steps performed 1. V compiled all the source code, the ejbc compilation and the .ear generation thru ant(v 1.5) build scripts with JDK1.4.1 2. When v tried deployin the .ear file, it gave the error in the particular EJB jar file stating "unable to deply Ejb bean, Error: ZipFile Closed" however, if the 1st step is performed using JDK1.4.0_02-b02 version of JDK1.4, the deployment goes on pretty fine. I just wonna know if u or any of your colleague have faced similar problems, what is the cause and workarounds Cheers, Manjunath Rane
Ok luks like nobody faced this problem... well i found the solution. Just apply the Weblogic7.0 sp1. I couldn't find the cause though. But, found a potential possibility ---> I was using <ZipfileSet> task of Ant 1.5 to build the EJB Jars. The doc of ant says that running <javac> on the src files will cause the .class flles to be locked. Luks like the lock still remains while the .class files r being jarred, so when the Bean deploys, it is unable to open up the Zip file, hence the error.
why does every problem on earth hit me only
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad: