LoginException
已回答
In PostgreSQL, I have created role, lets say "example_role" in pgAdmin3, and tried to login in command promt and on glassfish server, which works in both cases, but not when I try to start the server with IntelliJIDEA, in which case I get the following exception:
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
And server gives me following output (Im using Maven for project packaging):
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: 8080Debugging 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'
I have provided exact same username and password inside IntelliJIDEA for the specified glassfish server, so I don't know what else could be causing the error. In eclipse, for example, I have no issues!
请先登录再写评论。
Hi
Any news on this problem ? I have the same issue.
benchaab Please make sure that you specified the correct credentials for GlassFish server in settings "Run | Edit Configurations | your_glassfish_configuration".
If everything is fine with that attach a compressed log folder and a screenshot of your Run/Debug configuration. The files can be uploaded at https://uploads.jetbrains.com/. (do not forget to specify the UploadID)