| Author |
Problem with look up JNDI on JBOSS
|
avseq anthoy
Ranch Hand
Joined: Apr 27, 2004
Posts: 102
|
|
Dear all
I configure JNDI setting on JBoss , but it can't work.
Are there any wroing with my config?
My environment:
JBOSS 5.1.0 GA , JDK1.5.0_10-b03
My Step to Configure JNDI
Step 1:
Copy oracle-ds.xml from $JOBSS\docs\examples\jca to $JOBSS\server\default\deploy.
And change the content as follow
Step 2:
modify WEB-INF/web.xml
add the following content
Step 3:
Add jboss-web.xml in WEB-INF folder.
The content as below
Step 4:
My Spring config as below
But it still has error message , the message as below
Are there any wrongs with my steps?
Or I should modify some config file?
Please someone help me to solve the proble,the problem perplex me too long.
tks!
|
My Way,My Pace
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8147
|
|
This doesn't looks right. I don't know much about Spring, but i guess you should specify the resource-ref name here. So:
|
[My Blog] [JavaRanch Journal]
|
 |
avseq anthoy
Ranch Hand
Joined: Apr 27, 2004
Posts: 102
|
|
tks for your reply!
I modify the config according your post.
The error message is different with before,the error message as below
hibernate-config.xml as below
Are there any wrongs with my config?
tks~
|
 |
 |
|
|
subject: Problem with look up JNDI on JBOSS
|
|
|