You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/05/08 05:18:30 UTC

[GitHub] [incubator-dolphinscheduler] 15921762467 opened a new issue #2632: [QUESTION] Connect to ORACLE data source exception

15921762467 opened a new issue #2632:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2632


   Through "https://github.com/apache/incubator-dolphinscheduler/blob/dev/dockerfile/Dockerfile" build docker mirror, connecting the ORACLE data source anomaly.Please also help to check the exception
   (通过“https://github.com/apache/incubator-dolphinscheduler/blob/dev/dockerfile/Dockerfile”构建docker镜像后,连接ORACLE数据源异常。还请帮忙排查下异常)
   ************************************
   [ERROR] 2020-05-08 13:07:40.763 org.apache.dolphinscheduler.api.service.DataSourceService:[421] - Invalid connection string format, a valid format is: "//host[:port][/service_name]" 
   java.sql.SQLException: Invalid connection string format, a valid format is: "//host[:port][/service_name]" 
           at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
           at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
           at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
           at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:480)
           at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)
           at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
           at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
           at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
           at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
           at java.sql.DriverManager.getConnection(DriverManager.java:664)
           at java.sql.DriverManager.getConnection(DriverManager.java:247)
           at org.apache.dolphinscheduler.api.service.DataSourceService.getConnection(DataSourceService.java:418)
           at org.apache.dolphinscheduler.api.service.DataSourceService.checkConnection(DataSourceService.java:436)
           at org.apache.dolphinscheduler.api.service.DataSourceService$$FastClassBySpringCGLIB$$8d6cb828.invoke(<generated>)
           at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
           at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
           at org.apache.dolphinscheduler.api.service.DataSourceService$$EnhancerBySpringCGLIB$$b2b85690.checkConnection(<generated>)
           at org.apache.dolphinscheduler.api.controller.DataSourceController.connectDataSource(DataSourceController.java:284)
           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.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
           at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
           at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
           at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
           at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
           at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
           at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
           at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
           at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
           at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
           at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
           at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
           at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
           at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
           at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
           at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
           at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
           at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
           at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
           at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
           at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
           at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
           at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
           at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
           at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
           at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
           at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
           at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
           at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
           at org.eclipse.jetty.server.Server.handle(Server.java:502)
           at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
           at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
           at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
           at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
           at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
           at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
           at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
           at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
           at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
           at java.lang.Thread.run(Thread.java:748)
   Caused by: oracle.net.ns.NetException: Invalid connection string format, a valid format is: "//host[:port][/service_name]" 
           at oracle.net.resolver.HostnameNamingAdapter.resolve(HostnameNamingAdapter.java:125)
           at oracle.net.resolver.NameResolver.resolveName(NameResolver.java:130)
           at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:403)
           at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
           at oracle.net.ns.NSProtocol.connect(NSProtocol.java:206)
           at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
           at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
           ... 77 common frames omitted
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] 743294668 commented on issue #2632: [QUESTION] Connect to ORACLE data source exception

Posted by GitBox <gi...@apache.org>.
743294668 commented on issue #2632:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2632#issuecomment-631311210


   I also got the same error.
   Which version of ojdbc are you using? Has the problem been solved?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] Liugh2020 removed a comment on issue #2632: [QUESTION] Connect to ORACLE data source exception

Posted by GitBox <gi...@apache.org>.
Liugh2020 removed a comment on issue #2632:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2632#issuecomment-625635861


   Connecting to mysql and postgresql is normal
   连接mysql和postgresql都是正常的


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] 15921762467 commented on issue #2632: [QUESTION] Connect to ORACLE data source exception

Posted by GitBox <gi...@apache.org>.
15921762467 commented on issue #2632:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2632#issuecomment-625635861


   Connecting to mysql and postgresql is normal
   连接mysql和postgresql都是正常的


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] 743294668 commented on issue #2632: [QUESTION] Connect to ORACLE data source exception

Posted by GitBox <gi...@apache.org>.
743294668 commented on issue #2632:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2632#issuecomment-643951074


   #2970 has been merged. You can update the code to solve this problem


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xingchun-chen closed issue #2632: [QUESTION] Connect to ORACLE data source exception

Posted by GitBox <gi...@apache.org>.
xingchun-chen closed issue #2632:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2632


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org