[
https://issues.jboss.org/browse/EMBJOPR-70?page=com.atlassian.jira.plugin...
]
Yi Chen Chen commented on EMBJOPR-70:
-------------------------------------
Dear Sir,
After increasing my JVM memory settings in run.sh/conf/bat to at least the following
variable (via the JAVA_OPTS environment variable), I can access the Embedded Jopr Core
after logging in the Embedded Jopr administrative interface although I still have
encounter the warning shown as the first post.
-Xms200M -Xmx200M -XX:PermSize=200M -XX:MaxPermSize=200M
Thanks for building this tool, by the way; it's pretty cool.
Chen Yi Chen
java.lang.ClassCastException running 1.1.0.GA in 4.2.2.GA or
4.2.3.GA
---------------------------------------------------------------------
Key: EMBJOPR-70
URL:
https://issues.jboss.org/browse/EMBJOPR-70
Project: Embedded Jopr
Issue Type: Bug
Affects Versions: 1.1
Reporter: Tom Cunningham
Seeing the following ClassCastException when running emb jopr 1.1.0.GA in either 4.2.2.GA
or 4.2.3.GA. I see it on startup and also when logging in to admin-console.
12:44:26,343 WARN [RuntimeDiscoveryExecutor] Failed to execute runtime discovery for
Resources of type ResourceType[id=0, category=Service, name=JBossMQ, plugin=JBossAS]
java.lang.ClassCastException: org.jboss.mq.server.JMSDestinationManager
at
org.rhq.plugins.jbossas.AbstractMessagingDiscoveryComponent.getVersionFromSource(AbstractMessagingDiscoveryComponent.java:107)
at
org.rhq.plugins.jbossas.AbstractMessagingDiscoveryComponent.discoverResources(AbstractMessagingDiscoveryComponent.java:72)
at
org.rhq.plugins.jbossas.JBossMQDiscoveryComponent.discoverResources(JBossMQDiscoveryComponent.java:44)
at
org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.executeComponentDiscovery(RuntimeDiscoveryExecutor.java:246)
at
org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:218)
at
org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.runtimeDiscover(RuntimeDiscoveryExecutor.java:136)
at
org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:97)
at
org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:54)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
12:44:26,394 INFO [ContentManager] Discovered 1 new packages for Resource with id
[-33].
12:44:26,412 INFO [ContentManager] Discovered 1 new packages for Resource with id
[-34].
12:44:26,421 INFO [ContentManager] Discovered 1 new packages for Resource with id [-35].
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira