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
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
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
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
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
--
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
---
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
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
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
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
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
---
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
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
13 matches
Mail list logo