Hmm, it works with default (non RemoteModuleLoader) usage.
I'll try the rebase, but I doubt it will change anything.
On Mar 17, 2011, at 5:49 PM, Anil Saldhana wrote:
Yesterday, we replaced "jaas" with
"security-domains". Pull upstream.
On 03/17/2011 11:40 AM, Ales Justin wrote:
> OK, couldn't resist playing with this last night,
> so I hacked a simple "remote" ModuleLoader.
>
> *
https://github.com/alesj/jboss-modules/blob/f1debb42023bc720708c53dd1801b...
>
> It gets me pretty far.
> Initial issue is to have logging module already locally, dunno really why.
>
> Then it all fails with configuration scanning.
> Any idea why?
>
>
> 17:17:07,601 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service
jboss.as.server-controller: org.jboss.msc.service.StartException in service
jboss.as.server-controller:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
> at
org.jboss.as.server.ServerControllerService.start(ServerControllerService.java:146)
> at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
> at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_22]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_22]
> at java.lang.Thread.run(Thread.java:680) [:1.6.0_22]
> Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException:
Failed to parse configuration
> at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:120)
> at
org.jboss.as.server.ServerControllerService.start(ServerControllerService.java:144)
> ... 4 more
> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[143,19]
> Message: Unexpected element '{urn:jboss:domain:security:1.0}jaas'
encountered
> at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:65)
> at
org.jboss.as.security.SecuritySubsystemParser.readElement(SecuritySubsystemParser.java:118)
> at
org.jboss.as.security.SecuritySubsystemParser.readElement(SecuritySubsystemParser.java:73)
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
> at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
> at
org.jboss.as.controller.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:390)
> at
org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:159)
> at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:92)
> at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:80)
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
> at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
> at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112)
> ... 5 more
>
> 17:17:07,607 ERROR [stderr] java.util.concurrent.ExecutionException: Operation
failed
> 17:17:07,607 ERROR [org.jboss.as] JBoss AS 7.0.0.Beta2 "(TBD)" started
(with errors) in 118502ms - Started 16 of 17 services (1 services failed or missing
dependencies, 0 services are passive or on-demand)
> 17:17:07,607 ERROR [stderr] at
org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
> 17:17:07,607 ERROR [stderr] at
org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
> 17:17:07,607 ERROR [stderr] at org.jboss.as.server.Main.main(Main.java:83)
> 17:17:07,607 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> 17:17:07,607 ERROR [stderr] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 17:17:07,607 ERROR [stderr] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 17:17:07,608 ERROR [stderr] at java.lang.reflect.Method.invoke(Method.java:597)
> 17:17:07,608 ERROR [stderr] at org.jboss.modules.Module.run(Module.java:261)
> 17:17:07,608 ERROR [stderr] at org.jboss.modules.Main.main(Main.java:236)
> 17:17:07,608 ERROR [stderr] Caused by: org.jboss.msc.service.StartException in
service jboss.as.server-controller:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
> 17:17:07,608 ERROR [stderr] at
org.jboss.as.server.ServerControllerService.start(ServerControllerService.java:146)
> 17:17:07,608 ERROR [stderr] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
> 17:17:07,608 ERROR [stderr] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 17:17:07,608 ERROR [stderr] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 17:17:07,609 ERROR [stderr] at java.lang.Thread.run(Thread.java:680)
> 17:17:07,609 ERROR [stderr] Caused by:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
> 17:17:07,609 ERROR [stderr] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:120)
> 17:17:07,609 ERROR [stderr] at
org.jboss.as.server.ServerControllerService.start(ServerControllerService.java:144)
> 17:17:07,609 ERROR [stderr] ... 4 more
> 17:17:07,609 ERROR [stderr] Caused by: javax.xml.stream.XMLStreamException:
ParseError at [row,col]:[143,19]
> 17:17:07,609 ERROR [stderr] Message: Unexpected element
'{urn:jboss:domain:security:1.0}jaas' encountered
> 17:17:07,609 ERROR [stderr] at
org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:65)
> 17:17:07,610 ERROR [stderr] at
org.jboss.as.security.SecuritySubsystemParser.readElement(SecuritySubsystemParser.java:118)
> 17:17:07,610 ERROR [stderr] at
org.jboss.as.security.SecuritySubsystemParser.readElement(SecuritySubsystemParser.java:73)
> 17:17:07,610 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
> 17:17:07,610 ERROR [stderr] at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
> 17:17:07,611 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:390)
> 17:17:07,611 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:159)
> 17:17:07,611 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:92)
> 17:17:07,611 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:80)
> 17:17:07,611 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
> 17:17:07,611 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
> 17:17:07,611 ERROR [stderr] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112)
> 17:17:07,611 ERROR [stderr] ... 5 more
>
> On Mar 16, 2011, at 3:08 PM, David M. Lloyd wrote:
>
>> Sure, long term I think we should definitely come up with something like
>> this. However actually doing this is more complex than you'd think.
>> For now we need to keep our eye on the prize and get a feature-complete
>> AS7 GA out the door.
>>
>> On 03/16/2011 09:00 AM, Ales Justin wrote:
>>> Since it's all modularized now.
>>> What about if we ship really small,
>>> and allow for things to be pulled / downloaded later?
>>>
>>> It could be experimental to start with,
>>> and if it proves to be "popular", we could make it default.
>>>
>>> By default we would still pack all bins,
>>> or you could download pre-configred lazy module-pull AS.
>>> And setup some
jboss.org JBoss Modules custom repo,
>>> to simplify lookup, almost the same way we do it now locally.
>
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev