FileNotFoundException when installing car into repository with packaging plugin 
when parent directories not created.
--------------------------------------------------------------------------------------------------------------------

         Key: GERONIMO-1847
         URL: http://issues.apache.org/jira/browse/GERONIMO-1847
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: deployment  
    Versions: 1.1    
    Reporter: John Sisson
 Assigned to: John Sisson 
     Fix For: 1.1


A FileNotFoundException was being thrown when the directories for the target 
file (car to be installed) have not been created.

8088297 [main] ERROR org.apache.geronimo.deployment.Deployer  - Deployment 
failed due to
java.io.FileNotFoundException: 
/home/sissonj/.geronimo-1.1.x-maven/repository/geronimo-test/cars/my-database-1.1-SNAPSHOT.car
 (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at 
org.apache.geronimo.system.configuration.ExecutableConfigurationUtil.createExecutableConfiguration(ExecutableConfigurationUtil.java:62)
        at 
org.apache.geronimo.plugin.packaging.MavenConfigStore.install(MavenConfigStore.java:71)
        at 
org.apache.geronimo.plugin.packaging.MavenConfigStore$$FastClassByCGLIB$$1728f55a.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to