[JBoss JIRA] Created: (EMBJOPR-363) "mvn install -Dmaven.test.skip=true" Failed
by Yi Chen Chen (JIRA)
"mvn install -Dmaven.test.skip=true" Failed
-------------------------------------------
Key: EMBJOPR-363
URL: https://issues.jboss.org/browse/EMBJOPR-363
Project: Embedded Jopr
Issue Type: Bug
Reporter: Yi Chen Chen
Priority: Blocker
Dear Sir,
After checking out the Embedded Jopr source from JBoss SVN, I encounter a question while executing the command "mvn install -Dmaven.test.skip=true".
The warnings and errors are shown as the following:
Some problems were encountered while building the effective model for org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.jboss.jbossws:jbossws-native-dist:zip -> duplicate declaration of version 3.1.1.GA @ org.rhq:rhq-parent:3.0.0, C:\Users\Chen Yi Chen\.m2\repository\org\rhq\rhq-parent\3.0.0\rhq-parent-3.0.0.pom, line 241, column 19
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
...
Failed to execute goal on project jopr-embedded-parent: Could not resolve dependencies for project org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT: Failed to collect dependencies for [commons-logging:commons-logging:jar:1.1.0.jboss (provided), i18nlog:i18nlog:jar:1.0.10 (compile), javax.xml.bind:jaxb-api:jar:2.1 (provided), log4j:log4j:jar:1.2.14 (provided), org.testng:testng:jar:jdk15:5.9 (test), org.jetbrains:annotations:jar:7.0.2 (provided)]: Failed to read artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could not transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to jboss-old (https://repository.jboss.org/maven2/): Access denied to: https://repository.jboss.org/maven2/commons-logging/commons-logging/1.1.0... -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExce...
Please help me to overcome this question, thank you very much!
Best Regards and have a Nice Day
Chen Yi Chen
Reference:
c:\embjopr>mvn install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type
:classifier)' must be unique: org.jboss.jbossws:jbossws-native-dist:zip -> dupli
cate declaration of version 3.1.1.GA @ org.rhq:rhq-parent:3.0.0, C:\Users\Chen Y
i Chen\.m2\repository\org\rhq\rhq-parent\3.0.0\rhq-parent-3.0.0.pom, line 241, c
olumn 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Embedded Jopr
[INFO] Embedded Jopr Core
[INFO] JBossAS 6.x Administration Console
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Embedded Jopr 1.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.jboss.org/maven2/commons-logging/commons-logging
/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
Downloading: https://repository.jboss.org/maven2/commons-logging/commons-logging
/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
Downloading: https://repository.jboss.org/maven2/org/jetbrains/annotations/7.0.2
/annotations-7.0.2.pom
Downloading: https://repository.jboss.org/maven2/org/jetbrains/annotations/7.0.2
/annotations-7.0.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Embedded Jopr ..................................... FAILURE [3.729s]
[INFO] Embedded Jopr Core ................................ SKIPPED
[INFO] JBossAS 6.x Administration Console ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.040s
[INFO] Finished at: Wed Aug 24 11:14:13 CST 2011
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jopr-embedded-parent: Could not resolv
e dependencies for project org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHO
T: Failed to collect dependencies for [commons-logging:commons-logging:jar:1.1.0
.jboss (provided), i18nlog:i18nlog:jar:1.0.10 (compile), javax.xml.bind:jaxb-api
:jar:2.1 (provided), log4j:log4j:jar:1.2.14 (provided), org.testng:testng:jar:jd
k15:5.9 (test), org.jetbrains:annotations:jar:7.0.2 (provided)]: Failed to read
artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could n
ot transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to jbo
ss-old (https://repository.jboss.org/maven2/): Access denied to: https://reposit
ory.jboss.org/maven2/commons-logging/commons-logging/1.1.0.jboss/commons-...
-1.1.0.jboss.pom -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
c:\embjopr>
Dear Sir,
After checking out the Embedded Jopr source from JBoss SVN, I encounter a question while executing the command "mvn install -Dmaven.test.skip=true".
The warnings and errors are shown as the following:
Some problems were encountered while building the effective model for org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.jboss.jbossws:jbossws-native-dist:zip -> duplicate declaration of version 3.1.1.GA @ org.rhq:rhq-parent:3.0.0, C:\Users\Chen Yi Chen\.m2\repository\org\rhq\rhq-parent\3.0.0\rhq-parent-3.0.0.pom, line 241, column 19
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
...
Failed to execute goal on project jopr-embedded-parent: Could not resolve dependencies for project org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT: Failed to collect dependencies for [commons-logging:commons-logging:jar:1.1.0.jboss (provided), i18nlog:i18nlog:jar:1.0.10 (compile), javax.xml.bind:jaxb-api:jar:2.1 (provided), log4j:log4j:jar:1.2.14 (provided), org.testng:testng:jar:jdk15:5.9 (test), org.jetbrains:annotations:jar:7.0.2 (provided)]: Failed to read artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could not transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to jboss-old (https://repository.jboss.org/maven2/): Access denied to: https://repository.jboss.org/maven2/commons-logging/commons-logging/1.1.0... -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExce...
Please help me to overcome this question, thank you very much!
Best Regards and have a Nice Day
Chen Yi Chen
Reference:
c:\embjopr>mvn install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type
:classifier)' must be unique: org.jboss.jbossws:jbossws-native-dist:zip -> dupli
cate declaration of version 3.1.1.GA @ org.rhq:rhq-parent:3.0.0, C:\Users\Chen Y
i Chen\.m2\repository\org\rhq\rhq-parent\3.0.0\rhq-parent-3.0.0.pom, line 241, c
olumn 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Embedded Jopr
[INFO] Embedded Jopr Core
[INFO] JBossAS 6.x Administration Console
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Embedded Jopr 1.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.jboss.org/maven2/commons-logging/commons-logging
/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
Downloading: https://repository.jboss.org/maven2/commons-logging/commons-logging
/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
Downloading: https://repository.jboss.org/maven2/org/jetbrains/annotations/7.0.2
/annotations-7.0.2.pom
Downloading: https://repository.jboss.org/maven2/org/jetbrains/annotations/7.0.2
/annotations-7.0.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Embedded Jopr ..................................... FAILURE [3.729s]
[INFO] Embedded Jopr Core ................................ SKIPPED
[INFO] JBossAS 6.x Administration Console ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.040s
[INFO] Finished at: Wed Aug 24 11:14:13 CST 2011
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jopr-embedded-parent: Could not resolv
e dependencies for project org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHO
T: Failed to collect dependencies for [commons-logging:commons-logging:jar:1.1.0
.jboss (provided), i18nlog:i18nlog:jar:1.0.10 (compile), javax.xml.bind:jaxb-api
:jar:2.1 (provided), log4j:log4j:jar:1.2.14 (provided), org.testng:testng:jar:jd
k15:5.9 (test), org.jetbrains:annotations:jar:7.0.2 (provided)]: Failed to read
artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could n
ot transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to jbo
ss-old (https://repository.jboss.org/maven2/): Access denied to: https://reposit
ory.jboss.org/maven2/commons-logging/commons-logging/1.1.0.jboss/commons-...
-1.1.0.jboss.pom -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
c:\embjopr>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Commented: (EMBJOPR-70) java.lang.ClassCastException running 1.1.0.GA in 4.2.2.GA or 4.2.3.GA
by Yi Chen Chen (JIRA)
[ 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
13 years, 5 months
[JBoss JIRA] Commented: (EMBJOPR-70) java.lang.ClassCastException running 1.1.0.GA in 4.2.2.GA or 4.2.3.GA
by Yi Chen Chen (JIRA)
[ https://issues.jboss.org/browse/EMBJOPR-70?page=com.atlassian.jira.plugin... ]
Yi Chen Chen commented on EMBJOPR-70:
-------------------------------------
I have tried to installed jopr-embedded-core-1.4.1-SNAPSHOT.war (downloaded from https://hudson.jboss.org/jenkins/job/embjopr/lastSuccessfulBuild/artifact...) and admin-console.war (downloaded from https://hudson.jboss.org/jenkins/job/embjopr/lastSuccessfulBuild/artifact...) this morning on my jboss 4.2.3 instance.
I always see the following exception in the logs, and the exception led to an incompletely deployed package, admin-console.war.
Exception starting filter Seam Filter java.lang.ClassCastException: org.jboss.on.embedded.LazyStartupFilter cannot be cast to javax.servlet.Filter
> 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
13 years, 5 months
[JBoss JIRA] Issue Comment Edited: (EMBJOPR-70) java.lang.ClassCastException running 1.1.0.GA in 4.2.2.GA or 4.2.3.GA
by Yi Chen Chen (JIRA)
[ https://issues.jboss.org/browse/EMBJOPR-70?page=com.atlassian.jira.plugin... ]
Yi Chen Chen edited comment on EMBJOPR-70 at 8/17/11 6:06 AM:
--------------------------------------------------------------
I installed embedded-jopr-1.2.0.CR-JBAS4 this afternoon on my jboss 4.2.3 instance.
I always see the following exception in the logs, and the exception led to the Runtime shutdown hook.
java.lang.RuntimeException: exception invoking: init javax.faces.el.EvaluationException: java.lang.RuntimeException: exception invoking: init at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
was (Author: chen-yi-chen):
I installed embedded-jopr-1.2.0.CR-JBAS4 this afternoon on my jboss 4.2.3 instance.
I always see the following exception (attachment) in the logs, and the exception led to the Runtime shutdown hook.
java.lang.RuntimeException: exception invoking: init javax.faces.el.EvaluationException: java.lang.RuntimeException: exception invoking: init at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
> 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
13 years, 6 months
[JBoss JIRA] Commented: (EMBJOPR-70) java.lang.ClassCastException running 1.1.0.GA in 4.2.2.GA or 4.2.3.GA
by Yi Chen Chen (JIRA)
[ https://issues.jboss.org/browse/EMBJOPR-70?page=com.atlassian.jira.plugin... ]
Yi Chen Chen commented on EMBJOPR-70:
-------------------------------------
I installed embedded-jopr-1.2.0.CR-JBAS4 this afternoon on my jboss 4.2.3 instance.
I always see the following exception (attachment) in the logs, and the exception led to the Runtime shutdown hook.
java.lang.RuntimeException: exception invoking: init javax.faces.el.EvaluationException: java.lang.RuntimeException: exception invoking: init at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
> 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
13 years, 6 months