• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

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

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic