Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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.
Thanks
 
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.
 
I love a good mentalist. And so does this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!