How to debug a JBoss 7.1 application in eclipse Luna - java

Anybody knows how can I enable the debug port of JBoss if I start the JBoss inside of eclipse? I have followed this https://stackoverflow.com/a/21295569/1465758 but the debug port (8787) is only open if I start JBoss from a command line outside of eclipse Luna. If I open eclipse Luna and try to start the JBoss server the debug port 8787 will be still closed! Seems that eclipse Luna is not using the changed standalone.conf file.
On eclipse I have installed the JBossAS Tools V3.0.0.Beta3-v20140718-1832-B70 plugin.

I was trying to debug like in the answer, but its not working in JBoss 7.1. I found that it is bug of JBoss 7.1.x. Look here: https://developer.jboss.org/message/723813
I downloaded EAP 6.1 (old name - JBoss 7.2) - its working perfect with JBoss Tools (Luna) 4.2.3 Final.

I have now install the "JBoss Developer Studio (Core Features)" plugin (V8.0.0.Beta3). Now I can debug JBoss applications via the debug icon of the JBoss panel.
I'm sure this didn't work yesterday (with the "JBossAS Tools V3.0.0.Beta3" plugin).
Also notice that I must removing and reinstalling the eclipse IDE befor I could installing the JBoss Developer Studio plugin. Otherwise (without reinstalling eclipse) I cannot install the JBoss Developer Studio plugin. I assume there is any old stuff of the removed JBoss Tools 3.0.0 plugin which prevents a successful installation of the new plugin ...

Related

Eclipse to wildfly in debug mode - deployment timeouts after few times

I have a problem that after about 3 deployments from eclipse to wildfly - deployment times out.
The odd thing is that when I deploy .war through management console everything is fine even when I run wildfly in debug mode, and does not get slower.
Another odd thing is that it fails on the same step (Initilizing servlet) when the option "Deploy projects as compressed archives" is enabled but fails randomly when it's not enabled.
There are no classloader memory leaks and I removed all breakpoints, even tried it on different PC with same result. Im using Eclipse 2021-03 and wildfly 23.0.2.
What else can I try?
You did not describe which Eclipse plugin is used to connect to Wildfly.
If you are not already using the JBoss Tools plugin, please take a look at
https://www.baeldung.com/eclipse-wildfly-configuration and install and configure the plugin as described at the website.
If you are still using JBoss Tools plugin you could try following:
Switch to an another JBoss tools plugin version and check if the problem still exists.
Open Get involved JBoss page and report the issue
(here the direct link to JBoss tools issue tracker )
Ask the question at the JBoss tools community - e.g. inside the user forum
If none of the former steps did solve your poblem, you could still try out another eclipse plugin for EE respectively Wildfly on eclipse marketplace.

How to add Glassfish 6.0 server in Eclipse IDE for Enterprise Java Developers 2020-12 version

I've an old project which i'm trying to port on latest glassfish 6.0 version. I'm using 'Eclipse IDE for Enterprise Java Developers 2020-12' and unable to finad a way to add glassfish 6.0 server inside IDE. I'm seeing only upto Glassfish 5.1.0 are supported.
Downloaded Glassfish 6.0.0 from https://projects.eclipse.org/projects/ee4j.glassfish/downloads
Glassfish eclipse tool from https://download.eclipse.org/glassfish-tools/1.0.1/gf-tools-repository-1.0.1.201904090220.zip
Is Glassfish 6.0.0 not yet supported in Eclipse IDE?
[Eclipse glasshfish server][1].
[1]: https://i.stack.imgur.com/9TBv2.png
If you want to start Glassfish from Eclipse IDE, you can do it through Payara Tools,
Although the plugin recognizes it as a payara, no problem you can start and stop the server.

JBoss plugin missing in IntelliJ 2019.2.2

I am using IntelliJ Ultimate 2019.2 version. I want to configure Jboss 5.1 for a Java 1.6 project. I cant see JBoss in Add Configuration. See below
I don't see a JBoss plugin in IntelliJ as well. Below are the
Installed Plugins
Below are the available plugins in the market place.
Is there a way to configure IntelliJ 2019.2.2 to use JBoss 5.1?
Enable WildFly bundled plugin.
As Wikipedia says, Jboss is former name:
WildFly,formerly known as JBoss AS, or simply JBoss
Searched for Wildfly in IntelliJ plugins as suggested by #Konstantin Annikov
and enabled it. Now I have JBoss in Add/Edit Configuration.

Unable to install Jboss server on Eclipse Luna

I am trying to install Jboss on Eclipse Luna. I have installed Jboss Tool, but when I try to define a server the Jboss option is not present.
After clicking downloadable server adapter I selected Jboss AS WildFly & EAP server tools.
But it is unable to download the adapter with following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: JBoss AS, WildFly & EAP Server Tools 3.1.1.Final-v20160409-0826-B118 (org.jboss.ide.eclipse.as.feature.feature.group 3.1.1.Final-v20160409-0826-B118)
Software currently installed: Eclipse IDE for Java EE Developers 4.4.1.20150109-0740 (epp.package.jee 4.4.1.20150109-0740)
Only one of the following can be installed at once:
Console 3.6.100.v20150822-1912 (org.eclipse.ui.console 3.6.100.v20150822-1912)
Console 3.5.300.v20140424-1437 (org.eclipse.ui.console 3.5.300.v20140424-1437)
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 4.4.1.20150109-0740 (epp.package.jee 4.4.1.20150109-0740)
To: org.eclipse.epp.package.jee.feature.feature.group [4.4.1.20150109-0740]
Cannot satisfy dependency:
From: EPP Java EE IDE Feature 4.4.1.20150109-0740 (org.eclipse.epp.package.jee.feature.feature.group 4.4.1.20150109-0740)
To: org.eclipse.platform.feature.group [4.4.0.v20140925-0400]
Cannot satisfy dependency:
From: Eclipse Platform 4.4.0.v20140925-0400 (org.eclipse.platform.feature.group 4.4.0.v20140925-0400)
To: org.eclipse.ui.console [3.5.300.v20140424-1437]
Cannot satisfy dependency:
From: JBoss AS, WildFly & EAP Server Tools 3.1.1.Final-v20160409-0826-B118 (org.jboss.ide.eclipse.as.feature.feature.group 3.1.1.Final-v20160409-0826-B118)
To: org.jboss.tools.as.runtimes.integration [3.1.1.Final-v20160409-0826-B118]
Cannot satisfy dependency:
From: JBoss Server Adapter UI Framework 3.1.1.Final-v20160409-0826-B118 (org.jboss.ide.eclipse.as.wtp.ui 3.1.1.Final-v20160409-0826-B118)
To: bundle org.eclipse.ui.console 3.6.0
Cannot satisfy dependency:
From: JBoss AS, WildFly & EAP Server Tools - Runtimes Integration 3.1.1.Final-v20160409-0826-B118 (org.jboss.tools.as.runtimes.integration 3.1.1.Final-v20160409-0826-B118)
To: bundle org.jboss.ide.eclipse.as.wtp.ui 3.0.0
I uninstalled the Jboss Tool plug-in and installed it using the install new software (typing URL) instead of eclipse market place.
Though this is not the ideal answer but atleast I could begin working
org.eclipse.ui.console 3.6.100.v20150822-1912 is part of Eclipse Mars so this looks like this code requires Eclipse 4.5
I was facing this issue while plugin JBoss toll in 06-2019 Eclipse 4.12.0 version Eclipse this time using the Extracted JDK after using the Install JDK problem Solved

WildFly 8.1 restarts after every change after upgrade to Eclipse Luna

I'm currently working on a Java EE 7 project using:
Eclipse Luna 4.4
JBOSS Tools 4.2.0 beta 2
WildFly 8.1.0 Final
MyFaces 2.2.4
After upgrade from Kepler, my servers started misbehaving - after every small change in XHTML server restarts. In server overview I've set Publishing -> Automatically publish when resources change, like it was before. Also checked both options in Deployment scanners. I have not change anything in my standalone.xml since the upgrade to Luna. Restarts happen even if I do not use Eclipse and only start the server from command line. Has anyone an idea how to change server's behaviour to NOT restart every time but merely do a HOT-swap?
This is fixed in JBoss Tools 4.2.0 Beta3. It should be released relatively soon. You're welcome to try a nightly build.
https://issues.jboss.org/browse/JBIDE-17724

Categories