2 Replies Latest reply: Jan 10, 2013 12:48 PM by Kalyan Pasupuleti-Oracle RSS

    Weblogic will not restart after editing Config.xml

    Wampa88
      I installed Weblogic and start it up fine. I installed another app and edited the config.xml for weblogic and not it will not start, this is the section I added, any ideas if the syntax is wrong?

      <Application
           Name="livelinksupport"
           Path="C:\OPENTEXT\support"
           StagingMode="nostage"
           TwoPhase="false">

           <WebAppComponent Name=livelinksupport" Targets="livelink" URI="support">

      </Application>

      <Application
           Name="livelink"
           Path="C:\OPENTEXT\cgi"
           StagingMode="nostage"
           TwoPhase="false">

           <WebAppComponent Name="livelink" Targets="livelink" URI="application"/>

      </Application>
        • 1. Re: Weblogic will not restart after editing Config.xml
          Fabian
          Hi,

          Its better to deploy application from Admin console
          http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html#1070825

          or by using weblogic.deployer script
          http://docs.oracle.com/cd/E13222_01/wls/docs90/deployment/wldeployer.html

          We should avoid directly updating the config file

          <app-deployment>
          <name>livelinksupport</name>
          <target>Name_of _Server</target>
          <module-type>ear</module-type>
          <source-path>C:\OPENTEXT\support\livelinksupport.ear</source-path>
          <security-dd-model>DDOnly</security-dd-model>
          </app-deployment>

          Regards
          Fabian
          • 2. Re: Weblogic will not restart after editing Config.xml
            Kalyan Pasupuleti-Oracle
            Hi,

            Ya its wrong one.

            This is which pasted.

            <Application
            Name="livelinksupport"
            Path="C:\OPENTEXT\support"
            StagingMode="nostage"
            TwoPhase="false">

            <WebAppComponent Name=livelinksupport" Targets="livelink" URI="support">

            </Application>

            <Application
            Name="livelink"
            Path="C:\OPENTEXT\cgi"
            StagingMode="nostage"
            TwoPhase="false">

            <WebAppComponent Name="livelink" Targets="livelink" URI="application"/>

            </Application>


            But actually it should be in this way.



            <Application
            Name="livelinksupport"
            Path="C:\OPENTEXT\support"
            StagingMode="nostage"
            TwoPhase="false">

            <WebAppComponent Name=livelinksupport" Targets="livelink" URI="support" />

            </Application>

            <Application
            Name="livelink"
            Path="C:\OPENTEXT\cgi"
            StagingMode="nostage"
            TwoPhase="false">

            <WebAppComponent Name="livelink" Targets="livelink" URI="application"/>

            </Application>



            Try to end then <WebAppComponent Name=livelinksupport" Targets="livelink" URI="support" /> and restart the server again.

            Regards,
            Kal