2013-04-30 90 views
2

我有一個Mule Standalone服務器,我有兩個Mule Deployable Archives,我在MuleStudio中創建,都連接到SQL Server並使用集成身份驗證。無論存檔我部署的第一部作品,而第二個存檔將失敗,此消息:sqljdbc_auth.dll已經在Mule獨立服務器的另一個類加載器中加載

Apr 30, 2013 8:37:39 AM com.microsoft.sqlserver.jdbc.AuthenticationJNI <clinit> 
WARNING: Failed to load the sqljdbc_auth.dll cause : Native Library C:\MuleCE\mule-standalone-3.3.1\lib\boot\sqljdbc_auth.dll already loaded in another classloader 

Root Exception was: Cannot get connection for URL jdbc:sqlserver://SQL01;instanceName=APPS;databaseName=muletest;integratedSecurity=true : This driver is not configured for integrated authentication. ClientConnectionId:b4032f04-ddb4-464e-8b32-cd36e1882018(SQL Code: 0, SQL State: + null). Type: class java.sql.SQLException 
ERROR 2013-04-30 08:37:54,061 [Mule.app.deployer.monitor.1.thread.1] org.mule.module.launcher.application.DefaultMuleApplication: null 
java.sql.SQLException: Cannot get connection for URL jdbc:sqlserver://SQL01;instanceName=APPS;databaseName=muletest;integratedSecurity=true : This driver is not configured for integrated authentication. 

我不太知道如何工作的,所以如果我不是在正確的軌道上讓我知道,但我相信我的問題與此問題有關 Native Library sqljdbc_auth.dll already loaded in another classloader因此,它看起來像我需要將sqljdbc_auth.dll放在共享庫中。我的問題是我應該把它放在騾子下面?在mule-standalone-3.3.1 \ lib文件夾下有:boot,認可的,mule,opt,shared和user。

另外,如何告訴我的項目在創建mule可部署存檔時引用該共享庫?

謝謝。

回答

0

我將sqljdbc4.jar和sqljdbc_auth.dll複製到lib \ opt和lib \ shared \ default下的mule-standalone-3.3.1安裝文件夾中,重新啓動了mule服務,現在它似乎可以正常工作。我無法找到關於lib下的所有子文件夾的文檔,所以如果這是最佳實踐或者最佳實踐,我不這樣做。

相關問題