xsa lefter [
http://community.jboss.org/people/xsalefter] commented on the document
"JBoss AS7 User Guide"
To view all comments on this document, visit:
http://community.jboss.org/docs/DOC-16068#comment-5775
--------------------------------------------------
Just download and try running it on vista, then got:
18:14:13,737 INFO [org.jboss.modules] (main) JBoss Modules version 1.0.0.Beta16
18:14:14,034 INFO [org.jboss.as.process.Host Controller.status] (main) Starting process
'Host Controller'
[Host Controller] 18:14:14,661 INFO [org.jboss.modules] (main) JBoss Modules version
1.0.0.Beta16
[Host Controller] 18:14:15,134 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.0.Beta7
[Host Controller] 18:14:15,714 INFO [org.jboss.as.domain.controller] (MSC service thread
1-4) Starting Domain Controller
[Host Controller] 18:14:16,539 ERROR [org.jboss.as.domain.controller] (MSC service thread
1-4) failed to start domain controller:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
[Host Controller] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:120)
[Host Controller] at
org.jboss.as.domain.controller.DomainControllerService.loadLocalDomainModel(DomainControllerService.java:185)
[Host Controller] at
org.jboss.as.domain.controller.DomainControllerService.startMasterDomainController(DomainControllerService.java:137)
[Host Controller] at
org.jboss.as.domain.controller.DomainControllerService.start(DomainControllerService.java:91)
[Host Controller] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
[Host Controller] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
[:1.6.0_06]
[Host Controller] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[:1.6.0_06]
[Host Controller] at java.lang.Thread.run(Thread.java:619) [:1.6.0_06]
[Host Controller] Caused by: javax.xml.stream.XMLStreamException:
org.jboss.jca.common.api.validator.ValidateException: jndiName (xml attribure jndi-name)
is required in org.jboss.jca.common.metadata.ds.DataSourceImpl
[Host Controller] at
org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$NewDataSourceSubsystemParser.readElement(DataSourcesExtension.java:449)
[Host Controller] at
org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$NewDataSourceSubsystemParser.readElement(DataSourcesExtension.java:170)
[Host Controller] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
[Host Controller] at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
[Host Controller] at
org.jboss.as.controller.parsing.DomainXml.parseProfiles(DomainXml.java:516)
[Host Controller] at
org.jboss.as.controller.parsing.DomainXml.readDomainElement(DomainXml.java:186)
[Host Controller] at
org.jboss.as.controller.parsing.DomainXml.readElement(DomainXml.java:88)
[Host Controller] at
org.jboss.as.controller.parsing.DomainXml.readElement(DomainXml.java:80)
[Host Controller] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
[Host Controller] at
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
[Host Controller] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112)
[Host Controller] ... 7 more
[Host Controller] Caused by: org.jboss.jca.common.api.validator.ValidateException:
jndiName (xml attribure jndi-name) is required in
org.jboss.jca.common.metadata.ds.DataSourceImpl
[Host Controller] at
org.jboss.jca.common.metadata.ds.DataSourceAbstractImpl.partialCommonValidation(DataSourceAbstractImpl.java:262)
[Host Controller] at
org.jboss.jca.common.metadata.ds.DataSourceAbstractImpl.<init>(DataSourceAbstractImpl.java:142)
[Host Controller] at
org.jboss.jca.common.metadata.ds.DataSourceImpl.<init>(DataSourceImpl.java:90)
[Host Controller] at
org.jboss.jca.common.metadata.ds.DsParser.parseDataSource(DsParser.java:375)
[Host Controller] at
org.jboss.jca.common.metadata.ds.DsParser.parseDataSources(DsParser.java:157)
[Host Controller] at
org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:112)
[Host Controller] at
org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$NewDataSourceSubsystemParser.readElement(DataSourcesExtension.java:437)
[Host Controller] ... 17 more
Any idea?
--------------------------------------------------