Jboss artefact not deployed

Answered

I am trying to deploy a web-app on JBoss 7.1.1 Final from IntelliJ Utimate 2019.1.2. After starting JBoss, I keep getting this message:

Waiting for server connection to start artifact deployment...

Log in IntelliJ

 

C:\JBoss-as-7.1.1.Final\bin\standalone.bat
Calling "C:\JBoss-as-7.1.1.Final\bin\standalone.conf.bat"
"JAVA_OPTS already set in environment; overriding default settings with values: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:8787,suspend=y,server=n -javaagent:C:\Users\ASI14681\.IntelliJIdea2019.1\system\captureAgent\debugger-agent.jar -XX:MaxPermSize=256m -Xms40m -Xmx2048m "
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: C:\JBoss-as-7.1.1.Final

JAVA: C:\Program Files\Java\jdk1.7.0_80\bin\java

JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:8787,suspend=y,server=n -javaagent:C:\Users\ASI14681\.IntelliJIdea2019.1\system\captureAgent\debugger-agent.jar -XX:MaxPermSize=256m -Xms40m -Xmx2048m

===============================================================================

"C:\Program Files\Java\jdk1.7.0_80\bin\java.exe" -Dfile.encoding=windows-1252 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.2\lib\idea_rt.jar" com.intellij.rt.execution.CommandLineWrapper C:\Users\ASI14681\AppData\Local\Temp\idea_classpath1904821187 com.intellij.javaee.oss.process.JavaeeProcess 56501 com.intellij.javaee.oss.jboss.agent.JBoss71Agent
Detected server admin port: 9999
Detected server http port: 8080
[2019-05-13 09:21:27,763] Artifact webls-web-4.10.10b.war: Waiting for server connection to start artifact deployment...
Connected to the target VM, address: '127.0.0.1:8787', transport: 'socket'
09:21:33,970 INFOS [org.jboss.modules] JBoss Modules version 1.1.1.GA
09:21:35,799 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
09:21:35,883 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
09:21:42,528 INFO [org.xnio] XNIO Version 3.0.3.GA
09:21:42,555 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
09:21:42,559 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
09:21:42,641 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
09:21:42,677 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
09:21:42,680 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
09:21:42,686 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
09:21:42,690 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
09:21:42,692 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
09:21:42,698 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
09:21:42,737 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
09:21:42,781 INFO [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.7.Final
09:21:43,029 INFO [org.jboss.as.connector] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
09:21:46,575 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
09:21:46,889 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) Démarrage de Coyote HTTP/1.1 sur http--127.0.0.1-8080
09:21:46,892 INFO [org.jboss.as.naming] (MSC service thread 1-11) JBAS011802: Starting Naming Service
09:21:46,899 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
Error running admin process:
Message: java.lang.NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient$Factory.create(Ljava/lang/String;ILjavax/security/auth/callback/CallbackHandler;Ljavax/net/ssl/SSLContext;I)Lorg/jboss/as/controller/client/ModelControllerClient; Stack trace: com.intellij.javaee.process.common.JavaeeProcessUtilException: java.lang.NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient$Factory.create(Ljava/lang/String;ILjavax/security/auth/callback/CallbackHandler;Ljavax/net/ssl/SSLContext;I)Lorg/jboss/as/controller/client/ModelControllerClient; at com.intellij.javaee.process.common.MethodInvocator.invoke(MethodInvocator.java:47) 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) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:66) Caused by: java.lang.NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient$Factory.create(Ljava/lang/String;ILjavax/security/auth/callback/CallbackHandler;Ljavax/net/ssl/SSLContext;I)Lorg/jboss/as/controller/client/ModelControllerClient; at com.intellij.javaee.oss.jboss.agent.JBoss7Agent.doConnect(JBoss7Agent.java:61) at com.intellij.javaee.oss.agent.SimpleAgentBase$1.doJob(SimpleAgentBase.java:24) at com.intellij.javaee.oss.agent.SimpleAgentBase$1.doJob(SimpleAgentBase.java:20) at com.intellij.javaee.oss.agent.SimpleAgentJob.perform(SimpleAgentJob.java:12) at com.intellij.javaee.oss.agent.SimpleAgentBase.connect(SimpleAgentBase.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.javaee.process.common.MethodInvocator.invoke(MethodInvocator.java:41) ... 8 more 09:21:47,677 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010400: Bound data source [java:jboss/datasources/ArchivesDS]
09:21:47,677 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-10) JBAS010400: Bound data source [java:jboss/datasources/WeblsDS]
09:21:47,678 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-14) JBAS010400: Bound data source [java:jboss/datasources/QuartzDS]
09:21:48,414 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.2.GA
09:21:48,868 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) JBAS015012: Started FileSystemDeploymentService for directory C:\JBoss-as-7.1.1.Final\standalone\deployments
09:21:48,898 INFO [org.jboss.as.remoting] (MSC service thread 1-9) JBAS017100: Listening on /127.0.0.1:4447
09:21:48,898 INFO [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /127.0.0.1:9999
09:21:49,383 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
09:21:49,383 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 20934ms - Started 139 of 216 services (74 services are passive or on-demand)

2
9 comments
Avatar
Permanently deleted user

the problem appeared after the update to the 2019 version

1
Avatar
Liubov Melnikova

Do you have a chance to reinstall Intellij to the clean directory?

0
Avatar
Permanently deleted user

I will try to reinstall intellij.

0

It's a known regression that will be fixed in the next update: https://youtrack.jetbrains.com/issue/IDEA-212457 .

Right now you can rollback to the previous version via https://www.jetbrains.com/toolbox/app/ or at https://www.jetbrains.com/idea/download/previous.html .

1
Avatar
Permanently deleted user

Which version can we rollback to that will prevent this issue?
I tried to get 2019.1.1 but the download is "not available".

0

Does the issue occur in the current 2019.2.4 release for you?

0
Avatar
Permanently deleted user

Yes I am using 209.2.4. Prehaps I should start a seperate thread due to the differences. I am using Wildfly 18.0.1 and after the server has been started from a gradle task, the artifact does not deploy. This was not a problem in Wildfly 10.0.1 using 2019.2.4

0
Avatar
Permanently deleted user

2019.2.4*

0

Please report at https://youtrack.jetbrains.com/issues/IDEA with more details and a sample project.

It looks like you are using JBoss Remote run/debug configuration which is a completely different case.

0

Please sign in to leave a comment.