RE: I am getting error Caused by: org.apache.maven.wagon.TransferFailedException: Failed to create destination WebDAV collection (directory): /lpr-project/./css

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: I am getting error Caused by: org.apache.maven.wagon.TransferFailedException: Failed to create destination WebDAV collection (directory): /lpr-project/./css

Kumar, Ravendra-2
Hi, I am using maven 2.0.9-bin version

 

I am trying to deploy project site on  tomcat server  but getting a
error strange error

Any help will be highly appreciated.

 

My configuration  error is given below .

Pom.xml

-------------------------------------------

<distributionManagement>

    <site>

      <id>lpr.website</id>

      <url>dav:https://localhost:8080/lpr-project/</url>

    </site>

  </distributionManagement>

--------------------------------------------

 

Although if I use file:// /lpr-project is working perfectelly

 

Setting.xml

--------------

<server>

      <id>lpr.website</id>

      <username>ad</username>

      <password>pw</password>

    </server>

 

 

[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-site-plugin:2.0-beta-6:deploy' -->

[DEBUG]   (f) inputDirectory = D:\LPRProject\LPR\projects\target\site

[DEBUG]   (f) project = MavenProject: com.logica.heca.lpr:projects:1.0 @
D:\LPRProject\LPR\projects\pom.xml

[DEBUG]   (f) settings = org.apache.maven.settings.Settings@1afb0c7

[DEBUG] -- end configuration --

[INFO] [site:deploy]

WAGON_VERSION: 1.0-beta-2

https://localhost:8080/lpr-project/ - Session: Opened

https://localhost:8080/lpr-project/ - Session: Disconnecting

https://localhost:8080/lpr-project/ - Session: Disconnected

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Error uploading site

 

Embedded error: Failed to create destination WebDAV collection
(directory): /lpr-project/./css

SSL peer shut down incorrectly

[INFO]
------------------------------------------------------------------------

[DEBUG] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading
site

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:583)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:512)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:482)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:330)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:291)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:142)

        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.MojoExecutionException: Error
uploading site

        at
org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java
:200)

        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:451)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:558)

        ... 16 more

Caused by: org.apache.maven.wagon.TransferFailedException: Failed to
create destination WebDAV collection (directory): /lpr-project/./css

        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java
:270)

        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.putDirectory(WebDavW
agon.java:555)

        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.putDirectory(WebDavW
agon.java:549)

        at
org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java
:184)

        ... 18 more

Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed
connection during handshake

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
:808)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSo
cketImpl.java:1096)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.jav
a:623)

        at
com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:
59)

        at
hidden.org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.
write(HttpConnection.java:1360)

        at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

        at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)

        at
hidden.org.apache.commons.httpclient.HttpConnection.flushRequestOutputSt
ream(HttpConnection.java:790)

        at
hidden.org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMet
hodBase.java:2271)

        at
hidden.org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpM
ethodBase.java:2651)

        at
hidden.org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBa
se.java:1087)

        at
hidden.org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient
.java:643)

        at
hidden.org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient
.java:497)

        at
hidden.org.apache.webdav.lib.WebdavResource.mkcolMethod(WebdavResource.j
ava:4106)

        at
org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java
:264)

        ... 21 more

Caused by: java.io.EOFException: SSL peer shut down incorrectly

        at
com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
:789)

        ... 35 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 25 seconds

[INFO] Finished at: Tue Feb 17 22:06:55 CET 2009

[INFO] Final Memory: 7M/14M

[INFO]
------------------------------------------------------------------------



Please help Logica to respect the environment by not printing this email  /  Merci d'aider Logica à préserver l'environnement en évitant d'imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei die Umwelt zu schuetzen  /  Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

Loading...