I was wondering whether it is possible to retrieve the version number of a deployed webcenter portal application from the application itself. The usecase here is that we want to display the version number in the portal application itself. I have set the current version in the MANIFEST.MF and the deployment works and provides the correct version number. Now I am wondering how to retrieve this value. I have tried reading from the MANIFEST.MF from within the application but I only manage to get the manifest for the webcenter framework... (This is undoubtedly because it reads from the WAR and not the EAR)
I am using Webcenter Portal 184.108.40.206.
Hi! Thanks for your reply. I think you may have misunderstood me. I do not need the server version, but the version of a deployed application on the server. (like "portalapp (V1.0)") Using the MANIFEST.MF I can specify a version.
I can see there might be a way to do so by connecting to the weblogic server using the method referenced by you but I wonder if there could be an easier way.
Yeah, I didn't read details too thoroughly.
To meet your requirement, you could use the standard Weblogic application versioning. There seems to be API to read the parameters. Read http://docs.oracle.com/cd/E11035_01/wls100/programming/versioning.html
Note that this is more a question for Weblogic guys.