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

  • Home
  • SEARCH
  • 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 129337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:46:29+00:00 2026-05-11T05:46:29+00:00

I want to set up a connection pool and JDBC connection on EAR deployment

  • 0

I want to set up a connection pool and JDBC connection on EAR deployment so I do not have to set it up on each App Server I deploy to manually. What do I need to do? Is there an .xml file I can put this information into?

  • 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. 2026-05-11T05:46:30+00:00Added an answer on May 11, 2026 at 5:46 am

    If you are using a single GlassFish administration console to manage multiple application servers throughout your environment, those application servers can share a common configuration. If each deployed application server has its own administration console, you can write a script to call the CLI (asadmin) to create and configure the connection pools. Actually, you can use the CLI to configure a distributed deployment in the 1st use case, but you’ll have to specify which configuration you are modifying. The CLI is good for automation.

    Hopefully the following resources help:

    • http://docs.sun.com/app/docs/doc/820-4341/abdjl?a=view
    • http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishV2Architecture
    • http://docs.sun.com/app/docs/doc/820-4332/6nfq988or?a=expand (for asadmin CLI reference)
    • http://docs.sun.com/app/docs/doc/820-4332/create-jdbc-connection-pool-1?a=view (see –target to specify the target in a multi-host deployment)

    John Clingan, GlassFish Group Product Manager

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

Sidebar

Related Questions

I have a set of functions that handle the db connection. I want to
I want to set the maximum of connection. If it more than the maximum,
I want to configure my webstart app/jnlp so that if no internet connection is
We're using SQLAlchemy declarative base and I have a method that I want isolate
I want a wizard where I insert the database connection, and with some settings
I want to be able to quickly create some simple ASP.NET reports that don't
I have two exactly the same web sites hosted in two different machines under
I want to verify if I can connect to a database (PostgresSQL) into a
We use Configuration managar to install operating systems, that for some genius reason does
I'm writing a program in Ruby that downloads a file from an RSS feed

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.