• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Problem in Deploying EJB's

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having problem in deploying EJB, I am deploying it for the first time using "BEA Weblogic 4.5.1". I created the .jar file in which I placed all the .class files and the .ser files but after creating it there was no entry for the Enterprise-bean in the manifest file.
The manifest file shows the following contents:
Manifest-Version: 1.0
Created-By: 1.3.0 (Sun Microsystems Inc.)
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While creating the jar file, try to provide your own manifest file which contains the following information.
Name: Beanname.class
Enterprise-Bean: True

Use the follwing to create jar file.

jar cfm filename.jar filename.mft *.class *.ser
 
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey! I use a weblogic 5.1.0 but I have an EJB Deployer tool here on the same.. the tool takes care of the jar and the ser and the manifest files..
By the way have you tried the build batch file..
Regds
Gautham Kasinath
 
Syed Kazim Hussain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply eelangovan, I tried to build the manifest file manually but with no success.
 
Syed Kazim Hussain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply, If you are talking about Deployment Descriptor of Weblogic, I have successfully created the .ser file but it gives me error when i create jar file from there.
 
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic