[Resin-interest] Remote deployment

2010-04-23 Thread Mattias Jiderhamn
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$queryfuturei...@12884e0 query timeout 
DeployCommitListQuery[] {to:dep...@resin.caucho}

Anything obvious missing or how to debug?

-- 

   /Mattias



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Remote deployment

2010-04-23 Thread Mattias Jiderhamn
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
at 
com.caucho.hessian.io.UnsafeDeserializer.logDeserializeError(UnsafeDeserializer.java:768)
at 
com.caucho.hessian.io.UnsafeDeserializer$ObjectFieldDeserializer.deserialize(UnsafeDeserializer.java:421)
at 
com.caucho.hessian.io.UnsafeDeserializer.readObject(UnsafeDeserializer.java:239)
at 
com.caucho.hessian.io.UnsafeDeserializer.readObject(UnsafeDeserializer.java:150)
at 
com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:2188)
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2109)
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2093)
at com.caucho.hmtp.HmtpReader.readPacket(HmtpReader.java:153)
at 
com.caucho.remote.HmtpServlet$WebSocketHandler.onRead(HmtpServlet.java:201)
at 
com.caucho.server.http.HttpServletRequestImpl$WebSocketContextImpl.onRead(HttpServletRequestImpl.java:2490)
at 
com.caucho.server.connection.TcpDuplexController.serviceRead(TcpDuplexController.java:161)
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)
Caused by: com.caucho.hessian.io.HessianProtocolException: expected 
string at end of file
at com.caucho.hessian.io.Hessian2Input.error(Hessian2Input.java:2882)
at com.caucho.hessian.io.Hessian2Input.expect(Hessian2Input.java:2807)
at com.caucho.hessian.io.Hessian2Input.readString(Hessian2Input.java:1362)
at 
com.caucho.hessian.io.BasicDeserializer.readLengthList(BasicDeserializer.java:589)
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1731)
at 
com.caucho.hessian.io.UnsafeDeserializer$ObjectFieldDeserializer.deserialize(UnsafeDeserializer.java:417)
... 14 more


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 aresin: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$queryfuturei...@12884e0 query timeout
 DeployCommitListQuery[] {to:dep...@resin.caucho}

 Anything obvious missing or how to debug?




-- 

   /Mattias



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest