glassfish 0.9.5-universal-java → 1.0.0-universal-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. data/History.txt +247 -0
  2. data/LICENSE.txt +774 -0
  3. data/README.txt +140 -0
  4. data/bin/gfrake +5 -1
  5. data/bin/glassfish +5 -7
  6. data/generators/gfrake/templates/glassfish.yml +39 -0
  7. data/lib/command_line_parser.rb +29 -40
  8. data/lib/config.rb +57 -63
  9. data/lib/glassfish.rb +3 -79
  10. data/{modules → lib/java}/akuma.jar +0 -0
  11. data/lib/java/gf-jruby-connector.jar +0 -0
  12. data/lib/java/glassfish-embedded-nucleus.jar +0 -0
  13. data/lib/java/glassfish-gem.jar +0 -0
  14. data/lib/java/grizzly-jruby-module.jar +0 -0
  15. data/lib/java/grizzly-jruby.jar +0 -0
  16. data/lib/jruby/rack/grizzly_helper.rb +230 -0
  17. data/lib/jruby/rack/merb.rb +34 -0
  18. data/lib/jruby/rack/rackup.rb +46 -0
  19. data/lib/jruby/rack/rails.rb +29 -0
  20. data/lib/jruby/rack/sinatra.rb +18 -0
  21. data/lib/jruby/rails_path.rb +11 -0
  22. data/lib/{templates/profile.properties → rack/adapter/merb.rb} +18 -7
  23. data/lib/rack/adapter/rails.rb +268 -0
  24. data/lib/rack/handler/grizzly.rb +59 -0
  25. data/lib/server.rb +164 -0
  26. data/lib/version.rb +1 -1
  27. metadata +83 -153
  28. data/bin/glassfish_rails +0 -61
  29. data/config/asadminenv.conf +0 -6
  30. data/config/asenv.bat +0 -29
  31. data/config/asenv.conf +0 -31
  32. data/config/glassfish.container +0 -4
  33. data/domains/domain1/config/admin-keyfile +0 -3
  34. data/domains/domain1/config/cacerts.jks +0 -0
  35. data/domains/domain1/config/default-web.xml +0 -1133
  36. data/domains/domain1/config/domain-passwords +0 -0
  37. data/domains/domain1/config/domain.xml +0 -190
  38. data/domains/domain1/config/glassfish_gem_version.yml +0 -7
  39. data/domains/domain1/config/keyfile +0 -6
  40. data/domains/domain1/config/keystore.jks +0 -0
  41. data/domains/domain1/config/logging.properties +0 -46
  42. data/domains/domain1/config/login.conf +0 -21
  43. data/domains/domain1/config/server.policy +0 -170
  44. data/domains/domain1/config/sun-acc.xml +0 -40
  45. data/domains/domain1/docroot/index.html +0 -83
  46. data/domains/domain1/master-password +0 -0
  47. data/lib/appclient/appclientlogin.conf +0 -10
  48. data/lib/appclient/client.policy +0 -79
  49. data/lib/appclient/wss-client-config-1.0.xml +0 -84
  50. data/lib/appclient/wss-client-config-2.0.xml +0 -96
  51. data/lib/registration/servicetag-registry.xml +0 -18
  52. data/lib/templates/cacerts.jks +0 -0
  53. data/lib/templates/default-web.xml +0 -1133
  54. data/lib/templates/docroot/index.html +0 -83
  55. data/lib/templates/domain.xml +0 -180
  56. data/lib/templates/domain.xml.xsl +0 -100
  57. data/lib/templates/keyfile +0 -6
  58. data/lib/templates/keystore.jks +0 -0
  59. data/lib/templates/logging.properties +0 -48
  60. data/lib/templates/login.conf +0 -21
  61. data/lib/templates/server.policy +0 -170
  62. data/lib/templates/sun-acc.xml +0 -40
  63. data/modules/admin-cli.jar +0 -0
  64. data/modules/api-exporter.jar +0 -0
  65. data/modules/asm-all-repackaged.jar +0 -0
  66. data/modules/auto-depends.jar +0 -0
  67. data/modules/bean-validator.jar +0 -0
  68. data/modules/branding.jar +0 -0
  69. data/modules/cli-framework.jar +0 -0
  70. data/modules/common-util.jar +0 -0
  71. data/modules/config-api.jar +0 -0
  72. data/modules/config.jar +0 -0
  73. data/modules/deployment-admin.jar +0 -0
  74. data/modules/deployment-autodeploy.jar +0 -0
  75. data/modules/deployment-common.jar +0 -0
  76. data/modules/flashlight-agent.jar +0 -0
  77. data/modules/flashlight-framework.jar +0 -0
  78. data/modules/gf-jruby-connector.jar +0 -0
  79. data/modules/gfprobe-provider-client.jar +0 -0
  80. data/modules/glassfish-api.jar +0 -0
  81. data/modules/glassfish-ee-api.jar +0 -0
  82. data/modules/glassfish-extra-jre-packages.jar +0 -0
  83. data/modules/glassfish-gem.jar +0 -0
  84. data/modules/glassfish.jar +0 -0
  85. data/modules/grizzly-comet.jar +0 -0
  86. data/modules/grizzly-cometd.jar +0 -0
  87. data/modules/grizzly-compat.jar +0 -0
  88. data/modules/grizzly-config.jar +0 -0
  89. data/modules/grizzly-framework.jar +0 -0
  90. data/modules/grizzly-http.jar +0 -0
  91. data/modules/grizzly-jruby-module.jar +0 -0
  92. data/modules/grizzly-jruby.jar +0 -0
  93. data/modules/grizzly-messagesbus.jar +0 -0
  94. data/modules/grizzly-portunif.jar +0 -0
  95. data/modules/grizzly-rcm.jar +0 -0
  96. data/modules/grizzly-utils.jar +0 -0
  97. data/modules/hk2-core.jar +0 -0
  98. data/modules/hk2.jar +0 -0
  99. data/modules/internal-api.jar +0 -0
  100. data/modules/kernel.jar +0 -0
  101. data/modules/launcher.jar +0 -0
  102. data/modules/org.apache.felix.configadmin.jar +0 -0
  103. data/modules/org.apache.felix.fileinstall.jar +0 -0
  104. data/modules/org.apache.felix.shell.jar +0 -0
  105. data/modules/org.apache.felix.shell.remote.jar +0 -0
  106. data/modules/org.apache.felix.shell.tui.jar +0 -0
  107. data/modules/osgi-main.jar +0 -0
  108. data/modules/pkg-client.jar +0 -0
  109. data/modules/tiger-types-osgi.jar +0 -0
