[embjopr-issues] [JBoss JIRA] Commented: (EMBJOPR-21) "CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} ... RHQDS" warning logged during AS5 startup

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Thu Oct 30 16:28:22 EDT 2008


    [ https://jira.jboss.org/jira/browse/EMBJOPR-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12436404#action_12436404 ] 

Andrew Lee Rubinger commented on EMBJOPR-21:
--------------------------------------------

Looks like the Structural Deployers are working just fine in AS5 ;)

EJB3 Persistence Specification 6.2:  Persistence Unit Packaging:

"A persistence unit is defined by a persistence.xml file. The jar file or directory whose META-INF
directory contains the persistence.xml file is termed the root of the persistence unit. In Java EE,
the root of a persistence unit may be one of the following:

* the WEB-INF/classes directory of a WAR file[40]

[40] The root of the persistence unit is the WEB-INF/classes directory; the persistence.xml file is therefore contained in the
WEB-INF/classes/META-INF directory."

...so either remove the persistence.xml or provide the DataSource.


> "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

        



More information about the embjopr-issues mailing list