Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004602 [Resin] minor always 06-07-11 10:16 06-08-11 09:58
Reporter rickHigh View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0004602: Remote deploy failing with latest snapshot
Description $ /usr/local/resin/bin/resin.sh -root-directory /var/www -conf /etc/resin/resin.xml -log-directory /var/log/resin/ -server triad1 deploy /mnt/hgfs/rick/resinCFG/site-template.war
com.caucho.bam.BamException: HmtpClient[http://192.168.1.202:8080/hmtp,NullActor[HmtpClient@http://192.168.1.202:8080/hmtp]] [^] resin-system-auth-key does not match the server's value
    at com.caucho.hmtp.HmtpClient.loginImpl(HmtpClient.java:203)
    at com.caucho.hmtp.HmtpClient.connect(HmtpClient.java:123)
    at com.caucho.server.admin.DeployClient.<init>(DeployClient.java:117)
    at com.caucho.server.admin.WebAppDeployClient.<init>(WebAppDeployClient.java:66)
    at com.caucho.boot.AbstractRepositoryCommand.getDeployClient(AbstractRepositoryCommand.java:107)
    at com.caucho.boot.DeployCommand.doCommand(DeployCommand.java:46)
    at com.caucho.boot.ResinBoot.start(ResinBoot.java:337)
    at com.caucho.boot.ResinBoot.main(ResinBoot.java:362)

user@ubuntu:~$ /usr/local/resin/bin/resin.sh -root-directory /var/www -conf /etc/resin/resin.xml -log-directory /var/log/resin/ -server triad1 version
Resin Professional 4.0.s110606 (built Mon, 06 Jun 2011 02:19:18 EDT)
Additional Information
Attached Files

- Relationships

- Notes
(0005296)
rickHigh
06-07-11 20:58

$ /usr/local/resin/bin/resin.sh -conf /etc/resin/resin.xml -server app deploy -user resin -password resin /mnt/hgfs/rick/examples/jsf/jsf-quickstart/facelets-solutions/site_template/target/site-template.war
com.caucho.config.ConfigRuntimeException: java.io.IOException: Cannot create directory: /usr/local/resin/watchdog-data
    at com.caucho.config.ConfigException.create(ConfigException.java:168)
    at com.caucho.env.service.ResinSystem.configureRoot(ResinSystem.java:170)
    at com.caucho.env.service.ResinSystem.<init>(ResinSystem.java:157)
    at com.caucho.boot.ResinBoot.<init>(ResinBoot.java:124)
    at com.caucho.boot.ResinBoot.main(ResinBoot.java:360)
Caused by: java.io.IOException: Cannot create directory: /usr/local/resin/watchdog-data
    at com.caucho.vfs.FilePath.mkdirs(FilePath.java:493)
    at com.caucho.env.service.RootDirectorySystem.<init>(RootDirectorySystem.java:69)
    at com.caucho.env.service.RootDirectorySystem.createAndAddService(RootDirectorySystem.java:85)
    at com.caucho.env.service.ResinSystem.configureRoot(ResinSystem.java:168)
    ... 3 more
user@ubuntu:/var/log/resin$ /usr/local/resin/bin/resin.sh -conf /etc/resin/resin.xml -server app version
Resin Professional 4.0.s110607 (built Tue, 07 Jun 2011 08:27:36 PDT)
 
(0005297)
rickHigh
06-07-11 23:11

It worked with the username and password.

$ /usr/local/resin/bin/resin.sh -root-directory /var/www -conf /etc/resin/resin.xml -server app deploy -user resin -password resin /mnt/hgfs/rick/examples/jsf/jsf-quickstart/facelets-solutions/site_template/target/site-template.war
Deployed production/webapp/default/site-template from /mnt/hgfs/rick/examples/jsf/jsf-quickstart/facelets-solutions/site_template/target/site-template.war to http://127.0.0.1:8080/hmtp [^]
 
(0005298)
rickHigh
06-07-11 23:13

I added an auth key and it works with that too.
 
(0005299)
rickHigh
06-07-11 23:14

$ /usr/local/resin/bin/resin.sh -root-directory /var/www -conf /etc/resin/resin.xml -server app deploy /mnt/hgfs/rick/examples/jsf/jsf-quickstart/facelets-solutions/site_template/target/site-template.war
Deployed production/webapp/default/site-template from /mnt/hgfs/rick/examples/jsf/jsf-quickstart/facelets-solutions/site_template/target/site-template.war to http://127.0.0.1:8080/hmtp [^]
 
(0005302)
ferg
06-08-11 09:58

cloud/1291
 

- Issue History
Date Modified Username Field Change
06-07-11 10:16 rickHigh New Issue
06-07-11 20:58 rickHigh Note Added: 0005296
06-07-11 23:11 rickHigh Note Added: 0005297
06-07-11 23:13 rickHigh Note Added: 0005298
06-07-11 23:14 rickHigh Note Added: 0005299
06-08-11 09:58 ferg Note Added: 0005302
06-08-11 09:58 ferg Assigned To  => ferg
06-08-11 09:58 ferg Status new => closed
06-08-11 09:58 ferg Resolution open => fixed
06-08-11 09:58 ferg Fixed in Version  => 4.0.19


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