GlassFishV3FileLayout

Differences between revisions 10 and 11
Revision 10 as of 2009-01-30 17:35:19
Size: 15318
Comment: page was renamed from GlassFishV3Pkgs_FileLayout
Revision 11 as of 2009-01-30 19:30:28
Size: 15320
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
'''/usr/bin'''
asadmin - main utility for GlassFish v3
<<BR>>
Question : GlassFish has the following additional scripts in it's bin. Where should these go? <<BR>>
Can they be placed in the install /usr/share/glassfishv3 ? <<BR>>
{{{
Thierry :
I would ship the main utilities in /usr/bin and the less-used ones in
/usr/share/glassfishv3/bin. asadmin clearly falls in the first category,
}}}
<<BR>>
Line 336: Line 325:

'''/usr/bin'''
asadmin - main utility for GlassFish v3
<<BR>>
Question : GlassFish has the following additional scripts in it's bin. Where should these go? <<BR>>
Can they be placed in the install /usr/share/glassfishv3 ? <<BR>>
{{{
Thierry :
I would ship the main utilities in /usr/bin and the less-used ones in
/usr/share/glassfishv3/bin. asadmin clearly falls in the first category,
}}}
<<BR>>

GlassFish V3 Packages & File Layout

This page is intended to flush out the Packages and associated file layout for GlassFish v3 Prelude in Jaunty.
GlassFish v3's default install looks very different from that expected in Ubuntu. GlassFish v3 will be a single source package with several binary packages described below.

Proposed Package Name : glassfishv3

Packages :

glassfishv3

/usr/bin/asadmin

/usr/share/glassfishv3/bin/jspc
/usr/share/glassfishv3/bin/startserv
/usr/share/glassfishv3/bin/stopserv

/etc/glassfishv3/config/asadminenv.conf
/etc/glassfishv3/config/asenv.conf
/etc/glassfishv3/config/glassfish.container

/usr/share/glassfishv3/modules/admin-cli.jar
/usr/share/glassfishv3/modules/api-exporter.jar
/usr/share/glassfishv3/modules/asm-all-repackaged.jar
/usr/share/glassfishv3/modules/branding.jar
/usr/share/glassfishv3/modules/cli-framework.jar
/usr/share/glassfishv3/modules/common-util.jar
/usr/share/glassfishv3/modules/config-api.jar
/usr/share/glassfishv3/modules/deployment-admin.jar
/usr/share/glassfishv3/modules/deployment-autodeploy.jar
/usr/share/glassfishv3/modules/deployment-common.jar
/usr/share/glassfishv3/modules/flashlight-agent.jar
/usr/share/glassfishv3/modules/flashlight-framework.jar
/usr/share/glassfishv3/modules/glassfish.jar
/usr/share/glassfishv3/modules/internal-api.jar
/usr/share/glassfishv3/modules/kernel.jar
/usr/share/glassfishv3/modules/launcher.jar
/usr/share/glassfishv3/modules/monitoring-core.jar
/usr/share/glassfishv3/modules/osgi-adapter.jar
/usr/share/glassfishv3/modules/pkg-client.jar
/usr/share/glassfishv3/modules/stats77.jar

/usr/share/glassfishv3/lib/jndi-properties.jar
/usr/share/glassfishv3/lib/package-appclient.xml
/usr/share/glassfishv3/lib/processLauncher.properties
/usr/share/glassfishv3/lib/processLauncher.xml
/usr/share/glassfishv3/lib/appclient/appclientlogin.conf
/usr/share/glassfishv3/lib/appclient/client.policy
/usr/share/glassfishv3/lib/appclient/wss-client-config-1.0.xml
/usr/share/glassfishv3/lib/appclient/wss-client-config-2.0.xml
/usr/share/glassfishv3/lib/registration/servicetag-registry.xml
/usr/share/glassfishv3/lib/templates/cacerts.jks
/usr/share/glassfishv3/lib/templates/default-web.xml
/usr/share/glassfishv3/lib/templates/docroot/index.html
/usr/share/glassfishv3/lib/templates/domain.xml
/usr/share/glassfishv3/lib/templates/domain.xml.xsl
/usr/share/glassfishv3/lib/templates/keyfile
/usr/share/glassfishv3/lib/templates/keystore.jks
/usr/share/glassfishv3/lib/templates/logging.properties
/usr/share/glassfishv3/lib/templates/login.conf
/usr/share/glassfishv3/lib/templates/profile.properties
/usr/share/glassfishv3/lib/templates/server.policy 

