Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36533

I am running Jenkins on Websphere Application Server and trying to deploy my application on the same server using Websphere deployer plugin. While installing artifact, it is giving NotSerializableException for ConfigServiceServerProxy.

XMLWordPrintable

      I am running Jenkins on Websphere Application Server 8.5.5 and trying to deploy my application on the same server. It is a local one. I have installed the websphere deployer plugin. But during deployment I am facing an issue. While installing artifact, it is giving NotSerializableException for ConfigServiceServerProxy class. I am not able to resolve this issue since this class is getting added in preferences which is later checked against Serializable or not.

      [7/8/16 17:54:43:975 IST] 00000092 SystemErr R java.io.NotSerializableException: com.ibm.ws.management.configservice.ConfigServiceServerProxy
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1203)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:364)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.util.Hashtable.writeObject(Hashtable.java:971)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1060)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1515)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1197)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1397)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1193)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:364)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.interop.JMXObjectOutputStream.jmxWriteObject(JMXObjectOutputStream.java:116)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.GenericSerializer.marshall(GenericSerializer.java:134)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(ParameterSerializer.java:107)
      [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at org.apache.soap.rpc.RPCMessage.serializeParams(RPCMessage.java:333)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:307)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.Body.marshall(Body.java:145)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.Envelope.marshall(Envelope.java:195)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:387)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.rpc.Call.WASinvoke(Call.java:487)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient$8.run(SOAPConnectorClient.java:847)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:840)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:685)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:675)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:661)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:483)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.sun.proxy.$Proxy89.invoke(Unknown Source)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:224)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.websphere.management.application.AppManagementProxy.proxyInvokeNoRet(AppManagementProxy.java:167)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.websphere.management.application.AppManagementProxy.installApplication(AppManagementProxy.java:510)
      [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:237)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.deployArtifact(WebSphereDeployerPlugin.java:227)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:201)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.Run.execute(Run.java:1745)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.ResourceController.execute(ResourceController.java:98)
      [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.Executor.run(Executor.java:410)

      Please guide me in this because there is a lot of time getting spent here.

      Thanks,
      Shilpa

            Unassigned Unassigned
            shilpamurthy88 Shilpa N
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: