Hi all 

We need connection between server and clients via http. JBOSS documentation 
tells that  JBOSS-SERVICE.XML must be changed. At the end of the message is 
this file.

In a localhost everything runs ok, but in a local network with a router the 
connection dosen't show any error by the incocations are not performed. 
This situation appears again when a connetcion via 1099 port is stablished and 
a router control the network. The reference sent is local and the client can't 
do invocation.

The solution to por 1099 and a router is changing JBOSS-SERVICE.XML 
(\jboss\server\default\conf) and redirect ports (192.168.1.1 to IP where Jboss 
is running)

But how can I tell the same when using HTTP? Please help me

Thanks 
Pepe 
----------JBOSS-SERVICE.XML------------- 
(\jboss\server\default\deploy\http-invoker.sar\META-INF) 

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE server> 
<!-- $Id: jboss-service.xml,v 1.4.6.1 2004/11/29 16:50:50 starksm Exp $ --> 
<!-- The HTTP invoker service configration 
--> 
<!-- Use a URL of the form http://:8080/invoker/EJBInvokerServlet 
where is InetAddress.getHostname value on which the server 
is running. 
--> 
http:// 
:8080/invoker/EJBInvokerServlet 
true 


<!-- Expose the Naming service interface via HTTP --> 

<!-- The Naming service we are proxying --> 
jboss:service=Naming 
<!-- Compose the invoker URL from the cluster node address --> 
http:// 
:8080/invoker/JMXInvokerServlet 
true 
org.jnp.interfaces.Naming 

org.jboss.proxy.ClientMethodInterceptor 
org.jboss.proxy.SecurityInterceptor 
org.jboss.naming.interceptors.ExceptionInterceptor 
org.jboss.invocation.InvokerInterceptor 

<!-- Expose the Naming service interface via clustered HTTP. This maps 
to the ReadOnlyJNDIFactory servlet URL 
--> 
jboss:service=Naming 
http:// 
:8080/invoker/readonly/JMXInvokerServlet 
true 
org.jnp.interfaces.Naming 

org.jboss.proxy.ClientMethodInterceptor 
org.jboss.proxy.SecurityInterceptor 
org.jboss.naming.interceptors.ExceptionInterceptor 
org.jboss.invocation.InvokerInterceptor 

(\jboss\server\default\conf) 
----------JBOSS-SERVICE.XML------------- 

........ 

1 
300 
300 
60000 
Real IP (xx.yy.jj.zz) 
4445 
80.26.27.3 
8080 
false 

<depends 
optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager
 

.............. 

--------- CLIENT CONNECTION ---------- 

environment.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.HttpNamingContextFactory");
 
environment.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
 
environment.put Context.PROVIDER_URL, "http://[IP]:8080/invoker/JNDIFactory";); 






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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to