Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

ERROR: Connecting to HANA

$
0
0

Hello erveryone,

 

at the moment I'am trying to connect my esp-project to our HANA-server and load data from ESP into HANA.

 

Therefor I connected a HANA-Output-adapter to a stream in my esp-project with the preferences:

 

-Database Service Name: hana

// Name of the ODBC-Service I added to the ESP-Server. The ODBC-DSN of this service is "SAP HANA".

// The DSN-System "SAP HANA" is configurated with odbcad32.exe (Path: C:\Windows\System32, the ODBC-Driver is not visible with C:\Windows\SysWOW64\odbcad32.exe ).

// The test-connection with odbcad32.exe is successful.

 

-Target Database Table Name: MAHA_TEST

// Table exists on the HANA-Server with the same column schema (only one String column)

 

So every time I try to load a row in the output-adapter I get the error-message:

 

HANA_Output1, NEWSTREAM, hana_out, 0, , DEAD, 0, 0, 0, 2014-10-09 13:00:32, Unable to establish a DB connection for hana service.

[IM002][0][[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified]

Unable to get connection to the database., NULL

 

If I click on "Discover" on the ODBC-service "hana" in the "Data Service"-View the following massage is printed in the console:

 

[FAILURE:Unable to determine capabilitities of adapter type db_in][CODE:702020][EXCEPTION:xmlrpc call Connection.reset() failed msg: 2014-10-09 11:06:05 DBInput_Adapter::resetConnection - Error getting connection from service

- DBInput_Adapter::resetConnection Adapter initialization failed

 

DBInput_Adapter::reset() Connection initialization failed]

java.lang.Exception: xmlrpc call Connection.reset() failed msg: 2014-10-09 11:06:15 DBInput_Adapter::resetConnection - Error getting connection from service

- DBInput_Adapter::resetConnection Adapter initialization failed

 

DBInput_Adapter::reset() Connection initialization failed

    at com.sybase.esp.cluster.plugins.servicetypes.adapter.InternalAdapter.reset(Unknown Source)

    at com.sybase.esp.cluster.plugins.servicetypes.adapter.InternalAdapter.getTableNames(Unknown Source)

    at com.sybase.esp.cluster.plugins.servicetypes.adapter.DiscoveryServiceImpl.getTableNames(Unknown Source)

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

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

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

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

    at com.sybase.esp.cluster.plugins.servicetypes.Service.execute(Unknown Source)

    at com.sybase.esp.cluster.impl.CacheService.rpcNodeExecuteService(Unknown Source)

    at com.sybase.esp.cluster.impl.CacheService.rpcClusterExecuteService(Unknown Source)

    at com.sybase.esp.cluster.impl.Node.clusterExecuteService(Unknown Source)

    at com.sybase.esp.cluster.impl.ClusterServiceHandler.executeService(Unknown Source)

    at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)

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

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

    at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)

    at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:106)

    at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46)

    at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)

    at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)

    at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:112)

    at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:196)

    at com.sybase.esp.cluster.impl.RpcService$NodeRpcServlet.doPost(Unknown Source)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)

    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)

    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)

    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)

    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)

    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)

    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)

    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)

    at org.eclipse.jetty.server.Server.handle(Server.java:349)

    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)

    at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894)

    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948)

    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)

    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)

    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)

    at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:191)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)

    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)

    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)

    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)

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

 

 

System:

Windows 7 64-bit

SAP HANA Client Rev. 83

 

I hope someone knows how to fix this problem.

 

Kind regards,

 

 

Matthias Hanel


Viewing all articles
Browse latest Browse all 8627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>