Hello, 

i've tried to make a remote call from one JBoss instance to another. I guess 
this is related to this bug http://jira.jboss.com/jira/browse/JBAS-1442. I'm 
using the standard way of setting up the context:

  | Properties properties = new Properties();
  | properties.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | properties.put(Context.PROVIDER_URL, "jnp://otherserver:1099(");
  | InitialContext ctx = new InitialContext(properties);
  | 
This results in the following trace:

  | java.rmi.ServerException: IOE; nested exception is: 
  |     java.net.ConnectException: Connection refused: connect
  |     at 
org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvokerProxy.java:118)
  |     at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
  |     at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  |     at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  |     at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
  |     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  |     at $Proxy1029.create(Unknown Source)
  | 
Is it strange that a HTTP-invoker is created?
I can connect to the port using telnet and on startup the server prints " 
[NamingService] Started jndi bootstrap jnpPort=1099". 

What do you suggest?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897107#3897107

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897107


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to