i am using websphere application server v6.0 and RAD v6 for developing EJB's
after deploying the EAR in to WAS.. i want to know the server name and version information from the EAR.
but i am unable to find this information from deployment descriptors.
can anyone help me regarding this issue. This is high on priority for me..
The EAR can be deployed in any Java EE-compliant server, so you wouldn't expect to find the name of a server in an EAR file. Are you sure you are asking the right question?
Suresh Kumar Baddipudi
Joined: Mar 09, 2009
i am asking the right question..
i want to get the answers as server name is "Websphere Application Server" and version is "126.96.36.199" from a deployed EAR
deployed in Webspehere Application Server v188.8.131.52
you can get the answere for Weblogic deployed EAR..
but i want to get from EAR deployed on Websphere Application Server
Suresh Kumar Baddipudi wrote:RAD by default works with Websphere Application Server
i.e., It creates Deployment Descriptors compatible for WAS only..
I don't know how the Deployment Descriptors created for weblogic, But I knew that the server information presents in EAR
Yes, I know how RAD works. That's why I was surprised when you said your weblogic.xml file was in your EAR. But now apparently you aren't saying that. You are only saying it "presents in EAR". I don't know what that means, but at any rate you were asking how you could get some information from your EAR. Now it appears that the information you could formerly get isn't in the EAR after all. So perhaps your question about how to get that information from the EAR wasn't the right one, since the information isn't in the EAR?
subject: how to get server name and version from an EAR