[jbosstools-issues] [JBoss JIRA] (JBIDE-12452) Add support for creating and auto-discovering JBoss AS "user instances"

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Apr 22 10:27:53 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-12452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-12452:
----------------------------------------

    Assignee:     (was: Rob Stryker)

    
> Add support for creating and auto-discovering JBoss AS "user instances"
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-12452
>                 URL: https://issues.jboss.org/browse/JBIDE-12452
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: server
>    Affects Versions: 3.3.1.Final
>         Environment: Fedora 17 and above
> Fedora JBoss AS package (jboss-as)
>            Reporter: Dan Allen
>             Fix For: 4.1.0.Beta1
>
>
> The Fedora JBoss AS package supports creating user instances of JBoss AS. A user instance allows an unprivileged user to run JBoss AS out of that user's home directory. An instance is created using the jboss-as-cp script. For example:
> {code}
> jboss-as-cp -l $HOME/applications/jboss-as-user-instance
> {code}
> The user instance is skinny, meaning it only contains the configuration files for the instance. The libraries are kept in the system instance and referenced by the custom startup script:
> {code}
> JBOSS_BASE_DIR=$HOME/applications/jboss-as-user-instance /usr/share/jboss-as/bin/standalone.sh -c standalone-web.xml
> {code}
> JBoss Tools does not currently auto-detect these instances. However, it could offer to create and/or auto-discover them.
> It's possible to get JBoss Tools to control the user instance, but it requires tweaking the startup flags in the server configuration. Here's how:
> 1. Have JBoss AS auto-discover the system instance at /usr/share/java
> 2. Open the server launch configuration
> 3. Uncheck the box "Always update arguments related to the runtime" so our changes don't get overwritten
> 4. Replace the VM arguments that contain "jboss" with:
> -Dorg.jboss.boot.log.file=${env_var:HOME}/applications/jboss-as-user-instance/log/boot.log -Dlogging.configuration=file:${env_var:HOME}/applications/jboss-as-user-instance/configuration/logging.properties -Djboss.home.dir=/usr/share/jboss-as -Djboss.server.base.dir=${env_var:HOME}/applications/jboss-as-user-instance
> Having native support for JBoss AS to auto-detect and configure user instances would be ideal.
> If changes are required in the jboss-as-cp script, please use this issue tracker: https://bugzilla.redhat.com/buglist.cgi?component=jboss-as&product=Fedora&list_id=455824

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list