Artifact testapp:war exploded: Waiting for server connection to start artifact deployment.

Answered

Hi,

i am trying to deploy my application on Intellij to local glassfish server. But when i click on button to deploy or when i start glassfisch server i am getting this message on the terminal of intellij:

Artifact testapp:war exploded: Waiting for server connection to start artifact deployment. 

The glassfish is running on localhost i can login to admin console of glassfish via localhost:4848. 

I also checkd idea.log file and this error occurs when it trys to deploy the artifact to glassfish server.

 

command: javax.security.auth.login.LoginException
java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Exception while processing command: javax.security.auth.login.LoginException
at com.intellij.javaee.oss.glassfish.agent.Glassfish31Agent.doParseResponse(Glassfish31Agent.java:27)
at com.intellij.javaee.oss.glassfish.agent.Glassfish3AgentBase.parseResponse(Glassfish3AgentBase.java:239)
at com.intellij.javaee.oss.glassfish.agent.Glassfish3AgentBase.invoke(Glassfish3AgentBase.java:185)
at com.intellij.javaee.oss.glassfish.agent.Glassfish3AgentBase.doConnect(Glassfish3AgentBase.java:39)
at com.intellij.javaee.oss.agent.SimpleAgentBase$1.doJob(SimpleAgentBase.java:17)
at com.intellij.javaee.oss.agent.SimpleAgentBase$1.doJob(SimpleAgentBase.java:13)
at com.intellij.javaee.oss.agent.SimpleAgentJob.perform(SimpleAgentJob.java:12)
at com.intellij.javaee.oss.agent.SimpleAgentBase.connect(SimpleAgentBase.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.javaee.process.common.MethodInvocator.invoke(MethodInvocator.java:41)
at com.intellij.javaee.oss.process.JavaeeProcess.processRequest(JavaeeProcess.java:112)
at com.intellij.javaee.oss.process.JavaeeProcess.run(JavaeeProcess.java:52)
at com.intellij.javaee.oss.process.JavaeeProcess.main(JavaeeProcess.java:31)
Caused by: com.sun.enterprise.admin.remote.RemoteFailureException: Exception while processing command: javax.security.auth.login.LoginException
at com.sun.enterprise.admin.remote.ManifestManager.processGeneric(ManifestManager.java:122)
at com.sun.enterprise.admin.remote.ManifestManager.process(ManifestManager.java:75)
at com.sun.enterprise.admin.remote.RemoteResponseManager.handleManifest(RemoteResponseManager.java:121)
at com.sun.enterprise.admin.remote.RemoteResponseManager.process(RemoteResponseManager.java:95)
at com.intellij.javaee.oss.glassfish.agent.Glassfish31Agent.doParseResponse(Glassfish31Agent.java:21)

 

 

Is it possible i reconfigured the glassfish server not properly?

 

kind regards,

ub

 

0
4 comments
Official comment
For 4.1.0 I can reproduce exactly the same exception with incorrect credentials:
 
If changing of the password for user "admin" (Domain: domain1) in the admin console does not help, please do the following:
- go to Glassfish Run/Debug configuration on Startup/Connection tab
- change Startup script to <GF home>\glassfish\bin\asadmin.bat start-domain --verbose domain1
- apply changes 
- launch run-configuration
- reproduce issue
- stop run-configuration
- attach here or better in the new youtrack:
- -  idea.log,
- - complete textual result from Run(Debug) tool window when you deploy to the server in IDEA,
- - screenshots of Server, Startup/Connection tabs of Glassfish Run/Debug Configuration
 
Regards, 
Michael 

Please verify that you've specified username and password correctly in IntelliJ IDEA run/debug configuration (https://www.jetbrains.com/help/idea/run-debug-configuration-glassfish-server.html).

1

What is the exact glassfish version you are using?

0
Avatar
Permanently deleted user

i use GlassFish version 4.1.0

Credentioals are correct i use same username password on eclipse Username: admin Password: empty

 

I could try to reset manualy via asadmin command the password of domain1!!!

0

Please sign in to leave a comment.