[JBoss-user] [Installation & Configuration] - Re: How can I access a DataSource in JBoss 4.0 from a client

2004-09-24 Thread nimrod
in xxx-ds.xml, under this line: myHibernateSqlServerDB add a new line: false That's all.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849406#3849406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849406

[JBoss-user] [Installation & Configuration] - Re: How can I access a DataSource in JBoss 4.0 from a client

2004-09-24 Thread nimrod
The JBossJCA FAQ said "In JBoss-3.2.x you cannot, DataSources are not exposed remotely. There is an implementation of this in JBoss4. I would not recommend this anti-pattern", but how to do it in JBoss4.0.0? Someone said, to bind the datasource in the global jndi namespace, but how to bind the d

[JBoss-user] [Installation & Configuration] - Re: How can I access a DataSource in JBoss 4.0 from a client

2004-09-24 Thread Darknight
And the answer is: you cannot access the DS from client... So make a bean to handle it. However, since the default behaviour for JAAS login modules is to make a direct query on the DS it was AWFULLY strange that it didn't work. This isn't coherent at all, please rectify this in the jaas modules.

[JBoss-user] [Installation & Configuration] - Re: How can I access a DataSource in JBoss 4.0 from a client

2004-09-24 Thread Darknight
I have the very same problem even if my code does something different. Server-side the data source IS bound... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849387#3849387 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Installation & Configuration] - Re: How can I access a DataSource in JBoss 4.0 from a client

2004-09-23 Thread nimrod
Sorry, the error message should be "javax.naming.NameNotFoundException: mySqlServerDB not bound" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849381#3849381 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849381 ---