Switching to 8080 is right - HMTP operates on the HTTP port.  For the
error below, can you send your resin.xml?  It looks like you didn't
configure the deploy service somehow.  Depending on which snapshot
you got, it's also possible that CanDI didn't configure/start the
deploy service even if you configured it.  In the newest versions,
those problems have been fixed.

Emil

On Tue, May 05, 2009 at 12:30:23AM -0700, Scott Hernandez wrote:
> 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='dep...@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(sube...@aaa.app-tier.admin.resin/AAAASEPpKI/)
> [09-05-05 00:23:05.073] {resin-ServerFromLinkStream-read-12}
> ServerToLinkStream[null] queryResult
> authresult[sube...@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[sube...@aaa.app-tier.admin.resin/AAAASEPpKI/]]
> queryGet DeployCommitListQuery[] {id:3, to:dep...@resin.caucho,
> from:sube...@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='dep...@resin.caucho'
> is an unknown actor for queryGet] DeployCommitListQuery[] {id: 3,
> to:sube...@aaa.app-tier.admin.resin/AAAASEPpKI/,
> from:dep...@resin.caucho}
> 
> Note: The admin user is subetha, not "admin" if the output above seems
> a bit off ...
> 
> On Tue, May 5, 2009 at 12:14 AM, Scott Hernandez
> <scotthernan...@hotmail.com> wrote:
> > 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
> >
> > Any help would be appreciated :)
> >
> > Thanks in advance,
> > Scott
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
============================================================

Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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

Reply via email to