1 Reply Latest reply on Nov 26, 2013 8:47 AM by Ramesh Reddy

    Teiid Instance Configuration Error

    David Miranda Newbie

      Hi,

       

      I have already installed the Teiid Runtime 8.5 inside a JBoss EAP 6.1, and installed the Teiid Designer in the Eclipse Kepler. So now I added this server in the Eclipse and when i'm connected to him this error happens:

       

      11:30:39,396 ERROR [org.jboss.remoting.remote.connection] (Remoting "user:MANAGEMENT" read-1)  JBREM000200: Remote connection failed: java.io.IOException: Connection reset by peer

       

      java.lang.Exception: No ExecutionAdmin factory registered for teiid instance version 8.5.0.Final.

        at org.teiid.designer.runtime.registry.TeiidRuntimeRegistry.getExecutionAdminFactory(TeiidRuntimeRegistry.java:87)

        at org.teiid.designer.runtime.registry.TeiidRuntimeRegistry.getExecutionAdmin(TeiidRuntimeRegistry.java:101)

        at org.teiid.designer.runtime.TeiidServer.connect(TeiidServer.java:217)

        at org.teiid.designer.runtime.TeiidServer.reconnect(TeiidServer.java:237)

        at org.teiid.designer.runtime.TeiidParentServerListener.serverChanged(TeiidParentServerListener.java:146)

        at org.eclipse.wst.server.core.internal.ServerNotificationManager.broadcastChange(ServerNotificationManager.java:125)

        at org.eclipse.wst.server.core.internal.Server.fireServerStateChangeEvent(Server.java:742)

        at org.eclipse.wst.server.core.internal.Server.setServerState(Server.java:650)

        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.setServerState(ServerBehaviourDelegate.java:143)

        at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.setServerStarted(DeployableServerBehavior.java:210)

        at org.jboss.ide.eclipse.as.core.server.internal.DelegatingServerBehavior.setServerStarted(DelegatingServerBehavior.java:100)

        at org.jboss.ide.eclipse.as.core.server.internal.AbstractJBossBehaviourDelegate$1.stateAsserted(AbstractJBossBehaviourDelegate.java:96)

        at org.jboss.ide.eclipse.as.core.server.internal.PollThread.alertListener(PollThread.java:230)

        at org.jboss.ide.eclipse.as.core.server.internal.PollThread.handlePollerHasAnswer(PollThread.java:159)

        at org.jboss.ide.eclipse.as.core.server.internal.PollThread.run(PollThread.java:147)

       

      What this means? What I have to do to fix it? When I try 'Test Administration Connection', in Teiid Instance, gives me "Unable to establish connection to server mm://localhost:9999

       

      Thanks in advance.

        • 1. Re: Teiid Instance Configuration Error
          Ramesh Reddy Master

          David,

           

          Which version of Teiid Designer? Either case try using the latest 8.3 Beta version of the designer. This is due to Designer is currently locked to work with Teiid 8.4 version.

           

          However there is simple fix you can make to make this work against any *later* version. Find the location where you installed the eclipse along with the Teiid Designer plugins, and go to "eclipse/plugins" directory, then open the "org.teiid.8.4.x-xxxx.jar" (the jar in my directory was named org.teiid.8.4.x_8.2.0.Nightly-v20131002-1700-B2421.jar) and yours might slightly vary depending upon if you applied nightly updates etc. Once you find it, then open it using any zip archive utility, like winzip etc, and find the plugin.xml file in the root location of the jar. Find the below content in the file

           

            <extension
                  point="org.teiid.designer.spi.teiidRuntimeClient">
                <runtimeFactory
                      class="org.teiid84.runtime.ExecutionAdminFactory">
                  <version
                        major="8"
                        minor="4"
                        micro="x">
                  </version>
                </runtimeFactory>
            </extension>
          

           

          and change it to

           

             <extension
                   point="org.teiid.designer.spi.teiidRuntimeClient">
                <runtimeFactory
                      class="org.teiid84.runtime.ExecutionAdminFactory">
                   <version
                         major="8"
                         minor="4"
                         micro="x">
                   </version>
                   <version
                         major="8"
                         minor="5"
                         micro="0">
                   </version>
                </runtimeFactory>
             </extension>
          

           

          now save the file, and update the above jar file with updated plugin.xml.  Now start the eclipse from the command line with "eclipse -clean" option once, and start connecting to the 8.5 version Teiid server. You can replace with 8.6 if you are working with latest if you like to in the similar way.

           

          It is determined that this restriction of locking is not necessary, so that I added [TEIIDDES-1936] Designer fails to connect to the latest version of the Teiid Runtime. - JBoss Issue Tracker Once this JIRA is fixed, then the above process is no longer necessary.


          HTH


          Ramesh..