3 Replies Latest reply on Oct 29, 2015 11:03 AM by Jay SenSharma

    Error After undeploy jmx-remoting.sar

    Tarun Kumar Newbie

      Hi ,I am trying to fix remote access vulnerability. https://access.redhat.com/solutions/1120423

      After fixing the issue we see various errors like below at Jboss start up.

       

      2015-10-23 10:05:13,938 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Parse: name=vfsfile:/E:/CA/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/ state=Not Installed mode=Manual requiredState=Parse

      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/E:/CA/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/

        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

      ...

      ...

      ...

       

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The content of elements must consist of well-formed character data or markup. @ vfsfile:/E:/CA/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/WEB-INF/web.xml[109,9]

        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)

      ...

      ..

      Caused by: org.xml.sax.SAXException: The content of elements must consist of well-formed character data or markup. @ vfsfile:/E:/CA/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/WEB-INF/web.xml[109,9]

        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.fatalError(SaxJBossXBParser.java:432)

        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

       

      2015-10-23 10:05:13,962 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes

      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

       

      *** DEPLOYMENTS IN ERROR: Name -> Error

       

       

      vfsfile:/E:/CA/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/ -> org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/E:/CA/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/

       

       

       

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfsfile:/E:/CA/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/" is in error due to the following reason(s): org.xml.sax.SAXException: The content of elements must consist of well-formed character data or markup. @ vfsfile:/E:/CA/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/WEB-INF/web.xml[109,9]

       

       

       

      -------------------------

      Also attached  is the complete log file. Can you please suggest what could be the issue & how to fix it ?

       

      Thanks

      Tarun

        • 1. Re: Error After undeploy jmx-remoting.sar
          Jay SenSharma Master

          Please check the Line 109, Column Number 9 in your "jboss-5.1.0.GA/server/default/deploy/jmx-console.war/WEB-INF/web.xml[109,9]"     Looks like you added some incorrect entry there.

           

          Else can you please post the whole web.xml as it is so that we can check the line number and figure out what went wrong in this file ?

          • 2. Re: Error After undeploy jmx-remoting.sar
            Tarun Kumar Newbie

            Thanks for the response Jay, we have removed the unwanted characters. now the the above error is disappeared.

             

            But getting new error like below.

             

            1. AnalyticsEngineProviderEurekifyImpl.testConnection()-class org.apache.axis.AxisFaultjava.net.ConnectException: Connection refused: connect

            2015-10-29 11:01:01,843 ERROR [im.analytics.engine.queue] (iam_imDefaultQuartzScheduler_Worker-2) AnalyticsEngineRcmImpl:drainQueue: Could not establish connection to RCM for env caidm.Reason:Connection Refused. Cannot proceed with the notifications. So returning

            2015-10-29 11:01:03,010 ERROR [im.analytics.provider] (iam_imDefaultQuartzScheduler_Worker-3) AnalyticsEngineProviderEurekifyImpl.testConnection()-class org.apache.axis.AxisFaultjava.net.ConnectException: Connection refused: connect

            2015-10-29 11:01:03,012 ERROR [im.analytics.engine.queue] (iam_imDefaultQuartzScheduler_Worker-3) AnalyticsEngineRcmImpl:drainQueue: Could not establish connection to RCM for env caidm.Reason:Connection Refused. Cannot proceed with the notifications. So returning

            2015-10-29 11:02:00,138 ERROR [im.analytics.provider] (iam_imDefaultQuartzScheduler_Worker-4) AnalyticsEngineProviderEurekifyImpl.testConnection()-class org.apache.axis.AxisFaultjava.net.ConnectException: Connection refused: connect


            Thanks in advance,


            Tarun.

            • 3. Re: Error After undeploy jmx-remoting.sar
              Jay SenSharma Master
              AnalyticsEngineProviderEurekifyImpl.testConnection()

               

              In this case you need to really look at the "testConnection()" code of your application API "AnalyticsEngineProviderEurekifyImpl" to understand to which Host/Port it is trying to connect.

               

              Once you know that host port  detail try doing the following:

               

              telnet  hostname  port
              
              

               

              If you are able to connect to telnet to that particular host/port then we will need to see why this code is not able to connect.  But generally  "Connection refused: connect" we get if the host to which we are trying to connect is not running (OR not listening to that port) OR if there is any firewall issue.

              If your code is trying to connect to some HTTP Host or Port (as looks like you are using AXIS webservice) then you will also need to see if that host is accessible only via any "http.proxyHost"  or "http.proxyPort" or not.