[JBoss JIRA] (AS7-2171) Revisit deployment triggering subsystem startup
by Thomas Diesler (Created) (JIRA)
Revisit deployment triggering subsystem startup
-----------------------------------------------
Key: AS7-2171
URL: https://issues.jboss.org/browse/AS7-2171
Project: Application Server 7
Issue Type: Task
Components: OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Currently the RestEasyIntegrationTestCase deploys a JAXRS endpoint that integrates with an OSGi service. The endoint deployment does not trigger the OSGi subsystem to start up, but depends on the compendium being deployed. The compendium gets deployed during OSGi subsystem startup.
There is currently no way for a deployment foo to declare a dependency on deployment bar when bar gets deployed during subsystem startup, which gets triggered by deployment foo.
OSGi has the notion of dynamic package import which seems to be required here for non-osgi deployments
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (AS7-1752) Starting multiple standalone servers from the same install is not clean
by Brian Stansberry (JIRA)
Starting multiple standalone servers from the same install is not clean
-----------------------------------------------------------------------
Key: AS7-1752
URL: https://issues.jboss.org/browse/AS7-1752
Project: Application Server 7
Issue Type: Task
Components: Server
Affects Versions: 7.0.1.Final, 7.0.0.Final
Reporter: Brian Stansberry
Fix For: 7.1.0.CR1
It should be easy to copy the standalone dir to another dir (say, "serverB" in the same level in the FS tree) and launch a second server using ./standalone.sh -Djboss.server.base.dir=serverB
It somewhat works, but things that aren't as smooth as they should be:
a) The resolution of jboss.server.base.dir isn't very smart. For example, to do the common thing and launch the script from within the bin dir you have to either use an absolute path to instance1/2 or do something kludgey like:
./standalone.sh -Djboss.server.base.dir=../serverB
If the path is relative and resolving it doesn't result in a file that exists, an attempt should be made to resolve against jboss.home.dir.
2) The launch script directly references the standalone/configuration/logging.properties and standalone/log/boot.log files. So, if those files aren't present the server doesn't boot properly, and both, e.g. serverA and serverB will use the standalone/log/boot.log as their boot log file (where logging goes until the boot process starts the logging subsystem.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years