How to configure IntelliJ IDEA: Remote Developing/Debugging on weblogic webserver?
Answered
I have the IntelliJ Ultimate edition.
We have a Java web application with JSP (+Richfaces etc.) with Java 11.
The webserver is weblogic 14, which is running on Oracle-VM box, because Weblogic version 14 is not possible to install this on the local machine, they told me. (Weblogic 12 was running on the local machine).
But every time we written some backend code:
- we compile it with maven
- have to de-install the running code
- install the new ear file.
This very time consuming, for a little code change or like to add System.out.println("....")
My question is how to configure remote developping & debugging on the weblogic webserver with IntelliJ?
With "Remote JVM debug", we can debug, but I can't change code on the server, and run it can, to see if my problem is solved!
Please sign in to leave a comment.
Hi Nico,
It used to be possible in older versions of the IDE, but I can't quite figure out how to do it in 2022+.
I got a hold of the developer responsible for Weblogic integration in IntelliJ IDEA, he is double-checking if it is still the case.
Also trying to find the corresponding documentation in the meantime. Get back to you in a bit.
I don't think there is such a feature out of the box for real development (not like hacking sources deployed on WL), you need extra tool to achieve it.
JRebel can help you with it, although I've found it quite slow in case of WL (I believe it was due to my config, not to the tool itself). I hav great experience with it on Jetty and Tomcat. And there were some limitations for me, e.g. I couldn't find a way to dynamically update JSP (I know, sounds weird), and again, it was due to our quite complex projects sources structure which are deployed together inheriting from each other a lot.
Happy coding!
Piotr
Nico - I created https://youtrack.jetbrains.com/issue/IDEA-299812 for this, please follow it to get guidance from the Dev team.
Arina: https://youtrack.jetbrains.com/issue/IDEA-299812 -> HTTP 404 :(
My apologies, accidentally made it private. Go ahead and check now.
Feel free to leave additional comments there too.
Arina, thanks. How long do you think, will it take before the dev team react?
No problem Nico👍🏻
I am trying to speed up the process. Hopefully next few days, maybe next week sometime.
I'm keeping an eye on this.