[jbosstools-issues] [JBoss JIRA] (JBIDE-12491) JBT Doesn't place the JDBC Driver correctly

Marek Novotny (JIRA) jira-events at lists.jboss.org
Mon Sep 3 10:18:32 EDT 2012


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

Marek Novotny commented on JBIDE-12491:
---------------------------------------

Yes, the change is needed, because deployment of JDBC driver is named by exact file name which is copied into jboss-as-7.1.x/standalone/deployment/ directory. That file is provided by user to a seamgen setup or in JBTools while you configuring the Database connection. I tried to keep the databaseType variable, but that requires to define Driver in standalone configuration file or create it through admin CLI or Web console. I asked Max on IRC sometimes ago how is it done in JBTools and the result was to use just filename of jdbc driver which is copied into AS 7 deployment.
                
> JBT Doesn't place the JDBC Driver correctly
> -------------------------------------------
>
>                 Key: JBIDE-12491
>                 URL: https://issues.jboss.org/browse/JBIDE-12491
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam 2
>         Environment: Juno, JBT Daily Plugin
>            Reporter: Daniel Hinojosa
>            Assignee: Alexey Kazakov
>             Fix For: 3.3.2, 4.0.0.Alpha1
>
>
> in the ds.xml file. the following gets generated under driver. Works fine under regular seam-gen.
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <datasources xmlns="http://www.jboss.org/ironjacamar/schema"
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>              xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://www.jboss.org/ironjacamar/schema/datasources_1_0.xsd">
>     <datasource
>             jndi-name="nationalparkDatasource"
>             enabled="true"
>             use-java-context="true" pool-name="nationalparkDatasource_pool">
>         <connection-url>jdbc:hsqldb:MyDB</connection-url>
>         <driver>[Ljava.lang.String;@4633819a</driver>
>         <security>
>             <user-name>sa</user-name>
>             <password></password>
>         </security>
>     </datasource>
> </datasources>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list