5 Replies Latest reply on Oct 22, 2014 3:42 PM by Ramesh Reddy

    WARNING message while trying to create a Teiid Admin Instance

    Madhu Garimilla Newbie

      I am trying to get the Teiid admin instance using the following code. I am using EAP 6.1 Final and Teiid 8.7

       

      AdminFactory.getInstance().createAdmin("localhost",9999,"admin","admin".toCharArray());

       

      This code is being executed during jboss server startup and it is logging the below warning in my logs. Is there anyway to avoid this warning? I see a message before this warning that indicates that controller is not available.

       

      07 Oct 2014 17:17:48,867 INFO  [org.teiid.adminapi.AdminFactory] (ServerService Thread Pool -- 55)  TEIID70051 The controller is not available at localhost:9,999

      07 Oct 2014 17:17:53,937 INFO  [org.teiid.adminapi.AdminFactory] (ServerService Thread Pool -- 55)  TEIID70051 The controller is not available at localhost:9,999

      -

      -

      -

      -

      07 Oct 2014 17:17:54,191 INFO  [org.jboss.as.remoting] (MSC service thread 1-6)  JBAS017100: Listening on 0.0.0.0:4447

      07 Oct 2014 17:17:54,196 INFO  [org.jboss.as.remoting] (MSC service thread 1-16)  JBAS017100: Listening on 127.0.0.1:9999

      07 Oct 2014 17:17:54,300 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-14)  JBAS015012: Started FileSystemDeploymentService for directory C:\Chorus\Trunk_Workspace_1508\parent\server\chorus-server-run\target\cargo\configurations\jboss72x\deployments

      07 Oct 2014 17:17:54,545 WARN  [org.jboss.as.controller.client] (Finalizer)  JBAS010600: Closing leaked controller client: JBAS010649: Allocation stack trace:

          at java.lang.Thread.getStackTrace(Thread.java:1567) [rt.jar:1.7.0_03]

          at org.jboss.as.controller.client.impl.RemotingModelControllerClient.<init>(RemotingModelControllerClient.java:74)

          at org.jboss.as.controller.client.ModelControllerClient$Factory.create(ModelControllerClient.java:225)

          at org.jboss.as.controller.client.ModelControllerClient$Factory.create(ModelControllerClient.java:173)

          at org.teiid.adminapi.AdminFactory.createAdmin(AdminFactory.java:107)

          at com.ca.chorus.teiid.database.version.VDBVersion.getAdminInstance(VDBVersion.java:86)

          at com.ca.chorus.teiid.database.version.VDBVersion.getVdbVersion(VDBVersion.java:41)

          at com.ca.chorus.teiid.TeiidDataSourceProvider.get(TeiidDataSourceProvider.java:63)

          at com.ca.chorus.teiid.translator.sysview.SysviewExecutionFactory.<init>(SysviewExecutionFactory.java:72)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_03]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_03]

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_03]

          at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_03]

          at java.lang.Class.newInstance0(Class.java:372) [rt.jar:1.7.0_03]

          at java.lang.Class.newInstance(Class.java:325) [rt.jar:1.7.0_03]

          at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:362) [rt.jar:1.7.0_03]

          at java.util.ServiceLoader$1.next(ServiceLoader.java:438) [rt.jar:1.7.0_03]

          at org.teiid.jboss.TranslatorAdd.performRuntime(TranslatorAdd.java:87)

          at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50)

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

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

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

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

          at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:322)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

      07 Oct 2014 17:17:54,555 WARN  [org.jboss.as.controller.client] (Finalizer)  JBAS010600: Closing leaked controller client: JBAS010649: Allocation stack trace:

          at java.lang.Thread.getStackTrace(Thread.java:1567) [rt.jar:1.7.0_03]

          at org.jboss.as.controller.client.impl.RemotingModelControllerClient.<init>(RemotingModelControllerClient.java:74)

          at org.jboss.as.controller.client.ModelControllerClient$Factory.create(ModelControllerClient.java:225)

          at org.jboss.as.controller.client.ModelControllerClient$Factory.create(ModelControllerClient.java:173)

          at org.teiid.adminapi.AdminFactory.createAdmin(AdminFactory.java:107)

          at com.ca.chorus.teiid.database.version.VDBVersion.getAdminInstance(VDBVersion.java:86)

          at com.ca.chorus.teiid.database.version.VDBVersion.getVdbVersion(VDBVersion.java:41)

          at com.ca.chorus.teiid.TeiidDataSourceProvider.get(TeiidDataSourceProvider.java:63)

          at com.ca.chorus.teiid.translator.sysview.SysviewExecutionFactory.<init>(SysviewExecutionFactory.java:72)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_03]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_03]

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_03]

          at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_03]

          at java.lang.Class.newInstance0(Class.java:372) [rt.jar:1.7.0_03]

          at java.lang.Class.newInstance(Class.java:325) [rt.jar:1.7.0_03]

          at org.teiid.deployers.TranslatorUtil.buildTranslatorMetadata(TranslatorUtil.java:235)

          at org.teiid.jboss.TranslatorAdd.performRuntime(TranslatorAdd.java:88)

          at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50)

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

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

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

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

          at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:322)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

      07 Oct 2014 17:17:54,774 WARN  [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-12)  IJ020016: Missing <recovery> element. XA recovery disabled for: java:/CHORUS-DS