Mantis - Resin
Viewing Issue Advanced Details
4017 minor always 04-28-10 08:33 05-20-10 10:14
ferg  
ferg  
normal  
closed  
fixed  
none    
none 4.0.7  
0004017: client deploy issues
(rep by Mattias Jiderhamn)

After adding a commitmessage, which according to the Wiki is optional,
I'm told I need to add a <resin:DeployService /> tag.
When reading http://www.caucho.com/resin/admin/deploy.xtp [^] carefully, the
text says <resin:DeployService /> but the example shows
<resin:RemoteDeploy/>
Maybe update the docs?

I'm still getting the client side exception however. Possibly this in
the server logs is related???

[2010-04-25 09:39:02.116] "deploy@resin.caucho"
[2010-04-25 09:39:02.116] 3L/* defun
com.caucho.server.admin.DeployCommitListQuery [_commitList] */
[2010-04-25 09:39:02.116] object
com.caucho.server.admin.DeployCommitListQuery (0)
[2010-04-25 09:39:02.117] _commitList: list [string (0000001)
[2010-04-25 09:39:02.117] 0: "1e784a641b0ca613561d8ceebc93f0c3697464ed"
.....
[2010-04-25 09:39:02.557] 1963: "4595088616403c1f77e7c439381bebdf850116d0"
[2010-04-25 09:39:02.557] 1964: "45978c1f355a0ee077bd4b9bcc175645237699a0"
[2010-04-25 09:39:02.558] TcpConnection[id=4] closing connection
TcpConnection[id=http--8080-4,http://*:8080,CLOSED], [^] total=8
[2010-04-25 09:39:02.559] com.caucho.vfs.ClientDisconnectException:
unknown exception=-1
at com.caucho.vfs.JniStream.exception(JniStream.java:156)
at com.caucho.vfs.JniStream.write(JniStream.java:121)
at com.caucho.vfs.WriteStream.close(WriteStream.java:1223)
at
com.caucho.server.connection.TcpConnection.closeImpl(TcpConnection.java:1002)
at com.caucho.server.connection.TcpConnection.close(TcpConnection.java:960)
at
com.caucho.server.connection.TcpDuplexController.closeImpl(TcpDuplexController.java:209)
at
com.caucho.server.connection.TcpDuplexController.close(TcpDuplexController.java:187)
at
com.caucho.server.connection.TcpDuplexController.serviceRead(TcpDuplexController.java:174)
at
com.caucho.server.connection.TcpConnection$DuplexReadTask.doTask(TcpConnection.java:1304)
at
com.caucho.server.connection.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1137)
at
com.caucho.server.connection.TcpConnection$DuplexReadTask.run(TcpConnection.java:1283)
at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
[2010-04-25 09:39:02.562] TcpDuplexController[null,closed] was not
processing any data. Shutting down.
[2010-04-25 09:39:02.562] TcpDuplexController[null,closed] was not
processing any data. Shutting down.
[2010-04-25 09:39:02.562] 1968: "45a23eb4953a8caf415afc5820887d160bfbb035"
[2010-04-25 09:39:02.562] 1969: "45a40c537ed3cc0d8b271d3ad4105d4a36af9402"
...
[2010-04-25 09:39:03.577] 10978: "fff16ae185861a99959807fb2247cef6da0c7a3b"
[2010-04-25 09:39:03.577] 10979: "fff3417c3c8888850b61159094928644cca69153"
[2010-04-25 09:39:03.577] packet-end

</Mattias>

Mattias Jiderhamn wrote (2010-04-23 16:17):
> > Turned on finest logging. This could possibly be related.
> >
> > [2010-04-23 16:13:34.097] com.caucho.hessian.io.HessianFieldException:
> > com.caucho.server.admin.DeployCommitListQuery._commitList: expected
> > string at end of file
> > ...
> >
> >
> > Mattias Jiderhamn wrote (2010-04-23 16:05):
> >
>> >> I thought I'd try out remote deployment but the documentation is a bit
>> >> inconsistent.
>> >> According to http://www.caucho.com/resin/admin/deploy.xtp [^] there should
>> >> be a<resin:RemoteDeploy/> tag in the configuration, however this tag is
>> >> not mentioned at http://blog.caucho.com/?p=134 [^] and does not seem to
>> >> exist (in 4.0.3).
>> >> When trying remote deploy via Ant without that tag (but with
>> >> <resin:RemoteAdminService />), I end up with this timeout.
>> >>
>> >> com.caucho.bam.TimeoutException:
>> >> com.caucho.bam.QueryManager$QueryFutureImpl@12884e0 query timeout
>> >> DeployCommitListQuery[] {to:deploy@resin.caucho}
>> >>
>> >> Anything obvious missing or how to debug?
>> >>
>> >>

There are no notes attached to this issue.