Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 622745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:01:04+00:00 2026-05-13T19:01:04+00:00

I am deploying an EAR file to the IBM WebSpehre server 6.1 – I

  • 0

I am deploying an EAR file to the IBM WebSpehre server 6.1 – I want to be able to access the EAR application name which is stored in the deployment file under ‘display-name’. Looking through stack overflow posts on related subjects, I’ve been able to gather that this is possible via the Java MBean API – or IBM’s WAS API – Problem is I cannot find a place where these API lists are summarized, i.e. cannot figure out which one to begin looking at. I could hardcode the WAS install location and find the file by looking in the ‘installedApps’ directory, but this is not dynamic.

Does anyone have any experience working with these APIs? Any other way to dynamically find the deployed EAR’s display name?

EDIT – I should add that the reason I would like this information is to dynamically load our properties files – that are named by the following convention “EARAppName.properties” – so you see there IS a reasonable ‘rationale’ behind desiring this information in my application

EDIT 2 – I should also note that this app will always be deployed on a WAS – but in the case that it isnt, a generic non-proprietary solution would be preferred, but not necessary at this moment.

EDIT 3 – What I want to accomplish: Is there a way to dynamically find the deployed EAR’s display name from within the application code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:01:04+00:00Added an answer on May 13, 2026 at 7:01 pm

    If the whole reason for this objective is reading properties files, then I would recommend a different approach.

    Use WebSphere Shared Library.

    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tcws_sharedlib.html

    For each deployed EAR have a separate directory containing properties files that needs to be accessed by that EAR.

    Create shared library entry for each directory containing properties file.

    From EAR create shared library reference to required shared library.

    .

    However below links may be of some help to you for your approach:

    Managing applications through programming

    Interface AppManagement

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to remove dependency on the location of EAR file while deploying it
HI, I am deploying an EAR file into my JBOSS 5.1. I want to
When I'm deploying a WAR (or EAR) to an application server I have to
After deploying to Azure, I kept getting server errors -- the application would not
I am trying to deploy an ear file to JBOSS AS (defalut server). The
I'm using IBM RAD as the IDE and Websphere Application Server v6.0 to deploy
We have developed an auto deployment tool for deploying files(ear,war and jar) in jboss
I have problems deploying a web application to the most recent version of IBM
I am trying to deploy a ear file, which was originally written for Jboss
I am facing a problem connected with deploying two application on Tomcat 5 server.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.