Bundle Deployment Issues
setianusa Jul 17, 2012 6:56 AMHi,
I have a couple of questions releated to bundle deployment :
1. you can add customs messages within the deploy.xml via <echo> and <rhq:audit>, but I could not see
any of my customs messages in the GUI, nor the rhq-server-log4j.log despite I set the level to TRACE on org.rhq
2. typical scenario during the preinstall stage are stop the appserver (JBoss7), ssh the SQL scripts to a database server,
execute them with the option to log the output generated, and bring back appserver. How can we display that SQL log generated into
the GUI ?
3. attached is a screen shot of Deployment Details. Funny thing is that I can only look as the details up to
'Build Event' row. After that row, I can not see details, the row is not even highlighted. Any idea on this ?
4. on the Resource:Measurements portlet, some says 'This resource has no recent metrics', and others aren't.
Why has no recent metrics even the server was up for more than three days ?
5. on my RHQ agent, I got the following exceptions :
a). 2012-07-17 01:11:41,640 ERROR (LogFileEventPoller)- Failed to read log file being tailed: /var/log/messages
java.io.FileNotFoundException: /var/log/messages (Permission denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileReader.<init>(FileReader.java:72)
at org.rhq.core.pluginapi.event.log.LogFileEventPoller.processNewLines(LogFileEventPoller.java:131)
at org.rhq.core.pluginapi.event.log.LogFileEventPoller.poll(LogFileEventPoller.java:103)
at org.rhq.core.pc.event.EventPollerRunner.run(EventPollerRunner.java:49)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
b). 2012-07-17 01:45:55,604 WARN (ConfigurationCheckExecutor)- An error occurred while checking for an updated Resource configuration for Resource[id=10178, uuid=13d114e5-16f6-4aaa-8295-389104c05648, type={Sudoers}Sudoers, key=/etc/sudoers, name=Sudoers, parent=rhq.agent.ppl].
java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class net.augeas.jna.Aug
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:639)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.augeas.jna.Aug
at net.augeas.Augeas.<init>(Unknown Source)
at org.rhq.plugins.augeas.AugeasConfigurationComponent.createAugeas(AugeasConfigurationComponent.java:378)
at org.rhq.plugins.augeas.AugeasConfigurationComponent.initAugeas(AugeasConfigurationComponent.java:721)
at org.rhq.plugins.augeas.AugeasConfigurationComponent.getAugeas(AugeasConfigurationComponent.java:354)
at org.rhq.plugins.augeas.AugeasConfigurationComponent.abortIfAugeasNotAvailable(AugeasConfigurationComponent.java:737)
at org.rhq.plugins.augeas.AugeasConfigurationComponent.loadResourceConfiguration(AugeasConfigurationComponent.java:141)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
Thanks for the help.
-
Capture1.PNG 48.5 KB