Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003477 [Resin] minor always 05-05-09 12:20 05-27-09 09:10
Reporter emil View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.1 Product Version 4.0.0
  Product Build
Summary 0003477: remote deploy
Description (Rep by Scott Hernandez)

So, I'm trying to get the ant task deployed using the new fangled
stuff; It seems to fail horribly :(

Here is some of the (pertinent) output from the ant task:

resin-deploy:

BUILD FAILED
com.caucho.bam.RemoteConnectionFailedException: Failed to upgrade to HMTP
X


        at com.caucho.bam.hmtp.HmtpClient.connectImpl(HmtpClient.java:230)
        at com.caucho.bam.hmtp.HmtpClient.connect(HmtpClient.java:161)
        at com.caucho.server.admin.DeployClient.<init>(DeployClient.java:78)
        at com.caucho.ant.ResinDeploy.execute(ResinDeploy.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


Here is what I am doing in my build file:
        <target name="resin-deploy" depends="war">
            <taskdef name="resin-deploy" classname="com.caucho.ant.ResinDeploy">
                <classpath>
                      <fileset dir="lib">
                          <include name="**"/>
                      </fileset>
                <fileset dir="${resin.dir}/lib/">
                                <include name="**"/>
                </fileset>
                </classpath>
            </taskdef>

                <resin-deploy warfile="${build.war.file}" server="127.0.0.1"
                         port="6800" user="admin" password="admin" />
        </target>

This is what is going on in the output of resin (not very interesting):

[09-05-05 00:02:46.941] {hmux-127.0.0.1:6800-3} TcpConnection[id=3,]
starting connection
TcpConnection[id=hmux-127.0.0.1:6800-3,null,ACCEPT], total=5
[09-05-05 00:02:46.941] {hmux-127.0.0.1:6800-3} Hmux[3] start request
[09-05-05 00:02:46.941] {hmux-127.0.0.1:6800-3} Hmux[3] channel-r 20302
[09-05-05 00:02:46.941] {hmux-127.0.0.1:6800-3} Hmux[3] N 17731
[09-05-05 00:03:52.456] {hmux-127.0.0.1:6800-3} Hmux[3] interrupted keepalive
[09-05-05 00:03:52.456] {hmux-127.0.0.1:6800-3} Hmux[3] close stream
[09-05-05 00:03:52.456] {hmux-127.0.0.1:6800-3} Hmux[3] X-w: exit socket

So, I played around a bit and changed the port to 8080, instead of
6800 and now get a different error.

BUILD FAILED
com.caucho.bam.ServiceUnavailableException:
ActorError[type=cancel,group=service-unavailable,text='deploy@resin.caucho'
is an unknown actor for queryGet]
        at com.caucho.bam.ActorError.createException(ActorError.java:376)
        at com.caucho.bam.SimpleActorClient.queryGet(SimpleActorClient.java:156)
        at com.caucho.server.admin.DeployClient.queryGet(DeployClient.java:393)
        at
+com.caucho.server.admin.DeployClient.getCommitList(DeployClient.java:331)
        at com.caucho.server.admin.DeployClient.deployJar(DeployClient.java:286)
        at
+com.caucho.server.admin.DeployClient.deployJarContents(DeployClient.java:108)
        at com.caucho.ant.ResinDeploy.execute(ResinDeploy.java:147)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Resin output:
[09-05-05 00:23:04.152] {resin-ServerFromLinkStream-read-12}
ServerFromLinkStream[null] queryGet GetPublicKeyQuery[] {id:1,
to:null, from:null}
[09-05-05 00:23:04.152] {resin-ServerFromLinkStream-read-12}
ServerToLinkStream[null] queryResult GetPublicKeyQuery[RSA,X.509] {id:
1, to:null, from:null}
[09-05-05 00:23:05.063] {resin-ServerFromLinkStream-read-12}
ServerFromLinkStream[null] querySet AuthQuery[subetha,EncryptedObject]
{id:2, to:null, from:null}
[09-05-05 00:23:05.073] {resin-ServerFromLinkStream-read-12}
HempDomainService[aaa.app-tier.admin.resin]
onChildStart(subetha@aaa.app-tier.admin.resin/AAAASEPpKI/)
[09-05-05 00:23:05.073] {resin-ServerFromLinkStream-read-12}
ServerToLinkStream[null] queryResult
AuthResult[subetha@aaa.app-tier.admin.resin/AAAASEPpKI/] {id: 2,
to:null, from:null}
[09-05-05 00:23:06.445] {resin-ServerFromLinkStream-read-12}
ServerFromLinkStream[HempConnectionImpl[subetha@aaa.app-tier.admin.resin/AAAASEP
+pKI/]]
queryGet DeployCommitListQuery[] {id:3, to:deploy@resin.caucho,
from:subetha@aaa.app-tier.admin.resin/AAAASEPpKI/}
[09-05-05 00:23:06.445] {resin-ServerFromLinkStream-read-12}
ServerToLinkStream[null] queryError
ActorError[type=cancel,group=service-unavailable,text='deploy@resin.caucho'
is an unknown actor for queryGet] DeployCommitListQuery[] {id: 3,
to:subetha@aaa.app-tier.admin.resin/AAAASEPpKI/,
from:deploy@resin.caucho}

Note: The admin user is subetha, not "admin" if the output above seems
a bit off ...
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004035)
ferg
05-27-09 09:09

server/6210 - updated error messages and documentation. This looks like a missing &lt;resin:DeployService>. If the deploy service isn't enabled on the server, Resin will ignore the client requests.
 

- Issue History
Date Modified Username Field Change
05-05-09 12:20 emil New Issue
05-05-09 12:58 nam Project Quercus => Resin
05-05-09 18:34 skot Issue Monitored: skot
05-27-09 09:10 ferg Note Added: 0004035
05-27-09 09:10 ferg Assigned To  => ferg
05-27-09 09:10 ferg Status new => closed
05-27-09 09:10 ferg Resolution open => fixed
05-27-09 09:10 ferg Fixed in Version  => 4.0.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker