Unsystematically SocketException when trying to deploy on Weblogic 8.1
----------------------------------------------------------------------
Key: MOJO-782
URL: http://jira.codehaus.org/browse/MOJO-782
Project: Mojo
Issue Type: Bug
Components: weblogic
Environment: Windows XP
Weblogic 8.1 SP1
JDK 1.4.1_03
Reporter: Julien HENRY
Hi,
I'm using the weblogic-maven-plugin for a while, and all works fine, except the
fact that sometimes, I have to run weblogic:deploy multiple times (sometimes
more than 20 times) to manage to make it works.
When it fails, I get:
{noformat}
[INFO] [weblogic:deploy]
[INFO] Running the requested task with infoDeployMojoBase[adminServerHostName =
localhost
adminServerPort = 7001
adminServerProtocol = t3
name = myApplication-1.0.0-SNAPSHOT
artifactPath =
D:\Projets\MyCust\myAppli\target/myApplication-1.0.0-SNAPSHOT.war
password = weblogic
remote = true
targetNames = myserver
userId = weblogic
project packaging = war]
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
at weblogic.net.http.HttpOutputStream.write(HttpOutputStream.java:20)
at
weblogic.utils.io.UnsyncByteArrayOutputStream.writeTo(UnsyncByteArrayOutputStream.java:104)
at
weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.java:117)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:308)
at
weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
at
weblogic.management.deploy.utils.DeployerHelper.uploadSource(DeployerHelper.java:668)
at
org.codehaus.mojo.weblogic8x.util.Task8x.uploadSource(Task8x.java:117)
at
org.codehaus.mojo.weblogic8x.util.DeployTask.constructTask(DeployTask.java:87)
at org.codehaus.mojo.weblogic.DeployMojo.getTask(DeployMojo.java:50)
at
org.codehaus.mojo.weblogic.DeployMojoBase.execute(DeployMojoBase.java:130)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] ManagementException thrown monitoring task
{noformat}
And there is nothing in WLS logs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email