[ 1798249 ] Failed to load standardjboss.xml

This commit is contained in:
Heng Sin Low 2007-09-24 18:48:00 +00:00
parent 1f3b626b4d
commit e7d223dac2
1 changed files with 28 additions and 0 deletions

View File

@ -107,6 +107,34 @@
destdir="${build.dir}/META-INF"/>
<deploymentdescriptor destdir="${build.dir}/META-INF"/>
</ejbdoclet>
<replace file="${build.dir}/META-INF/jboss.xml">
<replacetoken><![CDATA[<local-jndi-name>adempiere/ServerLocal</local-jndi-name>]]></replacetoken>
<replacevalue><![CDATA[
<local-jndi-name>adempiere/ServerLocal</local-jndi-name>
<invoker-bindings>
<invoker>
<invoker-proxy-binding-name>
stateless-http-invoker
</invoker-proxy-binding-name>
</invoker>
</invoker-bindings>
]]></replacevalue>
</replace>
<replace file="${build.dir}/META-INF/jboss.xml">
<replacetoken><![CDATA[<local-jndi-name>adempiere/StatusLocal</local-jndi-name>]]></replacetoken>
<replacevalue><![CDATA[
<local-jndi-name>adempiere/StatusLocal</local-jndi-name>
<invoker-bindings>
<invoker>
<invoker-proxy-binding-name>
stateless-http-invoker
</invoker-proxy-binding-name>
</invoker>
</invoker-bindings>
]]></replacevalue>
</replace>
</target>