File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Bruce Sanders
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic