Is there a way to lookup and use the DataSource in JBoss from remote java client? When we tried that, NameNotFoundException is thrown.
What we want to accomplish is that several java stanalone clients which are remotely installed to use the shared connection pool in JBoss to mimize the connection to RDBMS.
It seems that the these DS extends LocalTxConnectionManager so that the remotely accessing it is prohibited?
This is impossible and an extremely bad idea for numerous reasons.
Write a session bean to do the db work, and call it from the remote clients.