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,7 +12,59 @@
|
||||||
<jboss>
|
<jboss>
|
||||||
<enforce-ejb-restrictions>false</enforce-ejb-restrictions>
|
<enforce-ejb-restrictions>false</enforce-ejb-restrictions>
|
||||||
|
|
||||||
|
<!-- 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>
|
<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>
|
<invoker-proxy-binding>
|
||||||
<name>entity-rmi-invoker</name>
|
<name>entity-rmi-invoker</name>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue