Connection Reset error while deploying in production author instance | Community
Skip to main content
New Participant
March 27, 2017
Solved

Connection Reset error while deploying in production author instance

  • March 27, 2017
  • 2 replies
  • 3177 views

Hello Guys,

Recently we moved to AEM CMS, we used Jenkins for build deployment and all our Dev and Testing went well.

However when we started deploying to our Production environment, we are getting below errors. Not able to track why we are getting this error. Appreciate if some one shed some light on this issue. Thanks for your time.

 

Part of error log :

  [DEBUG] >> "[0x0][0x0][0x0][0x0][0x0][0x84]Z{J[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]2[0x0][0x0][0x0]jcr_root/apps/dubaisports/templates/topscorerpage/PK[0x3][0x4][\n]"

[DEBUG] >> "[0x0][0x0][0x0][0x0][0x0][0x84]Z{J[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]-[0x0][0x0][0x0]jcr_root/apps/dubaisports" [DEBUG] Closing the connection. [DEBUG] Method retry handler returned false. Automatic recovery will not be attempted [DEBUG] Releasing connection back to connection manager. [DEBUG] Releasing connection back to connection manager. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] dubaisports ........................................ SUCCESS [  0.280 s] [INFO] infostrada-core .................................... SUCCESS [  1.670 s] [INFO] dubaisports - Core ................................. SUCCESS [  1.996 s] [INFO] dubaisports - UI apps .............................. FAILURE [  1.042 s] [INFO] dubaisports - UI content ........................... SKIPPED [INFO] dubaisports - Integration Tests Bundles ............ SKIPPED [INFO] dubaisports - Integration Tests Launcher ........... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.808 s [INFO] Finished at: 2017-03-27T11:20:07+04:00 [INFO] Final Memory: 48M/1299M [INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.24:install (install-package) on project dubaisports.ui.apps: Connection reset -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.24:install (install-package) on project dubaisports.ui.apps: Connection reset at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Connection reset at com.day.jcr.vault.maven.mgr.AbstractPackageManagerMojo.postRequest(AbstractPackageManagerMojo.java:261) at com.day.jcr.vault.maven.mgr.PackageInstallMojo.uploadPackage(PackageInstallMojo.java:267) at com.day.jcr.vault.maven.mgr.PackageInstallMojo.execute(PackageInstallMojo.java:200) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: java.net.SocketException: Connection reset at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122) at org.apache.commons.httpclient.WireLogOutputStream.write(WireLogOutputStream.java:68) at org.apache.commons.httpclient.methods.multipart.FilePart.sendData(FilePart.java:223) at org.apache.commons.httpclient.methods.multipart.Part.send(Part.java:312) at org.apache.commons.httpclient.methods.multipart.Part.sendParts(Part.java:385) at org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity.writeRequest(MultipartRequestEntity.java:164) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.day.jcr.vault.maven.mgr.AbstractPackageManagerMojo.postRequest(AbstractPackageManagerMojo.java:228) ... 24 more[ERROR][ERROR] 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by sandeepm744005

Can you please make sure that AEM instance is up and working ? it is failing during (install-package), check configuration in the Jenkins script if correct instance name, port and username/pwd provided?

 
 

2 replies

siraj_dhAuthor
New Participant
March 27, 2017

Thanks Sandeep, yes it's the password issue.

sandeepm744005
sandeepm744005Accepted solution
New Participant
March 27, 2017

Can you please make sure that AEM instance is up and working ? it is failing during (install-package), check configuration in the Jenkins script if correct instance name, port and username/pwd provided?