• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

how to get server name and version from an EAR

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
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..
thank you
 
Sheriff
Posts: 24761
59
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi paul,
i am asking the right question..
i want to get the answers as server name is "Websphere Application Server" and version is "6.0.2.11" from a deployed EAR
deployed in Webspehere Application Server v6.0.2.11

you can get the answere for Weblogic deployed EAR..
but i want to get from EAR deployed on Websphere Application Server
 
Paul Clapham
Sheriff
Posts: 24761
59
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay. So when you deploy the EAR into Weblogic, where in the EAR do you look for that information?
 
Suresh Kumar Baddipudi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
by default it will be in either weblogic.xml or weblogic-ejb-jar.xml
i am not sure, in which xml this information present.
 
Suresh Kumar Baddipudi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi paul,
are you there?
please help me in solving this problem.. this is high on priority for me..
thank you
 
Paul Clapham
Sheriff
Posts: 24761
59
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Suresh Kumar Baddipudi wrote:by default it will be in either weblogic.xml or weblogic-ejb-jar.xml.

And those XML files are in the EAR you deploy, are they?
 
Suresh Kumar Baddipudi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes..

i am using RAD v6 for developing EJB applications,
i think RAD should write this server name and version information in either ejb-jar.xml or ibm-ejb-jar-bnd.xmi
 
Paul Clapham
Sheriff
Posts: 24761
59
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So... RAD already puts the weblogic.xml file into your EAR for you?
 
Suresh Kumar Baddipudi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Clapham
Sheriff
Posts: 24761
59
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
Why fit in when you were born to stand out? - Seuss. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!