[JBoss JIRA] Created: (EMBJOPR-21) "CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} ... RHQDS" warning logged during AS5 startup
by Ian Springer (JIRA)
"CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} ... RHQDS" warning logged during AS5 startup
----------------------------------------------------------------------------------------------------------------------------
Key: EMBJOPR-21
URL: https://jira.jboss.org/jira/browse/EMBJOPR-21
Project: Embedded Jopr
Issue Type: Bug
Components: Core Infrastructure
Affects Versions: 1.0
Reporter: Ian Springer
Fix For: 1.1
Here's the full log message:
11:23:54,071 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR
DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
persistence.unit:unitName=#rhqpu
-> jboss.jca:name=RHQDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=RHQDS,service=DataSourceBinding' **}
*** CONTEXTS IN ERROR: Name -> Error
jboss.jca:name=RHQDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=RHQDS,service=DataSourceBinding' **
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:834)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
I'm pretty sure this warning is the result of AS5 trying to deploy admin-console.war/WEB-INF/lib/rhq-core-domain-1.2.0-SNAPSHOT.jar as an EJB-JAR. This jar contains a META-INF/persistence.xml which defines a "rhqpu" persistence unit that references a "RHQDS" datasource. It also contains a META-INF/ejb-jar.xml. I'm not sure whether it's correct for AS5 to be trying to deploy the jar as an EJB-JAR, being as its in a WEB-INF/lib directory. We don't see a similar warning on AS4, so it presumably does not try to deloy it as an EJB-JAR.
The warning doesn't seem to break anything. However, it is long and ugly and will alarm users, so we need to figure out a way to get rid of it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (EMBJOPR-25) discovery fails with ClassNotFoundExceptions when admin-console.war is deployed to a Jopr Server JBossAS instance
by Ian Springer (JIRA)
discovery fails with ClassNotFoundExceptions when admin-console.war is deployed to a Jopr Server JBossAS instance
-----------------------------------------------------------------------------------------------------------------
Key: EMBJOPR-25
URL: https://jira.jboss.org/jira/browse/EMBJOPR-25
Project: Embedded Jopr
Issue Type: Bug
Components: Web App/Integration
Affects Versions: 1.0
Reporter: Ian Springer
Priority: Minor
It's probably picking up RHQ classes from rhq.ear via the UCL.
Here's an example of one of the errors:
16:37:02,716 INFO [RuntimeDiscoveryExecutor] Running runtime discovery scan rooted at platform...
16:37:03,170 ERROR [RuntimeDiscoveryExecutor] Error running runtime report
org.rhq.core.clientapi.agent.PluginContainerException: Could not build component for Resource [Resource[id=-39, type=Con
nector, key=jboss.web:address=0.0.0.0,port=7443,type=Connector, name=Tomcat Connector (7443)]]
at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:954)
at org.rhq.core.pc.inventory.InventoryManager.mergeResourceFromDiscovery(InventoryManager.java:878)
at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:225)
at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:234)
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:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.j
ava:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207
)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: org/rhq/core/pluginapi/measurement/MeasurementFacet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:675)
at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:655)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:193)
at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:520)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:675)
at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:655)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:193)
at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:520)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.rhq.core.pc.plugin.PluginComponentFactory.instantiateClass(PluginComponentFactory.java:128)
at org.rhq.core.pc.plugin.PluginComponentFactory.buildResourceComponent(PluginComponentFactory.java:104)
at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:951)
... 13 more
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.rhq.core.pluginapi.measurement.MeasurementFa
cet
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 57 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (EMBJOPR-24) provide support for viewing update history on Content tab
by Ian Springer (JIRA)
provide support for viewing update history on Content tab
---------------------------------------------------------
Key: EMBJOPR-24
URL: https://jira.jboss.org/jira/browse/EMBJOPR-24
Project: Embedded Jopr
Issue Type: Feature Request
Components: Web App/Integration
Affects Versions: 1.0
Reporter: Ian Springer
Priority: Minor
We could optionally add an Update History section below the above that would look something like this:
-----------------------------------------------------------------------------------------------------
Update History
Update Time File Size Status User
===============================================================
Fri, Oct 31, 4:19pm EST 10397000 bytes Success admin
Fri, Oct 31, 10:37am EST 11245692 bytes Failure admin
-----------------------------------------------------------------------------------------------------
I really don't see this providing too much value. It wouldn't allow you to revert to the previous versions or even download them, and it is lost when the app server is stopped. However, I'm creating this JIRA to record the idea in case it comes up again in the future.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month