| Author |
NameNotFoundException: Can't see my datasource
|
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
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
Joined: Apr 22, 2012
Posts: 17424
|
|
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
Joined: Apr 22, 2012
Posts: 17424
|
|
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]
|
 |
 |
|
|
subject: NameNotFoundException: Can't see my datasource
|
|
|