Skip to content

Instantly share code, notes, and snippets.

View bobmcwhirter's full-sized avatar

Bob McWhirter bobmcwhirter

View GitHub Profile
# JBoss, Home of Professional Open Source
# Copyright 2009, Red Hat Middleware LLC, and individual contributors
# by the @authors tag. See the copyright.txt in the distribution for a
# full listing of individual contributors.
#
# This is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.rails</groupId>
<artifactId>jboss-rails</artifactId>
<packaging>jar</packaging>
<version>1.0.0.Beta4-SNAPSHOT</version>
<name>JBossAS 5.0 Rails Deployer</name>
<description></description>
jboss-as5-cloud-mod_cluster-1.0.0.Beta4-1.noarch from jboss-cloud has depsolving problems
--> Missing Dependency: jboss-as5-cloud-profiles is needed by package jboss-as5-cloud-mod_cluster-1.0.0.Beta4-1.noarch (jboss-cloud)
Unable to create appliance : Failed to build transaction : Missing Dependency: jboss-as5-cloud-profiles is needed by package jboss-as5-cloud-mod_cluster-1.0.0.Beta4-1.noarch (jboss-cloud)
Unmounting directory /mnt/hgfs/oddthesis/jboss-cloud/build/tmp/imgcreate-uBQENL/install_root/
Removing compat symlinks
Unmapping /dev/loop0
Losetup remove /dev/loop0
Command 'sudo PYTHONUNBUFFERED=1 appliance-creator -d -v -t /mnt/hgfs/oddthesis/jboss-cloud/build/tmp --cache=rpms-cache/x86_64/fedora/10 --config build/appliances/x86_64/fedora/10/jboss-as5-appliance/jboss-as5-appliance.ks -o build/appliances/x86_64/fedora/10 --name jboss-as5-appliance --vmem 1024 --vcpu 1' failed with exit status 1
rake aborted!
build/topdir/fedora/10/RPMS/noarch/:
jboss-as5-5.0.1.GA-1.noarch.rpm
jboss-as5-appliance-1.0.0.Beta3-1.noarch.rpm
jboss-as5-cloud-mod_cluster-1.0.0.Beta4-1.noarch.rpm
jboss-cloud-release-1.0.0-Beta3.noarch.rpm
jboss-rails-1.0.0.Beta4-1.noarch.rpm
repodata
vm2-support-1.0.0.Beta1-1.noarch.rpm
[bob@philbert jboss-cloud]$ touch cheddar.raw
[bob@philbert jboss-cloud]$ rm cheddar.raw
[bob@philbert jboss-cloud]$ ln build/appliances/x86_64/fedora/10/jboss-as5-appliance/*.raw cheddar.raw
ln: creating hard link `cheddar.raw' => `build/appliances/x86_64/fedora/10/jboss-as5-appliance/jboss-as5-appliance-sda.raw': Operation not permitted
[bob@philbert jboss-cloud]$ touch cheddar.raw
[bob@philbert jboss-cloud]$ ls -la build/appliances/x86_64/fedora/10/jboss-as5-appliance/
total 1048582
drwxr-xr-x 1 bob bob 340 2009-03-23 11:57 .
drwxr-xr-x 1 bob bob 102 2009-03-23 10:35 ..
-rw-r--r-- 1 bob bob 910 2009-03-23 10:35 base-pkgs.ks
-rw-r--r-- 1 bob bob 226 2009-03-23 10:35 jboss-as5-appliance.cfg
-rw-r--r-- 1 bob bob 1691 2009-03-23 10:35 jboss-as5-appliance.ks
-rwxr-xr-x 1 bob bob 2147483649 2009-03-23 11:57 jboss-as5-appliance-sda.raw
-rw-r--r-- 1 bob bob 1380 2009-03-23 10:48 jboss-as5-appliance.spec
-rw-r--r-- 1 bob bob 495 2009-03-23 11:57 jboss-as5-appliance.xml
14:09:15,702 ERROR [STDERR] java.lang.ArrayIndexOutOfBoundsException
14:09:15,703 ERROR [STDERR] at java.lang.System.arraycopy(Native Method)
14:09:15,703 ERROR [STDERR] at org.jruby.RubyString.cat(RubyString.java:1075)
14:09:15,703 ERROR [STDERR] at org.jruby.RubyString.inspectCommon(RubyString.java:2141)
14:09:15,703 ERROR [STDERR] at org.jruby.RubyString.inspect(RubyString.java:2084)
14:09:15,703 ERROR [STDERR] at org.jruby.RubyString$i_method_0_0$RUBYINVOKER$inspect.call(org/jruby/RubyString$i_method_0_0$RUBYINVOKER$inspect.gen)
14:09:15,703 ERROR [STDERR] at org.jruby.RubyClass.finvoke(RubyClass.java:428)
14:09:15,703 ERROR [STDERR] at org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:389)
14:09:15,703 ERROR [STDERR] at org.jruby.RubyBasicObject.callMethod(RubyBasicObject.java:313)
14:09:15,703 ERROR [STDERR] at org.jruby.RubyObject.inspect(RubyObject.java:896)
tryggvil left the chat room.
[11:34am] bobmcw: tryggvil: so, gui claims it has a network device?
[11:34am] bobmcw: well, damnit
[11:34am] mgoldmann: no, guis says, that there is a network card
[11:34am] mgoldmann: 16:26 < tryggvil> in the GUI it's showing an adapter connected, and using NAT
[11:35am] bobmcw: I've seen that m'self, but always "fixed" itself by a reboot
[11:35am] mgoldmann: strange thing, ifconfig _must_ list eth0
[11:38am] mgoldmann: I know, he edited .vmx files, maybe after that network adapters we're recreated with different MAC addresses in ifcfg-eth0
[11:39am] mgoldmann: s/we're/are
[11:39am] bobmcw: he edited the .vmx?
.classpath | 402 ++++++++++----------
pom.xml | 9 +-
.../resources/rails-deployer-jboss-beans.xml | 2 +
.../deployers/AppRailsYamlParsingDeployer.java | 2 +
.../deployers/RailsSipRubyLoadPathDescriber.java | 64 +++
.../ConvergedSipRackWebApplicationDeployer.java | 4 +
.../sip/deployers/SipYamlParsingDeployer.java | 7 +-
.../sip/metadata/SipApplicationMetaData.java | 13 +
.../jboss/ruby/enterprise/sip/sip_base_handler.rb | 187 +++++++++
.../ruby/enterprise/web/rack/RackApplication.java | 4 +-
public class RailsJobsRubyLoadPathDescriber extends SimpleRubyLoadPathDescriber<RailsApplicationMetaData> {
public RailsJobsRubyLoadPathDescriber() {
super(RailsApplicationMetaData.class);
setPath( "app/jobs" );
}
}