Thursday 15 January 2015

java - Specify JDBC connection details -



java - Specify JDBC connection details -

i trying connect jdbc info source (on virtual machine)

i specifying same in next formats. in settings.xml below;

<properties> <jdbc.url>jdbc:oracle:thin:@//remotevm.us.mycompany.com:1521/xe</jdbc.url> <jdbc.username>my_local</jdbc.username> <jdbc.password>my_local</jdbc.password> </properties>

also in weblogic console (under info sources), specify next url;

jdbc:oracle:thin:@//remotevm.us.mycompany.com:1521:xe

please allow me know if there issues above.

i asking getting error;

internal exception: javax.naming.namenotfoundexception: unable resolve 'jdbc.app'. resolved 'jdbc'; remaining name 'app'

just add, able connect through sql developer above details (hostname, service name, username/pwd)

java database jdbc database-connection

No comments:

Post a Comment