I am having a problem with my local development environment.
I have WebLogic server version 10.3.5 loaded onto my laptop and I am using Eclispe v3.8.1 as my IDE.
I built a server in Eclipse, I imported a .war file and set it properties file to point to an Oracle database, not on my laptop.
I built the project and added it the the server.
But when I tried to start the server in debug mode I got this message.:
Failed to connect to remote VM. Connection refused. Connection refused: connect
Since the Weblogic server is loaded on my laptop and I tried to start the server in Debug from the Eclipse Server view
Why is it saying it "Failed to connect to remote VM"
Why does it think I am trying to debug remotely?
I thought I was set up for local debug:
For enabling the debug option in Weblogic , please add the following lines (written in bold) in startWebLogic.cmd in your domain's bin directory-
set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n %SAVE_JAVA_OPTIONS%
And in eclipse modify the debug configuration port as 8453.
Hope it will work!