aspose file tools*
The moose likes JBoss/WildFly and the fly likes resource-env-ref jdbc/myOracle found in jboss.xml but not in ejb-jar.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "resource-env-ref jdbc/myOracle found in jboss.xml but not in ejb-jar.xml" Watch "resource-env-ref jdbc/myOracle found in jboss.xml but not in ejb-jar.xml" New topic
Author

resource-env-ref jdbc/myOracle found in jboss.xml but not in ejb-jar.xml

Bruce Sanders
Greenhorn

Joined: Jan 03, 2012
Posts: 6
1st - I'm running jboss 4.0 - Not by choice - must compile for jdk1.4

I don't expect many responses because this is so old but I'll give it a shot. I've provided the files for review to see if anyone notices anything obvious. I have not tested it because it doesn't compile;.

oracle-ds.xml



server.xml


jboss-web.xml - NOTE - the compile doesn't like <resource-ref>



ejb-jar.xml



jboss.xml



web.xml



Full Error

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

The error message complained about jboss.xml, so I loaded that file into Eclipse to see what it had to say. Looks like the <session> content is incorrect. According ot the error messages, the <resource-env-ref> section must come before the <method-attributes> section.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: resource-env-ref jdbc/myOracle found in jboss.xml but not in ejb-jar.xml