Note that there are some explanatory texts on larger screens.

plurals
  1. POJNDI over HTTP on JBoss 4.2.3GA
    primarykey
    data
    text
    <p>I've got a remote server on eapps.com that I'm using as my "production" server. I have my own computer at home that I'm using as my "development" server. I'm trying to use JNDI over HTTP to do some batch processing. The following works at home, but not on the eapps machine.</p> <p>I'm connecting to some EJBs (stateless session), and have my jndi.properties set to this:</p> <p>(this is for the eapps machine)</p> <pre><code>java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory java.naming.provider.url=http://my.prodhost.com:8080/invoker/JNDIFactory java.naming.factory.url.pkgs=org.jboss.naming.client:org.jnp.interfaces # timeout is in milliseconds jnp.timeout=15000 jnp.sotimeout=15000 jnp.maxRetries=3 </code></pre> <p>(this is for my machine at home)</p> <pre><code>java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory java.naming.provider.url=http://localhost:8080/invoker/JNDIFactory java.naming.factory.url.pkgs=org.jnp.interfaces java.naming.factory.url.pkgs=org.jboss.naming.client # timeout is in milliseconds jnp.timeout=15000 jnp.sotimeout=15000 jnp.maxRetries=3 </code></pre> <p>As I said, it works at home, but when I try it remotely, I get:</p> <pre><code>Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://my.prodhost.com:4446//?dataType=invocation&amp;enableTcpNoDelay=true&amp;marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&amp;socketTimeout=600000&amp;unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller] ... Caused by: java.net.ConnectException: Connection timed out: connect </code></pre> <p>Am I doing something wrong here, or is it possibly a firewall issue? To the best of my knowledge, port 4446 is not blocked.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload