[jboss-jira] [JBoss JIRA] (AS7-3654) Handling of slot attribute is not done correctly
Facundo Contrera (JIRA)
jira-events at lists.jboss.org
Fri Feb 10 06:58:48 EST 2012
[ https://issues.jboss.org/browse/AS7-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665596#comment-12665596 ]
Facundo Contrera commented on AS7-3654:
---------------------------------------
This is the driver define I wanted to use. The name of the slot (5.1.7) is the same name of the folder beside the main folder
This is the "standalone.xml":
<drivers>
<driver name="mysql-driver-5.1.7" module="jboss.jdbc-driver.mysql" slot="5.1.7">
<xa-datasource-class>
com.mysql.jdbc.Driver
</xa-datasource-class>
</driver>
</drivers>
This is the "module.xml":
<module xmlns="urn:jboss:module:1.1" name="jboss.jdbc-driver.mysql" slot="5.1.7">
<dependencies>
<!-- Must be first -->
<module name="javax.api"/>
</dependencies>
<resources>
<resource-root path="mysql-connector-java-5.1.7-bin2.jar"/>
<!-- Insert resources here -->
</resources>
</module>
I'll be looking forward for your answer. Thank you very much.
> Handling of slot attribute is not done correctly
> ------------------------------------------------
>
> Key: AS7-3654
> URL: https://issues.jboss.org/browse/AS7-3654
> Project: Application Server 7
> Issue Type: Bug
> Components: JCA
> Affects Versions: 7.1.0.CR1b
> Reporter: Facundo Contrera
> Assignee: Stefano Maestri
> Labels: driver, main, module, slot
>
> I use SLOT attribute in the driver element to reference an speficic version instead of using main (default one), but when I start up the JBoss the attribute is erased and it uses always the .jar file inside the main folder.
> I tested deleting the main folder, so as to be sure the JBoss was using my .jar inside the slot folder, but it doesn't work.
> From looking into code, functionality is partly there but it does not work as it should.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list