Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in Deploying EJB's  RSS feed

 
Syed Kazim Hussain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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.)
 
eelangovan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!