aspose file tools
The moose likes JBoss 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
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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: 5532

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
 
Similar Threads
question about xdoclet in eclipse
JBoss 3.0 + Castor Transaction Rollback Exception
error while deploying ejb in jboss
SAXParseException: The content of element type "enterprise-beans" is incomplete, it m
Failed to resolve ejb-link