This file contains hidden or 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
| rhqadmin@localhost:7080$ var httpd = ProxyFactory.getResource(discovered_httpd_server.id); | |
| java.lang.NoClassDefFoundError: org/rhq/core/clientapi/agent/PluginContainerException | |
| at java.lang.Class.getDeclaredMethods0(Native Method) | |
| at java.lang.Class.privateGetDeclaredMethods(Class.java:2444) | |
| at java.lang.Class.privateGetPublicMethods(Class.java:2564) | |
| at java.lang.Class.getMethods(Class.java:1427) | |
| at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:426) | |
| at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:323) | |
| at java.lang.reflect.Proxy.getProxyClass(Proxy.java:518) | |
| at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:598) |
This file contains hidden or 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
| [root@domU-12-31-39-00-B1-A3 bin]# RHQ_CLI_JAVA_HOME=/usr/lib/jvm/jre-1.6.0/ ./rhq-cli.sh -u rhqadmin -p rhqadmin | |
| RHQ - RHQ Enterprise Remote CLI 3.0.0.B03 | |
| Remote server version is: 3.0.0.B03(b2804ea) | |
| Failed to load manager ConfigurationManager due to missing class: java.lang.reflect.InvocationTargetException | |
| Login successful | |
| rhqadmin@localhost:7080$ |
This file contains hidden or 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
| [root@bitrain ~]# dmesg | |
| [ 0.000000] Linux version 2.6.32.1-rscloud (root@builder.slicehost.com) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ) #13 SMP Wed Feb 17 00:11:43 UTC 2010 (Rackspace Cloud 2.6.32.1-rscloud) | |
| [ 0.000000] Command line: root=/dev/sda1 ro xencons=tty console=tty1 clocksource=jiffies | |
| [ 0.000000] KERNEL supported cpus: | |
| [ 0.000000] Intel GenuineIntel | |
| [ 0.000000] AMD AuthenticAMD | |
| [ 0.000000] Centaur CentaurHauls | |
| [ 0.000000] Xen-provided physical RAM map: | |
| [ 0.000000] Xen: 0000000000000000 - 0000000010800000 (usable) | |
| [ 0.000000] last_pfn = 0x10800 max_arch_pfn = 0x80000000 |
This file contains hidden or 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
| #!/bin/sh | |
| # | |
| # jboss-as6 Start up the JBoss Application Server | |
| # | |
| # chkconfig: 2345 84 15 | |
| # description: JBoss Application Server | |
| # processname: jboss-as6 | |
| # config: /etc/jboss-as.conf | |
| # pidfile: /var/run/jboss-as6.pid |
This file contains hidden or 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
| [root@domU-12-31-39-05-74-12 ~]# ls /opt/rhq-agent-3.0.0.B02/plugins/ -1 | |
| rhq-agent-plugin-3.0.0.B02.jar | |
| rhq-aliases-plugin-3.0.0.B02.jar | |
| rhq-apache-plugin-3.0.0.B02.jar | |
| rhq-augeas-plugin-3.0.0.B02.jar | |
| rhq-cron-plugin-3.0.0.B02.jar | |
| rhq-database-plugin-3.0.0.B02.jar | |
| rhq-grub-plugin-3.0.0.B02.jar | |
| rhq-hosts-plugin-3.0.0.B02.jar | |
| rhq-hudson-plugin-3.0.0.B02.jar |
This file contains hidden or 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
| I, [2010-02-17T13:04:39.494854 #9821] INFO -- : Got new management appliance address: 10.254.231.213 | |
| D, [2010-02-17T13:04:39.495642 #9821] DEBUG -- : Executing commands for EC2 environment... | |
| D, [2010-02-17T13:04:39.523326 #9821] DEBUG -- : Executing CirrASManagement::UpdateS3PingCredentialsCommand... | |
| I, [2010-02-17T13:04:39.523528 #9821] INFO -- : Asking for AWS credentials... | |
| D, [2010-02-17T13:04:39.523608 #9821] DEBUG -- : GET: http://10.254.231.213:4545/latest/awscredentials | |
| D, [2010-02-17T13:04:39.527648 #9821] DEBUG -- : Reading JBoss AS config file... | |
| D, [2010-02-17T13:04:39.527775 #9821] DEBUG -- : Reading AWS credentials from config file... | |
| D, [2010-02-17T13:04:39.527914 #9821] DEBUG -- : Command CirrASManagement::UpdateS3PingCredentialsCommand executed. | |
| D, [2010-02-17T13:04:39.527970 #9821] DEBUG -- : Commands for EC2 environment executed. | |
| D, [2010-02-17T13:04:39.528026 #9821] DEBUG -- : Checking if JBoss AS is running... |
This file contains hidden or 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
| [oddthesis@lolek-f12 spec]$ spec commands/update-rhq-agent-command-spec.rb | |
| .E, [2010-02-05T21:32:53.806104 #3714] ERROR -- : Couldn't load configuration for RHQ Agent, check logs for errors. | |
| F | |
| 1) | |
| Spec::Mocks::MockExpectationError in 'CirrASManagement::RHQAgentUpdateCommand should load configuration file' | |
| #<CirrASManagement::RHQAgentUpdateCommand:0xb75d4f00> expected :update_entry with ("rhq.agent.name", "back-end-a-fancy-hostname") once, but received it 0 times | |
| /home/oddthesis/git/cirras-management/spec/commands/update-rhq-agent-command-spec.rb:26: | |
| Finished in 0.005563 seconds |
This file contains hidden or 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 'cirras-management/api/commands/update-rhq-agent-command' | |
| module CirrASManagement | |
| describe RHQAgentUpdateCommand do | |
| before(:all) do | |
| end | |
| before(:each) do | |
| Socket.should_receive(:gethostname).any_number_of_times.and_return("a-fancy-hostname") |
This file contains hidden or 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
| name: httpd | |
| summary: Appliance with Apache HTTPD web server | |
| appliances: | |
| - jeos | |
| packages: | |
| includes: | |
| - httpd |
This file contains hidden or 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
| # 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. | |
| # |