Thanks for the response David
But now my question is glassfish 4 is not released yet
So we cannot use it in production even if we want to
All the builds are promoted builds so is there some time frame when we can expect a release build on glassfish.net
--
Thank You
Regards Pushkar
StrongAuth, Inc.
408/331-2000 Office
pushkar.marathe_at_strongauth.com
www.strongauth.com
---------------
On Oct 14, 2012, at 7:28 PM, David Zhao <liang.x.zhao_at_oracle.com> wrote:
> Hi Pushkar,
>
> This is a defect of glassfish 3.1.x, but it is OK since 4.0. Can you migrate to 4.0 as the solution?
>
> Thanks,
> David Zhao
>
> -----Original Message-----
> From: Pushkar Marathe [mailto:pushkar.marathe_at_strongauth.com]
> Sent: Thursday, October 11, 2012 7:14 AM
> To: users_at_glassfish.java.net; dev_at_glassfish.java.net
> Subject: Glassfish + JMS issue
>
> Hi
> This is Pushkar. I am still facing the same issue as described above.
> I am using glassfish 3.1.2 on one machine and 3.1.2.2 on the second machine. I have installed JDK7 on both these machines. (Each of them is a standalone instance)
>
> After installing glassfish i boot up the servers and everything works fine. Now i tried creating JMS host on both these machines using the glassfish admin console as well as command line. Both the times after i create a host, i have to restart glassfish. Once i restart glassfish it fails to start up and throws the following error:
>
> **************************************************************************
> [#|2012-10-10T15:35:16.069-0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=26;_ThreadName=Grizzly-kernel-thread(1);|Grizzly
> Framework 1.9.50 started in: 3ms - bound to [0.0.0.0:4848]|#]
>
> [#|2012-10-10T15:35:16.081-0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=29;_ThreadName=Grizzly-kernel-thread(1);|Grizzly
> Framework 1.9.50 started in: 5ms - bound to [0.0.0.0:3700]|#]
>
> [#|2012-10-10T15:35:16.093-0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=32;_ThreadName=Grizzly-kernel-thread(1);|Grizzly
> Framework 1.9.50 started in: 2ms - bound to [0.0.0.0:7676]|#]
>
> [#|2012-10-10T15:35:16.097-0700|SEVERE|glassfish3.1.2|grizzly|_ThreadID=35;_ThreadName=Grizzly-kernel-thread(1);|doSelect
> IOException
> java.net.BindException: No free port within range:
> 7676=com.sun.enterprise.v3.services.impl.ServiceInitializerHandler_at_4254ecc2
> at
> com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
> at
> com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
> at
> com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
> at
> com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> |#]
>
> [#|2012-10-10T15:35:16.279-0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=1;_ThreadName=main;|The
> Admin Console is already installed, but not yet loaded.|#]
>
> [#|2012-10-10T15:35:16.536-0700|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|CORE10012:
> Application previously deployed is not at its original location any
> more:
> file:/usr/local/strongauth/glassfish3/glassfish/domains/domain1//applications/cda-M0-b4/|#]
>
> [#|2012-10-10T15:35:16.564-0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|GlassFish
> Server Open Source Edition 3.1.2.2 (5) startup time : Felix (2,189ms), startup services(1,232ms), total(3,421ms)|#]
>
> [#|2012-10-10T15:35:16.566-0700|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|Shutting
> down v3 due to startup exception : No free port within range:
> 7676=com.sun.enterprise.v3.services.impl.ServiceInitializerHandler_at_4254ecc2|#]
>
> [#|2012-10-10T15:35:16.593-0700|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=40;_ThreadName=Thread-25;|Server
> shutdown initiated|#]
> *****************************************************
>
> Is there a solution to this or is there a work around? Any help would be appreciated.
>
> I am also pasting my domain.xml file in this message as a reference: (I have replaced the domain name and passwords with "XXXXX"
> ***************************Domain.xml********************************
> <domain log-root="${com.sun.aas.instanceRoot}/logs"
> application-root="${com.sun.aas.instanceRoot}/applications" version="5"> <system-applications> <application context-root=""
> location="${com.sun.aas.installRootURI}/lib/install/applications/__admingui"
> name="__admingui" directory-deployed="true" object-type="system-admin"> <module name="__admingui"> <engine sniffer="web"></engine> <engine sniffer="security"></engine> </module> </application> </system-applications> <applications> <application location="${com.sun.aas.instanceRootURI}/applications/cda-M0-b4/"
> name="cda-M0-b4" object-type="user">
> <property name="appLocation"
> value="${com.sun.aas.instanceRootURI}/applications/__internal/cda-M0-b4/cda-M0-b4.ear"></property>
> <property name="org.glassfish.ejb.container.application_unique_id"
> value="88314195554009088"></property>
> <property name="isComposite" value="true"></property> <property name="defaultAppName" value="cda-M0-b4"></property> <engine sniffer="resources_ear"></engine> <engine sniffer="ear"></engine> <module name="cdawar.war"> <engine sniffer="webservices"></engine> <engine sniffer="security"></engine> <engine sniffer="web"></engine> <resources> <connector-connection-pool name="java:module/jms/NewMessageBeanFactoryPool"
> resource-adapter-name="jmsra"
> connection-definition-name="javax.jms.QueueConnectionFactory"></connector-connection-pool>
> <admin-object-resource res-adapter="jmsra" res-type="javax.jms.Queue"
> jndi-name="java:module/jms/NewMessageBean">
> <property name="Name" value="PhysicalQueue"></property> </admin-object-resource> <connector-resource pool-name="java:module/jms/NewMessageBeanFactoryPool"
> jndi-name="java:module/jms/NewMessageBeanFactory"></connector-resource>
> <jdbc-connection-pool connection-validation-method="auto-commit"
> datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
> wrap-jdbc-objects="false" res-type="javax.sql.DataSource"
> name="java:module/CDAPool">
> <property name="URL" value="jdbc:mysql://localhost:3306/cda"></property>
> <property name="driverClass" value="com.mysql.jdbc.Driver"></property>
> <property name="Password" value="XXXXXXX"></property> <property name="portNumber" value="3306"></property> <property name="databaseName" value="cda"></property> <property name="User" value="cdadbuser"></property> <property name="serverName" value="localhost"></property> </jdbc-connection-pool> <jdbc-resource pool-name="java:module/CDAPool"
> jndi-name="java:module/jdbc/cda"></jdbc-resource>
> </resources>
> </module>
> <module name="cdaejb.jar">
> <property name="org.glassfish.persistence.app_name_property"
> value="cda-M0-b4"></property>
> <engine sniffer="ejb"></engine>
> <engine sniffer="security"></engine>
> <engine sniffer="jpa"></engine>
> </module>
> <resources>
> <connector-connection-pool name="java:app/jms/NewMessageBeanFactoryPool"
> resource-adapter-name="jmsra"
> connection-definition-name="javax.jms.QueueConnectionFactory"></connector-connection-pool>
> <admin-object-resource res-adapter="jmsra" res-type="javax.jms.Queue"
> jndi-name="java:app/jms/NewMessageBean">
> <property name="Name" value="PhysicalQueue"></property> </admin-object-resource> <connector-resource pool-name="java:app/jms/NewMessageBeanFactoryPool"
> jndi-name="java:app/jms/NewMessageBeanFactory"></connector-resource>
> <jdbc-connection-pool connection-validation-method="auto-commit"
> datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
> wrap-jdbc-objects="false" res-type="javax.sql.DataSource"
> name="java:app/CDAPool">
> <property name="URL" value="jdbc:mysql://localhost:3306/cda"></property>
> <property name="driverClass" value="com.mysql.jdbc.Driver"></property>
> <property name="Password" value="XXXXXXXXX"></property> <property name="portNumber" value="3306"></property> <property name="databaseName" value="cda"></property> <property name="User" value="cdadbuser"></property> <property name="serverName" value="localhost"></property> </jdbc-connection-pool> <jdbc-resource pool-name="java:app/CDAPool"
> jndi-name="java:app/jdbc/cda"></jdbc-resource>
> </resources>
> </application>
> </applications>
> <resources>
> <jdbc-resource pool-name="__TimerPool" jndi-name="jdbc/__TimerPool"
> object-type="system-admin"></jdbc-resource>
> <jdbc-resource pool-name="DerbyPool"
> jndi-name="jdbc/__default"></jdbc-resource>
> <jdbc-connection-pool
> datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource"
> res-type="javax.sql.XADataSource" name="__TimerPool"> <property name="databaseName"
> value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"></property>
> <property name="connectionAttributes" value=";create=true"></property> </jdbc-connection-pool> <jdbc-connection-pool is-isolation-level-guaranteed="false"
> datasource-classname="org.apache.derby.jdbc.ClientDataSource"
> res-type="javax.sql.DataSource" name="DerbyPool"> <property name="PortNumber" value="1527"></property> <property name="Password" value="APP"></property> <property name="User" value="APP"></property> <property name="serverName" value="localhost"></property> <property name="DatabaseName" value="sun-appserv-samples"></property>
> <property name="connectionAttributes" value=";create=true"></property> </jdbc-connection-pool> <jdbc-connection-pool datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"
> res-type="javax.sql.DataSource" name="CDAPool"> <property name="User" value="cdadbuser"></property> <property name="Password" value="XXXXXXXXX"></property> <property name="ServerName" value="localhost"></property> <property name="Port" value="3306"></property> <property name="DatabaseName" value="cda"></property> <property name="Url" value="jdbc:mysql://localhost:3306/cda"></property>
> </jdbc-connection-pool>
> <jdbc-resource pool-name="CDAPool" description=""
> jndi-name="jdbc/cda"></jdbc-resource>
> </resources>
> <servers>
> <server name="server" config-ref="server-config"> <application-ref ref="__admingui"
> virtual-servers="__asadmin"></application-ref>
> <application-ref ref="cda-M0-b4" virtual-servers="server"></application-ref>
> <resource-ref ref="jdbc/__TimerPool"></resource-ref>
> <resource-ref ref="jdbc/__default"></resource-ref>
> <resource-ref ref="jdbc/cda"></resource-ref> </server> </servers> <nodes> <node node-host="localhost" name="localhost-domain1" type="CONFIG"
> install-dir="${com.sun.aas.productRoot}"></node>
> </nodes>
> <configs>
> <config name="server-config">
> <http-service>
> <access-log></access-log>
> <virtual-server id="server"
> network-listeners="http-listener-1,http-listener-2"></virtual-server>
> <virtual-server id="__asadmin"
> network-listeners="admin-listener"></virtual-server>
> </http-service>
> <iiop-service>
> <orb use-thread-pool-ids="thread-pool-1"></orb>
> <iiop-listener port="3700" id="orb-listener-1" address="0.0.0.0"
> lazy-init="true"></iiop-listener>
> <iiop-listener port="3820" id="SSL" address="0.0.0.0"
> security-enabled="true">
> <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl"
> cert-nickname="s1as"></ssl>
> </iiop-listener>
> <iiop-listener port="3920" id="SSL_MUTUALAUTH" address="0.0.0.0"
> security-enabled="true">
> <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl"
> cert-nickname="s1as" client-auth-enabled="true"></ssl> </iiop-listener> </iiop-service> <admin-service system-jmx-connector-name="system" type="das-and-server"> <jmx-connector port="8686" address="0.0.0.0" security-enabled="false"
> auth-realm-name="admin-realm" name="system"></jmx-connector> <property name="adminConsoleContextRoot" value="/admin"></property> <property name="adminConsoleDownloadLocation"
> value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war"></property>
> <property name="ipsRoot" value="${com.sun.aas.installRoot}/.."></property>
> <das-config></das-config>
> </admin-service>
> <connector-service></connector-service>
> <web-container>
> <session-config>
> <session-manager>
> <manager-properties></manager-properties>
> <store-properties></store-properties>
> </session-manager>
> <session-properties></session-properties>
> </session-config>
> </web-container>
> <ejb-container session-store="${com.sun.aas.instanceRoot}/session-store">
> <ejb-timer-service></ejb-timer-service>
> </ejb-container>
> <mdb-container></mdb-container>
> <jms-service default-jms-host="default_JMS_host">
> <jms-host host="localhost" name="default_JMS_host" ></jms-host> <jms-host host="gcda1.XXXXXX.com" name="gcda1" ></jms-host> </jms-service> <security-service> <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm"
> name="admin-realm">
> <property name="file"
> value="${com.sun.aas.instanceRoot}/config/admin-keyfile"></property>
> <property name="jaas-context" value="fileRealm"></property> </auth-realm> <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm"
> name="file">
> <property name="file"
> value="${com.sun.aas.instanceRoot}/config/keyfile"></property>
> <property name="jaas-context" value="fileRealm"></property> </auth-realm> <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm"
> name="certificate"></auth-realm>
> <jacc-provider
> policy-provider="com.sun.enterprise.security.provider.PolicyWrapper"
> name="default"
> policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
> <property name="repository"
> value="${com.sun.aas.instanceRoot}/generated/policy"></property>
> </jacc-provider>
> <jacc-provider
> policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider"
> name="simple"
> policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory"></jacc-provider>
> <audit-module classname="com.sun.enterprise.security.Audit" name="default"> <property name="auditOn" value="false"></property> </audit-module> <message-security-config auth-layer="SOAP"> <provider-config provider-type="client" provider-id="XWS_ClientProvider"
> class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
> <request-policy auth-source="content"></request-policy>
> <response-policy auth-source="content"></response-policy>
> <property name="encryption.key.alias" value="s1as"></property> <property name="signature.key.alias" value="s1as"></property> <property name="dynamic.username.password" value="false"></property> <property name="debug" value="false"></property> </provider-config> <provider-config provider-type="client" provider-id="ClientProvider"
> class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
> <request-policy auth-source="content"></request-policy>
> <response-policy auth-source="content"></response-policy>
> <property name="encryption.key.alias" value="s1as"></property> <property name="signature.key.alias" value="s1as"></property> <property name="dynamic.username.password" value="false"></property> <property name="debug" value="false"></property> <property name="security.config"
> value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"></property>
> </provider-config>
> <provider-config provider-type="server" provider-id="XWS_ServerProvider"
> class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
> <request-policy auth-source="content"></request-policy>
> <response-policy auth-source="content"></response-policy>
> <property name="encryption.key.alias" value="s1as"></property> <property name="signature.key.alias" value="s1as"></property> <property name="debug" value="false"></property> </provider-config> <provider-config provider-type="server" provider-id="ServerProvider"
> class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
> <request-policy auth-source="content"></request-policy>
> <response-policy auth-source="content"></response-policy>
> <property name="encryption.key.alias" value="s1as"></property> <property name="signature.key.alias" value="s1as"></property> <property name="debug" value="false"></property> <property name="security.config"
> value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"></property>
> </provider-config>
> </message-security-config>
> <message-security-config auth-layer="HttpServlet"> <provider-config provider-type="server"
> provider-id="GFConsoleAuthModule"
> class-name="org.glassfish.admingui.common.security.AdminConsoleAuthModule">
> <request-policy auth-source="sender"></request-policy>
> <response-policy></response-policy>
> <property name="restAuthURL"
> value="https://localhost:${ADMIN_LISTENER_PORT}/management/sessions"></property>
> <property name="loginPage" value="/login.jsf"></property> <property name="loginErrorPage" value="/loginError.jsf"></property>
> </provider-config>
> </message-security-config>
> <property name="default-digest-algorithm" value="SHA-256"></property> </security-service> <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs"></transaction-service>
> <java-config debug-options="-Xdebug
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009"
> system-classpath="" classpath-suffix=""
> java-home="/home/pmarathe/Desktop/jdk1.7.0_05">
> <jvm-options>-XX:MaxPermSize=512m</jvm-options>
> <jvm-options>-XX:PermSize=64m</jvm-options>
> <jvm-options>-server</jvm-options>
> <jvm-options>-Djava.awt.headless=true</jvm-options>
> <jvm-options>-Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder</jvm-options>
> <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
> <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
> <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
> <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
> <jvm-options>-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as</jvm-options>
> <jvm-options>-Xmx2048m</jvm-options>
> <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
> <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
> <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext</jvm-options>
> <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
> <jvm-options>-DANTLR_USE_DIRECT_CLASS_LOADING=true</jvm-options>
> <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
> <jvm-options>-Dosgi.shell.telnet.port=6666</jvm-options>
> <jvm-options>-Dosgi.shell.telnet.maxconn=1</jvm-options>
> <jvm-options>-Dosgi.shell.telnet.ip=127.0.0.1</jvm-options>
> <jvm-options>-Dgosh.args=--nointeractive</jvm-options>
> <jvm-options>-Dfelix.fileinstall.dir=${com.sun.aas.installRoot}/modules/autostart/</jvm-options>
> <jvm-options>-Dfelix.fileinstall.poll=5000</jvm-options>
> <jvm-options>-Dfelix.fileinstall.log.level=2</jvm-options>
> <jvm-options>-Dfelix.fileinstall.bundles.new.start=true</jvm-options>
> <jvm-options>-Dfelix.fileinstall.bundles.startTransient=true</jvm-options>
> <jvm-options>-Dfelix.fileinstall.disableConfigSave=false</jvm-options>
> <jvm-options>-XX:NewRatio=2</jvm-options>
> </java-config>
> <network-config>
> <protocols>
> <protocol name="http-listener-1">
> <http default-virtual-server="server" max-connections="250"> <file-cache></file-cache> </http> </protocol> <protocol security-enabled="true" name="http-listener-2"> <http default-virtual-server="server" max-connections="250"> <file-cache></file-cache> </http> <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl"
> cert-nickname="s1as"></ssl>
> </protocol>
> <protocol name="admin-listener">
> <http default-virtual-server="__asadmin" max-connections="250"
> encoded-slash-enabled="true">
> <file-cache></file-cache>
> </http>
> </protocol>
> <protocol security-enabled="true" name="sec-admin-listener"> <http default-virtual-server="__asadmin" encoded-slash-enabled="true"> <file-cache></file-cache> </http> <ssl client-auth="want"
> classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl"
> cert-nickname="s1as"></ssl>
> </protocol>
> <protocol name="admin-http-redirect">
> <http-redirect secure="true"></http-redirect> </protocol> <protocol name="pu-protocol"> <port-unification> <protocol-finder protocol="sec-admin-listener" name="http-finder"
> classname="com.sun.grizzly.config.HttpProtocolFinder"></protocol-finder>
> <protocol-finder protocol="admin-http-redirect"
> name="admin-http-redirect"
> classname="com.sun.grizzly.config.HttpProtocolFinder"></protocol-finder>
> </port-unification>
> </protocol>
> </protocols>
> <network-listeners>
> <network-listener port="8080" protocol="http-listener-1" transport="tcp"
> name="http-listener-1" thread-pool="http-thread-pool"></network-listener>
> <network-listener port="8181" protocol="http-listener-2" transport="tcp"
> name="http-listener-2" thread-pool="http-thread-pool"></network-listener>
> <network-listener port="4848" protocol="pu-protocol" transport="tcp"
> name="admin-listener" thread-pool="admin-thread-pool"></network-listener>
> </network-listeners>
> <transports>
> <transport name="tcp"></transport>
> </transports>
> </network-config>
> <thread-pools>
> <thread-pool name="admin-thread-pool" max-thread-pool-size="50"
> max-queue-size="256"></thread-pool>
> <thread-pool name="http-thread-pool"></thread-pool>
> <thread-pool name="thread-pool-1" max-thread-pool-size="200"></thread-pool>
> </thread-pools>
> <monitoring-service>
> <module-monitoring-levels></module-monitoring-levels>
> </monitoring-service>
> <group-management-service>
> <failure-detection></failure-detection>
> </group-management-service>
> </config>
> <config name="default-config">
> <http-service>
> <access-log></access-log>
> <virtual-server id="server" network-listeners="http-listener-1,
> http-listener-2">
> <property name="default-web-xml"
> value="${com.sun.aas.instanceRoot}/config/default-web.xml"></property>
> </virtual-server>
> <virtual-server id="__asadmin"
> network-listeners="admin-listener"></virtual-server>
> </http-service>
> <iiop-service>
> <orb use-thread-pool-ids="thread-pool-1"></orb>
> <iiop-listener port="${IIOP_LISTENER_PORT}" id="orb-listener-1"
> address="0.0.0.0"></iiop-listener>
> <iiop-listener port="${IIOP_SSL_LISTENER_PORT}" id="SSL"
> address="0.0.0.0" security-enabled="true"> <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl"
> cert-nickname="s1as"></ssl>
> </iiop-listener>
> <iiop-listener port="${IIOP_SSL_MUTUALAUTH_PORT}" id="SSL_MUTUALAUTH"
> address="0.0.0.0" security-enabled="true"> <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl"
> cert-nickname="s1as" client-auth-enabled="true"></ssl> </iiop-listener> </iiop-service> <admin-service system-jmx-connector-name="system">
> <jmx-connector port="${JMX_SYSTEM_CONNECTOR_PORT}" address="0.0.0.0"
> security-enabled="false" auth-realm-name="admin-realm"
> name="system"></jmx-connector>
> <property name="adminConsoleDownloadLocation"
> value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war"></property>
> <das-config></das-config>
> </admin-service>
> <web-container>
> <session-config>
> <session-manager>
> <manager-properties></manager-properties>
> <store-properties></store-properties>
> </session-manager>
> <session-properties></session-properties>
> </session-config>
> </web-container>
> <ejb-container session-store="${com.sun.aas.instanceRoot}/session-store">
> <ejb-timer-service></ejb-timer-service>
> </ejb-container>
> <mdb-container></mdb-container>
> <jms-service addresslist-behavior="priority"
> default-jms-host="default_JMS_host">
> <jms-host port="${JMS_PROVIDER_PORT}" host="localhost"
> name="default_JMS_host"></jms-host>
> </jms-service>
> <log-service log-rotation-limit-in-bytes="2000000"
> file="${com.sun.aas.instanceRoot}/logs/server.log">
> <module-log-levels></module-log-levels>
> </log-service>
> <security-service>
> <auth-realm
> classname="com.sun.enterprise.security.auth.realm.file.FileRealm"
> name="admin-realm">
> <property name="file"
> value="${com.sun.aas.instanceRoot}/config/admin-keyfile"></property>
> <property name="jaas-context" value="fileRealm"></property> </auth-realm> <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm"
> name="file">
> <property name="file"
> value="${com.sun.aas.instanceRoot}/config/keyfile"></property>
> <property name="jaas-context" value="fileRealm"></property> </auth-realm> <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm"
> name="certificate"></auth-realm>
> <jacc-provider
> policy-provider="com.sun.enterprise.security.provider.PolicyWrapper"
> name="default"
> policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
> <property name="repository"
> value="${com.sun.aas.instanceRoot}/generated/policy"></property>
> </jacc-provider>
> <jacc-provider
> policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider"
> name="simple"
> policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory"></jacc-provider>
> <audit-module classname="com.sun.enterprise.security.Audit" name="default"> <property name="auditOn" value="false"></property> </audit-module> <message-security-config auth-layer="SOAP"> <provider-config provider-type="client" provider-id="XWS_ClientProvider"
> class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
> <request-policy auth-source="content"></request-policy>
> <response-policy auth-source="content"></response-policy>
> <property name="encryption.key.alias" value="s1as"></property> <property name="signature.key.alias" value="s1as"></property> <property name="dynamic.username.password" value="false"></property> <property name="debug" value="false"></property> </provider-config> <provider-config provider-type="client" provider-id="ClientProvider"
> class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
> <request-policy auth-source="content"></request-policy>
> <response-policy auth-source="content"></response-policy>
> <property name="encryption.key.alias" value="s1as"></property> <property name="signature.key.alias" value="s1as"></property> <property name="dynamic.username.password" value="false"></property> <property name="debug" value="false"></property> <property name="security.config"
> value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"></property>
> </provider-config>
> <provider-config provider-type="server" provider-id="XWS_ServerProvider"
> class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
> <request-policy auth-source="content"></request-policy>
> <response-policy auth-source="content"></response-policy>
> <property name="encryption.key.alias" value="s1as"></property> <property name="signature.key.alias" value="s1as"></property> <property name="debug" value="false"></property> </provider-config> <provider-config provider-type="server" provider-id="ServerProvider"
> class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
> <request-policy auth-source="content"></request-policy>
> <response-policy auth-source="content"></response-policy>
> <property name="encryption.key.alias" value="s1as"></property> <property name="signature.key.alias" value="s1as"></property> <property name="debug" value="false"></property> <property name="security.config"
> value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"></property>
> </provider-config>
> </message-security-config>
> </security-service>
> <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs"
> automatic-recovery="true"></transaction-service>
> <diagnostic-service></diagnostic-service>
> <java-config debug-options="-Xdebug
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=${JAVA_DEBUGGER_PORT}"
> system-classpath="" classpath-suffix=""> <jvm-options>-XX:MaxPermSize=512m</jvm-options>
> <jvm-options>-XX:PermSize=64m</jvm-options>
> <jvm-options>-server</jvm-options>
> <jvm-options>-Djava.awt.headless=true</jvm-options>
> <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
> <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/modules/endorsed${path.separator}${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
> <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
> <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
> <jvm-options>-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as</jvm-options>
> <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
> <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
> <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext</jvm-options>
> <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
> <jvm-options>-DANTLR_USE_DIRECT_CLASS_LOADING=true</jvm-options>
> <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
> <jvm-options>-XX:NewRatio=2</jvm-options>
> <jvm-options>-Xmx2048m</jvm-options>
> <jvm-options>-Dosgi.shell.telnet.port=${OSGI_SHELL_TELNET_PORT}</jvm-options>
> <jvm-options>-Dosgi.shell.telnet.maxconn=1</jvm-options>
> <jvm-options>-Dosgi.shell.telnet.ip=127.0.0.1</jvm-options>
> <jvm-options>-Dgosh.args=--noshutdown -c noop=true</jvm-options> <jvm-options>-Dfelix.fileinstall.dir=${com.sun.aas.installRoot}/modules/autostart/</jvm-options>
> <jvm-options>-Dfelix.fileinstall.poll=5000</jvm-options>
> <jvm-options>-Dfelix.fileinstall.log.level=3</jvm-options>
> <jvm-options>-Dfelix.fileinstall.bundles.new.start=true</jvm-options>
> <jvm-options>-Dfelix.fileinstall.bundles.startTransient=true</jvm-options>
> <jvm-options>-Dfelix.fileinstall.disableConfigSave=false</jvm-options>
> </java-config>
> <availability-service>
> <web-container-availability></web-container-availability>
> <ejb-container-availability
> sfsb-store-pool-name="jdbc/hastore"></ejb-container-availability>
> <jms-availability></jms-availability>
> </availability-service>
> <network-config>
> <protocols>
> <protocol name="http-listener-1">
> <http default-virtual-server="server">
> <file-cache></file-cache>
> </http>
> </protocol>
> <protocol security-enabled="true" name="http-listener-2"> <http default-virtual-server="server"> <file-cache></file-cache> </http> <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl"
> cert-nickname="s1as"></ssl>
> </protocol>
> <protocol name="admin-listener">
> <http default-virtual-server="__asadmin" max-connections="250"> <file-cache></file-cache> </http> </protocol> <protocol security-enabled="true" name="sec-admin-listener"> <http default-virtual-server="__asadmin" encoded-slash-enabled="true"> <file-cache></file-cache> </http> <ssl client-auth="want"
> classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl"
> cert-nickname="glassfish-instance"></ssl>
> </protocol>
> <protocol name="admin-http-redirect">
> <http-redirect secure="true"></http-redirect> </protocol> <protocol name="pu-protocol"> <port-unification> <protocol-finder protocol="sec-admin-listener" name="http-finder"
> classname="com.sun.grizzly.config.HttpProtocolFinder"></protocol-finder>
> <protocol-finder protocol="admin-http-redirect"
> name="admin-http-redirect"
> classname="com.sun.grizzly.config.HttpProtocolFinder"></protocol-finder>
> </port-unification>
> </protocol>
> </protocols>
> <network-listeners>
> <network-listener port="${HTTP_LISTENER_PORT}"
> protocol="http-listener-1" transport="tcp" name="http-listener-1"
> thread-pool="http-thread-pool"></network-listener>
> <network-listener port="${HTTP_SSL_LISTENER_PORT}"
> protocol="http-listener-2" transport="tcp" name="http-listener-2"
> thread-pool="http-thread-pool"></network-listener>
> <network-listener port="${ASADMIN_LISTENER_PORT}" protocol="pu-protocol"
> transport="tcp" name="admin-listener"
> thread-pool="http-thread-pool"></network-listener>
> </network-listeners>
> <transports>
> <transport name="tcp"></transport>
> </transports>
> </network-config>
> <thread-pools>
> <thread-pool name="http-thread-pool"></thread-pool>
> <thread-pool max-thread-pool-size="200" name="thread-pool-1"></thread-pool>
> <thread-pool name="admin-thread-pool" max-thread-pool-size="50"
> max-queue-size="256"></thread-pool>
> </thread-pools>
> <group-management-service>
> <failure-detection></failure-detection>
> </group-management-service>
> <management-rules></management-rules>
> <system-property name="ASADMIN_LISTENER_PORT"
> value="24848"></system-property>
> <system-property name="HTTP_LISTENER_PORT" value="28080"></system-property> <system-property name="HTTP_SSL_LISTENER_PORT"
> value="28181"></system-property>
> <system-property name="JMS_PROVIDER_PORT" value="27676"></system-property> <system-property name="IIOP_LISTENER_PORT" value="23700"></system-property> <system-property name="IIOP_SSL_LISTENER_PORT"
> value="23820"></system-property>
> <system-property name="IIOP_SSL_MUTUALAUTH_PORT"
> value="23920"></system-property>
> <system-property name="JMX_SYSTEM_CONNECTOR_PORT"
> value="28686"></system-property>
> <system-property name="OSGI_SHELL_TELNET_PORT"
> value="26666"></system-property>
> <system-property name="JAVA_DEBUGGER_PORT" value="29009"></system-property> <monitoring-service> <module-monitoring-levels></module-monitoring-levels>
> </monitoring-service>
> <connector-service></connector-service>
> </config>
> </configs>
> <property name="administrative.domain.name" value="domain1"></property> <secure-admin enabled="true"
> special-admin-indicator="e4a50521-0eca-4932-bca9-805fc1d8412e">
> <secure-admin-principal dn="CN=localhost,OU=GlassFish,O=Oracle
> Corporation,L=Santa Clara,ST=California,C=US"></secure-admin-principal>
> <secure-admin-principal dn="CN=localhost-instance,OU=GlassFish,O=Oracle
> Corporation,L=Santa Clara,ST=California,C=US"></secure-admin-principal>
> </secure-admin>
> <load-balancers></load-balancers>
> <lb-configs></lb-configs>
> <clusters></clusters>
> </domain>
>
> *********************************************************************
>