2017-07-11 69 views
0

當我嘗試在Oracle DAC上配置電子郵件收件人時,出現如下圖所示的錯誤。Oracle DAC電子郵件配置:訪問默認會話被拒絕

DAC電子郵件配置: DAC Email Configuration

This email could not be completely sent! Please inspect the stack-trace below, and inform the DAC administrator 
java.lang.SecurityException: Access to default session denied 
at javax.mail.Session.getDefaultInstance(Session.java:311) 
at com.siebel.etl.email.EmailManager.dispatchJMail(EmailManager.java:461) 
at com.siebel.etl.email.EmailManager.dispatch(EmailManager.java:394) 
at com.siebel.etl.email.EmailTest.sendTestEmail(EmailTest.java:72) 
at com.siebel.etl.email.EmailTest.sendTestEmail(EmailTest.java:54) 
at com.siebel.etl.gui.login.EmailConfigPanel.sendTestEmail(EmailConfigPanel.java:170) 
at com.siebel.etl.gui.login.EmailConfigPanel$EmailTestAction.doOperation(EmailConfigPanel.java:225) 
at com.siebel.etl.gui.view.dialogs.WaitDialog.doOperation(WaitDialog.java:53) 
at com.siebel.etl.gui.view.dialogs.WaitDialog$WorkerThread.run(WaitDialog.java:85) 

的電子郵件地址,密碼和端口是正確的。

誰能告訴我該怎麼辦?謝謝!!

回答

0

試試這個

session = Session.getInstance -- gets the session not default 
+0

對不起,我不能修改的DAC的源代碼。我可以通過配置修復它嗎? –

相關問題