4.0.x has a native proxy and all DataSources are available remotely. You need to specify a use-java-context=false to avoid binding the data source under the java: context which is a vm local construct in order to be able to lookup the DataSource from a remote client. The following template binds a DataSource under jdbc/DB1 and is accessible remotely:
| <local-tx-datasource> | <jndi-name>jdbc/DB1</jndi-name> | <use-java-context>false</use-java-context> | <connection-url>jdbc:pointbase:server://@pointbase.server@:@pointbase.port@/@pointbase.dbName@,new</connection-url> | <driver-class>@pointbase.driver@</driver-class> | <user-name>@pointbase.user@</user-name> | <password>@pointbase.passwd@</password> | </local-tx-datasource> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862686#3862686 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862686 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user