Skip to content

Instantly share code, notes, and snippets.

Apache Maven 3.0-beta-1 (r935667; 2010-04-19 13:00:39-0400)
Java version: 1.6.0_20
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.3" arch: "x86_64" Family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading user settings from /Users/jim/.m2/settings.xml
[DEBUG] Reading global settings from /Users/jim/local/maven/conf/settings.xml
[DEBUG] Using local repository at /Users/jim/.m2/repository
[INFO] Scanning for projects...
D, [2010-05-24T16:44:51.409988 #1004] DEBUG -- : Begining node discovery...
I, [2010-05-24T16:44:51.414151 #1004] INFO -- : Updating node list...
I, [2010-05-24T16:44:51.510750 #1004] INFO -- : IP: domU-12-31-39-04-35-B4.compute-1.internal, checking if host is alive...
I, [2010-05-24T16:44:51.511895 #1004] INFO -- : \__ ALIVE: Host domU-12-31-39-04-35-B4.compute-1.internal is alive, good
I, [2010-05-24T16:44:51.511975 #1004] INFO -- : IP: domU-12-31-39-00-59-A4.compute-1.internal, checking if host is alive...
I, [2010-05-24T16:44:53.514486 #1004] INFO -- : \__ DEAD: Host domU-12-31-39-00-59-A4.compute-1.internal hadn't responded in 2 seconds, not so good, suspecting as dead
I, [2010-05-24T16:44:53.514643 #1004] INFO -- : IP: domU-12-31-39-05-35-21.compute-1.internal, checking if host is alive...
I, [2010-05-24T16:44:55.518548 #1004] INFO -- : \__ DEAD: Host domU-12-31-39-05-35-21.compute-1.internal hadn't responded in 2 seconds, not so good, suspecting as dead
I, [2010-05-24T16:44:55.518700 #1004]
"[#<Instance:0x10361bfa8 @id=nil, @uri=\"http://localhost:3001/api/instances/i-8ec9c7e5\", @attrs={:image_id=>\"ami-0b4fa662\", :key_pair_name=>\"jimkey\"}>, #<Instance:0x103618948 @id=nil, @uri=\"http://localhost:3001/api/instances/i-82c9c7e9\", @attrs={:image_id=>\"ami-0b4fa662\", :key_pair_name=>\"jimkey\"}>, #<Instance:0x103608ed0 @id=nil, @uri=\"http://localhost:3001/api/instances/i-86c9c7ed\", @attrs={:image_id=>\"ami-0b4fa662\", :key_pair_name=>\"jimkey\"}>, #<Instance:0x1035fe340 @id=nil, @uri=\"http://localhost:3001/api/instances/i-b6c4cadd\", @attrs={:image_id=>\"ami-0b4fa662\", :key_pair_name=>\"jimkey\"}>, #<Instance:0x1035f4958 @id=nil, @uri=\"http://localhost:3001/api/instances/i-e0e9e78b\", @attrs={:image_id=>\"ami-0b4fa662\", :key_pair_name=>\"jimkey\"}>]"
[root@domU-12-31-38-04-E1-C6 ~]# cat /var/log/cirras-management/thin.log
>> Writing PID to /var/lock/cirras-management.pid
>> Changing process privilege to root:root
./lib/cirras-management/node/aws-node-manager.rb:47:in `validate_aws_config': Please provide access key as user data while launching this AMI: access_key: YOUR_ACCESS_KEY (RuntimeError)
from ./lib/cirras-management/node/aws-node-manager.rb:32:in `initialize'
from ./lib/cirras-management/manager.rb:54:in `new'
from ./lib/cirras-management/manager.rb:54:in `initialize'
from config.ru:10:in `new'
from config.ru:10
from /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/builder.rb:46:in `instance_eval'

Bob’s questions from CT JudCon preso

27:08 (Emmanuel)

How do you deal with isolating deployments of multiple versions of an app?

28:48 (Burr)

I noticed the initial application – looked like localhost:8080 – so if I want to use the cloud, I’ve already established a local application server where I’m running this war file you’ve delivered to me just to deploy my war file to the cloud?

30:00 (unknown #1)

<adamw1pl> all session data is stored in the java session, right? that’s what the servlet_session.rb seems to do <bobmcw> yep <bobmcw> we try to decompose it into java-session key/value pairs, where we can [10:43] <bobmcw> and make them all accessible from your java side <bobmcw> session[:answer]=42 <bobmcw> session.get( “answer” ) => 42 java.lang.Integer <adamw1pl> ok cool <adamw1pl> so …

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] TorqueBox Parent .................................. SUCCESS [0.868s]
[INFO] TorqueBox JavaDoc Support ......................... SUCCESS [0.800s]
[INFO] TorqueBox Deployer Build Support .................. SUCCESS [0.495s]
[INFO] TorqueBox VDF Testing Support ..................... SUCCESS [0.838s]
[INFO] TorqueBox Component Parent ........................ SUCCESS [0.804s]
[INFO] TorqueBox Common SPI .............................. SUCCESS [0.490s]
[INFO] TorqueBox Ruby Interpreter SPI .................... SUCCESS [0.493s]
;; Setup PATH
(setenv "PATH" (shell-command-to-string "source ~/.bashrc; echo -n $PATH"))
;; Update exec-path with the contents of $PATH
(loop for path in (split-string (getenv "PATH") ":") do
(add-to-list 'exec-path path))
;; Grab other environment variables
(loop for var in (split-string (shell-command-to-string "source ~/.bashrc; env")) do
(let* ((pair (split-string var "="))
(key (car pair))
(value (cadr pair)))
16:55:19,589 INFO [org.torquebox.messaging.deployers.TasksScanningDeployer] deploying stupid_task.rb
16:55:19,591 INFO [org.torquebox.rails.deployers.RailsGemVersionDeployer] Rails Root = "/Users/jim/src/scripts/weezy21"
16:55:19,591 INFO [org.torquebox.rails.deployers.RailsGemVersionDeployer] config/environment.rb = "/Users/jim/src/scripts/weezy21/config/environment.rb"
16:55:19,592 INFO [org.torquebox.rails.deployers.RailsRackDeployer] deploy(AbstractVFSDeploymentContext@1549322511{vfs:///Users/jim/src/scripts/weezy21/})
16:55:19,592 INFO [org.torquebox.subsystems.BasicSubsystemConfigurationDeployer] Configuring subsystem [jobs] for AbstractVFSDeploymentContext@1549322511{vfs:///Users/jim/src/scripts/weezy21/}
16:55:19,594 INFO [org.torquebox.rack.deployers.RackApplicationFactoryDeployer] start with [RackApplicationMetaData: runtimePool=null; appFactory=null; appPool=null]
16:55:19,597 INFO [org.torquebox.rack.deployers.RackApplicationFactoryDeployer] BMD=AbstractBeanMetaData@46c5954b{name=torquebox.
17:05:21,142 INFO [STDOUT] loading metadata_builder.rb from classpath:/./torquebox/messaging/metadata_builder.rb
17:05:21,147 ERROR [org.torquebox.messaging.deployers.MessagingTqParsingDeployer] error reading messaging.rb: org.jruby.exceptions.RaiseException: vfs:/Users/jim/src/scripts/weezy21/config/messaging.tq
at (unknown).new(classpath:/./torquebox/messaging/metadata_builder.rb:14) at File.initialize(classpath:/./torquebox/messaging/metadata_builder.rb:14) at TorqueBox::Messaging::MetaData::Builder.evaluate_file(classpath:/./torquebox/messaging/metadata_builder.rb:23) at #<Class:01x15d7ff0e>.evaluate_file(<script>:1) at (unknown).(unknown)(:1)
17:05:21,148 INFO [org.torquebox.messaging.deployers.MessagingTqParsingDeployer] No such file or directory - vfs:/Users/jim/src/scripts/weezy21/config/messaging.tq
17:05:21,149 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to PostClassLoader: name=vfs:///Users/jim/src/scripts/weezy21/ state=ClassLoader mode=Manual requiredS