glassfishv3-common

/usr/share/glassfishv3/modules/annotation-framework.jar
/usr/share/glassfishv3/modules/ant.jar
/usr/share/glassfishv3/modules/connectors-internal-api.jar
/usr/share/glassfishv3/modules/container-common.jar
/usr/share/glassfishv3/modules/deployment-client.jar
/usr/share/glassfishv3/modules/deployment-javaee-core.jar
/usr/share/glassfishv3/modules/dol.jar
/usr/share/glassfishv3/modules/glassfish-naming.jar
/usr/share/glassfishv3/modules/inmemory.jacc.provider.jar
/usr/share/glassfishv3/modules/ldapbp-repackaged.jar
/usr/share/glassfishv3/modules/realms.jar
/usr/share/glassfishv3/modules/security.jar
/usr/share/glassfishv3/modules/securitycommon.jar
/usr/share/glassfishv3/modules/transaction-internal-api.jar

/usr/share/glassfishv3/lib/dtds/application-client_1_2.dtd
/usr/share/glassfishv3/lib/dtds/application-client_1_3.dtd
/usr/share/glassfishv3/lib/dtds/application_1_2.dtd
/usr/share/glassfishv3/lib/dtds/application_1_3.dtd
/usr/share/glassfishv3/lib/dtds/connector_1_0.dtd
/usr/share/glassfishv3/lib/dtds/ejb-jar_1_1.dtd
/usr/share/glassfishv3/lib/dtds/ejb-jar_2_0.dtd
/usr/share/glassfishv3/lib/dtds/sun-application-client-container_1_0.dtd
/usr/share/glassfishv3/lib/dtds/sun-application-client-container_1_1.dtd
/usr/share/glassfishv3/lib/dtds/sun-application-client-container_1_2.dtd
/usr/share/glassfishv3/lib/dtds/sun-application-client_1_3-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-application-client_1_4-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-application-client_1_4-1.dtd
/usr/share/glassfishv3/lib/dtds/sun-application-client_5_0-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-application_1_3-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-application_1_4-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-application_5_0-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-cmp-mapping_1_0.dtd
/usr/share/glassfishv3/lib/dtds/sun-cmp-mapping_1_1.dtd
/usr/share/glassfishv3/lib/dtds/sun-cmp-mapping_1_2.dtd
/usr/share/glassfishv3/lib/dtds/sun-connector_1_0-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-connector_1_5-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-domain_1_0.dtd
/usr/share/glassfishv3/lib/dtds/sun-domain_1_1.dtd
/usr/share/glassfishv3/lib/dtds/sun-domain_1_2.dtd
/usr/share/glassfishv3/lib/dtds/sun-domain_1_3.dtd
/usr/share/glassfishv3/lib/dtds/sun-ejb-jar_2_0-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-ejb-jar_2_0-1.dtd
/usr/share/glassfishv3/lib/dtds/sun-ejb-jar_2_1-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-ejb-jar_2_1-1.dtd
/usr/share/glassfishv3/lib/dtds/sun-ejb-jar_3_0-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-loadbalancer_1_0.dtd
/usr/share/glassfishv3/lib/dtds/sun-loadbalancer_1_1.dtd
/usr/share/glassfishv3/lib/dtds/sun-resources_1_0.dtd
/usr/share/glassfishv3/lib/dtds/sun-resources_1_1.dtd
/usr/share/glassfishv3/lib/dtds/sun-resources_1_2.dtd
/usr/share/glassfishv3/lib/dtds/sun-resources_1_3.dtd
/usr/share/glassfishv3/lib/dtds/sun-server_1_0.dtd
/usr/share/glassfishv3/lib/dtds/sun-web-app_2_3-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-web-app_2_3-1.dtd
/usr/share/glassfishv3/lib/dtds/sun-web-app_2_4-0.dtd
/usr/share/glassfishv3/lib/dtds/sun-web-app_2_4-1.dtd
/usr/share/glassfishv3/lib/dtds/sun-web-app_2_5-0.dtd
/usr/share/glassfishv3/lib/dtds/web-app_2_2.dtd
/usr/share/glassfishv3/lib/dtds/web-app_2_3.dtd
/usr/share/glassfishv3/lib/dtds/web-jsptaglibrary_1_1.dtd
/usr/share/glassfishv3/lib/dtds/web-jsptaglibrary_1_2.dtd
/usr/share/glassfishv3/lib/schemas/XMLSchema.dtd
/usr/share/glassfishv3/lib/schemas/application-client_1_4.xsd
/usr/share/glassfishv3/lib/schemas/application-client_5.xsd
/usr/share/glassfishv3/lib/schemas/application_1_4.xsd
/usr/share/glassfishv3/lib/schemas/application_5.xsd
/usr/share/glassfishv3/lib/schemas/connector_1_5.xsd
/usr/share/glassfishv3/lib/schemas/datatypes.dtd
/usr/share/glassfishv3/lib/schemas/ejb-jar_2_1.xsd
/usr/share/glassfishv3/lib/schemas/ejb-jar_3_0.xsd
/usr/share/glassfishv3/lib/schemas/j2ee_1_4.xsd
/usr/share/glassfishv3/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd
/usr/share/glassfishv3/lib/schemas/j2ee_web_services_1_1.xsd
/usr/share/glassfishv3/lib/schemas/j2ee_web_services_client_1_1.xsd
/usr/share/glassfishv3/lib/schemas/javaee_5.xsd
/usr/share/glassfishv3/lib/schemas/javaee_web_services_1_2.xsd
/usr/share/glassfishv3/lib/schemas/javaee_web_services_client_1_2.xsd
/usr/share/glassfishv3/lib/schemas/jax-rpc-ri-config.xsd
/usr/share/glassfishv3/lib/schemas/jsp_2_0.xsd
/usr/share/glassfishv3/lib/schemas/jsp_2_1.xsd
/usr/share/glassfishv3/lib/schemas/orm_1_0.xsd
/usr/share/glassfishv3/lib/schemas/persistence_1_0.xsd
/usr/share/glassfishv3/lib/schemas/web-app_2_4.xsd
/usr/share/glassfishv3/lib/schemas/web-app_2_5.xsd
/usr/share/glassfishv3/lib/schemas/web-jsptaglibrary_2_0.xsd
/usr/share/glassfishv3/lib/schemas/web-jsptaglibrary_2_1.xsd
/usr/share/glassfishv3/lib/schemas/xml.xsd 

