Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

weblogic-application.xml duplicate entries...

jtyremanSep 9 2013 — edited Oct 4 2013

Hi,

fairly annoying thing i am noticing every so often my weblogic-application.xml file gets duplicate entries it should look like this:

<?xml version = '1.0' encoding = 'windows-1252'?>

<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                      xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.1/weblogic-application.xsd"

                      xmlns="http://xmlns.oracle.com/weblogic/weblogic-application">

  <listener>

    <listener-class>

      oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener

    </listener-class>

  </listener>

  <listener>

    <listener-class>

      oracle.mds.lcm.weblogic.WLLifecycleListener

    </listener-class>

  </listener>

  <library-ref>

    <library-name>

      adf.oracle.domain

    </library-name>

  </library-ref>

</weblogic-application>

but sometimes when deploying it errors and i take a look and the file looks like this:

<?xml version = '1.0' encoding = 'windows-1252'?>

<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                      xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.1/weblogic-application.xsd"

                      xmlns="http://xmlns.oracle.com/weblogic/weblogic-application">

  <listener>

    <listener-class>

      oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener

    </listener-class>

  </listener>

  <listener>

    <listener-class>

      oracle.mds.lcm.weblogic.WLLifecycleListener

    </listener-class>

  </listener>

    <listener>

    <listener-class>

      oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener

    </listener-class>

  </listener>

  <listener>

    <listener-class>

      oracle.mds.lcm.weblogic.WLLifecycleListener

    </listener-class>

  </listener>

    <listener>

    <listener-class>

      oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener

    </listener-class>

  </listener>

  <listener>

    <listener-class>

      oracle.mds.lcm.weblogic.WLLifecycleListener

    </listener-class>

  </listener>

    <listener>

    <listener-class>

      oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener

    </listener-class>

  </listener>

  <listener>

    <listener-class>

      oracle.mds.lcm.weblogic.WLLifecycleListener

    </listener-class>

  </listener>

    <listener>

    <listener-class>

      oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener

    </listener-class>

  </listener>

  <listener>

    <listener-class>

      oracle.mds.lcm.weblogic.WLLifecycleListener

    </listener-class>

  </listener>

  <library-ref>

    <library-name>

      adf.oracle.domain

    </library-name>

  </library-ref>

    <library-ref>

    <library-name>

      adf.oracle.domain

    </library-name>

  </library-ref>

    <library-ref>

    <library-name>

      adf.oracle.domain

    </library-name>

  </library-ref>

    <library-ref>

    <library-name>

      adf.oracle.domain

    </library-name>

  </library-ref>

    <library-ref>

    <library-name>

      adf.oracle.domain

    </library-name>

  </library-ref>

</weblogic-application>


Does anyone know the reason for this and can i stop it?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 1 2013
Added on Sep 9 2013
8 comments
1,134 views