[Resin-interest] About editing resin.conf
Hi all, I just subscribed to this list. Please, could you gimme advice for this problem - I believe this has been on the wall many times in the history, but still... Resin seems to crash if I open resin.conf for editing with vi etc. Why? How can I configure resin not to do that? I have 5 resin servers and resin.conf is symlinked to nfs on all servers so if I just open resin.conf, all servers will crash... There must be some parameters to prevent this kind of feature... Thanks, Harry ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] ResinDeploy Ant Task Error
That should do it. We did have the deploy service only in pro previously, but moved it to OS. It's possible that something got omitted. I've been using the deploy service with Pro, so I'll need to check if that's the issue. I've filed this here: http://bugs.caucho.com/view.php?id=3477 Emil On Tue, May 05, 2009 at 09:43:52AM -0700, Scott Hernandez wrote: > I'm working against trunk :) > > I added the following to the conf/resin.xml (copied from resin.xml.in) file. > > > > . > > > > > > > > (as described here: http://blog.caucho.com/?p=134) > > [09-05-05 09:39:42.595] {main} InjectManager[cluster:??] fireEvent > InjectManager[cluster:??] > [09-05-05 09:39:42.595] {main} InjectManager[cluster:??] fireEvent > BeanStartupEvent[SimpleBean[RemoteAdminService, > {...@javax.inject.current()}, @Production, @ApplicationScope]] > [09-05-05 09:39:42.635] {main} RemoteAdminService$BeanProxy[] enabled > at http://admin.resin/hmtp > [09-05-05 09:39:42.736] {main} Host[default] initializing > [09-05-05 09:39:42.736] {main} Host[default] > root-directory=/c:/src/caucho/resin/ > > > On Tue, May 5, 2009 at 8:50 AM, Emil Ong wrote: > > 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/SEPpKI/) > >> [09-05-05 00:23:05.073] {resin-ServerFromLinkStream-read-12} > >> ServerToLinkStream[null] queryResult > >> authresult[sube...@aaa.app-tier.admin.resin/SEPpKI/] {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/SEPpKI/]] > >> queryGet DeployCommitListQuery[] {id:3, to:dep...@resin.caucho, > >> from:sube...@aaa.app-tier.admin.resin/SEPpKI/} > >> [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/SEPpKI/, > >> 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 > >> 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.(DeployClient.java:78) > >> > at com.caucho.an
[Resin-interest] Stack overflow on resin-web.xml load
I'm a little stumped on this one. I'm guessing that there is some kind of circular dep. in the classes (EJBs), but where is the question... [09-05-05 10:58:42.741] {main} resin:import 'c:\src\caucho\resin\webapps\subetha\WEB-INF\resin-web.xml' log4j:WARN No appenders could be found for logger (org.subethamail.core.smtp.SMTPService). log4j:WARN Please initialize the log4j system properly. [09-05-05 10:58:46.286] {main} file:/c:/src/caucho/resin/conf/app-default.xml:240: com.caucho.config.core.ResinImport.init(): java.lang.StackOverflowError [09-05-05 10:58:46.286] {main} [09-05-05 10:58:46.286] {main} 238: [09-05-05 10:58:46.286] {main} 239: [09-05-05 10:58:46.286] {main} 240: [09-05-05 10:58:46.286] {main} 241: [09-05-05 10:58:46.286] {main} 242: [09-05-05 10:58:46.286] {main} [09-05-05 10:58:46.286] {main} at com.caucho.config.ConfigContext.error(ConfigContext.java:1309) [09-05-05 10:58:46.286] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:496) [09-05-05 10:58:46.286] {main} at com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:364) [09-05-05 10:58:46.286] {main} at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:71) [09-05-05 10:58:46.286] {main} at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:80) [09-05-05 10:58:46.286] {main} at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:70) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:381) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:55) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:676) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) [09-05-05 10:58:46.286] {main} at com.caucho.server.webapp.WebAppContainer.startImpl(WebAppContainer.java:707) [09-05-05 10:58:46.286] {main} at com.caucho.server.host.Host.startImpl(Host.java:496) [09-05-05 10:58:46.286] {main} at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:687) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:678) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) [09-05-05 10:58:46.286] {main} at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) [09-05-05 10:58:46.286] {main} at com.caucho.server.host.HostContainer.start(HostContainer.java:484) [09-05-05 10:58:46.286] {main} at com.caucho.server.cluster.Server.start(Server.java:1822) [09-05-05 10:58:46.286] {main} at com.caucho.server.resin.Resin.createServer(Resin.java:927) [09-05-05 10:58:46.286] {main} at com.caucho.server.resin.Resin.start(Resin.java:998) [09-05-05 10:58:46.286] {main} at com.caucho.server.resin.Resin.initMain(Resin.java:1462) ... Here is the resin-web.xml (http://subetha.googlecode.com/svn/branches/resin/web/WEB-INF/resin-web.xml) http://caucho.com/ns/resin"; xmlns:resin="urn:java:com.caucho.resin" xmlns:cfg="urn:java:com.caucho.config" xmlns:jms="urn:java:com.caucho.jms" xmlns:ejb="urn:java:com.caucho.ejb" xmlns:adm="urn:java:org.subethamail.core.admin" xmlns:util="urn:java:org.subethamail.core.util" xmlns:ss="urn:java:org.subethamail.web.security" xmlns:queue="urn:java:org.subethamail.core.queue" > delivery injection #{delivery} #{injection} true 0 select 1; jdbc:postgresql://localhost/subetha subetha subetha ... ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] ResinDeploy Ant Task Error
I'm working against trunk :) I added the following to the conf/resin.xml (copied from resin.xml.in) file. . (as described here: http://blog.caucho.com/?p=134) [09-05-05 09:39:42.595] {main} InjectManager[cluster:??] fireEvent InjectManager[cluster:??] [09-05-05 09:39:42.595] {main} InjectManager[cluster:??] fireEvent BeanStartupEvent[SimpleBean[RemoteAdminService, {...@javax.inject.current()}, @Production, @ApplicationScope]] [09-05-05 09:39:42.635] {main} RemoteAdminService$BeanProxy[] enabled at http://admin.resin/hmtp [09-05-05 09:39:42.736] {main} Host[default] initializing [09-05-05 09:39:42.736] {main} Host[default] root-directory=/c:/src/caucho/resin/ On Tue, May 5, 2009 at 8:50 AM, Emil Ong wrote: > 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/SEPpKI/) >> [09-05-05 00:23:05.073] {resin-ServerFromLinkStream-read-12} >> ServerToLinkStream[null] queryResult >> authresult[sube...@aaa.app-tier.admin.resin/SEPpKI/] {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/SEPpKI/]] >> queryGet DeployCommitListQuery[] {id:3, to:dep...@resin.caucho, >> from:sube...@aaa.app-tier.admin.resin/SEPpKI/} >> [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/SEPpKI/, >> 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 >> 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.(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: >> > >> > > > classname="com.caucho.ant.ResinDeploy"> >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > > port="6800" user="admin" password="admin" /> >> > >> >
Re: [Resin-interest] ResinDeploy Ant Task Error
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/SEPpKI/) > [09-05-05 00:23:05.073] {resin-ServerFromLinkStream-read-12} > ServerToLinkStream[null] queryResult > authresult[sube...@aaa.app-tier.admin.resin/SEPpKI/] {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/SEPpKI/]] > queryGet DeployCommitListQuery[] {id:3, to:dep...@resin.caucho, > from:sube...@aaa.app-tier.admin.resin/SEPpKI/} > [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/SEPpKI/, > 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 > 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.(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: > > > > > classname="com.caucho.ant.ResinDeploy"> > > > > > > > > > > > > > > > > > > > > > > > port="6800" user="admin" password="admin" /> > > > > > > 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-int
Re: [Resin-interest] ResinDeploy Ant Task Error
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/SEPpKI/) [09-05-05 00:23:05.073] {resin-ServerFromLinkStream-read-12} ServerToLinkStream[null] queryResult authresult[sube...@aaa.app-tier.admin.resin/SEPpKI/] {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/SEPpKI/]] queryGet DeployCommitListQuery[] {id:3, to:dep...@resin.caucho, from:sube...@aaa.app-tier.admin.resin/SEPpKI/} [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/SEPpKI/, 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 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.(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: > > classname="com.caucho.ant.ResinDeploy"> > > > > > > > > > > > port="6800" user="admin" password="admin" /> > > > 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
[Resin-interest] ResinDeploy Ant Task Error
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.(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: 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