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 536063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:46:56+00:00 2026-05-13T09:46:56+00:00

We are using Glassfish v2 (9.1_02) at work. Our servers are not set up

  • 0

We are using Glassfish v2 (9.1_02) at work. Our servers are not set up in a clustered environment.

We would like to have one main server as a JNDI server that can serve DataSource objects, and possibly other objects in the future, and link other servers to this one server. This way, if we change the location of a database or change a password, we do not have to update multiple servers, but instead just one.

My questions are:

  1. Is this even a good idea to do?
  2. Is it possible to link JNDI trees in Glassfish?
  3. How can I accomplish this?
  4. Has anyone accomplished this?

Thank you

  • 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-13T09:46:57+00:00Added an answer on May 13, 2026 at 9:46 am

    This is not a good idea, a virtual machine shouldn’t use a database connection established on another machine. The overhead would be silly and how could it deal with a failover?

    There are much better ways of ensuring all the servers in a cluster start up with the same configuration, it really comes down to what OS you’re running on.

    You might want to start by looking at an “application fabric” like terracotta. RedHat also has a system (called satellite) used to distribute config files. Other environments have equivalent solutions.

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

Sidebar

Related Questions

I'm currently developping a JavaEE application using glassfish, and I would like to save
We are using Glassfish for several projects. I would like to completely disable the
I have a jax-ws web service developped using netbeans 7 and glassfish 3.1.2 .
I'm using Glassfish 3.1.1 and JSF 2.0: I have the following code: public String
I have developed a java web application using JSF 2.0(Facelets) on GlassFish 3.1.1 with
have a weird situation. I'm using Glassfish server for my Enterprise application. In that
I have a Java application runnning on a Glassfish server using JSF 2.0.2. at
I have a library which I would like to expose as a SOAP web
I'm using glassfish 3.1 and JEE6 with EJB3.1. I'm simply trying to inject one
I'm using glassfish 2.1.1. I've watched a mysterious http/webservice-call handling. It seams an http

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.