glassfishv3-hk2

/usr/share/glassfishv3/modules/auto-depends.jar
/usr/share/glassfishv3/modules/config.jar
/usr/share/glassfishv3/modules/hk2-core.jar
/usr/share/glassfishv3/modules/hk2.jar
/usr/share/glassfishv3/modules/javax.xml.stream.jar
/usr/share/glassfishv3/modules/tiger-types-osgi.jar
/usr/share/glassfishv3/modules/wstx-asl.jar 

glassfishv3-api

/usr/share/glassfishv3/modules/glassfish-api.jar 
/usr/share/glassfishv3/modules/glassfish-ee-api.jar 
/usr/share/glassfishv3/modules/javax.activation.jar 
/usr/share/glassfishv3/modules/javax.annotation.jar 
/usr/share/glassfishv3/modules/javax.enterprise.deploy.jar 
/usr/share/glassfishv3/modules/javax.mail.jar 
/usr/share/glassfishv3/modules/javax.persistence.jar 
/usr/share/glassfishv3/modules/javax.resource.jar
/usr/share/glassfishv3/modules/javax.security.auth.message.jar 
/usr/share/glassfishv3/modules/javax.security.jacc.jar 
/usr/share/glassfishv3/modules/javax.servlet.jar 
/usr/share/glassfishv3/modules/javax.servlet.jsp.jar 
/usr/share/glassfishv3/modules/javax.transaction.jar 

