As far as the ConnectionFactory is concerned, even that is available in the
Global JNDI namespace under the name "ConnectionFactory".
This chapter might help, it has some JMS examples on JBoss:
http://docs.jboss.com/jbossas/admindevel326/html/ch6.chapt.html
View the original post :
http://www.
anonymous wrote : How can we lookup remote JMS queue/topic
queue/topic are bound in the Global JNDI and will be available to remote
client. You have any code, where you are not able to do this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051811#4051811
R
How can we lookup remote JMS queue/topic or JMS connection factory? Can we use
"" there as well?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051695#4051695
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051695
It seems that it works :)
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043156#4043156
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043156
___
jboss-user mailing lis
I went back and looked at the code that you posted:
anonymous wrote :
| Context ctx = new InitialContext();
| DataSource ds = (DataSource) ctx.lookup("project");
This should be:
Context ctx = new InitialContext();
| DataSource ds = (DataSource) ctx.lookup("java:/project");
And with this l
By using java context:
16:40:16,964 ERROR [NewProject] project not bound
| com.test.ProjectException: project not bound
| at com.test.Project.getConnection(Project.java:208)
| at com.test.Project.getNextID(Project.java:177)
| at com.test.Project.create(Project.java:
There should not be any problems accessing the datasource from that bean. Can
you post the exception that you are seeing?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040459#4040459
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
Sorry, I am late, but no email notification have received
|
| project
| false
|
|
org.postgresql.xa.PGXADataSource
| localhost
| 5432
| test
| abc
| cba
|
|
Getting datasource (from Stateless EJB 3.0):
| Context ctx = new Ini
Can you post the -ds.xml contents and also the code from where you are looking
up the datasource? Where does this lookup code belong - servlet/jsp?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039698#4039698
Reply to the post :
http://www.jboss.com/index.
OK,
but, I have datasource within java namespace and I am not able to get this one
(within JBoss JVM) until I move it in global namespace, as I have mentoined.
Thank you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038971#4038971
Reply to the post :
ht
The java: namespace can be accessed only by the clients which are within the
same JVM as the application server. The global JNDI namespace is accessible for
all clients (remote and local clients) even if they are not in the same JVM as
the application server.
View the original post :
http://ww
11 matches
Mail list logo