|
|
|
hmm... the stack trace in this jira shows that it was a standalone agent... see the error message where this is:
/root/rhq-agent/lib/... so unsure what is different that caused this error to appear. This should be easy to fix. We use a newer version of JAXB than ships with the JVM. (2.1 vs. 2.0)
We can just mkdir lib/endorsed and move the two jaxb jars there from the lib dir... then startup the agent with either of the following for rhq-agent.bat and .sh respectively -Djava.endorsed.dirs=%RHQ_AGENT_HOME%\lib\endorsed -Djava.endorsed.dirs=$RHQ_AGENT_HOME/lib/endorsed (incidentally, i tested this fix and it worked fine... just didn't integrate it into the build system) activation-1.1.jar also needed to be moved to the endorsed dir, so it gets loaded in the same classloader as JAXB - r934.
This defect was accidentally marked 'qa in progress', pushing back to resolved.
Note, this should be tested in conjunction with http://jira.rhq-project.org/browse/RHQ-542. Here are the permutations that should be tested:
1) Server on JDK 5, Agent on JDK 5 2) Server on JDK 5, Agent on JDK 6 3) Server on JDK 6, Agent on JDK 5 4) Server on JDK 6, Agent on JDK 6 I'd suggest running the GUI test suite against the above four cases, and also checking the Server and Agent logs for any errors. I started the agent and server under sun jdk6u6, and then ran the automated UI regression suite, which passed.
I will continue to run other tests under java 6 and open any issues I find. Did you try permutations 1, 2, and 3 from my previous comment?
I ran the automation on all four combos (serv/agent, 1.5/1.6), all passed.
Lets reopen and do some more testing in the 2.1 cycle
I've tested this extensively with jdk1.6 and haven't seen any jdk related problems. Closing.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://forums.rhq-project.org/viewtopic.php?f=5&t=15
running standalone agent is fine with JDK6. Looks like embedded agent has the problem, which is to be expected because its running in the RHQ Server/JBossAS 4.2 and thus can't run on JDK6 due to the limitation placed on us by JBossAS 4.2.