[
https://issues.jboss.org/browse/TEIID-3419?page=com.atlassian.jira.plugin...
]
Andrej Šmigala reopened TEIID-3419:
-----------------------------------
When the data-roles-required is defined in standalone.xml, starting the server fails with
the following error. It appears there's no case clause for DATA_ROLES_REQUIRED_ELEMENT
here:
https://github.com/teiid/teiid/blob/a99491e13d1d8c38c6d2ebc26f8fd1d7fdbd2...
{noformat}
12:02:11,240 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught
exception during boot:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed
to parse configuration
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)
[jboss-as-controller-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
at org.jboss.as.server.ServerService.boot(ServerService.java:336)
[jboss-as-server-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:263)
[jboss-as-controller-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_65]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[510,13]
Message: JBAS014789: Unexpected element
'{urn:jboss:domain:teiid:1.0}data-roles-required' encountered
at
org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:86)
[jboss-as-controller-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
at
org.teiid.jboss.TeiidSubsystemParser.readElement(TeiidSubsystemParser.java:339)
at org.teiid.jboss.TeiidSubsystemParser.readElement(TeiidSubsystemParser.java:43)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]
at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
[staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]
at
org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1094)
[jboss-as-server-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
at
org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:469)
[jboss-as-server-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145)
[jboss-as-server-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107)
[jboss-as-server-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
[staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133)
[jboss-as-controller-7.5.3.Final-redhat-2.jar:7.5.3.Final-redhat-2]
... 3 more
12:02:11,243 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot
has failed in an unrecoverable manner; exiting. See previous messages for details.
{noformat}
Add ability to set a default role across all VDBs
-------------------------------------------------
Key: TEIID-3419
URL:
https://issues.jboss.org/browse/TEIID-3419
Project: Teiid
Issue Type: Feature Request
Components: Server
Reporter: Marc Shirley
Assignee: Steven Hawkins
Fix For: 8.11
There should be an ability to either set a default role across the server, or to restrict
access by default. For example, all VDBs have a default user role that is applied before
the VDB specific roles are. Alternatively, there could be a system wide flag that toggles
the behavior of VDBs when no roles are defined between accessible to all or denied to all.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)