Needed change to make the WAN port work behind firewall with just WAN port opened (database port closed)
- Thanks to Heng Sin
This commit is contained in:
parent
29e8400cbf
commit
b9cc691c8b
|
@ -12,8 +12,60 @@
|
|||
<jboss>
|
||||
<enforce-ejb-restrictions>false</enforce-ejb-restrictions>
|
||||
|
||||
<invoker-proxy-bindings>
|
||||
<!-- start heng sin modification -->
|
||||
<enterprise-beans>
|
||||
<session>
|
||||
<ejb-name>adempiere/Status</ejb-name>
|
||||
<jndi-name>adempiere/Status</jndi-name>
|
||||
<invoker-bindings>
|
||||
<invoker>
|
||||
<invoker-proxy-binding-name>
|
||||
stateless-http-invoker
|
||||
</invoker-proxy-binding-name>
|
||||
</invoker>
|
||||
</invoker-bindings>
|
||||
</session>
|
||||
<session>
|
||||
<ejb-name>adempiere/Server</ejb-name>
|
||||
<jndi-name>adempiere/Server</jndi-name>
|
||||
<invoker-bindings>
|
||||
<invoker>
|
||||
<invoker-proxy-binding-name>
|
||||
stateless-http-invoker
|
||||
</invoker-proxy-binding-name>
|
||||
</invoker>
|
||||
</invoker-bindings>
|
||||
</session>
|
||||
|
||||
</enterprise-beans>
|
||||
|
||||
<invoker-proxy-bindings>
|
||||
<!-- A custom invoker for RMI/HTTP -->
|
||||
<invoker-proxy-binding>
|
||||
<name>stateless-http-invoker</name>
|
||||
<invoker-mbean>jboss:service=invoker,type=http</invoker-mbean>
|
||||
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
|
||||
<proxy-factory-config>
|
||||
<client-interceptors>
|
||||
<home>
|
||||
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
|
||||
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
||||
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
||||
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
|
||||
</home>
|
||||
<bean>
|
||||
<interceptor>
|
||||
org.jboss.proxy.ejb.StatelessSessionInterceptor
|
||||
</interceptor>
|
||||
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
|
||||
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
||||
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
|
||||
</bean>
|
||||
</client-interceptors>
|
||||
</proxy-factory-config>
|
||||
</invoker-proxy-binding>
|
||||
<!-- end heng sin modification -->
|
||||
|
||||
<invoker-proxy-binding>
|
||||
<name>entity-rmi-invoker</name>
|
||||
<invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
|
||||
|
@ -1035,4 +1087,4 @@
|
|||
|
||||
</container-configurations>
|
||||
|
||||
</jboss>
|
||||
</jboss>
|
Loading…
Reference in New Issue