on 06-26-2008 6:44 AM
I am trying to access a new datasource other than the default one. But when I do a simple select query application, it gives SQLException.
here below the exception caught. Can anyone figure out what could be the reason? I restarted J2EE server already.
ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://server21/TST [Restart required].
thanks in advance
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But I got following No Class Exception exception:
com.sap.dbtech.jdbc.DriverSapDB -
plz tell how to resolve?
nikhil
Actually it was problem with datasource created. I mistook jdbc:sapdb://host/SID?timeout=value parameter for database URL.
It is working with jdbc:sapdb://host/<DatabaseName>?timeout=value
thanks for reply ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.