Skip to content

Instantly share code, notes, and snippets.

View bobmcwhirter's full-sized avatar

Bob McWhirter bobmcwhirter

View GitHub Profile
leonard:vm2 bob$ vm2 describe-instances
Instance ID VMI Name State IP Address User Created
---------------------------------------------------------------------------------------------------------------------------------------------------------
i-3152ce2bc7 vmi-df432318c5 jboss-as5-appliance-1.0.0.Beta2-1 RUNNING 192.168.237.157 bob Fri Jan 02 18:02:42 -0500 2009
i-41b61eb6a7 vmi-b34faa0d33 jboss-jgroups-appliance-1.0.0.Beta2-1 RUNNING 192.168.237.155 bob Fri Jan 02 16:58:32 -0500 2009
i-ea92ad1aca vmi-df432318c5 jboss-as5-appliance-1.0.0.Beta2-1 RUNNING 192.168.237.156 bob Fri Jan 02 18:03:51 -0500 2009
---------------------------------------------------------------------------------------------------------------------------------------------------------
leonard:vm2 bob$
771b downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.4/plexus-components-1.1.4.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/commons-collections/commons-collections/2.0/commons-collections-2.0.pom
171b downloaded
Downloading: http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.pom
168b downloaded
Downloading: http://repo1.maven.org/maven2/velocity/velocity/1.4/velocity-1.4.pom
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: jboss-as5-5.0.0.GA-1
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh
Requires: /bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files /mnt/hgfs/oddthesis/thincrust/jboss-cloud/build/topdir/BUILDROOT/jboss-as5-5.0.0.GA-1.noarch
error: create archive failed on file /mnt/hgfs/oddthesis/thincrust/jboss-cloud/build/topdir/SOURCES/jboss-5.0.0.GA-jdk6.zip: cpio: Bad magic
[root@lombardo ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
5.7G 5.4G 1.6M 100% /
/dev/sda1 190M 14M 167M 8% /boot
tmpfs 502M 472K 501M 1% /dev/shm
.host:/ 186G 158G 29G 85% /mnt/hgfs
/dev/sr0 3.9G 3.9G 0 100% /media/Fedora 10 x86_64 DVD
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
.host:/ on /mnt/hgfs type vmhgfs (rw,ttl=5)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,o
bjc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifil
e --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)
configure:3201: $? = 0
configure:3208: gcc -V >&5
backdoorGcc64.c: In function 'Backdoor_InOut':
backdoorGcc64.c:64: error: PIC register 'rbx' clobbered in 'asm'
backdoorGcc64.c: In function 'BackdoorHbIn':
backdoorGcc64.c:114: error: PIC register 'rbx' clobbered in 'asm'
backdoorGcc64.c: In function 'BackdoorHbOut':
backdoorGcc64.c:153: error: PIC register 'rbx' clobbered in 'asm'
make[2]: *** [backdoorGcc64.lo] Error 1
make[2]: Leaving directory `/home/bob/scratch/jboss-cloud/build/topdir/BUILD/open-vm-tools-2008.12.23-137496/lib/backdoor'
make[1]: Leaving directory `/home/bob/scratch/jboss-cloud/build/topdir/BUILD/open-vm-tools-2008.12.23-137496/lib'
[bob@philbert jboss-haze]$ ./apache-cxf-2.1.3/bin/wsdl2java -p org.jboss.haze -d target/ -server -verbose ec2.wsdl
Loading FrontEnd jaxws ...
Loading DataBinding jaxb ...
wsdl2java -p org.jboss.haze -d target/ -server -verbose ec2.wsdl
wsdl2java - Apache CXF 2.1.3
WSDLToJava Error: Element {http://ec2.amazonaws.com/doc/2008-12-01/}instancesSet has Having the same name with different types[{http://ec2.amazonaws.com/doc/2008-12-01/}TerminateInstancesInfoType -- {http://ec2.amazonaws.com/doc/2008-12-01/}TerminateInstancesResponseInfoType], In wrapper style, there is a collision as per the spec.
<xs:element name="TerminateInstances" type="tns:TerminateInstancesType"/>
<xs:complexType name="TerminateInstancesType">
<xs:sequence>
<xs:element name="instancesSet" type="tns:TerminateInstancesInfoType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TerminateInstancesInfoType">
<xs:sequence>
leonard:amazon bob$ ./ec2-api-tools/bin/ec2-describe-instances -U http://localhost:8080/ec2 -v --debug
Setting User-Agent to [ec2-api-tools 1.3-30349]
------------------------------[ REQUEST ]-------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsu:Timestamp wsu:Id="Timestamp-1363121552" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2009-01-18T20:27:53.028Z</wsu:Created>