Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Environment:Windows XP
Weblogic 8.1 SP1
JDK 1.4.1_03
-
Number of attachments :
Description
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:
[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
And there is nothing in WLS logs.
This is a weblogic bug. See the various release notes to see when it was fixed. I have seen it on jrockit running on windows xp.