@@ -1,83 +0,0 @@
1
- <!--Arbortext, Inc., 1988-2008, v.4002-->
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html lang="en">
4
- <!--
5
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6
-
7
- Copyright 2009 Sun Microsystems, Inc. All rights reserved.
8
-
9
- Use is subject to License Terms
10
- -->
11
- <head>
12
- <style type="text/css"> body{margin-top:0} body,td,p,div,span,a,ul,ul li, ol, ol li, ol li b, dl,h1,h2,h3,h4,h5,h6,li { font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:10pt } h1 {font-size:18pt} h2 {font-size:14pt} h3 {font-size:12pt} code,kbd,tt,pre { font-family:monaco,courier,"courier new"; font-size:10pt; } li {padding-bottom: 8px} p.copy, p.copy a { font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:8pt } p.copy {text-align: center} table.grey1,tr.grey1,td.grey1{background:#f1f1f1} th { color:#ffffff; font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:12pt } td.insidehead { font-weight:bold; background:white; text-align: left; } a {text-decoration:none; color:#3E6B8A} a:visited{color:#917E9C} a:hover {text-decoration:underline}
13
- </style>
14
- <title>Sun GlassFish Enterprise Server v3 Preview - Server Running</title>
15
- </head>
16
- <body bgcolor="#ffffff" text="#000000" link="#594fbf" vlink="#1005fb"
17
- alink="#333366"><br> <table width="100%" border="0" cellspacing="0"
18
- cellpadding="3">
19
- <tbody>
20
- <tr>
21
- <td align="right" valign="top"> <a href="http://www.sun.com">sun.com</a> </td>
22
- </tr>
23
- <tr>
24
- <td align="left" valign="top" bgcolor="#587993"> <font color="#ffffff">&nbsp;<b>
25
- Sun GlassFish Enterprise Server v3 Preview</b></font> </td>
26
- </tr>
27
- </tbody>
28
- </table> <h1>Your server is now running</h1> <p>To replace this page, overwrite
29
- the file <code>index.html</code> in the document root folder of this server.
30
- The document root folder for this server is the <code>docroot</code> subdirectory
31
- of this server's domain directory.</p> <p>To manage a server on the local
32
- host with the default administration port, <a href="http://localhost:4848"
33
- target="blank">go to the Administration Console</a>.</p> <h2>Register Sun
34
- GlassFish Enterprise Server with Sun Connection now</h2><p>Use the Administration
35
- Console to register Sun GlassFish&trade; Enterprise Server (GlassFish server)
36
- with <a href="http://www.sun.com/service/sunconnection/index.jsp" target=" blank">
37
- Sun<sup>SM</sup> Connection</a> now. Registration is optional, but as a registered
38
- user you receive benefits such as:</p><ul>
39
- <li>Patch information and bug updates</li>
40
- <li>Screencasts and tutorials</li>
41
- <li>News and events</li>
42
- <li>Support and training offerings</li>
43
- </ul>
44
- <!--h2>Get a GlassFish server subscription</h2><p>To benefit from powerful
45
- support for GlassFish server, consider one of the <a
46
- href="http://www.sun.com/service/applicationserversubscriptions/" target="blank">
47
- GlassFish Subscriptions featuring Enterprise GlassFish Support</a>. A subscription
48
- provides a one-stop shop for products and services with immediate web access
49
- to software support with full indemnification, updates and upgrades, production
50
- and code support, training, and much more.</p>-->
51
- <h2>Install and update additional
52
- software components</h2><p>Use the <a
53
- href="http://wikis.sun.com/display/IpsBestPractices/Examples+and+Screenshots"
54
- target=" blank">Update Tool</a> to install and update additional technologies
55
- and frameworks such as:<!--a href="https://open-esb.dev.java.net/" target=" blank"Open ESB a -->
56
- </p><ul>
57
- <li><a href="https://ajax.dev.java.net/" target=" blank">jMaki</a></li>
58
- <li>JRuby runtime </li>
59
- </ul>
60
- <p>If you are using the web profile, you can also use Update Tool to obtain technologies that are included by default in the classic profile, such as:<p>
61
- <ul><li>Enterprise Java Beans</li>
62
- <li><a href="https://metro.dev.java.net/" target="blank">Metro</a></li>
63
- <li><a href="https://jersey.dev.java.net/" target="blank">Jersey</a></li></ul>
64
- <p>To improve the user experience and optimize offerings to users, Sun
65
- collects data about <a
66
- href="http://wiki.glassfish.java.net/gfwiki/Wiki.jsp?page=UsageMetrics"
67
- target=" blank">GlassFish server usage</a> that is transmitted by the Update
68
- Tool installer as part of the automatic update processes. No personally identifiable
69
- information is collected by this process.</p><h2>Join the GlassFish community</h2><p>
70
- Visit the <a href="http://java.sun.com/javaee/glassfish/" target=" blank">GlassFish
71
- Community</a> page for information about how to join the GlassFish community.
72
- The GlassFish community is developing a free, open source, production-quality,
73
- enterprise-class application server that implements the newest features of
74
- the Java&trade; Platform, Enterprise Edition (Java EE) platform and related
75
- enterprise technologies.</p><h2>Learn more about the GlassFish server</h2><p>For
76
- more information about the GlassFish server, samples, documentation, and additional
77
- resources, see <?Pub Caret><var> as-install</var><code>/docs/about.html</code>,
78
- where <var>as-install</var> is the GlassFish server installation directory.</p><hr
79
- style="width: 80%; height: 2px;"> <p class="copy"><a
80
- href="http://www.sun.com/company/">Company Info</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a
81
- href="http://www.sun.com/contact/">Contact</a> &nbsp;&nbsp;|&nbsp;&nbsp; Copyright
82
- 2009 Sun Microsystems</p></body></html>
83
- <?Pub *0000005314 0>
@@ -1,180 +0,0 @@
1
- <domain log-root="${com.sun.aas.instanceRoot}/logs" application-root="${com.sun.aas.instanceRoot}/applications" version="10.0">
2
- <system-applications />
3
- <applications />
4
- <resources>
5
- <jdbc-resource pool-name="__TimerPool" jndi-name="jdbc/__TimerPool" object-type="system-admin" />
6
- <jdbc-resource pool-name="DerbyPool" jndi-name="jdbc/__default" />
7
- <jdbc-connection-pool name="__TimerPool" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" res-type="javax.sql.XADataSource">
8
- <property value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer" name="databaseName" />
9
- <property value=";create=true" name="connectionAttributes" />
10
- </jdbc-connection-pool>
11
- <jdbc-connection-pool is-isolation-level-guaranteed="false" name="DerbyPool" datasource-classname="org.apache.derby.jdbc.ClientDataSource" res-type="javax.sql.DataSource">
12
- <property value="1527" name="PortNumber" />
13
- <property value="APP" name="Password" />
14
- <property value="APP" name="User" />
15
- <property value="localhost" name="serverName" />
16
- <property value="sun-appserv-samples" name="DatabaseName" />
17
- <property value=";create=true" name="connectionAttributes" />
18
- </jdbc-connection-pool>
19
- </resources>
20
- <servers>
21
- <server name="%%%SERVER_ID%%%" config-ref="%%%CONFIG_MODEL_NAME%%%">
22
- <resource-ref ref="jdbc/__TimerPool" />
23
- <resource-ref ref="jdbc/__default" />
24
- </server>
25
- </servers>
26
- <configs>
27
- <config name="%%%CONFIG_MODEL_NAME%%%">
28
- <http-service>
29
- <access-log rotation-interval-in-minutes="15" rotation-suffix="yyyy-MM-dd" />
30
- <virtual-server id="server" network-listeners="http-listener-1,http-listener-2"></virtual-server>
31
- <virtual-server id="__asadmin" network-listeners="admin-listener"></virtual-server>
32
- <property value="false" name="accessLoggingEnabled" />
33
- </http-service>
34
- <iiop-service>
35
- <orb use-thread-pool-ids="thread-pool-1" />
36
- <iiop-listener address="0.0.0.0" port="%%%ORB_LISTENER_PORT%%%" id="orb-listener-1" />
37
- <iiop-listener security-enabled="true" address="0.0.0.0" port="%%%ORB_SSL_PORT%%%" id="SSL">
38
- <ssl cert-nickname="s1as" />
39
- </iiop-listener>
40
- <iiop-listener security-enabled="true" address="0.0.0.0" port="%%%ORB_MUTUALAUTH_PORT%%%" id="SSL_MUTUALAUTH">
41
- <ssl cert-nickname="s1as" client-auth-enabled="true" />
42
- </iiop-listener>
43
- </iiop-service>
44
- <admin-service type="das-and-server" system-jmx-connector-name="system">
45
- <jmx-connector auth-realm-name="admin-realm" security-enabled="false" address="0.0.0.0" port="%%%JMX_SYSTEM_CONNECTOR_PORT%%%" name="system" />
46
- <das-config autodeploy-enabled="true" dynamic-reload-enabled="true" deploy-xml-validation="full" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" />
47
- <property value="/admin" name="adminConsoleContextRoot" />
48
- <property value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war" name="adminConsoleDownloadLocation" />
49
- <property value="${com.sun.aas.installRoot}/.." name="ipsRoot" />
50
- </admin-service>
51
- <web-container>
52
- <session-config>
53
- <session-manager>
54
- <manager-properties />
55
- <store-properties />
56
- </session-manager>
57
- <session-properties />
58
- </session-config>
59
- </web-container>
60
- <ejb-container steady-pool-size="0" max-pool-size="32" session-store="${com.sun.aas.instanceRoot}/session-store" pool-resize-quantity="8">
61
- <ejb-timer-service />
62
- </ejb-container>
63
- <mdb-container steady-pool-size="0" max-pool-size="32" pool-resize-quantity="8" >
64
- </mdb-container>
65
- <jms-service type="EMBEDDED" default-jms-host="default_JMS_host">
66
- <jms-host name="default_JMS_host" host="localhost" port="%%%JMS_PROVIDER_PORT%%%" admin-user-name="%%%JMS_PROVIDER_USERID%%%" admin-password="%%%JMS_PROVIDER_PASSWORD%%%"/>
67
- </jms-service>
68
- <log-service file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000">
69
- <module-log-levels />
70
- </log-service>
71
- <security-service>
72
- <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
73
- <property value="${com.sun.aas.instanceRoot}/config/admin-keyfile" name="file" />
74
- <property value="fileRealm" name="jaas-context" />
75
- </auth-realm>
76
- <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
77
- <property value="${com.sun.aas.instanceRoot}/config/keyfile" name="file" />
78
- <property value="fileRealm" name="jaas-context" />
79
- </auth-realm>
80
- <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate" />
81
- <jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" name="default">
82
- <property value="${com.sun.aas.instanceRoot}/generated/policy" name="repository" />
83
- </jacc-provider>
84
- <jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory" policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="simple" />
85
- <audit-module classname="com.sun.enterprise.security.Audit" name="default">
86
- <property value="false" name="auditOn" />
87
- </audit-module>
88
- <message-security-config auth-layer="SOAP">
89
- <provider-config provider-id="XWS_ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client">
90
- <request-policy auth-source="content" />
91
- <response-policy auth-source="content" />
92
- <property value="s1as" name="encryption.key.alias" />
93
- <property value="s1as" name="signature.key.alias" />
94
- <property value="false" name="dynamic.username.password" />
95
- <property value="false" name="debug" />
96
- </provider-config>
97
- <provider-config provider-id="ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client">
98
- <request-policy auth-source="content" />
99
- <response-policy auth-source="content" />
100
- <property value="s1as" name="encryption.key.alias" />
101
- <property value="s1as" name="signature.key.alias" />
102
- <property value="false" name="dynamic.username.password" />
103
- <property value="false" name="debug" />
104
- <property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" />
105
- </provider-config>
106
- <provider-config provider-id="XWS_ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server">
107
- <request-policy auth-source="content" />
108
- <response-policy auth-source="content" />
109
- <property value="s1as" name="encryption.key.alias" />
110
- <property value="s1as" name="signature.key.alias" />
111
- <property value="false" name="debug" />
112
- </provider-config>
113
- <provider-config provider-id="ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server">
114
- <request-policy auth-source="content" />
115
- <response-policy auth-source="content" />
116
- <property value="s1as" name="encryption.key.alias" />
117
- <property value="s1as" name="signature.key.alias" />
118
- <property value="false" name="debug" />
119
- <property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" />
120
- </provider-config>
121
- </message-security-config>
122
- </security-service>
123
- <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs" >
124
- </transaction-service>
125
- <monitoring-service>
126
- <module-monitoring-levels />
127
- </monitoring-service>
128
- <java-config classpath-suffix="" system-classpath="" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009">
129
- <jvm-options>-XX:MaxPermSize=192m</jvm-options>
130
- <jvm-options>-client</jvm-options>
131
- <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
132
- <jvm-options>-XX:+LogVMOutput</jvm-options>
133
- <jvm-options>-XX:LogFile=${com.sun.aas.instanceRoot}/logs/jvm.log</jvm-options>
134
- <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
135
- <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
136
- <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
137
- <jvm-options>-Xmx512m</jvm-options>
138
- <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
139
- <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
140
- <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${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options>
141
- <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
142
- <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
143
- <jvm-options>-XX:NewRatio=2</jvm-options>
144
- </java-config>
145
- <network-config>
146
- <protocols>
147
- <protocol name="http-listener-1">
148
- <http default-virtual-server="server" max-connections="250" server-name="">
149
- <file-cache enabled="false"></file-cache>
150
- </http>
151
- </protocol>
152
- <protocol security-enabled="true" name="http-listener-2">
153
- <http default-virtual-server="server" max-connections="250" server-name="">
154
- <file-cache enabled="false"></file-cache>
155
- </http>
156
- <ssl ssl3-enabled="false" cert-nickname="s1as"></ssl>
157
- </protocol>
158
- <protocol name="admin-listener">
159
- <http default-virtual-server="__asadmin" max-connections="250" server-name="">
160
- <file-cache enabled="false"></file-cache>
161
- </http>
162
- </protocol>
163
- </protocols>
164
- <network-listeners>
165
- <network-listener port="%%%HTTP_PORT%%%" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>
166
- <network-listener port="%%%HTTP_SSL_PORT%%%" enabled="false" protocol="http-listener-2" transport="tcp" name="http-listener-2" thread-pool="http-thread-pool"></network-listener>
167
- <network-listener port="%%%ADMIN_PORT%%%" protocol="admin-listener" transport="tcp" name="admin-listener" thread-pool="http-thread-pool"></network-listener>
168
- </network-listeners>
169
- <transports>
170
- <transport name="tcp"></transport>
171
- </transports>
172
- </network-config>
173
- <thread-pools>
174
- <thread-pool name="http-thread-pool" max-queue-size="4096"></thread-pool>
175
- <thread-pool name="thread-pool-1" max-thread-pool-size="200"/>
176
- </thread-pools>
177
- </config>
178
- </configs>
179
- <property name="administrative.domain.name" value="%%%DOMAIN_NAME%%%"/>
180
- </domain>
@@ -1,100 +0,0 @@
1
- <?xml version="1.0" encoding="ISO-8859-1"?>
2
-
3
- <xsl:stylesheet version="1.0"
4
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
- <xsl:output method="xml"
6
- indent="yes"
7
- doctype-public="-//Sun Microsystems Inc.//DTD Application Server 9.1 Domain//EN"
8
- doctype-system="http://www.sun.com/software/appserver/dtds/sun-domain_1_3.dtd">
9
- </xsl:output>
10
-
11
- <xsl:template match="/">
12
- <xsl:apply-templates select="node()|@*"/>
13
- </xsl:template>
14
- <xsl:template match="node()|@*">
15
- <xsl:copy>
16
- <xsl:apply-templates select="node()|@*"/>
17
- </xsl:copy>
18
- </xsl:template>
19
-
20
- <xsl:template match="http-service">
21
- <xsl:copy>
22
- <xsl:apply-templates select="node()|@*"/>
23
- <xsl:element name="property">
24
- <xsl:attribute name="name">accessLoggingEnabled</xsl:attribute>
25
- <xsl:attribute name="value">false</xsl:attribute>
26
- </xsl:element>
27
- </xsl:copy>
28
- </xsl:template>
29
-
30
- <xsl:template match="http-listener">
31
- <xsl:copy>
32
- <xsl:copy-of select="@*"/>
33
- </xsl:copy>
34
- </xsl:template>
35
-
36
- <xsl:template match="http-listener[@security-enabled='false']">
37
- <xsl:copy>
38
- <xsl:copy-of select="@*"/>
39
- <xsl:element name="property">
40
- <xsl:attribute name="name">proxiedProtocols</xsl:attribute>
41
- <xsl:attribute name="value">ws/tcp</xsl:attribute>
42
- </xsl:element>
43
- </xsl:copy>
44
- </xsl:template>
45
-
46
- <xsl:template match="http-listener[@security-enabled='true']">
47
- <xsl:copy>
48
- <xsl:copy-of select="@*"/>
49
- <xsl:element name="ssl">
50
- <xsl:attribute name="cert-nickname">s1as</xsl:attribute>
51
- <xsl:attribute name="ssl3-enabled">false</xsl:attribute>
52
- </xsl:element>
53
- </xsl:copy>
54
- </xsl:template>
55
-
56
-
57
- <xsl:template match="http-listener[@id='admin-listener']">
58
- <xsl:copy>
59
- <xsl:copy-of select="@*"/>
60
- </xsl:copy>
61
- </xsl:template>
62
-
63
- <xsl:template match="http-file-cache">
64
- <xsl:copy>
65
- <xsl:copy-of select="@*"/>
66
- <xsl:attribute name="globally-enabled">false</xsl:attribute>
67
- <xsl:attribute name="file-caching-enabled">false</xsl:attribute>
68
- </xsl:copy>
69
- </xsl:template>
70
-
71
- <xsl:template match="virtual-server">
72
- <xsl:copy>
73
- <xsl:apply-templates select="node()|@*"/>
74
- <xsl:element name="property">
75
- <xsl:attribute name="name">sso-enabled</xsl:attribute>
76
- <xsl:attribute name="value">false</xsl:attribute>
77
- </xsl:element>
78
- </xsl:copy>
79
- </xsl:template>
80
-
81
- <xsl:template match="jmx-connector">
82
- <xsl:copy>
83
- <xsl:copy-of select="@*"/>
84
- <xsl:element name="ssl">
85
- <xsl:attribute name="cert-nickname">s1as</xsl:attribute>
86
- </xsl:element>
87
- </xsl:copy>
88
- </xsl:template>
89
-
90
- <xsl:template match="java-config">
91
- <xsl:copy>
92
- <xsl:apply-templates select="node()|@*"/>
93
- <xsl:comment>
94
- Use the following jvm-options element to disable the quick startup:
95
- com.sun.enterprise.server.ss.ASQuickStartup=false
96
- </xsl:comment>
97
- </xsl:copy>
98
- </xsl:template>
99
-
100
- </xsl:stylesheet>
@@ -1,6 +0,0 @@
1
- #
2
- # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3
- # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4
- #
5
-
6
- # List of users for simple file realm. Empty by default.
Binary file
@@ -1,48 +0,0 @@
1
- #GlassFish logging.properties list
2
- #Mon Mar 16 22:32:12 PDT 2009
3
- javax.enterprise.system.tools.admin.level=INFO
4
- handlers=java.util.logging.ConsoleHandler
5
- java.util.logging.ConsoleHandler.formatter=com.sun.enterprise.server.logging.UniformLogFormatter
6
- org.apache.jasper.level=INFO
7
- javax.enterprise.resource.corba.level=INFO
8
- javax.enterprise.system.core.classloading.level=INFO
9
- javax.enterprise.resource.jta.level=INFO
10
- java.util.logging.ConsoleHandler.level=FINEST
11
- com.sun.enterprise.server.logging.GFFileHandler.file=logs/server.log
12
- com.sun.enterprise.server.logging.GFFileHandler.rotationTimelimitInMinutes=0
13
- javax.enterprise.system.webservices.saaj.level=INFO
14
- java.util.logging.FileHandler.formatter=java.util.logging.XMLFormatter
15
- javax.enterprise.system.tools.deployment.level=INFO
16
- javax.enterprise.system.container.ejb.level=INFO
17
- com.sun.enterprise.server.logging.GFFileHandler.formatter=com.sun.enterprise.server.logging.UniformLogFormatter
18
- javax.enterprise.system.core.transaction.level=INFO
19
- org.apache.catalina.level=INFO
20
- com.sun.enterprise.server.logging.GFFileHandler.rotationTimelimitInMinutes=0
21
- javax.enterprise.system.container.ejb.mdb.level=INFO
22
- org.apache.coyote.level=INFO
23
- javax.level=INFO
24
- java.util.logging.FileHandler.limit=50000
25
- javax.enterprise.resource.javamail.level=INFO
26
- com.sun.enterprise.server.logging.GFFileHandler.logtoConsole=false
27
- javax.enterprise.system.webservices.rpc.level=INFO
28
- javax.enterprise.system.container.web.level=INFO
29
- com.sun.enterprise.server.logging.GFFileHandler.rotationLimitInBytes=0
30
- javax.enterprise.system.util.level=INFO
31
- javax.enterprise.resource.resourceadapter.level=INFO
32
- javax.enterprise.resource.jms.level=INFO
33
- javax.enterprise.system.core.config.level=INFO
34
- com.sun.enterprise.server.logging.GFFileHandler.rotationLimitInBytes=0
35
- javax.enterprise.system.level=INFO
36
- javax.enterprise.system.core.security.level=INFO
37
- javax.enterprise.system.container.cmp.level=INFO
38
- java.util.logging.FileHandler.pattern=%h/java%u.log
39
- com.sun.enterprise.server.logging.SyslogHandler.useSystemLogging=false
40
- group-management-services=INFO
41
- com.sun.enterprise.server.logging.GFFileHandler.alarms=false
42
- javax.enterprise.system.webservices.registry.level=INFO
43
- javax.enterprise.system.core.selfmanagement.level=INFO
44
- .level=INFO
45
- java.util.logging.FileHandler.count=1
46
- javax.enterprise.resource.jdo.level=INFO
47
- javax.enterprise.system.core.naming.level=INFO
48
- com.sun.enterprise.server.logging.GFFileHandler.retainErrorsStasticsForHours=0
@@ -1,21 +0,0 @@
1
- /* Copyright 2004 Sun Microsystems, Inc. All rights reserved. */
2
- /* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */
3
-
4
- fileRealm {
5
- com.sun.enterprise.security.auth.login.FileLoginModule required;
6
- };
7
-
8
- ldapRealm {
9
- com.sun.enterprise.security.auth.login.LDAPLoginModule required;
10
- };
11
-
12
- solarisRealm {
13
- com.sun.enterprise.security.auth.login.SolarisLoginModule required;
14
- };
15
-
16
- jdbcRealm {
17
- com.sun.enterprise.security.auth.login.JDBCLoginModule required;
18
- };
19
- jdbcDigestRealm {
20
- com.sun.enterprise.security.auth.login.JDBCDigestLoginModule required;
21
- };
@@ -1,170 +0,0 @@
1
- //
2
- // The contents of this file are subject to the terms
3
- // of the Common Development and Distribution License
4
- // (the "License"). You may not use this file except
5
- // in compliance with the License.
6
- //
7
- // You can obtain a copy of the license at
8
- // glassfish/bootstrap/legal/CDDLv1.0.txt or
9
- // https://glassfish.dev.java.net/public/CDDLv1.0.html.
10
- // See the License for the specific language governing
11
- // permissions and limitations under the License.
12
- //
13
- // When distributing Covered Code, include this CDDL
14
- // HEADER in each file and include the License file at
15
- // glassfish/bootstrap/legal/CDDLv1.0.txt. If applicable,
16
- // add the following below this CDDL HEADER, with the
17
- // fields enclosed by brackets "[]" replaced with your
18
- // own identifying information: Portions Copyright [yyyy]
19
- // [name of copyright owner]
20
- //
21
-
22
- /* Copyright 2004 Sun Microsystems, Inc. All rights reserved. */
23
- /* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */
24
-
25
- // Core server classes get all permissions by default
26
- grant codeBase "file:${com.sun.aas.installRoot}/lib/-" {
27
- permission java.security.AllPermission;
28
- };
29
-
30
- // Core server classes get all permissions by default
31
- grant codeBase "file:${com.sun.aas.installRoot}/modules/-" {
32
- permission java.security.AllPermission;
33
- };
34
-
35
- // Felix classes get all permissions by default
36
- grant codeBase "file:${com.sun.aas.installRoot}/osgi/felix/bin/-" {
37
- permission java.security.AllPermission;
38
- };
39
-
40
- // jdmk classes get all permissions by default
41
- grant codeBase "file:${com.sun.aas.jdmkHome}/lib/-" {
42
- permission java.security.AllPermission;
43
- };
44
-
45
- // mfwk_instrum_tk.jar get all permissions by default
46
- grant codeBase "file:${com.sun.aas.mfwkHome}/lib/mfwk_instrum_tk.jar" {
47
- permission java.security.AllPermission;
48
- };
49
-
50
- // lockhart classes get all permissions by default
51
- grant codeBase "file:${com.sun.aas.webconsoleLib}/cc.jar" {
52
- permission java.security.AllPermission;
53
- };
54
-
55
- // jato classes get all permissions by default
56
- grant codeBase "file:${com.sun.aas.jatoRoot}/jato.jar" {
57
- permission java.security.AllPermission;
58
- };
59
-
60
- // JBI get all permissions by default
61
- grant codeBase "file:${com.sun.aas.installRoot}/jbi/-" {
62
- permission java.security.AllPermission;
63
- };
64
-
65
- // JBI instances get all permissions by default
66
- grant codeBase "file:${com.sun.aas.instanceRoot}/jbi/-" {
67
- permission java.security.AllPermission;
68
- };
69
-
70
- // Composite applications get all permissions by default
71
- grant codeBase "file:${com.sun.aas.instanceRoot}/applications/composite-applications/-" {
72
- permission java.security.AllPermission;
73
- };
74
-
75
- // iMQ classes get all permissions by default
76
- grant codeBase "file:${com.sun.aas.imqLib}/-" {
77
- permission java.security.AllPermission;
78
- };
79
-
80
- // ANT classes get all permissions by default
81
- grant codeBase "file:${com.sun.aas.antLib}/-" {
82
- permission java.security.AllPermission;
83
- };
84
-
85
- // Derby driver classes get all permissions by default
86
- grant codeBase "file:${com.sun.aas.derbyRoot}/lib/-" {
87
- permission java.security.AllPermission;
88
- };
89
-
90
- // Pointbase embedded server classes get all permissions by default
91
- grant codeBase "file:${com.sun.aas.pointbaseRoot}/lib/-" {
92
- permission java.security.AllPermission;
93
- };
94
-
95
- // Web Services classes get all permissions by default
96
- grant codeBase "file:${com.sun.aas.webServicesLib}/-" {
97
- permission java.security.AllPermission;
98
- };
99
-
100
- // permissions for avkit classes
101
- grant codeBase "file:${j2ee.appverification.home}/lib/-" {
102
- permission java.security.AllPermission;
103
- };
104
-
105
- // permissions for HADB jar file(s)
106
- grant codeBase "file:${com.sun.aas.hadbRoot}/lib/-" {
107
- permission java.security.AllPermission;
108
- };
109
-
110
- // permission for JDK's tools.jar to enable webservice annotation processing
111
- // at runtime by wsgen tool:
112
- // permission java.lang.RuntimePermission "createClassLoader";
113
- //
114
- // permission for JDK's tools.jar to sign JARs at runtime for
115
- // Java Web Start support:
116
- // permissions java.security.AllPermission;
117
- // on the advice of the JDK tools folks. Should be refined later.
118
- grant codeBase "file:${com.sun.aas.javaRoot}/lib/tools.jar" {
119
- permission java.security.AllPermission;
120
- };
121
-
122
- //Loading MBeans from anywhere, to take care of side effects of 6235678.
123
- grant {
124
- permission javax.management.MBeanTrustPermission "register" ;
125
- };
126
- //Loading MBeans from anywhere, to take care of side effects of 6235678.
127
-
128
-
129
- // Basic set of required permissions granted to all remaining code
130
- grant {
131
- //Workaround for bugs #6484935, 6513799
132
- permission java.lang.RuntimePermission "getProtectionDomain";
133
- permission com.sun.corba.ee.impl.presentation.rmi.DynamicAccessPermission "access";
134
- permission java.util.PropertyPermission "*", "read,write";
135
-
136
- permission java.lang.RuntimePermission "loadLibrary.*";
137
- permission java.lang.RuntimePermission "queuePrintJob";
138
- permission java.net.SocketPermission "*", "connect";
139
- permission java.io.FilePermission "<<ALL FILES>>", "read,write";
140
-
141
- // work-around for pointbase bug 4864405
142
- permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
143
- permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
144
-
145
- permission java.util.PropertyPermission "*", "read";
146
-
147
- permission java.lang.RuntimePermission "modifyThreadGroup";
148
- permission java.lang.RuntimePermission "getClassLoader";
149
- permission java.lang.RuntimePermission "setContextClassLoader";
150
- permission javax.management.MBeanPermission "[com.sun.messaging.jms.*:*]", "*";
151
- };
152
-
153
-
154
- // Following grant block is only required by Connectors. If Connectors
155
- // are not in use the recommendation is to remove this grant.
156
- grant {
157
- permission javax.security.auth.PrivateCredentialPermission "javax.resource.spi.security.PasswordCredential * \"*\"","read";
158
- };
159
-
160
- // Following grant block is only required for Reflection. If Reflection
161
- // is not in use the recommendation is to remove this section.
162
- grant {
163
- permission java.lang.RuntimePermission "accessDeclaredMembers";
164
- };
165
-
166
- // Permissions to invoke CORBA objects in server
167
- grant {
168
- permission com.sun.enterprise.security.CORBAObjectPermission "*", "*";
169
- };
170
-