Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:\ProgramFiles\brooklyn>brooklyn launch
- Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support wa
- s removed in 8.0
- _ _ _
- | |__ _ __ ___ ___ | | _| |_ _ _ __ (R)
- | '_ \| '__/ _ \ / _ \| |/ / | | | | '_ \
- | |_) | | | (_) | (_) | <| | |_| | | | |
- |_.__/|_| \___/ \___/|_|\_\_|\__, |_| |_|
- |___/ 0.10.0
- 2017-04-13 14:48:24,797 INFO Starting Brooklyn web-console with no security opt
- ions (defaulting to no authentication), on bind address <any>
- 2017-04-13 14:48:43,851 INFO Started Brooklyn console at http://127.0.0.1:8081/
- , running classpath://brooklyn.war@
- 2017-04-13 14:48:43,934 INFO Persistence disabled
- 2017-04-13 14:48:43,935 INFO High availability disabled
- 2017-04-13 14:49:05,197 INFO Launched Brooklyn; will now block until shutdown c
- ommand received via GUI/API (recommended) or process interrupt.
- 2017-04-13 14:52:05,036 INFO Launched from YAML: name: Tomcat
- services:
- - type: org.apache.brooklyn.entity.webapp.tomcat.TomcatServer
- name: tomcatServer
- location: localhost -> BasicApplicationImpl{id=a2vf156atp} (Task[start]@ozdBrBAi
- )
- 2017-04-13 14:52:05,317 INFO Geo info lookup for 127.0.0.1/127.0.0.1 returned:
- HostGeoInfo[BHARTI Airtel, Chandigarh (IN): 127.0.0.1 at (30.734300613403,76.793
- 296813965)]
- 2017-04-13 14:52:05,687 INFO Starting TomcatServerImpl{id=r49bm1igb2} on machin
- e SshMachineLocation[localhost:null@127.0.0.1/127.0.0.1:22(id=scq77p8s79)]
- 2017-04-13 14:52:12,237 WARN Error invoking start at TomcatServerImpl{id=r49bm1
- igb2}: Cannot establish ssh connection to nwe @ SshMachineLocation[localhost:nwe
- @127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Connection refused: connect).
- Ensure that passwordless and passphraseless ssh access is enabled using standard
- keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
- host is accessible, that credentials are correct (location and permissions if u
- sing a key), that the SFTP subsystem is available on the remote side, and that t
- here is sufficient random noise in /dev/random on both ends. To debug less commo
- n causes, see the original error in the trace or log, and/or enable 'net.schmizz
- ' (sshj) logging.: SshException: (nwe@127.0.0.1:22) failed to connect: (nwe@127.
- 0.0.1:22) (nwe@127.0.0.1:22) error acquiring {hostAndPort=127.0.0.1:22, user=nwe
- , ssh=13504935, password=null, privateKeyFile=null, privateKey=null, connectTime
- out=0, sessionTimeout=0} (attempt 4/4, in time 5.61s/2m); out of retries: Connec
- tion refused: connect
- 2017-04-13 14:52:12,471 WARN Service is not up when setting running on BasicApp
- licationImpl{id=a2vf156atp}; delayed 209ms but Sensor: service.isUp (java.lang.B
- oolean) did not recover from false; not-up-indicators={service-lifecycle-indicat
- ors-from-children-and-members=TomcatServerImpl{id=r49bm1igb2} is not up}
- 2017-04-13 14:52:12,480 WARN Setting BasicApplicationImpl{id=a2vf156atp} on-fir
- e due to problems when expected running, up=false, problems: {service-lifecycle-
- indicators-from-children-and-members=Required entity not healthy: TomcatServerIm
- pl{id=r49bm1igb2}}
- 2017-04-13 14:52:12,481 WARN Setting BasicApplicationImpl{id=a2vf156atp} on-fir
- e due to problems when expected running, up=false, problems: {service-lifecycle-
- indicators-from-children-and-members=Required entity not healthy: TomcatServerIm
- pl{id=r49bm1igb2}}
- 2017-04-13 14:52:12,498 WARN Error invoking start at BasicApplicationImpl{id=a2
- vf156atp}: Error invoking start at TomcatServerImpl{id=r49bm1igb2}: Cannot estab
- lish ssh connection to nwe @ SshMachineLocation[localhost:nwe@127.0.0.1/127.0.0.
- 1:22(id=scq77p8s79)] (Connection refused: connect).
- Ensure that passwordless and passphraseless ssh access is enabled using standard
- keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
- host is accessible, that credentials are correct (location and permissions if u
- sing a key), that the SFTP subsystem is available on the remote side, and that t
- here is sufficient random noise in /dev/random on both ends. To debug less commo
- n causes, see the original error in the trace or log, and/or enable 'net.schmizz
- ' (sshj) logging.: SshException: (nwe@127.0.0.1:22) failed to connect: (nwe@127.
- 0.0.1:22) (nwe@127.0.0.1:22) error acquiring {hostAndPort=127.0.0.1:22, user=nwe
- , ssh=13504935, password=null, privateKeyFile=null, privateKey=null, connectTime
- out=0, sessionTimeout=0} (attempt 4/4, in time 5.61s/2m); out of retries: Connec
- tion refused: connect
- 2017-04-13 14:52:13,299 INFO Creating PortForwardManager(scope=global)
- 2017-04-13 14:52:14,363 WARN Execution failed, invocation error for check-runni
- ng TomcatServerImpl{id=r49bm1igb2}: Cannot establish ssh connection to nwe @ Ssh
- MachineLocation[localhost:nwe@127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Connection
- refused: connect).
- Ensure that passwordless and passphraseless ssh access is enabled using standard
- keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
- host is accessible, that credentials are correct (location and permissions if u
- sing a key), that the SFTP subsystem is available on the remote side, and that t
- here is sufficient random noise in /dev/random on both ends. To debug less commo
- n causes, see the original error in the trace or log, and/or enable 'net.schmizz
- ' (sshj) logging. (throwing)
- 2017-04-13 14:52:14,397 INFO STDIN of problem in Task[LSM.publish(TomcatServerI
- mpl{id=r49bm1igb2}.Sensor: service.state (org.apache.brooklyn.core.entity.lifecy
- cle.Lifecycle)=on-fire @ 1492075332232);[Stream[stderr/0 B], subscription-delive
- ry-entity-r49bm1igb2[TomcatServerImpl{id=r49bm1igb2}], Wrapped[contextEntity:Tom
- catServerImpl{id=r49bm1igb2}], Stream[stdin/227 B], Stream[env/568 B], Stream[st
- dout/0 B]]]@XVd7ScBi:
- export INSTALL_DIR="/tmp/brooklyn-nwe/installs/TomcatServer_7.0.65"
- export RUN_DIR="/tmp/brooklyn-nwe/apps/a2vf156atp/entities/TomcatServer_r49bm1ig
- b2"
- mkdir -p $RUN_DIR
- cd $RUN_DIR
- test -f pid.txt || exit 1
- ps -p `cat pid.txt`
- 2017-04-13 14:52:14,438 WARN Error processing subscriptions to LSM.publish(Tomc
- atServerImpl{id=r49bm1igb2}.Sensor: service.state (org.apache.brooklyn.core.enti
- ty.lifecycle.Lifecycle)=on-fire @ 1492075332232): java.lang.IllegalStateExceptio
- n: Execution failed, invocation error for check-running TomcatServerImpl{id=r49b
- m1igb2}: Cannot establish ssh connection to nwe @ SshMachineLocation[localhost:n
- we@127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Connection refused: connect).
- Ensure that passwordless and passphraseless ssh access is enabled using standard
- keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
- host is accessible, that credentials are correct (location and permissions if u
- sing a key), that the SFTP subsystem is available on the remote side, and that t
- here is sufficient random noise in /dev/random on both ends. To debug less commo
- n causes, see the original error in the trace or log, and/or enable 'net.schmizz
- ' (sshj) logging.
- java.lang.IllegalStateException: Execution failed, invocation error for check-ru
- nning TomcatServerImpl{id=r49bm1igb2}: Cannot establish ssh connection to nwe @
- SshMachineLocation[localhost:nwe@127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Connect
- ion refused: connect).
- Ensure that passwordless and passphraseless ssh access is enabled using standard
- keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
- host is accessible, that credentials are correct (location and permissions if u
- sing a key), that the SFTP subsystem is available on the remote side, and that t
- here is sufficient random noise in /dev/random on both ends. To debug less commo
- n causes, see the original error in the trace or log, and/or enable 'net.schmizz
- ' (sshj) logging.
- at org.apache.brooklyn.entity.software.base.lifecycle.ScriptHelper.logWi
- thDetailsAndThrow(ScriptHelper.java:387) ~[org.apache.brooklyn-brooklyn-software
- -base-0.10.0.jar:0.10.0]
- Caused by: java.lang.IllegalStateException: Cannot establish ssh connection to n
- we @ SshMachineLocation[localhost:nwe@127.0.0.1/127.0.0.1:22(id=scq77p8s79)] (Co
- nnection refused: connect).
- Ensure that passwordless and passphraseless ssh access is enabled using standard
- keys from ~/.ssh or as configured in brooklyn.properties. Check that the target
- host is accessible, that credentials are correct (location and permissions if u
- sing a key), that the SFTP subsystem is available on the remote side, and that t
- here is sufficient random noise in /dev/random on both ends. To debug less commo
- n causes, see the original error in the trace or log, and/or enable 'net.schmizz
- ' (sshj) logging.
- at org.apache.brooklyn.location.ssh.SshMachineLocation.connectSsh(SshMac
- hineLocation.java:705) ~[org.apache.brooklyn-brooklyn-core-0.10.0.jar:0.10.0]
- Caused by: org.apache.brooklyn.util.core.internal.ssh.SshException: (nwe@127.0.0
- .1:22) failed to connect: (nwe@127.0.0.1:22) (nwe@127.0.0.1:22) error acquiring
- {hostAndPort=127.0.0.1:22, user=nwe, ssh=24050258, password=null, privateKeyFile
- =null, privateKey=null, connectTimeout=10000, sessionTimeout=30000} (attempt 1/1
- , in time 1.01s/2m); out of retries: Connection refused: connect
- at org.apache.brooklyn.util.core.internal.ssh.SshAbstractTool.propagate(
- SshAbstractTool.java:171) ~[org.apache.brooklyn-brooklyn-core-0.10.0.jar:0.10.0]
- Caused by: org.apache.brooklyn.util.core.internal.ssh.SshException: (nwe@127.0.0
- .1:22) (nwe@127.0.0.1:22) error acquiring {hostAndPort=127.0.0.1:22, user=nwe, s
- sh=24050258, password=null, privateKeyFile=null, privateKey=null, connectTimeout
- =10000, sessionTimeout=30000} (attempt 1/1, in time 1.01s/2m); out of retries: C
- onnection refused: connect
- at org.apache.brooklyn.util.core.internal.ssh.SshAbstractTool.propagate(
- SshAbstractTool.java:171) ~[org.apache.brooklyn-brooklyn-core-0.10.0.jar:0.10.0]
- Caused by: java.net.ConnectException: Connection refused: connect
- at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[na:
- 1.8.0_121]
Add Comment
Please, Sign In to add comment