简体   繁体   English

WebLogic 的默认调试端口是什么?

[英]What is the default debug port for WebLogic?

WebLogic default running port is 7001 , so what is default debug port, or is it the same as running port? WebLogic默认运行端口是7001 ,那么默认调试端口是什么,或者和运行端口一样吗?

I have deployed an application on WebLogic , now I am able to access it through url - http://localhost:7001/myapp我已经在WebLogic上部署了一个应用程序,现在我可以通过 url 访问它 - http://localhost:7001/myapp

Now I am setting debug mode in Eclipse .现在我在Eclipse设置调试模式。 What I need to give as debug port there?我需要在那里提供什么作为调试端口?

weblogic 12.1.3的默认端口是8453

Edit编辑

weblogic_home_directory/bin/setDomainEnv.sh file and add this on top & configure debug port for weblogic weblogic_home_directory/bin/setDomainEnv.sh文件并将其添加到顶部并为 weblogic 配置调试端口

DEBUG_PORT=${DEBUG_PORT:=8000} 
JAVA_OPTIONS="$JAVA_OPTIONS -Xrunjdwp:transport=dt_socket,address=$DEBUG_PORT,server=y,suspend=n" 

Hope this helps希望这可以帮助

There is no default debug port for Weblogic, while starting weblogic you need to add the following parameter to the startup script. Weblogic没有默认调试端口,启动weblogic时需要在启动脚本中加入如下参数。

-Xdebug -Xnoagent -Djava.compiler=NONE -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4001

And you can specify any port on the address , then you can use this port (eg 4000) from eclipse for remote debugging.并且你可以在address上指定任何port ,然后你就可以使用eclipse中的这个端口(例如4000)进行远程调试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM