4 Replies Latest reply on Aug 12, 2010 1:59 PM by 791074

    Error Exception in AppMerge flows' progression when deploying ear file

      Trying to deploy an EAR file containing EJBs, JMS and JDBC modules to WebLogic 10.3.3 via the Admin Console. Getting the following list of errors, which display in the console:

      Error Unable to access the selected application.
      Error Exception in AppMerge flows' progression
      Error Exception in AppMerge flows' progression
      Error '/' expected a valid beginning name character
      Error '/' expected a valid beginning name character

      i'm unable to find any deployment log files that might tell me what exactly is producing the above-listed errors so they are all I have to go on....

      Anyone have any hints or ideas as to what might be going on?
        • 1. Re: Error Exception in AppMerge flows' progression when deploying ear file
          I found the problem - it was a malformed schemaLocation declaration. Sadly, the malformity comes straight from Oracle's documentation. On the documentation found at http://download.oracle.com/docs/cd/E14571_01/web.1111/e13719/dd_reference.htm#EJBPG481, under the heading "weblogic-ejb-jar.xml Namespace Declaration and Schema Location", the provided namespace declaration element has an extra quote mark in the schemaLocation attribute (right after weblogic-ejb-jar):

          <weblogic-ejb-jar xmlns="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar" http://xmlns.oracle.com/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd ">

          what worked:
          <weblogic-ejb-jar xmlns="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar http://xmlns.oracle.com/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd ">
          • 2. Re: Error Exception in AppMerge flows' progression when deploying ear file
            Jay SenSharma MiddlewareMagic
            Hi Brayn,

            With *"App Merge Flows Error"* One thing is clear that there is something wrong with the Module Deployment descriptors inside your Application. We need to find that out first which XML file is corrupted. As the Log which u have pasted is not having much details in it...so u can try one thing may be we will get something new...

            <b><font color=maroon>Step1).</font></b> Open a Command prompt or Shell Prompt and then (For Windows Based OS) run “setWLSEnv.cmd”
            For Unix Based OS:
            run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the /wlserver_10.3/server/bin) then run the following command….

            . ./setWLSEnv.sh
            Note: The first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.

            <b><font color=maroon>Step2).</font></b> Verify that the Classpath is Set properly or not: (for WINDOWS: echo %CLASSPATH%)
            echo $CLASSPATH

            <b><font color=maroon>Step3).</font></b> In the same command Prompt Move in the directory where u have placed your EAR Application and then run the following WebLogic Utility to generate the New Deployment descriptors...

            java weblogic.DDConverter  -d . YourEarApplication.ear

            <font color=red>
            It will read the EAR file and outside of the EAR application it will generate the fresh XML files.
            NOTE: the actual use of weblogic.DDConverter tool is not intended to debug the XML content issues....it is actually used to generate the Old Deployment descriptors to the current WebLogic Version Deployment Descriptors......But I have many times used it to see if there is any issue with the XML descriptors...Because sometimes While converting the Deployment descriptors it throws the Error ... Pointing to the incorrect XML file....So may be it will be useful for u as well..to identify which XML file is corrupted.

            If you find any XML which is wrong please post that XML file sothat we can see what's the issue with that.

            Jay SenSharma
            http://weblogic-wonders.com/weblogic/ (WebLogic Wonders Are Here)
            • 4. Re: Error Exception in AppMerge flows' progression when deploying ear file
              This also happens when there is no disk space remaining to prepare the application.