在 cygwin 中运行 weblogic 服务器
我正在 cygwin 中启动 weblogic 服务器, 我在 startwls.sh 文件中添加了 set DEBUG_OPTS = -Xdebug -Xrunjdwp:transport=dt_socket,address=5152,server=y,suspend=y 并在声明weblogic服务器时传递了这个DEBUG_OPTS。
但服务器并没有停止监听该端口,相信debug_opts没有作用。 请帮我解决这个问题。
我这两天正在研究这个问题,但没有任何改善。
I'm starting weblogic server in cygwin,
I've added set DEBUG_OPTS = -Xdebug -Xrunjdwp:transport=dt_socket,address=5152,server=y,suspend=y in startwls.sh file
and passed this DEBUG_OPTS when stating the weblogic server.
But the server does not stops to listen the port, I believe there is no effect of debug_opts.
Please help me out to figure this issue.
I'm researching this issue for past two days but no improvement.
第一的。当您启动服务器时,您应该注意您正在设置的 DEBUG_OPTS 正在被选取。我不相信 weblogic 脚本支持 DEBUG_OPTS。
但是您是否在 shell 脚本中调用 export DEBUG_OPTS ?
在 ALSB 2.6 中,您应该查看 bin/setDomainEnv.sh。默认调试端口为 8453,如果将 debugFlag 设置为 true,则将使用调试设置。请参阅第 300 行。您还可以编辑 setDomainEnv.sh 并将您的设置放入第 297 行的 JAVA_DEBUG 中。OSB
的工作方式相同,但 setDomainEnv.sh 中的行号不同(即 411 和 414)。
First. When you start up the server you should take note that the DEBUG_OPTS that you are setting are being picked up. I don't believe DEBUG_OPTS is supported by the weblogic scripts.
But are you calling export DEBUG_OPTS in your shell script?
In ALSB 2.6 you should take a look at bin/setDomainEnv.sh. The default debug port is 8453 and debug settings will be used if you have debugFlag set to true. See line 300. You could also edit setDomainEnv.sh and put your settings in JAVA_DEBUG on line 297.
OSB works the same but the line numbers in setDomainEnv.sh are different (i.e 411 and 414).