1 2 Previous Next 19 Replies Latest reply on Aug 11, 2017 12:45 PM by Ramesh Reddy

    exception while processing vdb request

    Artyom Lyan Newbie

      Hi,

       

      When i try to process request to vdb i get exception:

       

      Caused by: org.teiid.translator.TranslatorException: TEIID30481 Failed to find the Connection Factory with JNDI name orient/ConnectionFactory. Please check the name or deploy the Connection Factory with specified name.

      18:49:37,093 ERROR [stderr] (default task-2)   at org.teiid.dqp.internal.datamgr.ConnectorManager.getConnectionFactory(ConnectorManager.java:335)

      18:49:37,093 ERROR [stderr] (default task-2)   at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:322)

      18:49:37,093 ERROR [stderr] (default task-2)   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      18:49:37,093 ERROR [stderr] (default task-2)   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      18:49:37,093 ERROR [stderr] (default task-2)   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      18:49:37,094 ERROR [stderr] (default task-2)   at java.lang.reflect.Method.invoke(Method.java:498)

      18:49:37,094 ERROR [stderr] (default task-2)   at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:220)

      18:49:37,094 ERROR [stderr] (default task-2)   at com.sun.proxy.$Proxy87.execute(Unknown Source)

      18:49:37,094 ERROR [stderr] (default task-2)   at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:306)

      18:49:37,094 ERROR [stderr] (default task-2)   at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:112)

      18:49:37,094 ERROR [stderr] (default task-2)   at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108)

      18:49:37,094 ERROR [stderr] (default task-2)   at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      18:49:37,094 ERROR [stderr] (default task-2)   at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:65)

      18:49:37,095 ERROR [stderr] (default task-2)   ... 6 more

      18:49:37,095 ERROR [stderr] (default task-2)  Caused by: javax.naming.NameNotFoundException: orient/ConnectionFactory -- service jboss.naming.context.java.orient.ConnectionFactory

      18:49:37,095 ERROR [stderr] (default task-2)   at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106)

      18:49:37,095 ERROR [stderr] (default task-2)   at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207)

      18:49:37,095 ERROR [stderr] (default task-2)   at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:235)

      18:49:37,095 ERROR [stderr] (default task-2)   at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193)

      18:49:37,095 ERROR [stderr] (default task-2)   at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189)

      18:49:37,095 ERROR [stderr] (default task-2)   at javax.naming.InitialContext.lookup(InitialContext.java:417)

      18:49:37,096 ERROR [stderr] (default task-2)   at javax.naming.InitialContext.lookup(InitialContext.java:417)

      18:49:37,096 ERROR [stderr] (default task-2)   at org.teiid.dqp.internal.datamgr.ConnectorManager.getConnectionFactory(ConnectorManager.java:330)

      18:49:37,096 ERROR [stderr] (default task-2)   ... 18 more

       

      But i have a resource adapter orientdb with that jndi name.

       

      Thanks.

        • 1. Re: exception while processing vdb request
          Van Halbert Master

          Artyom,

           

          How did you defined the JNDI, like this:  jndi-name="java:/orient"

          and is the java-context set to true (use-java-context="true)

           

          If this is similar to how you defined it, then in Teiid Designer, check the jndi name to match:  java:/orient

           

          Van

          • 2. Re: exception while processing vdb request
            Artyom Lyan Newbie

            I have a resource-adapter with jndi name -

            java:orient:/ConnectionFactory.

             

            but still get error.

             

            I changed vdb name and redeployed vdb.

            • 3. Re: exception while processing vdb request
              Ramesh Reddy Master

              Post your whole XML fragment that you used to create the resource-adapter.

              • 4. Re: exception while processing vdb request
                Artyom Lyan Newbie

                <resource-adapter id="orient-rar-0.1.0.rar">

                                    <archive>

                                        orient-rar-0.1.0.rar

                                    </archive>

                                    <transaction-support>LocalTransaction</transaction-support>

                                    <connection-definitions>

                                        <connection-definition class-name="org.ops4j.orient.adapter.impl.OrientManagedConnectionFactoryImpl" jndi-name="java:orient:/ConnectionFactory" enabled="true" use-jav$

                                            <config-property name="type">

                                                object

                                            </config-property>

                                            <config-property name="connectionUrl">

                                                local:/opt/orientdb

                                            </config-property>

                                        </connection-definition>

                                    </connection-definitions>

                                </resource-adapter>

                 

                here's my configuration

                • 5. Re: exception while processing vdb request
                  Ramesh Reddy Master

                  try JNDI name like "java:/orient". Also, did you deploy the "orient-rar-0.1.0.rar" file into the Server?

                  • 6. Re: exception while processing vdb request
                    Artyom Lyan Newbie

                    Ramesh,

                     

                    I changed jndi name as mentioned, but still get same error.

                    • 7. Re: exception while processing vdb request
                      Van Halbert Master

                      Looking at the xml snippet above, not sure how it deployed with "use-jav$" defined on the connection-definition.

                       

                      Here's an example of the Teiid File RA connection definition:

                       

                      connection-definition class-name="org.teiid.resource.adapter.file.FileManagedConnectionFactory" jndi-name="java:/marketdata-file" enabled="true" use-java-context="true" pool-name="fileDS">

                       

                      Try replacing it with:   use-java-context="true"

                       

                      Van

                      • 8. Re: exception while processing vdb request
                        Artyom Lyan Newbie

                        Screenshot from 2017-08-10 10-13-37.png

                        Here's my configuration. java-context is on.

                        Do i need to setup also datasource, basing on this resource adapter?

                         

                        "use-jav$"  - this is nano, it doesn't carry string on next line and shows '$' if line is longer than screen capability.

                        • 9. Re: exception while processing vdb request
                          Van Halbert Master

                          After you changed the jndi name in the RA and also updated the JNDI name in the VDB (and redployed), can you post the server stack trace that's being generated now?

                           

                          Thanks.

                           

                          Van

                          • 10. Re: exception while processing vdb request
                            Artyom Lyan Newbie

                            here's stacktrace i get, when i make sql call to db

                             

                             

                            2017-08-10 23:34:52,671 ERROR [stderr] (default task-1)  connectino:org.teiid.jdbc.ConnectionImpl@28fd6410

                            2017-08-10 23:34:52,727 WARN  [org.teiid.CONNECTOR] (Worker4_QueryProcessorQueue6) hWz+WsA3cksw Connector worker process failed for atomic-request=hWz+WsA3cksw.0.0.0: org.teiid.translator.TranslatorException: TEIID30481 Failed to find the Connection Factory with JNDI name java:/orient. Please check the name or deploy the Connection Factory with specified name.

                              at org.teiid.dqp.internal.datamgr.ConnectorManager.getConnectionFactory(ConnectorManager.java:335)

                              at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:322)

                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                              at java.lang.reflect.Method.invoke(Method.java:498)

                              at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:220)

                              at com.sun.proxy.$Proxy87.execute(Unknown Source)

                              at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:306)

                              at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:112)

                              at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108)

                              at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                              at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:65)

                              at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:282)

                              at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119)

                              at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:210)

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

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

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

                            Caused by: javax.naming.NameNotFoundException: orient -- service jboss.naming.context.java.orient

                              at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106)

                              at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207)

                              at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:235)

                              at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193)

                              at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189)

                              at javax.naming.InitialContext.lookup(InitialContext.java:417)

                              at javax.naming.InitialContext.lookup(InitialContext.java:417)

                              at org.teiid.dqp.internal.datamgr.ConnectorManager.getConnectionFactory(ConnectorManager.java:327)

                              ... 18 more

                             

                             

                            2017-08-10 23:34:52,732 WARN  [org.teiid.PROCESSOR] (Worker3_QueryProcessorQueue7) hWz+WsA3cksw TEIID30020 Processing exception for request hWz+WsA3cksw.0 'TEIID30504 local: TEIID30481 Failed to find the Connection Factory with JNDI name java:/orient. Please check the name or deploy the Connection Factory with specified name.'. Originally TeiidProcessingException 'orient -- service jboss.naming.context.java.orient' ServiceBasedNamingStore.java:106. Enable more detailed logging to see the entire stacktrace.

                            2017-08-10 23:34:52,862 ERROR [stderr] (default task-1)  org.teiid.jdbc.TeiidSQLException: TEIID30504 local: TEIID30481 Failed to find the Connection Factory with JNDI name java:/orient. Please check the name or deploy the Connection Factory with specified name.

                            2017-08-10 23:34:52,867 ERROR [stderr] (default task-1)   at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:135)

                            2017-08-10 23:34:52,867 ERROR [stderr] (default task-1)   at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:71)

                            2017-08-10 23:34:52,867 ERROR [stderr] (default task-1)   at org.teiid.jdbc.StatementImpl.postReceiveResults(StatementImpl.java:747)

                            2017-08-10 23:34:52,871 ERROR [stderr] (default task-1)   at org.teiid.jdbc.StatementImpl.access$100(StatementImpl.java:65)

                            2017-08-10 23:34:52,872 ERROR [stderr] (default task-1)   at org.teiid.jdbc.StatementImpl$2.onCompletion(StatementImpl.java:561)

                            2017-08-10 23:34:52,872 ERROR [stderr] (default task-1)   at org.teiid.client.util.ResultsFuture.done(ResultsFuture.java:135)

                            2017-08-10 23:34:52,872 ERROR [stderr] (default task-1)   at org.teiid.client.util.ResultsFuture.access$200(ResultsFuture.java:40)

                            2017-08-10 23:34:52,873 ERROR [stderr] (default task-1)   at org.teiid.client.util.ResultsFuture$1.receiveResults(ResultsFuture.java:79)

                            2017-08-10 23:34:52,876 ERROR [stderr] (default task-1)   at org.teiid.net.socket.SocketServerInstanceImpl.receivedMessage(SocketServerInstanceImpl.java:285)

                            2017-08-10 23:34:52,880 ERROR [stderr] (default task-1)   at org.teiid.net.socket.SocketServerInstanceImpl.read(SocketServerInstanceImpl.java:323)

                            2017-08-10 23:34:52,880 ERROR [stderr] (default task-1)   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            2017-08-10 23:34:52,882 ERROR [stderr] (default task-1)   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                            2017-08-10 23:34:52,882 ERROR [stderr] (default task-1)   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            2017-08-10 23:34:52,882 ERROR [stderr] (default task-1)   at java.lang.reflect.Method.invoke(Method.java:498)

                            2017-08-10 23:34:52,883 ERROR [stderr] (default task-1)   at org.teiid.net.socket.SocketServerConnectionFactory$ShutdownHandler.invoke(SocketServerConnectionFactory.java:98)

                            2017-08-10 23:34:52,883 ERROR [stderr] (default task-1)   at com.sun.proxy.$Proxy84.read(Unknown Source)

                            2017-08-10 23:34:52,883 ERROR [stderr] (default task-1)   at org.teiid.net.socket.SocketServerInstanceImpl$RemoteInvocationHandler$1.get(SocketServerInstanceImpl.java:422)

                            2017-08-10 23:34:52,884 ERROR [stderr] (default task-1)   at org.teiid.jdbc.StatementImpl.executeSql(StatementImpl.java:570)

                            2017-08-10 23:34:52,884 ERROR [stderr] (default task-1)   at org.teiid.jdbc.StatementImpl.executeSql(StatementImpl.java:423)

                            2017-08-10 23:34:52,884 ERROR [stderr] (default task-1)   at org.teiid.jdbc.StatementImpl.executeQuery(StatementImpl.java:354)

                            2017-08-10 23:34:52,885 ERROR [stderr] (default task-1)   at lyan.ai.TeiidService.getData(TeiidService.java:40)

                            2017-08-10 23:34:52,885 ERROR [stderr] (default task-1)   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            2017-08-10 23:34:52,885 ERROR [stderr] (default task-1)   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                            2017-08-10 23:34:52,885 ERROR [stderr] (default task-1)   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            2017-08-10 23:34:52,885 ERROR [stderr] (default task-1)   at java.lang.reflect.Method.invoke(Method.java:498)

                            2017-08-10 23:34:52,886 ERROR [stderr] (default task-1)   at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)

                            2017-08-10 23:34:52,886 ERROR [stderr] (default task-1)   at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)

                            2017-08-10 23:34:52,887 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)

                            2017-08-10 23:34:52,888 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)

                            2017-08-10 23:34:52,888 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)

                            2017-08-10 23:34:52,889 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)

                            2017-08-10 23:34:52,889 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)

                            2017-08-10 23:34:52,890 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)

                            2017-08-10 23:34:52,891 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)

                            2017-08-10 23:34:52,891 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)

                            2017-08-10 23:34:52,891 ERROR [stderr] (default task-1)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)

                            2017-08-10 23:34:52,891 ERROR [stderr] (default task-1)   at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)

                            2017-08-10 23:34:52,891 ERROR [stderr] (default task-1)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

                            2017-08-10 23:34:52,892 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)

                            2017-08-10 23:34:52,892 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)

                            2017-08-10 23:34:52,892 ERROR [stderr] (default task-1)   at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)

                            2017-08-10 23:34:52,892 ERROR [stderr] (default task-1)   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

                            2017-08-10 23:34:52,892 ERROR [stderr] (default task-1)   at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

                            2017-08-10 23:34:52,893 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

                            2017-08-10 23:34:52,893 ERROR [stderr] (default task-1)   at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)

                            2017-08-10 23:34:52,893 ERROR [stderr] (default task-1)   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

                            2017-08-10 23:34:52,893 ERROR [stderr] (default task-1)   at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

                            2017-08-10 23:34:52,893 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

                            2017-08-10 23:34:52,894 ERROR [stderr] (default task-1)   at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)

                            2017-08-10 23:34:52,894 ERROR [stderr] (default task-1)   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

                            2017-08-10 23:34:52,894 ERROR [stderr] (default task-1)   at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

                            2017-08-10 23:34:52,894 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

                            2017-08-10 23:34:52,894 ERROR [stderr] (default task-1)   at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)

                            2017-08-10 23:34:52,894 ERROR [stderr] (default task-1)   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

                            2017-08-10 23:34:52,901 ERROR [stderr] (default task-1)   at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

                            2017-08-10 23:34:52,902 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

                            2017-08-10 23:34:52,902 ERROR [stderr] (default task-1)   at org.springframework.boot.web.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:115)

                            2017-08-10 23:34:52,902 ERROR [stderr] (default task-1)   at org.springframework.boot.web.support.ErrorPageFilter.access$000(ErrorPageFilter.java:59)

                            2017-08-10 23:34:52,903 ERROR [stderr] (default task-1)   at org.springframework.boot.web.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:90)

                            2017-08-10 23:34:52,903 ERROR [stderr] (default task-1)   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

                            2017-08-10 23:34:52,903 ERROR [stderr] (default task-1)   at org.springframework.boot.web.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:108)

                            2017-08-10 23:34:52,903 ERROR [stderr] (default task-1)   at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

                            2017-08-10 23:34:52,904 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

                            2017-08-10 23:34:52,904 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

                            2017-08-10 23:34:52,908 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

                            2017-08-10 23:34:52,909 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

                            2017-08-10 23:34:52,909 ERROR [stderr] (default task-1)   at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

                            2017-08-10 23:34:52,909 ERROR [stderr] (default task-1)   at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

                            2017-08-10 23:34:52,909 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

                            2017-08-10 23:34:52,910 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

                            2017-08-10 23:34:52,910 ERROR [stderr] (default task-1)   at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

                            2017-08-10 23:34:52,910 ERROR [stderr] (default task-1)   at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

                            2017-08-10 23:34:52,910 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

                            2017-08-10 23:34:52,910 ERROR [stderr] (default task-1)   at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

                            2017-08-10 23:34:52,910 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

                            2017-08-10 23:34:52,910 ERROR [stderr] (default task-1)   at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

                            2017-08-10 23:34:52,911 ERROR [stderr] (default task-1)   at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

                            2017-08-10 23:34:52,911 ERROR [stderr] (default task-1)   at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

                            2017-08-10 23:34:52,911 ERROR [stderr] (default task-1)   at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

                            2017-08-10 23:34:52,911 ERROR [stderr] (default task-1)   at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

                            2017-08-10 23:34:52,911 ERROR [stderr] (default task-1)   at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

                            2017-08-10 23:34:52,913 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)

                            2017-08-10 23:34:52,913 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)

                            2017-08-10 23:34:52,913 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)

                            2017-08-10 23:34:52,913 ERROR [stderr] (default task-1)   at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)

                            2017-08-10 23:34:52,914 ERROR [stderr] (default task-1)   at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)

                            2017-08-10 23:34:52,914 ERROR [stderr] (default task-1)   at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)

                            2017-08-10 23:34:52,914 ERROR [stderr] (default task-1)   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                            2017-08-10 23:34:52,914 ERROR [stderr] (default task-1)   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                            2017-08-10 23:34:52,914 ERROR [stderr] (default task-1)   at java.lang.Thread.run(Thread.java:748)

                            2017-08-10 23:34:52,914 ERROR [stderr] (default task-1)  Caused by: org.teiid.core.TeiidProcessingException: TEIID30504 local: TEIID30481 Failed to find the Connection Factory with JNDI name java:/orient. Please check the name or deploy the Connection Factory with specified name.

                            2017-08-10 23:34:52,915 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.DataTierTupleSource.exceptionOccurred(DataTierTupleSource.java:401)

                            2017-08-10 23:34:52,915 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.DataTierTupleSource.nextTuple(DataTierTupleSource.java:161)

                            2017-08-10 23:34:52,915 ERROR [stderr] (default task-1)   at org.teiid.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:392)

                            2017-08-10 23:34:52,915 ERROR [stderr] (default task-1)   at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:282)

                            2017-08-10 23:34:52,915 ERROR [stderr] (default task-1)   at org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:145)

                            2017-08-10 23:34:52,915 ERROR [stderr] (default task-1)   at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:151)

                            2017-08-10 23:34:52,915 ERROR [stderr] (default task-1)   at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:114)

                            2017-08-10 23:34:52,916 ERROR [stderr] (default task-1)   at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:164)

                            2017-08-10 23:34:52,916 ERROR [stderr] (default task-1)   at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:146)

                            2017-08-10 23:34:52,916 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:477)

                            2017-08-10 23:34:52,916 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:349)

                            2017-08-10 23:34:52,916 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:51)

                            2017-08-10 23:34:52,916 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:275)

                            2017-08-10 23:34:52,916 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:282)

                            2017-08-10 23:34:52,917 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119)

                            2017-08-10 23:34:52,917 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:210)

                            2017-08-10 23:34:52,917 ERROR [stderr] (default task-1)   ... 3 more

                            2017-08-10 23:34:52,919 ERROR [stderr] (default task-1)  Caused by: org.teiid.translator.TranslatorException: TEIID30481 Failed to find the Connection Factory with JNDI name java:/orient. Please check the name or deploy the Connection Factory with specified name.

                            2017-08-10 23:34:52,920 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.datamgr.ConnectorManager.getConnectionFactory(ConnectorManager.java:335)

                            2017-08-10 23:34:52,921 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:322)

                            2017-08-10 23:34:52,921 ERROR [stderr] (default task-1)   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                            2017-08-10 23:34:52,923 ERROR [stderr] (default task-1)   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                            2017-08-10 23:34:52,923 ERROR [stderr] (default task-1)   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                            2017-08-10 23:34:52,924 ERROR [stderr] (default task-1)   at java.lang.reflect.Method.invoke(Method.java:498)

                            2017-08-10 23:34:52,924 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:220)

                            2017-08-10 23:34:52,924 ERROR [stderr] (default task-1)   at com.sun.proxy.$Proxy87.execute(Unknown Source)

                            2017-08-10 23:34:52,924 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:306)

                            2017-08-10 23:34:52,924 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:112)

                            2017-08-10 23:34:52,924 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108)

                            2017-08-10 23:34:52,933 ERROR [stderr] (default task-1)   at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                            2017-08-10 23:34:52,934 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:65)

                            2017-08-10 23:34:52,934 ERROR [stderr] (default task-1)   ... 6 more

                            2017-08-10 23:34:52,934 ERROR [stderr] (default task-1)  Caused by: javax.naming.NameNotFoundException: orient -- service jboss.naming.context.java.orient

                            2017-08-10 23:34:52,934 ERROR [stderr] (default task-1)   at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106)

                            2017-08-10 23:34:52,934 ERROR [stderr] (default task-1)   at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207)

                            2017-08-10 23:34:52,934 ERROR [stderr] (default task-1)   at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:235)

                            2017-08-10 23:34:52,935 ERROR [stderr] (default task-1)   at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193)

                            2017-08-10 23:34:52,935 ERROR [stderr] (default task-1)   at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189)

                            2017-08-10 23:34:52,935 ERROR [stderr] (default task-1)   at javax.naming.InitialContext.lookup(InitialContext.java:417)

                            2017-08-10 23:34:52,935 ERROR [stderr] (default task-1)   at javax.naming.InitialContext.lookup(InitialContext.java:417)

                            2017-08-10 23:34:52,935 ERROR [stderr] (default task-1)   at org.teiid.dqp.internal.datamgr.ConnectorManager.getConnectionFactory(ConnectorManager.java:327)

                            2017-08-10 23:34:52,935 ERROR [stderr] (default task-1)   ... 18 more

                            • 11. Re: exception while processing vdb request
                              Ramesh Reddy Master

                              Attach your whole standalone-teiid.xml file please. Also attach your VDB.

                              • 13. Re: exception while processing vdb request
                                Ramesh Reddy Master

                                Are there any errors during the startup of the server? May be attach your server.log file next.

                                • 14. Re: exception while processing vdb request
                                  Artyom Lyan Newbie

                                  server.log - Google Drive - that's my log, actually i didn't see any errors, only warning

                                  '2017-08-11 00:19:13,111 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 56)  WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.'

                                   

                                  this one, but after googling i thought this is not about my problem.

                                   

                                  What can be source of error?

                                  1 2 Previous Next