[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-06-06 Thread sirji
How can we lookup remote JMS queue/topic or JMS connection factory? Can we use use-java-context there as well? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051695#4051695 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-06-06 Thread jaikiran
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=bbop=viewtopicp=4051811#4051811

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-06-06 Thread jaikiran
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 :

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-05-04 Thread kooudy
It seems that it works :) thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043156#4043156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043156 ___ jboss-user mailing list

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-05-02 Thread jaikiran
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

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-27 Thread kooudy
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

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-25 Thread jaikiran
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=bbop=viewtopicp=4040459#4040459 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-24 Thread kooudy
Sorry, I am late, but no email notification have received | xa-datasource | jndi-nameproject/jndi-name | use-java-contextfalse/use-java-context | track-connection-by-tx/ | xa-datasource-classorg.postgresql.xa.PGXADataSource/xa-datasource-class |

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-23 Thread jaikiran
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=bbop=viewtopicp=4039698#4039698 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-19 Thread jaikiran
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 :

[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-19 Thread kooudy
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=bbop=viewtopicp=4038971#4038971 Reply to the post :