[JBoss-user] [Installation & Configuration] - why the in xxx-ds.xml does not work in J

2005-04-13 Thread nimrod
I configured my mssql-ds.xml in jboss4.0.2 like the following: MSSQLDS false . . but the element did not work, I could not find the jndi 'MSSQLDS' on my client, however the same mssql-ds.xml did work in jboss4.0.0. Does the Jboss4.0.2 does not support the any m

[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: Datasource Lookup from a Client

2004-09-24 Thread nimrod
Hi, I have a same problem. Could you please contribute more detailed info about the and the global JNDI namespace Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849389#3849389 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [JCA/JBoss] - Re: How to access a DataSource in JBoss 4.0 from a client?

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

[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 ---

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

2004-09-23 Thread nimrod
My environment: J2SDK 1.4.2_02 + J2EE 1.3.1 + JBoss 4.0.0 I have deployed the mssql-ds.xml to D:\jboss-4.0.0\server\default\deploy, the mssql-ds.xml is like this: mySqlServerDB jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=test com.microsoft.jdbc.sqlserver.SQLServerDriver sa and

[JBoss-user] [JCA/JBoss] - Re: How to access a DataSource in JBoss 4.0 from a client?

2004-09-23 Thread nimrod
I ever changed the dsName in java code from "java:mySqlServerDB" to "mySqlServerDB" or "java:/mySqlServerDB", I still got the same error message. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849379#3849379 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [JCA/JBoss] - How to access a DataSource in JBoss 4.0 from a client?

2004-09-23 Thread nimrod
I have deployed the mssql-ds.xml to D:\jboss-4.0.0\server\default\deploy, the mssql-ds.xml is like this: mySqlServerDB jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=test com.microsoft.jdbc.sqlserver.SQLServerDriver sa and when the Jboss starting, the console display

[JBoss-user] [Beginners Corner] - The Tomcat's (4.1.x) data source can be accessed by an exter

2004-09-23 Thread nimrod
Hi, I have a question: The Tomcat's (4.1.x) data source can be accessed by an external java class? ( This class does not reside in the Tomcat container). My meaning is, could I use the Properties to initial the context like this? Properties env = new Properties(); env.put("java.naming.f

[JBoss-user] [Datasource Configuration] - How to configure more than one DataSource in Jboss3.2? Thank

2004-03-02 Thread nimrod
I want to configure two DataSource to connect to two different DataBase, how can I do? Thanks. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823946#3823946";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823946>Reply to the post ---

[JBoss-user] [EJB/JBoss] - Re: Why can not find DataSource by running java file in comm

2004-02-26 Thread nimrod
Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823194#3823194 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823194 --- SF.Net is sponsored by: Speed Start Yo

[JBoss-user] [EJB/JBoss] - Why can not find DataSource by running java file in command

2004-02-26 Thread nimrod
The Jboss 3.2 (with Tomacat 4.1 integrated) server is running and the myDS bound to the DataSource correctly. I can find the DataSource by the JNDI name myDS in JSP files which also have been deployed to the server in default folder ROOT.war. But I writed a Java file to access myDS, I complied