glassfishv3-grizzly

/usr/share/glassfishv3/modules/grizzly-module.jar
/usr/share/glassfishv3/modules/grizzly-optionals.jar
/usr/share/glassfishv3/modules/gf-jruby-connector.jar
/usr/share/glassfishv3/modules/grizzly-jruby-module.jar
/usr/share/glassfishv3/modules/grizzly-jruby.jar 

glassfishv3-management

/usr/share/glassfishv3/modules/admin-util.jar
/usr/share/glassfishv3/modules/cli-optional.jar
/usr/share/glassfishv3/modules/server-mgmt.jar 

glassfishv3-amx

/usr/share/glassfishv3/modules/amx-api.jar
/usr/share/glassfishv3/modules/amx-impl.jar
/usr/share/glassfishv3/modules/glassfish-mbeanserver.jar
/usr/share/glassfishv3/modules/jmxremote_optional-repackaged.jar 

glassfishv3-gui

/usr/share/glassfishv3/lib/install/applications/admingui.war
/usr/share/glassfishv3/modules/console-branding-plugin.jar
/usr/share/glassfishv3/modules/console-common.jar
/usr/share/glassfishv3/modules/console-plugin-service.jar
/usr/share/glassfishv3/modules/console-security-plugin.jar
/usr/share/glassfishv3/modules/console-updatecenter-plugin.jar
/usr/share/glassfishv3/modules/dataprovider.jar
/usr/share/glassfishv3/modules/jsftemplating.jar 

glassfishv3-web

/usr/share/glassfishv3/modules/web/admin-core.jar
/usr/share/glassfishv3/modules/web/apache-commons.jar
/usr/share/glassfishv3/modules/web/el-impl.jar
/usr/share/glassfishv3/modules/web/gf-web-connector.jar
/usr/share/glassfishv3/modules/web/javax.servlet.jsp.jstl.jar
/usr/share/glassfishv3/modules/web/jsf-connector.jar
/usr/share/glassfishv3/modules/web/jsp-impl.jar
/usr/share/glassfishv3/modules/web/jstl-connector.jar
/usr/share/glassfishv3/modules/web/jstl-impl.jar
/usr/share/glassfishv3/modules/web/war-util.jar
/usr/share/glassfishv3/modules/web/web-ajp.jar
/usr/share/glassfishv3/modules/web/web-core.jar
/usr/share/glassfishv3/modules/web/web-glue.jar
/usr/share/glassfishv3/modules/web/web-gui-plugin-common.jar
/usr/share/glassfishv3/modules/web/web-naming.jar
/usr/share/glassfishv3/modules/web/websecurity.jar 
/usr/share/glassfishv3/modules/web/web-cli.jar
/usr/share/glassfishv3/modules/console-web-plugin.jar 

glassfishv3-jdbc

/usr/share/glassfishv3/modules/jdbc-admin.jar
/usr/share/glassfishv3/modules/console-jdbc-plugin.jar 
/usr/share/glassfishv3/lib/install/applications/__cp_jdbc_ra
/usr/share/glassfishv3/lib/install/applications/__cp_jdbc_ra/META-INF
/usr/share/glassfishv3/lib/install/applications/__cp_jdbc_ra/__cp_jdbc_ra.jar
/usr/share/glassfishv3/lib/install/applications/__cp_jdbc_ra/META-INF/MANIFEST.MF
/usr/share/glassfishv3/lib/install/applications/__cp_jdbc_ra/META-INF/ra.xml
/usr/share/glassfishv3/lib/install/applications/__ds_jdbc_ra
/usr/share/glassfishv3/lib/install/applications/__ds_jdbc_ra/META-INF
/usr/share/glassfishv3/lib/install/applications/__ds_jdbc_ra/__ds_jdbc_ra.jar
/usr/share/glassfishv3/lib/install/applications/__ds_jdbc_ra/META-INF/MANIFEST.MF
/usr/share/glassfishv3/lib/install/applications/__ds_jdbc_ra/META-INF/ra.xml
/usr/share/glassfishv3/lib/install/applications/__xa_jdbc_ra
/usr/share/glassfishv3/lib/install/applications/__xa_jdbc_ra/META-INF
/usr/share/glassfishv3/lib/install/applications/__xa_jdbc_ra/__xa_jdbc_ra.jar
/usr/share/glassfishv3/lib/install/applications/__xa_jdbc_ra/META-INF/MANIFEST.MF
/usr/share/glassfishv3/lib/install/applications/__xa_jdbc_ra/META-INF/ra.xml 

