while enabling jdbc connection it is throwing the following error.
[ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource test.adapters:sample.
[ART.118.5063] Adapter Runtime (Connection): Unable to start connection test.adapters:sample: after 1 attempt(s).
[ADA.1.204] Cannot connect to the database with DataSource class “com.microsoft.sqlserver.jdbc.SQLServerDataSource”.
Login failed for user ‘webm’.
Like Koen mentioned, it doesn’t seem to be an error due to a missing JAR or anything like that. It’s most likely due to misconfiguration or typos. Make sure you’re pointing to the right database server, instance and/or port, and make sure you’re typing the username and password correctly.
Where did you place the jar file?
Copy that jar file into the WM->IS->lib->jars Directory and restart the server if the server is running.
Get back to me with your output.
I have placed the jar file in wm->IS->lib->jars and also in the wmjdbcadapter pkg->code->jars.I have restarted the server.Still I am getting the error.
I think the problem is with your server name. Try to give correct server name which you can find in the services or you can ask your DB Admin regarding this.
Hi Geetha,
Pranith is right, you need to check the servername at “tnsnames.ora” file.
(HOST = ********) , where * is the servername.
Secondly, ensure that the ojdbc14.jar in your path is the one from your oraclehome/jars…
Most important, the package name shoud be one created by using Designer/Developer tool (Refer: page 70 JDBC adapter user guide)