I am unable to set up a WebLogic 11g data source to our SQL Server database. Can you please help diagnose the error
weblogic.common.ResourceException: Could not create pool connection.
The DBMS driver exception was: [FMWGEN][SQLServer JDBC
Driver][SQLServer]Login failed for user ‘carynt\posapp’
The value carynt\posapp is the value I specify for the user. I have attempted various different “AuthenticationMethod” settings as prescribed in the docs.
My unit tests (from within the Eclipse IDE) run successfully. However those use integratedSecurity settings. Is it possible to somehow use similar settings for the WebLogic datasource?
Answering my own question…
We noticed an error in the WebLogic console logs about an unrelated class not being found. Our WebLogic administrator correctly diagnosed it as owing to the tweaked
java.library.path(as suggested for using integratedSecurity).We could not determine which of the myriad WebLogic’s startup scripts was initializing the
java.library.pathvalue. Obviously my setting of this variable was clobbering the original value. By undoing my changes we noticed that the defaultjava.library.pathwas the same as the Windows PATH system variable value. Therefore wejava.library.pathby tweaking the Windows PATH value in thestartWebLogic.cmdfileintegratedSecurity=truesetting in the data source definition.Paydirt!