[jboss-jira] [JBoss JIRA] (WFLY-1621) JPA view in management console is getting "No resource definition is registered for address..."
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Mon Jul 1 14:25:21 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786681#comment-12786681 ]
Scott Marlow commented on WFLY-1621:
------------------------------------
[~heiko.braun] Any idea why we are getting the above "No resource definition is registered for address" error? I seem to get it (in the web console "messages") whether we have any JPA deployments or not.
We don't seem to log the error exception in the server log.
> JPA view in management console is getting "No resource definition is registered for address..."
> -----------------------------------------------------------------------------------------------
>
> Key: WFLY-1621
> URL: https://issues.jboss.org/browse/WFLY-1621
> Project: WildFly
> Issue Type: Feature Request
> Components: JPA / Hibernate, Web Console
> Affects Versions: 8.0.0.Alpha2
> Reporter: Scott Marlow
> Assignee: Scott Marlow
>
> Reported by ehsavoie on IRC:
> {quote}
> <ehsavoie> it looks like wildfly is looking for a "hibernate-persistence-unit" element in the jpa subsystem which creates an error 500 on the jpa tab in the admin console with the standalone default configuration. Shouldn't there be a default working config there ?
> <smarlow> ehsavoie: sounds like a bug, which build of WildFly?
> <ehsavoie> master from this morning
> <ehsavoie> the 500 error: http://fpaste.org/22146/
> <ehsavoie> smarlow: commit b5367674f6b3efb778fee8baa2739ff8fda4b4a5
> <smarlow> ehsavoie: okay, another question, is this with a JPA application deployed?
> <ehsavoie> nope, blank standalone from the build
> <smarlow> ehsavoie: I'll try to recreate after my (master) build finishes. I usually have some JPA application deployed when I use the management console so I probably missed this
> <ehsavoie> smarlow: the error is 'logical' as there are no resource so the context.getFailureDescription().set(MESSAGES.noSuchResourceType(stepAddress)); is not surprising
> <smarlow> ehsavoie: thanks, i reproduced it
> * fharms has quit (Quit: This computer has gone to sleep)
> <ehsavoie> smarlow: you're welcome
> {quote}
> Internal Server Error
> "JBAS014883: No resource definition is registered for address [
> (\"deployment\" => \"*\"),
> (\"subsystem\" => \"jpa\"),
> (\"hibernate-persistence-unit\" => \"*\")
> ]"
> https://gist.github.com/scottmarlow/5902551
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list