[jboss-jira] [JBoss JIRA] (WFLY-3013) Cannot add exploded deployments through CLI on Windows

Tomaz Cerar (JIRA) issues at jboss.org
Tue Feb 25 10:53:47 EST 2014


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

Tomaz Cerar commented on WFLY-3013:
-----------------------------------

you should escape \ 

so this should work:

{noformat}
/deployment=eardeployment1.ear:add(content=[{"path"=>"C:\\QA\\jmartisk\\exploded_deployments\\eardeployment1.ear","archive"=>false}],enabled=true)
{noformat}
                
> Cannot add exploded deployments through CLI on Windows
> ------------------------------------------------------
>
>                 Key: WFLY-3013
>                 URL: https://issues.jboss.org/browse/WFLY-3013
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>    Affects Versions: 8.0.0.Final
>            Reporter: Jan Martiska
>            Priority: Minor
>
> Try to deploy a directory (exploded deployment) in Windows like this:
> {noformat}
> /deployment=eardeployment1.ear:add(content=[{"path"=>"C:\QA\jmartisk\exploded_deployments\eardeployment1.ear","archive"=>false}],enabled=true)
> {noformat}
> it fails with an error like this:
> {noformat}
>     "failure-description" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"eardeployment1.ear\".STRUCTURE"
>  => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"eardeployment1.ear\".STRUCTURE: JBAS018733:
>  Failed to process phase STRUCTURE of deployment \"eardeployment1.ear\"
>     Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018740: Failed to mount deployment
> content
>     Caused by: java.io.FileNotFoundException: C:\\QA\\jmartisk\\wildfly-8.0.1.Final-SNAPSHOT\\QAjmartiskexploded_deploymentseardeployment1.ear (The filename, directory name, or volume label synt
> ax is incorrect)"}},
> {noformat}
> The same command works in Linux.

--
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