This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO | jvm 1 | 2011/03/22 17:05:15 | SEVERE: Context initialization failed | |
INFO | jvm 1 | 2011/03/22 17:05:15 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfigurationPopulator': Invocation of init method failed; nested exception is org.springframework.dao.IncorrectResultSizeDataAccessException: result returns more than one elements | |
INFO | jvm 1 | 2011/03/22 17:05:15 | Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lifecycleBindingsInjector': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class' for property 'role'; nested exception is java.lang.IllegalArgumentException: Cannot find class [org.apache.maven.model.plugin.LifecycleBindingsInjector] | |
INFO | jvm 1 | 2011/03/22 17:05:15 | Related cause: org.springframework.beans.factory.BeanCreationEx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<default-configuration> | |
<!-- | |
Entries loaded upon application startup. | |
Modifications to the following entries would require application restart. | |
--> | |
<loaded-on-startup>CONTINUUM_URL,CONTINUUM_USERNAME,CONTINUUM_PASSWORD,ARCHIVA_URL,ARCHIVA_USERNAME,ARCHIVA_PASSWORD,ARCHIVA_ROOT_REPOSITORY,ARCHIVA_CONNECTION_TIMEOUT</loaded-on-startup> | |
<configurations> | |
<configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
puts "Scraping routes.php" | |
doc = Nokogiri::HTML(open("http://www.suntran.com/routes.php")) | |
# get the right tr elements | |
nodes = doc.xpath('/html/body/div[15]/table[2]/tr/td[@class = "bdr"]') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ruote_pp ruby lib/main.rb | |
0 60 pa * {"regex"=>"ping"} | |
1 60 pa * {"regex"=>"pong"} | |
2 60 pa * {"regex"=>"logger"} | |
3 60 pa * {"regex"=>"alpha"} | |
4 60 la * 20110526-bipahemado {:t=>["define", {"name"=>"game"}, [["sequence", {}, [["setup", {}, []], ["repeat", {}, [["play", {}, []], ["break", {"if"=>"${f:count} >= 6"}, []]]]]], ["define", {"setup"=>nil}, [["alpha", {}, []], ["logger", {}, []]]], ["define", {"play"=>nil}, [["ping", {"command"=>"/ping/ping", "reply_queue"=>"ruote_workitems"}, []], ["logger", {}, []], ["pong", {"command"=>"/pong/pong", "reply_queue"=>"ruote_workitems"}, []], ["logger", {}, []]]], ["define", {"shout"=>nil}, [["echo", {"Error occured..."=>nil}, []]]]]], :wi=>["0!2724ba93d3b093b0ee703679fb0fa8c3!20110526-bipahemado", 0]} | |
5 60 ap * 20110526-bipahemado fe38f 0_0 {:t=>["define", {"setup"=>nil}, [["alpha", {}, []], ["logger", {}, []]]], :pi=>"0!2724ba93d3b093b0ee703679fb0fa8c3!20110526-bipahemado", :wi=>["0_0!fe38f6352f358445b365c22881c6606a!20110526-bipahemado", 0]} | |
6 60 va * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no such file to load -- bundler/setup | |
--- System | |
jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_24) [darwin-x86_64-java] | |
Time: Sat Jun 04 11:24:07 -0700 2011 | |
Server: jetty/7.3.1.v20110307 | |
jruby.home: classpath:/META-INF/jruby.home | |
--- Context Init Parameters: | |
ENV_HOST = dozer.local | |
ENV_OUTPUT = /Users/kplummer/MX/servers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make 2 seperate MQ subscribers play ping pong with each other | |
pdef = Ruote.process_definition :name => 'game' do | |
# the main definition | |
sequence do | |
setup | |
repeat do | |
play | |
_break :if => '${f:count} >= 6' | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@doze ➜ lucee rvm:(-jruby-1.6.3) git:(master) java -jar lucee.0.0.5-SNAPSHOT.war | |
[Winstone 2011/08/10 15:41:50] - Beginning extraction from war file | |
[Winstone 2011/08/10 15:41:54] - WARNING: The Servlet 2.4/2.5 spec XSD was unavailable inside the winstone classpath. Will be retrieved from the web if required (slow) | |
[Winstone 2011/08/10 15:41:54] - No webapp classes folder found - /private/var/folders/i5/i5UtK1YGGBmH5OaJiz7cX++++TI/-Tmp-/winstone8177213279671721077webroot/lucee.0.0.5-SNAPSHOT.war/WEB-INF/classes | |
[webapp 2011/08/10 15:41:54] - jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [darwin-x86_64-java] | |
[webapp 2011/08/10 15:42:00] - Warning: no min runtimes specified. | |
[webapp 2011/08/10 15:42:00] - Warning: no max runtimes specified. | |
[webapp 2011/08/10 15:42:00] - An exception happened during JRuby-Rack startup | |
No such file or directory - file:/private/var/folders/i5/i5UtK1YGGBmH5OaJiz7cX++++TI/-Tmp-/winstone8177213279671721077webroot/lucee.0.0.5-SNAPSH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2011© MaestroDev. All rights reserved. | |
module Maestro | |
# | |
# An error class for error emitted by the "remote side" and received here. | |
# | |
class ReceiveError < RuntimeError | |
attr_reader :fei |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set number | |
set ruler | |
syntax on | |
" Set encoding | |
set encoding=utf-8 | |
" Whitespace stuff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[default] Must pass password to Sqlexec[createuser] at /tmp/vagrant-puppet/modules-0/postgres/manifests/init.pp:98 on node localhost.localdomain |