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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:40:44+00:00 2026-06-09T18:40:44+00:00

I am seeing this log message when using the create-domain command with GlassFish 3.1.1

  • 0

I am seeing this log message when using the create-domain command with GlassFish 3.1.1

No domain initializers found, bypassing customization step

What can be accomplished with domain initializers? Is there any documentation?

Examples of create-domain usages with logging output is shown here,

http://docs.oracle.com/cd/E18930_01/html/821-2433/create-domain-1.html

  • 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-06-09T18:40:46+00:00Added an answer on June 9, 2026 at 6:40 pm

    The reference manual reports:

    If domain customizers are found in JAR files in the as-install/modules
    directory when the create-domain subcommand is run, the customizers
    are processed. A domain customizer is a class that implements the
    DomainInitializer interface.

    I did found no documentation about customization but based on the source I can figure out that domain initializers are used to customize domain.xml during domain creation.

    package org.glassfish.api.admin.config;
    
    import org.jvnet.hk2.annotations.Contract;
    import org.glassfish.api.admin.config.Container;
    
    /**
     * Marker interface to mark inhabitants that require some minimal initial 
     * configuration to be inserted into a newly create domain's domain.xml
     *
     * @author Nandini Ektare
     */
    @Contract
    public interface DomainInitializer {
        /**
         * The actual initial config that needs to be inserted into
         * the fresh domain.xml
         *
         * See {@link Attribute#value()} for how the default value is inferred.
         *
         */
        public <T extends Container> T getInitialConfig(DomainContext initialCtx);
    }
    

    You can find source here.

    the getInitialConfig method returns a Container instance. Container interface extends org.jvnet.hk2.config.ConfigBeanProxy interface that appears to be a proxy to Dom class:

    /**
     * Marker interface that signifies that the interface
     * is meant to be used as a strongly-typed proxy to
     * {@link Dom}. 
     *
     * <p>
     * To obtain the Dom object, use {@link Dom#unwrap(ConfigBeanProxy)}.
     * This design allows the interfaces to be implemented by other code
     * outside DOM more easily.
     *
     * @author Kohsuke Kawaguchi
     * @see Dom#unwrap(ConfigBeanProxy)
     * @see DuckTyped
     * @see Element
     * @see Attribute
     */
    public interface ConfigBeanProxy {
    

    I figure out that hk2 is the key to understand how domain customization works.

    I hope someone else can give you some more useful info.

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

Sidebar

Related Questions

Since upgrading to Rails 3.1 I'm seeing this warning message in my development log:
I'm seeing this exception message coming from XslCompiledTransform.Transform(), but after handling the exception the
I'm new to Python and Django. I'm seeing this error message after I perform
When I run the command rake:install , I get this error message: WARNING: 'require
I have been seeing this a lot lately and I am unable to find
Kept on seeing this pattern in code, but couldn't find any reference to it
I remember seeing this on Ajaxian and a couple other sites but I never
I've been seeing this in my Visual C# 2008 RSS Feed forever now: http://lincolnfair.net/oldLincolnFair/mad.jpg
I'm seeing this in the Debugger Console: <Error>: CGImageSourceGetType image source parameter is nil\n
I seem to remember seeing this somewhere, but for the life of me search

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.