I realized what my problem is, and I think the problem is specific to me and the nature of my application. Actually, I have to call it a problem caused by myself. Let me explain the nature of the events.
I use eclipse to develop and install a weblogic instance locally. My application needs a coherence cache server, and I have several other JVM parameters that I pass when the domain starts. So I added a line at the beginning of the $DOMAIN_HOME/bin/setDomainEnv.sh , for example,
JAVA_OPTIONS="- Dtangosol.coherence.distributed.localstorage=false -Dtangosol.coherence.wka=devmachine and blah blah blah
I switched to intellij and started working on this project, and then configured the weblogic plugin and started the configuration, etc.
- I noticed that intellij adds JAVA_OPTIONS to the launch / connection tab in the Startup / Debug Configuration , e.g.

- However, the JAVA_OPTIONS that was passed to intellij was not used by weblogic. I believe this was overridden by what was in setDomainEnv.sh, so I saw the following logs.
java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) Starting WLS with line: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -client -Xms512m -Xmx512m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/Users/dparupud/omw/oracle/middleware/weblogic_10.3.6/wlserver_10.3/server/lib/weblogic.policy -Dtangosol.coherence.distributed.localstorage=false -Dtangosol.coherence.wka=devmachine blah blah blah......
- When I went and deleted JAVA_OPTIONS from setDomainEnv.sh and restarted the server from intellij, I saw the following log
starting weblogic with Java version: java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) Starting WLS with line: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -client -Xms512m -Xmx512m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/Users/dparupud/omw/oracle/middleware/weblogic_10.3.6/wlserver_10.3/server/lib/weblogic.policy - agentlib:jdwp=transport=dt_socket,address=127.0.0.1:65501,suspend=y,server=n
Now the log has shown that the jdwp agent is in action. I noticed that I didnβt see this particular magazine before I asked the SO Question, but I thought that maybe IntelliJ was doing something inside the cover because JAVA_OPTIONS was being passed and intellij does not allow you to bother with it (this only for reading).
I think I can either pass all my jvm parameters either from intellij, or add the jdwp agent information to setDomainEnv.sh.
Now I can debug.
source share