Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wrong value being returned

 
Sean Rhone
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this is the correct place for this, if not please excuse me. I have a jsp page that calls a ejb method that is supposed to return version of the package. The code in the bean file is "Package.getPackage(APP_EJB_PACKAGE).getImplementationVersion();" (APP_EJB_PACKAGE = com.estylesoft.cms.ejb).
This method is not erroring out but is not returning any value. From what I can tell the the Manifest.MF file is supposed to contain this value and the file has the following entry

Name: com/estylesoft/cms/ejb/
Specification-Title: Java Utility Classes
Specification-Version: 1.3
Specification-Vendor: Sun Microsystems Inc.
Implementation-Title: com.estylesoft.cms.ejb
Implementation-Version: 0.0.0.7
Implementation-Vendor: E-Style Soft Case Magagement System

Can anyone here tell me what is wrong; because the jsp is testing for the value of 0.0.0.7 but the method returns a blank string.

Thanks for your help.
 
anupa oru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am not sure but I guess you have to use getimplementationVersion()than getImplementationVersion().Please excuse me if I am wrong and correct me if possible.
Thanks
Anupa
 
Sean Rhone
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, there is no option to use getimplementationVersion(). The only option is getImplementationVersion().

But thanks for the idea.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic