aspose file tools*
The moose likes JBoss/WildFly and the fly likes Problem with look up JNDI on JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem with look up JNDI on JBOSS" Watch "Problem with look up JNDI on JBOSS" New topic
Author

Problem with look up JNDI on JBOSS

avseq anthoy
Ranch Hand

Joined: Apr 27, 2004
Posts: 104
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: 10285
    
169



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: 104
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~
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with look up JNDI on JBOSS