2 Replies Latest reply on Jun 14, 2012 7:57 PM by Udo

    Multiple Apex Listeners on one server trouble with apex-config.xml

    895681
      I'm using 0C4J to deploy apex on a windows server. I want to be able to have multiple instances of OC4J running pointing to different databases. I've read through documentation and forum posts and this looks simple enough.

      I've got one instance running at E:\OC4J and working fine. I've to added a second OC4J instance at E:\OC4J2. I've rebuilt and redeployed the apex.war file after editing web.xml to specify a new location for apex-config.xml. I'm trying to specify the config directory as E:\OC4J2\config but can't seem to get the syntax right, because it keeps picking up the default file the first OC4J instance is using.

      <context-param>
      <param-name>config.dir</param-name>
      <param-value>E:\oc4j2\config</param-value>
      </context-param>

      I've tried multiple versions of the path E:\oc4j2\config, E:/oc4j2/config, /oc4j2/config, \oc4j2\config but none seem to work.

      Could anybody confirm the proper syntax for specifying the path to apex-config.xml in web.xml on a windows server?

      Thanks in advance