glassfishv3-jpa

/usr/share/glassfishv3/modules/jpa-connector.jar
/usr/share/glassfishv3/modules/org.eclipse.persistence.antlr.jar
/usr/share/glassfishv3/modules/org.eclipse.persistence.asm.jar
/usr/share/glassfishv3/modules/org.eclipse.persistence.core.jar
/usr/share/glassfishv3/modules/org.eclipse.persistence.jpa.jar
/usr/share/glassfishv3/modules/org.eclipse.persistence.oracle.jar 

glassfishv3-jsf

/usr/share/glassfishv3/modules/jsf-api.jar
/usr/share/glassfishv3/modules/web/jsf-impl.jar 

glassfishv3-jca

/usr/share/glassfishv3/modules/connectors-runtime.jar
/usr/share/glassfishv3/modules/gf-connectors-connector.jar
/usr/share/glassfishv3/modules/work-management.jar 

glassfishv3-jta

/usr/share/glassfishv3/modules/jta.jar 

glassfishv3-registration

/usr/share/glassfishv3/modules/commons-codec-repackaged.jar
/usr/share/glassfishv3/modules/glassfish-registration.jar
/usr/share/glassfishv3/modules/registration-api.jar
/usr/share/glassfishv3/modules/registration-impl.jar
/usr/share/glassfishv3/modules/sysnet-registration-repackaged.jar 

glassfishv3-felix

/usr/share/glassfishv3/felix/bin/felix.jar
/usr/share/glassfishv3/felix/bundle/org.apache.felix.shell.jar
/usr/share/glassfishv3/felix/bundle/org.apache.felix.shell.remote.jar
/usr/share/glassfishv3/felix/bundle/org.apache.felix.shell.tui.jar
/usr/share/glassfishv3/felix/conf/config.properties
/usr/share/glassfishv3/felix/conf/system.properties 

glasfishv3-doc

/usr/share/doc/glassfishv3/3RD-PARTY-LICENSE.txt
/usr/share/doc/glassfishv3/COPYRIGHT
/usr/share/doc/glassfishv3/LICENSE.txt
/usr/share/doc/glassfishv3/css
/usr/share/doc/glassfishv3/css/default.css
/usr/share/doc/glassfishv3/graphics
/usr/share/doc/glassfishv3/graphics/logo_sun.gif
/usr/share/doc/glassfishv3/features.html
/usr/share/doc/glassfishv3/copyright.html
/usr/share/doc/glassfishv3/about.html
/usr/share/doc/glassfishv3/quickstart.html 

Domains : /var/lib/glassfishv3
Default location for domains unless specifically redirected by user via asadmin
GlassFish will clean up only this domain location on purge. It is not aware of any user defined domains directories.

Logs: /var/log/glassfishv3
GlassFish domains currently generate logs within the domain directories <domaindir>/<domainname>/logs
In Ubuntu the logs should be directed to /var/log/glassfishv3
How do you handle user defined domains ?

/usr/bin asadmin - main utility for GlassFish v3
Question : GlassFish has the following additional scripts in it's bin. Where should these go?
Can they be placed in the install /usr/share/glassfishv3 ?

Thierry :
I would ship the main utilities in /usr/bin and the less-used ones in
/usr/share/glassfishv3/bin. asadmin clearly falls in the first category,


GlassFishV3FileLayout (last edited 2009-01-30 19:30:28 by sathyan-catari)