[jbosstools-issues] [JBoss JIRA] (JBIDE-23997) JBoss data source file schema error

George Gastaldi (JIRA) issues at jboss.org
Fri Mar 10 19:05:00 EST 2017


    [ https://issues.jboss.org/browse/JBIDE-23997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13376342#comment-13376342 ] 

George Gastaldi commented on JBIDE-23997:
-----------------------------------------

Changed to Hibernate component, as this doesn´t seem to be a Forge issue

> JBoss data source file schema error
> -----------------------------------
>
>                 Key: JBIDE-23997
>                 URL: https://issues.jboss.org/browse/JBIDE-23997
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.4.3.Final
>            Reporter: Josef Kopriva
>             Fix For: LATER
>
>
> An error message is shown, when new datasource file is added to a project:
> {code:java}
> Description	Resource	Path	Location	Type
> cvc-elt.1: Cannot find the declaration of element 'datasources'.	sa-ds.xml	/testteast	line 2	XML Problem
> {code}
> Datasource file:
> {code:java}
> <?xml version="1.0" encoding="UTF-8"?>
> <datasources xmlns="http://www.jboss.org/ironjacamar/schema">
>  <datasource jndi-name="java:jboss/datasources/sa" enabled="true" 
>      use-java-context="true" pool-name="sa">
>   <connection-url>jdbc:h2:tcp://localhost/sakila</connection-url>
>   <driver>h2-1.3.161.jar</driver>
>   <pool></pool>
>   <security>
>    <user-name>sa</user-name>
>    <password></password>
>   </security>
>  </datasource>
> </datasources>
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list