Win a copy of Head First Android this week in the Android forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

how to deploy the datasource in the global namespace ????

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
I am new to using jboss and i have a datasource that is bound to java namespace. How do i deploy the datasource to the global name space?

Currently my datasource is bound to java namespace as shown below taken from a JNDI tree dump from the JMX console

JbpmDataSource
java:/JbpmDS
javax.namin g.LinkRef


Regards ...


 
Author
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try using:

<use-java-context>false</use-java-context>

after your jndi-name definition in your -ds.xml file.

See: http://javahowto.blogspot.com/2006/08/access-jboss-datasource-remotely-from.html
 
reply
    Bookmark Topic Watch Topic
  • New Topic