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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:08:21+00:00 2026-05-28T15:08:21+00:00

I have a JEE6 project based on Glassfish 3.1.1 that is moving beyond the

  • 0

I have a JEE6 project based on Glassfish 3.1.1 that is moving beyond the “one developer prototype” stage to being developed by a team.

Each member of the team will have their own local glassfish server. I don’t want each of them to have to go through all the manual steps of setting up the JDBC connection pool, JMS services, jdbc security realm, etc via the admin console, as I did when first developing the prototype. It is error prone, and plus if I want to change something I have to tell everyone what to do. I want it to be done as part of the ant build, so that it is a one-clicker, and then if I have to change something I can just tell them to do a clean to blow away the domain and then run it again. So there would be an ant task to “config-glassfish” that would somehow configure the domain for them.

Despite extensive searching, I can’t seem to find any step-by-step guide of how best to accomplish this. Anyone have a link?

Would it be best to attempt to capture the fully configured domain and store that in our src repository?

Or should I instead have ant issue “asadmin” commands to create and configure the domain?

  • 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-28T15:08:22+00:00Added an answer on May 28, 2026 at 3:08 pm

    I ended up just putting the domain.xml into the src repository, making an ant task to copy it over to the glassfish directory, and instructing other developers that when running that ant task, they should make sure glassfish is not running.

    This worked for my case…

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

Sidebar

Related Questions

I'm trying to transfer everything I'm working on in one eclipse JEE6 project with
Have a look at one of my websites: moskah.com The problem is that it
I have an EAR file (JEE6) containing one ejb-jar (sample-ejb) file and one war
Have a question about calling one prototype function in another prototype function. for instance
I'm using glassfish 3.1 and JEE6 with EJB3.1. I'm simply trying to inject one
I have a JEE6 application, with an ejb and a web-module, running on a
Have deployed numerous report parts which reference the same view however one of them
I have my system set up to compile jee6 code from the command line
I have a JavaEE6-application running on Glassfish v3.0.1 with EJB 3.1 (app is packaged
I am using Glassfish 3.1, JEE6 JPA Annotations, Hibernate provider and Derby database in

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.