2014-04-08 38 views
0

在PostgreSQL中,我創建了角色,可以在pgAdmin3中聲明「example_role」,並嘗試在命令promt和glassfish服務器上登錄,這兩種情況都適用,但不是當我嘗試使用IntelliJIDEA啓動服務器時在這種情況下,我得到以下異常:IntelliJIDEA LoginException

 Application Server was not connected before run configuration stop, reason: 
     java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Exception while processing command: javax.security.auth.login.LoginException 

和服務器給我下面的輸出(IM使用Maven進行項目包裝):

C:\glassfish4\glassfish\bin\asadmin.bat start-domain --debug example_domain 
[2014-04-08 08:30:30,003] Artifact scrumkin-ear:ear: Server is not connected. Deploy is not available. 
Detected server admin port: 4848 
Detected server http port: 8080 
Debugging is enabled and the server is suspended. Please attach to the debugging port at: 9009 
Attempting to start example_domain.... Please look at the server log for more details..... 
Connected to the target VM, address: '127.0.0.1:9009', transport: 'socket' 

我已經爲提供內部IntelliJIDEA完全相同的用戶名和密碼指定的glassfish服務器,所以我不知道還有什麼可能導致錯誤。例如在日食中,我沒有問題!

+0

'請看看服務器日誌有關更多詳細信息.....' –

+0

第一個例外是來自服務器日誌...無論如何,我發現了這個問題。 – user2340939

回答

0

URL是錯誤的,這便留下默認情況下,該工作了「Postgres的」用戶,並在某個時刻其他角色/用戶也是如此,這是很奇怪......

相關問題