Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

ZipFile closed: EJB deployment issue

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the WebLogic forum...
Simon
 
Manjunath Rane
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic