alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Glassfish example source code file (amxtest.properties)

This example Glassfish source code file (amxtest.properties) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Glassfish tags/keywords

cddl, copyright, gpl, gpl, if, if, license, license, oracle, the, tls, version, version, you

The Glassfish amxtest.properties source code

#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common Development
# and Distribution License("CDDL") (collectively, the "License").  You
# may not use this file except in compliance with the License.  You can
# obtain a copy of the License at
# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
# or packager/legal/LICENSE.txt.  See the License for the specific
# language governing permissions and limitations under the License.
#
# When distributing the software, include this License Header Notice in each
# file and include the License file at packager/legal/LICENSE.txt.
#
# GPL Classpath Exception:
# Oracle designates this particular file as subject to the "Classpath"
# exception as provided by Oracle in the GPL Version 2 section of the License
# file that accompanied this code.
#
# Modifications:
# If applicable, add the following below the License Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# "Portions Copyright [year] [name of copyright owner]"
#
# Contributor(s):
# If you wish your version of this file to be governed by only the CDDL or
# only the GPL Version 2, indicate your decision by adding "[Contributor]
# elects to include this software in this distribution under the [CDDL or GPL
# Version 2] license."  If you don't indicate a single choice of license, a
# recipient has the option to distribute your version of this file under
# either the CDDL, the GPL Version 2 or to extend the choice of license to
# its licensees as provided above.  However, if you add GPL Version 2 code
# and therefore, elected the GPL Version 2 license, then the option applies
# only if the new code is made subject to such option by the copyright
# holder.
#

#
# By default a conneciton is made to the server specified by:
#     amxtext.connect.host, amxtext.connect.port,
#     amxtest.connect.user, amxtest.connect.password,
#     amxtest.connect.useTLS,
#     [amxtest.connect.truststore, amxtest.connect.truststorePassword]
#
# Some unit tests are standalone and do not require a connection.  You
# may set amxtest.connect=false and no connection will be made.  You will
# want to remove any tests requiring a connection from the list of classes
# in the file given by amxtest.testClasses because without a connection
# such tests will always fail.
#
amxtest.connect=true

# Name of host that is running the rmi server
amxtest.connect.host=localhost

# this is the rmi port
amxtest.connect.port=8888

# the name of the admin
amxtest.connect.user=admin

# the admin's password
amxtest.connect.password=adminadmin

#
# amxtest.connect.useTLS must match the TLS setting of the server's
# JMX RMI connector.
#
# Defaults:
# EE build:  set to true
# PE build:  set to false
amxtest.connect.useTLS=false

#
# The name of the truststore and its password to be used if TLS is enabled
# These may be left alone, even if TLS is not used.
# There is no need to pre-create the truststore.
#
amxtest.connect.truststore=./amx-test-truststore
amxtest.connect.truststorePassword=changeme

#
# Enabling threading is a more rigorous test,
# since related tests are run in parallel.
# If major changes are made, be sure to set this to true.
#
# NOTE: HTTPListenerConfigTest tends to hang
# some kind of internal infrastructure bug (non-AMX).
amxtest.threaded=false

# when amxtest.verbose is true, timings are emitted for most tests
# as well an anything output from printVerbose()
amxtest.verbose=true


# The location of a list of the classes to be tested.
# If all classes are to be tested then this line can be commented
# out. All of the tests to be tested are always listed when
# the tests are run, so its
# possible to recreate this file with the full list simply by
# executing the tests!
amxtest.testClasses=amxtest.classes


#
# Some tests have been known to fail on a 2nd try
# due to bugs in not properly removing artifacts
#
amxtest.iterations=1


#
# The DeploymentMgr unit test looks for a common-separated
# list of archives to deploy in the propery 'amxtest.deploy.files'
# Comma-delimited list of archives or directories
#
amxtest.deploy.files=tests/deploy


#
# Node agents to included in testing.
#
amxtest.nodeAgents=ALL

#
# The name of the node agent running on the same machine as the DAS
# (optional, but create a node agent and set this value if you
# want tests that require a node agent to run).
#
amxtest.dasNodeAgent=HOSTNAME


#
# Whether expanded testing is to be done. This means things
# such as creating extra servers, clusters, etc.
#
amxtest.expandedTesting=true


######################### Offline Testing ###########################
### These parameters control testing of AMX in "Offline" mode.    ###
### In offline mode, only certain utility MBeans and              ###
### config MBeans are tested                                      ###
###                                                               ###
#####################################################################

#
# Whether to test the offline config implementation as opposed
# to the DAS.
# amxtest.connect.* is ignored if this is true 
#
amxtest.testOffline=false

#
# If amxtest.testOffline=true, set this to a valid file path
# for a domain.xml.
#
amxtest.testOffline.domainXML=G:/run/domains/domain1/config/domain.xml













Other Glassfish examples (source code examples)

Here is a short list of links related to this Glassfish amxtest.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.