[Issue 2114] New - Tomcat6xAdapter is not serilizable, so deploying war from slave fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 2114] New - Tomcat6xAdapter is not serilizable, so deploying war from slave fails

dsheth
https://hudson.dev.java.net/issues/show_bug.cgi?id=2114
                 Issue #|2114
                 Summary|Tomcat6xAdapter is not serilizable, so deploying war f
                        |rom slave fails
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|master-slave
             Assigned to|issues@hudson
             Reported by|dsheth






------- Additional comments from [hidden email] Wed Jul 23 19:03:39 +0000 2008 -------
When running a job on a slave machine, and the job uses the "Deploy war to a
container" post build action, the job fails with

FATAL: remote file operation failed
hudson.util.IOException2: remote file operation failed
        at hudson.FilePath.act(FilePath.java:311)
        at
hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:42)
        at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:37)
        at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309)
        at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:438)
        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282)
        at hudson.model.Run.run(Run.java:802)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:203)
        at hudson.model.ResourceController.execute(ResourceController.java:70)
        at hudson.model.Executor.run(Executor.java:88)
Caused by: java.io.IOException: Unable to serialize
hudson.FilePath$FileCallableWrapper@74e20781
        at hudson.remoting.UserRequest.serialize(UserRequest.java:103)
        at hudson.remoting.UserRequest.<init>(UserRequest.java:37)
        at hudson.remoting.Channel.call(Channel.java:391)
        at hudson.FilePath.act(FilePath.java:308)
        ... 9 more
Caused by: java.io.NotSerializableException: hudson.plugins.deploy.Tomcat6xAdapter
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
        at hudson.remoting.UserRequest.serialize(UserRequest.java:100)
        ... 12 more

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 2114] Tomcat6xAdapter is not serilizable, so deploying war from slave fails

Kohsuke Kawaguchi
Administrator
https://hudson.dev.java.net/issues/show_bug.cgi?id=2114



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Aug  6 01:24:37 +0000 2008 -------
Fixed in the deploy plugin 1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]