EAR Plugin - throws SocketException in unix server


(KrishnaMoorthy Damodaran) #1

It is simple ear plugin… with only appDirName… Same script is working fine in windows pc… but it is not working in Unix box(Jenkins CI server)…

by: org.gradle.api.UncheckedIOException: java.net.SocketException: Network is unreachable 20:49:40.629 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.plugins.ear.descriptor.internal.DefaultDeploymentDescriptor.readFrom(DefaultDeploymentDescriptor.groovy:121) 20:49:40.629 [ERROR] [org.gradle.BuildExceptionReporter] at

org.gradle.plugins.ear.descriptor.DeploymentDescriptor$readFrom.callCurrent(Unknown Source) 20:49:40.630 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.plugins.ear.descriptor.internal.DefaultDeploymentDescriptor.(DefaultDeploymentDescriptor.groovy:58) 20:49:40.630 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.plugins.ear.descriptor.internal.DefaultDeploymentDescriptor.(DefaultDeploymentDescriptor.groovy:49) 20:49:40.630 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.plugins.ear.EarPluginConvention.(EarPluginConvention.groovy:67) 20:49:40.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.plugins.ear.EarPluginConvention_Decorated.(Unknown Source) 20:49:40.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.DirectInstantiator.newInstance(DirectInstantiator.java:39)