4 Replies Latest reply on May 4, 2009 12:28 PM by James Taylor-Oracle

    Error:'<' cannot appear in attribute value error while deploying ESB

    689500
      Hi,
      I am facing issue while deploying ESB using script.Below is the error which I see in while running script.

      [deployESBProjects] Deployment Attempt Response :
      [deployESBProjects] <deploymentSummary>
      [deployESBProjects] <message>Entity Deployment Failed</message>
      [deployESBProjects] <errors>
      [deployESBProjects] <error code="1000" severity="5">
      [deployESBProjects] <description>Error:'&lt;' cannot appear in attribute value.. Please see the DT Server log for details</description>
      [deployESBProjects] <fix>Contact Oracle Support</fix>
      [deployESBProjects] </error>
      [deployESBProjects] </errors>
      [deployESBProjects] </deploymentSummary>




      [deployESBProjects] Deployment Failed ...Unhandled Exception
      [deployESBProjects] java.lang.Exception: Deployment attempt failed, please review deployment attempt response above
      [deployESBProjects] at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:112)
      [deployESBProjects] at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:159)
      [deployESBProjects] at oracle.tip.esb.client.anttasks.ESBProjectTask.deploy(ESBProjectTask.java:107)
      [deployESBProjects] at oracle.tip.esb.client.anttasks.DeployESBProjectsTask.execute(DeployESBProjectsTask.java:103)
      [deployESBProjects] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [deployESBProjects] at org.apache.tools.ant.Task.perform(Task.java:364)
      [deployESBProjects] at org.apache.tools.ant.Target.execute(Target.java:341)
      [deployESBProjects] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [deployESBProjects] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      [deployESBProjects] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      [deployESBProjects] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      [deployESBProjects] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      [deployESBProjects] at org.apache.tools.ant.Main.runBuild(Main.java:668)
      [deployESBProjects] at org.apache.tools.ant.Main.startAnt(Main.java:187)
      [deployESBProjects] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
      [deployESBProjects] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

      In ESB DT logs I see

      <MSG_TEXT>deployment failed with error </MSG_TEXT>
      <SUPPL_DETAIL><![CDATA[oracle.xml.parser.v2.XMLParseException: '<' cannot appear in attribute value.
           at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
           at oracle.xml.parser.v2.XMLReader.scanNameChars(XMLReader.java:1151)
           at oracle.xml.parser.v2.XMLReader.scanQName(XMLReader.java:1928)
           at oracle.xml.parser.v2.NonValidatingParser.parseAttr(NonValidatingParser.java:1497)
           at oracle.xml.parser.v2.NonValidatingParser.parseAttributes(NonValidatingParser.java:1447)
           at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1286)
           at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
           at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
           at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:291)
           at oracle.tip.esb.configuration.deployment.DeploymentXMLUtil.parseServiceXML(DeploymentXMLUtil.java:48)
           at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.sortEntityXML(JDevDeploymentManager.java:314)
           at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(JDevDeploymentManager.java:175)
           at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(DeploymentServlet.java:120)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
           at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
           at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
           at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
           at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
           at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
           at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
           at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
           at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
           at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
           at java.lang.Thread.run(Thread.java:595)
      and one more issue as well

      <MSG_TEXT>Could not patch the details of the instance '514FC70036EF11DE8F194DE6D3B1CD10' to the relationship xml</MSG_TEXT>
          <SUPPL_DETAIL><![CDATA[oracle.tip.esb.monitor.MonitorException: Unable to build the instance relationship, as the required metadata is not available

           at oracle.tip.esb.monitor.manager.database.MetadataProvider.getRelationshipXML(MetadataProvider.java:168)
           at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.getInstanceRelationship(DBActivityMessageStore.java:672)
           at oracle.tip.esb.console.XMLInstanceManagerImpl.getRelationship(XMLInstanceManagerImpl.java:116)
           at oracle.tip.esb.configuration.servlet.command.GetTrackingDetailsCommand.execute(GetTrackingDetailsCommand.java:84)
           at oracle.tip.esb.configuration.servlet.CommandServlet.doJob(CommandServlet.java:109)
           at oracle.tip.esb.configuration.servlet.CommandServlet.doPost(CommandServlet.java:76)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
           at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
           at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
           at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
           at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
           at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
           at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
           at java.lang.Thread.run(Thread.java:595)
      ]]></SUPPL_DETAIL>


      Please let me know if anyone faced such type of issue.Appriciate if somebody suggest me as this issue occured in PROD.


      Thanks
      Vinay

      Edited by: ZeroKool on May 3, 2009 10:17 PM
        • 1. Re: Error:'<' cannot appear in attribute value error while deploying ESB
          ajochems
          Hi,
          There appears to be an error in the xml of your .esb file. Check if there is an '<' inside a xml tag attribute value.
          Kind Regards,
          Andre
          • 2. Re: Error:'<' cannot appear in attribute value error while deploying ESB
            689500
            Andre,

            Its not with xml,as the same codebase and the script does work in other env(dev/tst/stage) except in prod.I simply can't figureout whts the issue.

            Even I see below error in esb-dt logs
            SUPPL_DETAIL><![CDATA[oracle.tip.esb.monitor.MonitorException: Unable to build the instance relationship, as the required metadata is not available

            The above error shows in esb console as well in instances.This is a major concern.

            Thanks
            Vinay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
            • 3. Re: Error:'<' cannot appear in attribute value error while deploying ESB
              ajochems
              I also have seen that error in certain esb projects i have build. In those cases certain complex transformations cause the esb console error problem allthough the esb process runs correctly. I have not found the solution to that problem. There is a known bug with number 5905428 which should be solved in 10.1.3.3 and 10.1.3.4 but it did not solve my problem. Which version of ESB are you running? Did the problem appear after making certain changes to the esb process? If so, try to revert to a previous version and try if the error goes away, .... in my case it did so the error is esb process related and not a problem with the server itself.

              Kind Regards,
              Andre
              • 4. Re: Error:'<' cannot appear in attribute value error while deploying ESB
                James Taylor-Oracle
                Is there an issue your property file for production?

                cheers
                James