No application servers available in settings - intellij-idea

Using IntelliJ IDA 12.1.6 Ultimate and having installed Tomcat 7, I have no available application servers under IDE Settings via
Application Servers -> +. There is an empty list with text "Nothing here". How do I make IntelliJ aware of the location of the Tomcat install?

You have to install the integrations under IDE SETTINGS -> Plugins.
For example when using Apache Tomcat, the plugin is named "Tomcat and TomEE integrations"

Related

Debugging Camel in IntelliJ community edition

I am using Apache Camel with IntelliJ Community Edition.
I've seen on the official site some kind of debugger for XML DSL, but is not very clear how to use it...
Does it works for the Community edition also? It asks to create a Camel SpringBoot Application run configuration, how I do it?
In fact, when I check for this application, I can't find nothing. I have installed the recommended plugin.
Apache Camel plugin is not compatible with IntelliJ IDEA 2022.1. Try using 2021.3 instead.
First, make sure the plugin is installed and enabled. Check your Preferences -> Plugins -> Installed and make sure the Apache Camel plugin is installed, enabled and its version is 0.8.5.
As previously suggested, if you are running version later than 2021.3.2, the plugin may not be supported, try downgrading to 2021.3.2.
Also, check Preferences -> Languages & Frameworks -> Apache Camel -> Miscellaneous and make sure the checkbox "Enable Camel Debugger" is selected.

Deploy ear file to weblogic 12.1.3 from IntelliJ IDEA 2018.2.5 x64

I have a java EE 5 project. I'm building a project with maven. I use IntelliJ IDEA 2018.2.5 x64.I use weblogic 12.1.3. In the Department of deployment( edit configuration -> Deployment ) specify the ear file. Why doesn't IDEA put ear file in localhost:port/console -> deployments when running ?
Make sure the Runtime Server is added correctly in IntelliJ. Once Added Correctly,You should see the Application servers Tab, where you could Add/Remove Applications effectively.
The Status of the deployment can be seen as Module with a tick Mark in Application Servers Tab.
The answer was simple, the ear file did not deploy due to the fact that I did not enter the domain name and password in the configuration

Glassfish Server not in list of IntelliJ IDEA Ultimate 2017.3.4

I want to switch from Tomcat to Glassfish for the deployment of my web application.
Unfortunately, the application server Glassfish is not listed in the dialog of my IntelliJ IDE.
The IntelliJ documentation lists Glassfish.
How am I able to add/use it?
IntelliJ IDEA Ultimate 2017.3.4
MacOS 10.13.3
UPDATE
I tried previous version of the IDE and with 2017.2.7 Glassfish appears in the list of application servers:
Does anybody know why IntelliJ IDEs with versions 2017.3.x are missing Glassfish?
GlassFish Integration bundled plugin must be enabled in Settings (Preferences on Mac) | Plugins.

Java VisualVM MBeans plugin

I am running JDK 1.8.0_66 JVisualVM utility and want to use MBeans browser to Monitor my Coherence applications.
According to the Oracle tutorial I have to install the MBeans plugin first. So I went to Tools-Plugins-Available Plugins and there were no any available plugins. I checked my JDK installation for *.nbm files and found nothing.
What do I need to do to install MBeans plugin for JVisualVM? Thank you in advance.
When accessing https://visualvm.java.net I get redirected to http://www.oracle.com/splash/java.net/maintenance/index.html which states that the page has been closed.
Thus I think you have to download and install the plugins manually.
Go to https://visualvm.github.io/pluginscenters.html
Choose the link to "Java VisualVM" according to your JDK version
Download the tool manually
Select "Tools" -> "Plugins" -> "Downloaded" tab to install the downloaded file
Worked for me.
It appears the visualvm site has moved to github.io, so the links are broken. I just updated mine to the correct one on found on
https://visualvm.github.io/pluginscenters.html
In VisualVM go to Tools -> Plugins -> Settings, Edit Java VisualVM Plugins Center, and change the URL to the correct URL for your VisualVM, ex:
https://visualvm.github.io/archive/uc/8u40/updates.xml.gz
After this I was able to update & install plugins using the UI again.
You need to be connected to internet and you should have access to https://visualvm.java.net

Cannot connect Intellij to Glassfish 4

I have Intellij IDEA and I cannot connect it to Glassfish 4.
When I try to Debug, the error message that I get is:
Artifact exploded: Server is not connected. Deploy is not available.
I've started Intellij using JDK 8.
I don't know what can I do to be able to debug directly from Intellij.
I have set up the Glassfish 4 Server in IDEA and put the domain URL and the credentials. Then I've set the war as exploded and set the URL to localhost:8082
It's working with Glassfish 3.
Glassfish 4 is the problem.
I have the last version, 4.1.1, of Glassfish
Here is what I did to get a simple Java web application running in Glassfish 4.1.1 inside IntelliJ 15.0.4 with ultimate license running on JDK 1.8 on a Mac.
Install Maven brew install maven
Install Glassfish brew install glassfish
Create a simple web application through Maven in shell
cd
mvn archetype:generate -DgroupId=so36290127-org -DartifactId=so36290127-app -DarchetypeArtifactId=maven-archetype-webapp
cd so36290127-app
mvn install
Import so36290127-app into IntelliJ as a Maven project. File, New, Project from Existing Sources, choose so36290127-app/pom.xml. Accept all the defaults
In Intellij, go to Run, Edit Configurations
Click +
Choose "more...", GlassFish Server, Local
Click Configure button
Enter the path to the GlassFish libexec directoy, /usr/local/opt/glassfish/libexec in my case.
Set Server Domain to default domain1
Click Deployment
Click +, choose Artifact
Choose so36290127-app:war exploded
Click Ok
Go to Run, Debug and then Hello, World! opens in my browser
Thank you Kirby,
Actually is still not working.
I am using IDEA 14.1.5 on a Windows 8 64-bit
Glassfish version is 4.1.1
I put the JDK / JRE 8 in the Glassfish configuration in IDEA.
I also set IDEA_JDK to point to Java JDK 8 in System Environment variables.
Do you think that I should switch to IDEA 15 and try again?
Or there are some special configuration that have to be done on the Glassfish side?
Best regards,