4 Replies Latest reply on Mar 15, 2016 9:11 AM by Ramesh Reddy

    8.13 server bundle + webconsole 2.5.1, problems...

    Marco Ardito Master

      In order to try new 8.13 releases, I tried to install the 2.5.1 console but, while it loads, it is showing more problems...

      probably 2.5.1. web console shaould not be used with 8.13 server bundles... but there's no alternative atm.

       

      I always try the teiid+server bundle and this comes also with an ExampleDS.

      I usually add the web console as I find it useful.

      Then usually remove the ExampleDS as I only need mines (which I am learning to load with a setup.cli script)

       

      in 8.12.* this always worked fine,

       

      but in 8.13.* it happens that

      ExampleDS cannot be disabled AFTER the web console is installed (!!!)

      because... teiid odata/olingo .war deployments are enabled.

       

      if you disable .war deployments (first odata then olingo) then you can disable ExampleDS.

      But if you then truy to re-enable the odata .war it fails

       

      =====================================

      Unexpected HTTP response: 500

       

      Request

      {

          "address" => [("deployment" => "teiid-odata-8.13.2-odata2.war")],

          "operation" => "deploy"

      }

       

      Response

       

      Internal Server Error

      {

          "outcome" => "failed",

          "failure-description" => {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.\"teiid-odata-8.13.2-odata2\".\"teiid-odata-8.13.2-odata2\".DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]},

          "rolled-back" => true

      }

      =====================================

       

      so it seems those .war files are dependent on ExampleDS?

       

      Without installing the web console though ExampleDS can be disabled without problems...

       

      So, despite the fact that other problems I had with the web console (missing resource adapters names, posted elsewhere) are now gone apparently, this is another issue probably, although I cannot understand what is wrong, as usual. It should be the web console 2.5.1 with teiid 8.13 (at least the server bundled version)

       

      Marco

        • 1. Re: 8.13 server bundle + webconsole 2.5.1, problems...
          Ramesh Reddy Master

          There is no separate download listed for 8.13, the compatible web-console is in the server kit. Otherwise download this from https://repository.jboss.org/nexus/service/local/repositories/releases/content/org/jboss/teiid/hal/dist/2.6.0/dist-2.6.0…

          • 2. Re: 8.13 server bundle + webconsole 2.5.1, problems...
            Marco Ardito Master

            Yes, as you answered in this other thread (Re: 8.13.1 bundled wildfly weird look & resource adapter list...) this was just my mistake. 8.13 over wildfly already has a (different) console of its own...

             

            Sorry, thanks.

            Marco

            • 3. Re: 8.13 server bundle + webconsole 2.5.1, problems...
              Marco Ardito Master

              But...

              today I restarted from scratch

              - extracted teiid-8.13.2-wildfly-server.zip

              - i did NOT install anything else

              - copied all my custom *.properties files under /standalone/configuration

              - started server as /bin/standalone.sh -c standalone-teiid.xml -b 0.0.0.0 -bmanagement 0.0.0.0

               

              then accessed web interface and went to:

              configuration > subsystems > datasources > non-xa > example

               

              now I could

              - disable ExampleDS (then I reload server)

              - remove ExampleDS (then I reload server)

               

              but after that *every time* i switch to the  deployments tab (which contains only the odata/olingo default .wars)

               

              the web console shows me this error:

              ===========================

               

              Unable to load deployments

              Unexpected HTTP response: 500

               

              Request

              {

                "operation" => "read-children-resources",

                "address" => undefined,

                "child-type" => "deployment",

                "include-runtime" => true,

                "recursive" => true

              }

               

              Response

               

              Internal Server Error

              {

                "outcome" => "failed",

                "rolled-back" => true

              }

              ===========================

               

              so I went to the logs:

               

              and in the error log I find just after the first server restart (disable ExampleDS) this

              ===========================

              22:01:07,150 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread)  WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "teiid-odata-8.13.2-odata2.war")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.\"teiid-odata-8.13.2-odata2\".\"teiid-odata-8.13.2-odata2\".DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}

              22:01:07,156 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread)  WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "teiid-olingo-8.13.2-odata4.war")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => [

                  "jboss.naming.context.java.module.\"teiid-odata-8.13.2-odata2\".\"teiid-odata-8.13.2-odata2\".DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]",

                  "jboss.naming.context.java.module.\"teiid-olingo-8.13.2-odata4\".\"teiid-olingo-8.13.2-odata4\".DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"

              ]}

              ===========================

               

              and then after the second server restart (remove ExampleDS) this

               

              ===========================

              22:01:07,357 ERROR [org.jboss.as] (Controller Boot Thread)  WFLYSRV0026: WildFly Full 9.0.2.Final (WildFly Core 1.0.2.Final) started (with errors) in 2315ms - Started 487 of 740 services (22 services failed or missing dependencies, 287 services are lazy, passive or on-demand)

              22:01:55,019 ERROR [org.jboss.as.controller.management-operation] (XNIO-2 task-4)  WFLYCTL0013: Operation ("read-attribute") failed - address: ([

                  ("deployment" => "teiid-olingo-8.13.2-odata4.war"),

                  ("subsystem" => "undertow"),

                  ("servlet" => "odata4")

              ]): java.lang.IllegalStateException

                  at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)

                  at org.wildfly.extension.undertow.DeploymentServletDefinition$AbstractMetricsHandler.execute(DeploymentServletDefinition.java:122)

                  at org.jboss.as.controller.operations.global.ReadAttributeHandler.doExecuteInternal(ReadAttributeHandler.java:174)

                  at org.jboss.as.controller.operations.global.ReadAttributeHandler.doExecute(ReadAttributeHandler.java:137)

                  at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AbstractMultiTargetHandler.execute(GlobalOperationHandlers.java:196)

                  at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AvailableResponseWrapper.execute(GlobalOperationHandlers.java:641)

                  at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:803)

                  at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:601)

                  at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:354)

                  at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:330)

                  at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1183)

                  at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:362)

                  at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:218)

                  at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:208)

                  at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)

                  at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:72)

                  at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:68)

                  at java.security.AccessController.doPrivileged(Native Method)

                  at javax.security.auth.Subject.doAs(Subject.java:415)

                  at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)

                  at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:68)

                  at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:63)

                  at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)

                  at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:95)

                  at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)

                  at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)

                  at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                  at java.lang.Thread.run(Thread.java:745)

               

              ========================

               

              Are those issues and are they related?

              Also should I open a different thread?

               

              Marco

              • 4. Re: 8.13 server bundle + webconsole 2.5.1, problems...
                Ramesh Reddy Master

                There should be no dependencies from OData WAR files to ExampleDS datasource. I am not sure how the those are coming into picture.