• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

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?
 
Bartender
Posts: 7645
178
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic