remote « jndi « Java Enterprise Q&A





1. How to set a timeout during remote ejb lookup?    stackoverflow.com

I'm trying to access a remote ejb which is not available yet. But the lookup takes 5 min before I get the NameNotFoundException. Is there a way I can set the ...

2. How to initialize ConnectionFactory for remote JMS queue when remote machine is not running?    stackoverflow.com

Using JBoss 4.0.5, JBossMQ, and Spring 2.0.8, I am trying to configure Spring to instantiate beans which depend on a remote JMS Queue resource. All of the examples I've come across ...

3. Accesing an remote enterprise bean within a simple Java class    stackoverflow.com

Here's my Java class

import endpoint.NewSessionRemote;
import javax.naming.Context;
import javax.naming.InitialContext;

public class HelloClient {

    public static void main(String[] args) {
        try {
    ...

4. Code to list all the entries in jndi on remote machine    stackoverflow.com

Can any one tell or point me to code to list all the jndi entries in a remote machine

5. Lookup of remote interface is not getting recognised in JBoss    stackoverflow.com

The following code is used by IPMBaseBean.class for accessing remote interface .

Object obj = iniCtx.lookup("java:/comp/env/ejb/ODIControllerSessionEJB");
In jboss-web.xml jndi-name is refered as below
<ejb-ref-name>ejb/ODIControllerSessionEJB</ejb-ref-name>
<jndi-name>jnp://vwhq5275.whq.ual.com:6200/ODIControllerSessionEJB</jndi-name>
Error:
Naming exception 
javax.naming.NameNotFoundException: comp not bound..
Please suggest on this issue. ...

6. Securing JNDI for remote clients on JBoss    stackoverflow.com

Does anybody know how to secure the JNDI access for remote clients on JBoss? I know how to secure remote JMX invokers but even with that in effect it is still possile ...

7. Is portable jndi syntax (EJB3.1) available across machines?    stackoverflow.com


I was reading about "Portable Global JNDI names" in several articles, here and there for example, but I was unable to understand whether this syntax only applies to inbound machine lookups ...

8. Unable to bind remote object through JNDI    stackoverflow.com

We want to establish a jndi connection between 2 JBoss Servers. The primary objective is to call a class located remotely on server JBoss from the client JBoss. We are using - Service ...

9. Unable to make remote JNDI calls from my local EJBs    stackoverflow.com

I am using jboss-5.0.1 GA. I am trying to invoke EJB deployed on remote JBoss server from my local EJB using JNDI. I have included the remote interfaces jar file in my local ...





10. bind remote object to JNDI tree    coderanch.com

I want to create a JNDI tree in the same JVM with remote object, and then I have two problem: 1> Should I bind remote object or its stub to the JNDI tree? 2> How to look up the JNDI tree to get the binded stub from the client side? (Suppose server ip is 192.168.99.42) I hope a gentleman would give ...