Skip to Content
avatar image
Former Member

HANA MDC _HOSTNAME

Hi... I am using hana trail account and createa table in hana MDC.. I am trying to access the table IN JSP using sap JDBC CONNECTION....It keeps throwing below error... I also tried giving the host name that shows in catalog where i created the table.... can someone if am missing somethign here....

<sql:setDataSource driver = "com.sap.db.jdbc.Driver" url = "jdbc:sap://vsa1885.nwtrial.od.sap.biz:30015?reconnect=true" user = "*****" password = *****"/>

Hostname from catalog :vsa1885.nwtrial.od.sap.biz or tried jdbc:sap://hanatrial.ondemand.com:3


javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sap://hanatrial.ondemand.com:30015 [Cannot connect to host hanatrial.ondemand.com:30015 [Connection timed out: connect], -813.]." at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 25, 2017 at 10:07 PM
    Add comment
    10|10000 characters needed characters exceeded