[jboss-jira] [JBoss JIRA] Created: (JBBOOT-44) Provide option to create default server configuration in ServerFactory
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Mon Apr 20 17:46:22 EDT 2009
Provide option to create default server configuration in ServerFactory
----------------------------------------------------------------------
Key: JBBOOT-44
URL: https://jira.jboss.org/jira/browse/JBBOOT-44
Project: JBoss Bootstrap
Issue Type: Feature Request
Components: spi
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 0.1.2
Jesper notes:
server = ServerFactory.createServer("org.jboss.bootstrap.impl.mc.server.MCServerImpl", classLoader);
config = server.getConfiguration();
config.bootstrapHome("something"): // << NPE
...because the configuration is not provided. Make:
server = ServerFactory.createServer("org.jboss.bootstrap.impl.mc.server.MCServerImpl", "fqn.Config.Object",classLoader);
...to create a default configuration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list