• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JForum installer says... "is not bound in this Context" TomEE has no errors creating resource

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fedora 23
JForums jforum-2.4.1.war
TomEE 1.7.4 (tomcat 7.0.68)
MariaDB 10.0.23-MariaDB MariaDB Server

TomEE startup log says...
Jul 27, 2016 7:54:23 PM org.apache.openejb.assembler.classic.Assembler createRecipe
INFO: Creating Resource(id=usqueForumsDS)
With no errors.

JForums install says...
Name [usqueForumsDS] is not bound in this Context. Unable to find [usqueForumsDS].

Where do I start to find the cause?
 
Saloon Keeper
Posts: 7582
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Post the Resource definition from the context.xml (I assume TomEE has that, otherwise from wherever that is configured in TomEE).
 
Paul Roubekas
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
============= context.xml  ==================


============= tomee.xml  ==================
 
Paul Roubekas
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The issue was with the DataSource name.  For TomEE I had to use "openejb:Resource/jdbc/usqueForumsDS".

Now the install just hangs.  I will open another thread since it is a new problem.
 
knowledge is the difference between drudgery and strategic action -- tiny ad
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic