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
Related
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.
I have tomcat 9.0.11 installed, but the tomcat 9 server name does not see it to configure it , a solution please
Open your Eclipse IDE
Go to Help > Install New Software > Select a URL from where you want to install > Web, XML, Java EE and OSGi Enterprise Development > select JST Server Adapters Extensions Next and Install.
It will install Apache Tomcat Adaptors. Then you will be able to see all the Tomcat Server Versions in your list.
Right this issue popped up for me quite some time after the original post for a windows 10 x64 Eclipse 2020-09 for tomcat version 9. I went through the loops and the jumps to get to a final answer. For later versions you need the JST adapters mentioned above for the 2020-09 version of Eclipse that is located by going to:
Help -> Install new Software -> (in work with put in: https://download.eclipse.org/releases/2020-12/) -> (open drop down menu)Web, XML, Java EE and OSGi Enterprise Development -> Select options :JST Server Adapters, JST Server Adapters Extensions, JST Server UI (the last one is for the event that the server ui isnt present which it wasnt on my version of eclipse)
in the event that you already have one of these installed it won't run an install on that particular one but run an update on it instead.
You have downloaded and installed tomcat 9 to your machine, then on Eclipse > Window > Preferences > Server > Runtime Environment, after clicking on Add, and then select your downloaded tomcat.
Looks like you have a very old version of eclipse where the newer versions of servers aren't shown. Make sure you install the latest version (photon, or 4.8) of the eclipse JEE package (or some other package with the WTP plugins) and you will see the latest supported server versions in that list.
You should install the latest Eclipse IDE.
It has worked for me:
Before
After
Go to help and choose check for update. Then eclipse will updated to newer version which will show latest version of tomcat server
I have downloaded JBoss EAP 7 and am configuring it on Netbeans 8. I have reached the wizard "instance Properties" where am asked to select a "domain" from a select box. When I open the select box, it is empty. There is nothing there to choose from. Because of this, the "finish" button also is inactive which make in impossible to complete the configuration.
I am adding Jboss via the "services" tab. What is going wrong here?
JBoss EAP 6.4.0 works perfectly fine with Netbeans 8.1, however, if you are like me and wanted to take advantage of the JSF 2.2 functionality, which was only added in JBoss EAP 7.0.0, you will currently need to do some work-arounds.
In Netbeans 8.1 I managed to work around the problem with the blank domain by setting up JBoss EAP 7.0.0 selecting the "WildFly Application Server" option instead of "JBoss Application Server". Here's are more detailed instructions:
In Netbeans 8.0.1, select "Services", right click on "Servers" and select "Add Server...", pick the option "WildFly Application Server", point "server location" to the root of your JBoss EAP 7 install (e.g. c:\jboss7) and then point the server configuration option to c:\jboss7\standalone\configuration\standalone-full.xml and that's it.
However, even after doing this the application server is now added, there is still a bug where your code will not deploy correctly, see details here:
https://netbeans.org/bugzilla/show_bug.cgi?id=258091
Thankfully, this has been fixed in the Netbeans nightly build. It looks like the bug was actually fixed in Feb 2016. I installed NetBeans IDE Build 201607140002, which includes this fix (as will any other newer I presume). So, you can grab the nightly build from here (alternatively, you can wait for the bug fix in Netbeans 8.2, whenever that will be):
http://bits.netbeans.org/dev/nightly/
It should be noted, even after using the nightly build, I still had to add the server to Netbeans using the above technique (add it as a "WildFly Application Server", not a "JBoss Application Server" otherwise you will still get the blank domain issue).
Everything appears to be working as expected so far anyway using the above... of course, there is an element of risk using the nightly build, as it's technically still in a test phase. This is the price we pay for living on the sharp edge of the sword! :)
There is no support for domain mode in NetBeans. What use case should be covered with a domain deployment ? We're talking about an IDE used for development.
Also I'm not sure EAP 7 is correctly detected.
I'm attempting to generate a JAX-WS server top down (from a WSDL) for the IBM WebSphere v7 runtime using Eclipse Kepler. The problem I'm running into is that I simply cannot select the web service runtime to be IBM WebSphere JAX-WS, there is no option for it. I've installed the WebSphere Application Server Developer Tools plugin for Kepler and configured the runtime in Eclipse to be the runtime installed on my system. I can also compile applications against the WAS 7 runtimes and deploy them to a WAS 7 server, so it would appear the runtimes are available.
The biggest thing that's frustrating me is that the option is available in Eclipse Indigo (3.x). To make sure there wasn't something awry with my work space or install in any way, I downloaded fresh copies of both versions of Eclipse, started with fresh work spaces, and installed the WAS 7 plugin on both versions from the marketplace. Eclipse 3.x gives me the option, but 4.x does not.
Now, I know these plugins are different versions. The version provided by the marketplace for Eclipse 4.x is 8.5.5011.v20131031_0202 while the version for 3.x is 8.5.1002.v20130402_2058, which based on the version number appears to be about 7 months older. This leads me to my question, is it possible to use the IBM WebSphere JAX-WS runtime to generate web services in Eclipse 4.x anymore? I've tried searching the web all I can but have found no mention of this ability being removed from the plugin. I've even found other SO posts that make it seem like this once was available for Eclipse 4.x, but maybe no longer is with the latest version of the plugin (this linked question is over a year old). Does anyone know the answer to this. Is it no longer possible to do this, or is it actually possible by some other means that that you could share please?
Apparently this is fixed now (see https://www.ibm.com/developerworks/community/forums/html/topic?id=29712397-fdfd-41be-8668-ada56447711a). The version of the plugin didn't change, but it sounds like there was an update to the plugin that fixed a bug.
I've downloaded the GlassFish-Tools-Bundle-For-Eclipse-1.2 and installed it.
When I run the eclipse contained in the release I'm unable to start the Glassfish server, which arrived pre-configured with the release.
It seems to be looking for the server under c:\ (i.e. c:\glassfishv3\glassfish) when in reality it's under {myDevPlaces}\bundle\glassfishv3\glassfish).
I had the glassfish-v3-prelude installed about a year ago but I uninstalled it.
I've bypassed the problem currently by moving the directory to c:\ but I'd appreciate an actual solution if someone has encountered this.
Thanks,
Ittai
FWIW, I'm using a standalone install of GlassFish 3 and the GlassFish Java EE Application Server Plugin for Eclipse (i.e. not a bundle) and everything is working fine.
Please note, As I have observed few days back, GLASSFISH AS 3.1 is compatible and to be downloaded for Eclipse Helios only.
Follow this - http://download.java.net/glassfish/eclipse/helios