[jboss-jira] [JBoss JIRA] (AS7-5616) CLI deployment archive problem containing jdbc driver and datasource

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Mon Sep 24 10:48:35 EDT 2012


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

Alexey Loubyansky commented on AS7-5616:
----------------------------------------

A more general issue is any batch or any composite operation that deploys a driver and in the subsequent step adds a datasource using the driver will be affected by the issue.
                
> CLI deployment archive problem containing jdbc driver and datasource
> --------------------------------------------------------------------
>
>                 Key: AS7-5616
>                 URL: https://issues.jboss.org/browse/AS7-5616
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: Stefano Maestri
>            Assignee: Stefano Maestri
>             Fix For: 7.1.4.Final (EAP)
>
>
> Hi,
>  
> First of all, the new CLI deployment archive feature of 7.2.x solves a lot of problems for my migration from 5.1! I have 20+ standalone servers that now can be configured at deploy-time. Thanks!
>  
> Playing with the latest nightly build from yesterday, my CLI archive consists of the following;
>  
> - mywebapp.war
> - postgresql-9.1-902.jdbc4.jar
> - deploy.scr
> - undeploy.scr
>  
> deploy.scr has the following lines;
>  
> deploy postgresql-9.1-902.jdbc4.jar
> data-source add --name=MyDS --jndi-name=java:jboss/datasources/MyDS --driver-name=postgresql-9.1-902.jdbc4.jar --connection-url=[not important for this example]
> deploy mywebapp.war
>  
> That is, install my jdbc driver, create the data-source, and finally deploy my webapp which uses the data-source. This does not work :-( The error is;
>  
> [standalone at localhost:9999 /] deploy mycliarchive.cli
> ......
> Failed to execute archive script: {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS010468: Driver named \"postgresql-9.1-902.jdbc4.jar\" is not installed."}}
>  

--
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 jboss-jira mailing list