Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NameNotFoundException: Can't see my datasource

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I decided to upgrade to the CVS version after running 2.14 for a few days. I'm running into a very strange problem however.

Everything ran relatively fine when I downloaded and installed the stable version. Now I'm getting a NameNotFoundException when the forum tries to start up.

Environment:

App Server: JBoss 4.0.3RC2
Java: JDK 1.5.0
OS: Both Mac OS 10.4 and Debian Linux
DB: PostgreSQL 8.0


As you can see from my JBoss JMX Console, the data source "jdbc/forum-ds" is bound:




Here's part of my SystemGlobals.properties:



I even added a debug statement to DataSourceConnection.java, but it's truncating the JNDI name of my datasource. I've even tried changing the JNDI name. Nothing seems to work.






The same datasource worked before I grabbed the code from CVS. What a am I doing wrong?
[originally posted on jforum.net by elusivemel]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've added the issue to Jira. Sorry about the double- and cross-posting.
[originally posted on jforum.net by elusivemel]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
instead of

java:jdbc/forum-ds

try changing the name to just

java:/forum-ds

I had similar problems with this jdbc/ thing too

Rafael
[originally posted on jforum.net by Rafael Steil]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic