私はここで何か悪いことをしているに違いありません。私はintellijは初めてです。日食から切り替えます。weblogicで実行されるJAX WSアプリケーションがあります。デプロイする成果物は、earファイルです。私はintellijでデバッガを動作させるのに苦労しています。私は究極のエディションを持っています。実行デバッグ構成を作成しましたが、コードを通過するだけで、目的の場所で停止しません。デバッガーは、チェックまたはクロスのない赤い点を表示します。
編集 -「ローカル」の実行/デバッグ構成を実行しています。
これが私の実行/デバッグ構成のスクリーンショットです。
これは起動/接続のスクリーンショットです
I figured out what my issue was and I think the problem is specific to me and the nature of my application. Actually I should call it a self induced issue. Let me explain the nature of events.
I have been using eclipse to develop and have a local install of weblogic instance. My application needs coherence cache server and I have few other JVM parameters that I pass when starting the domain. Therefore I had added a line at the start of the $DOMAIN_HOME/bin/setDomainEnv.sh
file like so
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 run configuration etc.
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......
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
ログにjdwpエージェントが実行中であることが示されました。SOで質問する前にその特定のログが表示されないことに気づきましたが、JAVA_OPTIONSが渡されていてIntelliJがそれを混乱させることができないため、IntelliJがカバーの内側で何かをしていると思いました(読み取り専用です)。
私はすべてのjvmパラメーターをintellijから渡すか、またはsetDomainEnv.shにjdwpエージェント情報を追加することができると思います。
これでデバッグできるようになりました。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加