Troubles when run configuration within Intellij

Answered

Hello,

I changed inet address setting in JBoss EAP startup file from 127.0.0.1 to my local hostname, and my ear deployment went out fine. However, when I started the application server within Intellij (run configuration), my ear failed to get deployed. The console messges showed Server is not connected. Deploy is not available. Please kindly advise where the settings went wrong.

Many thanks,

Joey

3 comments
Official comment

IDEA local run configuration just does not support WildFly/JBoss configuration if the server management interface does not accept connections on localhost (see https://youtrack.jetbrains.com/issue/IDEA-94428).

So, I can see the following options:

1) configure WildFly management interface to accept connections on 0.0.0.0 -- in case you need to access it on 'dgdev' while it's acceptable to have the management interface available on localhost as well.
2) if you don't want to have the WildFly management interface available on localhost, then you should start the WildFly instance manually and use the IDEA remote run configuration to deploy to and/or debug the WildFly instance.

If you have any other questions, please reply in the support ticket that was created from this forum topic.

Provide idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085).

Did you adjust IP address in the run/debug configuration settings?

0

How to adjust IP address in configuration setting?

 

What follows is the content of idea.log:

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

2016-04-10 21:01:10,447 [ 357] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-04-10 21:01:10,478 [ 388] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-143.2287.1, 23 Feb 2016 00:00)
2016-04-10 21:01:10,478 [ 388] INFO - #com.intellij.idea.Main - OS: Windows 8 (6.2, x86)
2016-04-10 21:01:10,478 [ 388] INFO - #com.intellij.idea.Main - JRE: 1.8.0_51-b16 (Oracle Corporation)
2016-04-10 21:01:10,478 [ 388] INFO - #com.intellij.idea.Main - JVM: 25.51-b03 (Java HotSpot(TM) Server VM)
2016-04-10 21:01:10,478 [ 388] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\JetBrains\IntelliJ IDEA 15.0.2\bin\idea.exe.vmoptions -Xbootclasspath/a:C:\JetBrains\IntelliJ IDEA 15.0.2\lib\boot.jar -Didea.paths.selector=IntelliJIdea15
2016-04-10 21:01:10,479 [ 389] INFO - #com.intellij.idea.Main - ext: C:\JetBrains\IntelliJ IDEA 15.0.2\jre\jre\lib\ext: [access-bridge-32.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2016-04-10 21:01:10,596 [ 506] INFO - #com.intellij.idea.Main - JNA library loaded (32-bit) in 117 ms
2016-04-10 21:01:10,597 [ 507] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2016-04-10 21:01:10,598 [ 508] INFO - #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2016-04-10 21:01:11,762 [ 1672] INFO - llij.ide.plugins.PluginManager - 128 plugins initialized in 771 ms
2016-04-10 21:01:11,775 [ 1685] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.1.3.0), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (143.SNAPSHOT), CVS Integration (11), ClearCase Integration (2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (2.0), Copyright (8.1), Coverage (143.SNAPSHOT), Cucumber for Groovy (999.999), Cucumber for Java (999.999), DSM Analysis (1.0.0), Database Tools and SQL (1.0), Eclipse Integration (3.0), EditorConfig (1.0), Emma (143.SNAPSHOT), Flash/Flex Support (1.0), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (143.2287.1), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (143.2287.1), Grails (9.0), Groovy (9.0), Guice (8.0), HAML (143.SNAPSHOT), HTML Tools (2.0), Heroku integration (1.0), Hibernate Support (1.0), I18n for Java (143.2287.1), IDEA CORE (143.SNAPSHOT), IntelliLang (8.0), J2ME (1.0), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), JUnit (1.0), Java Bytecode Decompiler (0.1), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages Integration (1.0), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Kotlin (1.0.0-release-IJ143-75), LESS support (143.SNAPSHOT), Maven Integration (143.2287.1), Maven Integration Extension (143.SNAPSHOT), OpenShift integration (1.0), Osmorc (1.4.7), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (143.SNAPSHOT), QuirksMode (143.SNAPSHOT), REST Client (143.SNAPSHOT), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SASS support (143.SNAPSHOT), SSH Remote Run (0.1), Settings Repository (143.2287.1), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (999.999), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer (143.2287.1), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (143.SNAPSHOT), ZKM-Unscramble (1.0), dmServer Support (0.9.5), hg4idea (10.0)
2016-04-10 21:01:11,775 [ 1685] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: JavaCC Plugin (1.0.4), LiveEdit (2.0.23.143)
2016-04-10 21:01:12,506 [ 2416] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=498008064
2016-04-10 21:01:12,550 [ 2460] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\JetBrains\IntelliJ IDEA 15.0.2\bin\fsnotifier.exe
2016-04-10 21:01:12,559 [ 2469] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2016-04-10 21:01:13,297 [ 3207] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2016-04-10 21:01:13,464 [ 3374] INFO - #com.intellij.AbstractBundle - Cannot load resource bundle from *.properties file, falling back to slow class loading: com.intellij.javaee.heroku.cloud.HerokuBundle
2016-04-10 21:01:13,520 [ 3430] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2016-04-10 21:01:14,869 [ 4779] INFO - plication.impl.ApplicationImpl - 96 application components initialized in 3879 ms
2016-04-10 21:01:14,875 [ 4785] INFO - .intellij.idea.IdeaApplication - App initialization took 5131 ms
2016-04-10 21:01:15,056 [ 4966] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2016-04-10 21:01:15,777 [ 5687] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2016-04-10 21:01:16,347 [ 6257] INFO - ellij.project.impl.ProjectImpl - 175 project components initialized in 1117 ms
2016-04-10 21:01:16,574 [ 6484] INFO - le.impl.ModuleManagerComponent - 2 module(s) loaded in 227 ms
2016-04-10 21:01:18,464 [ 8374] INFO - tartup.impl.StartupManagerImpl - C:/IdeaProjects/TBLIMSConsole/.idea/misc.xml case-sensitivity: false
2016-04-10 21:01:18,936 [ 8846] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 104ms; general responsiveness: ok; EDT responsiveness: ok
2016-04-10 21:01:19,127 [ 9037] INFO - tor.impl.FileEditorManagerImpl - Project opening took 3924 ms
2016-04-10 21:01:21,088 [ 10998] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 2151ms; general responsiveness: ok; EDT responsiveness: ok
2016-04-10 21:01:21,345 [ 11255] INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min)
2016-04-10 21:01:23,968 [ 13878] INFO - tellij.xml.Html5SchemaProvider - HTML5_SCHEMA_LOCATION = C:/JetBrains/IntelliJ IDEA 15.0.2/lib/idea.jar!/resources/html5-schema/html5.rnc
2016-04-10 21:01:23,968 [ 13878] INFO - tellij.xml.Html5SchemaProvider - XHTML5_SCHEMA_LOCATION = C:/JetBrains/IntelliJ IDEA 15.0.2/lib/idea.jar!/resources/html5-schema/xhtml5.rnc
2016-04-10 21:01:23,968 [ 13878] INFO - tellij.xml.Html5SchemaProvider - CHARS_DTD_LOCATION = C:/JetBrains/IntelliJ IDEA 15.0.2/lib/idea.jar!/resources/html5-schema/html5chars.ent
2016-04-10 21:01:42,458 [ 32368] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2016-04-10 21:01:42,782 [ 32692] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/JetBrains/IntelliJ IDEA 15.0.2/lib/jps-launcher.jar;C:/Java/jdk1.7.0_51/lib/tools.jar;C:/JetBrains/IntelliJ IDEA 15.0.2/lib/optimizedFileManager.jar;C:/JetBrains/IntelliJ IDEA 15.0.2/lib/ecj-4.4.jar
2016-04-10 21:01:44,171 [ 34081] INFO - .server.BuildMessageDispatcher - 遠端主機已強制關閉一個現存的連線。
java.io.IOException: 遠端主機已強制關閉一個現存的連線。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:221)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:871)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:245)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:112)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:510)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:467)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:381)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:356)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
2016-04-10 21:01:44,189 [ 34099] INFO - lij.compiler.impl.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 1737 ms: 0 min 1sec
2016-04-10 21:01:44,249 [ 34159] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2016-04-10 21:01:44,255 [ 34165] INFO - j.compiler.server.BuildManager - Using preloaded build process to compile C:\IdeaProjects\TBLIMSConsole
2016-04-10 21:01:44,458 [ 34368] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/JetBrains/IntelliJ IDEA 15.0.2/lib/jps-launcher.jar;C:/Java/jdk1.7.0_51/lib/tools.jar;C:/JetBrains/IntelliJ IDEA 15.0.2/lib/optimizedFileManager.jar;C:/JetBrains/IntelliJ IDEA 15.0.2/lib/ecj-4.4.jar
2016-04-10 21:01:46,155 [ 36065] INFO - .server.BuildMessageDispatcher - 遠端主機已強制關閉一個現存的連線。
java.io.IOException: 遠端主機已強制關閉一個現存的連線。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:221)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:871)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:245)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:112)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:510)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:467)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:381)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:356)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
2016-04-10 21:01:46,159 [ 36069] INFO - lij.compiler.impl.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 1913 ms: 0 min 1sec
2016-04-10 21:01:46,448 [ 36358] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/JetBrains/IntelliJ IDEA 15.0.2/lib/jps-launcher.jar;C:/Java/jdk1.7.0_51/lib/tools.jar;C:/JetBrains/IntelliJ IDEA 15.0.2/lib/optimizedFileManager.jar;C:/JetBrains/IntelliJ IDEA 15.0.2/lib/ecj-4.4.jar
2016-04-10 21:01:56,524 [ 46434] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2016-04-10 21:01:56,528 [ 46438] INFO - j.compiler.server.BuildManager - Using preloaded build process to compile C:\IdeaProjects\TBLIMSConsole
2016-04-10 21:01:56,714 [ 46624] INFO - .server.BuildMessageDispatcher - 遠端主機已強制關閉一個現存的連線。
java.io.IOException: 遠端主機已強制關閉一個現存的連線。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:221)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:871)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:245)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:112)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:510)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:467)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:381)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:356)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
2016-04-10 21:01:56,717 [ 46627] INFO - lij.compiler.impl.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 199 ms: 0 min 0sec
2016-04-10 21:01:56,972 [ 46882] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/JetBrains/IntelliJ IDEA 15.0.2/lib/jps-launcher.jar;C:/Java/jdk1.7.0_51/lib/tools.jar;C:/JetBrains/IntelliJ IDEA 15.0.2/lib/optimizedFileManager.jar;C:/JetBrains/IntelliJ IDEA 15.0.2/lib/ecj-4.4.jar

 

0

Post is closed for comments.