Win a copy of AWS Security this week in the Cloud/Virtualization 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Using weblogic.ejbc

Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam new to weblogic and Iam trying to run the weblogic.ebjc to generate the necessary container classes. I made a jar file with all the Remote, Home, Bean classes and all required deployment descriptors.(ejb-jar.xml,weblogic-ejb-jar.xml and weblogic-cmp-rbdms-jar.xml).
When I ran weblogic.ejbc, I am getting the error:
ERROR: Error from ejbc: Error: The deployment descriptor 'META-INF/ejb-jar.xml'
was not found in 'cabin.jar'. Please add this file to the jar and try again.
Can someone help me. I want to get this done quickly.
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to make a META-INF directory which includes all .xml files. This structure as well as your package structure must also be present within you .jar file, otherwise you will get errors.
Where does a nanny get ground to air missles? Protect this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic