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 2021/01/07 01:41:01 UTC

[GitHub] [incubator-dolphinscheduler] hehuachengtay opened a new issue #4398: create oracle datasource alert Invalid connection string format

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


   **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
   **Describe the bug**
   create oracle datasource alert follow,and i also add ojdbc14.jar to ./lib/
   
   [ERROR] 2021-01-07 09:38:51.268 org.apache.dolphinscheduler.api.service.DataSourceService:[433] - Io 异常: Invalid connection string format, a valid format is: "host:port:sid" 
   java.sql.SQLException: Io 异常: Invalid connection string format, a valid format is: "host:port:sid" 
   	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
   	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
   	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
   	at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:319)
   	at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:344)
   	at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:148)
   	at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
   	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
   	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:430)
   	at org.apache.dolphinscheduler.api.service.DataSourceService.checkConnection(DataSourceService.java:448)
   	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$$261aaac7.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)
   


----------------------------------------------------------------
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] chengshiwen closed issue #4398: create oracle datasource alert Invalid connection string format

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


   


-- 
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 commented on issue #4398: create oracle datasource alert Invalid connection string format

Posted by GitBox <gi...@apache.org>.
xingchun-chen commented on issue #4398:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4398#issuecomment-756012549


   Can you take a screenshot to see how your oracle is configured?


----------------------------------------------------------------
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] CalvinKirs commented on issue #4398: create oracle datasource alert Invalid connection string format

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


   In the case of a cluster, service name should be used instead of sid


----------------------------------------------------------------
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] chengshiwen commented on issue #4398: create oracle datasource alert Invalid connection string format

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


   Close this issue since no updates for long time


-- 
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