kbo*_*oom 6 java websphere intellij-idea
我正在使用Intellij和WebSphere 8.当我在IDE中运行时,服务器正常工作.当我尝试在调试模式下运行它时,它失败并出现以下错误:
C:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin\generated_websphere_server_start_script.cmd
C:\IBM\WebSphere\AppServer\java\bin\java -Dfile.encoding=windows-1252 -classpath "C:\IBM\WebSphere\AppServer\runtimes\com.ibm.ws.admin.client_8.5.0.jar;C:\IBM\WebSphere\AppServer\plugins\com.ibm.ws.security.crypto.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 13.1.3\plugins\webSphereIntegration\lib\webSphereIntegration.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 13.1.3\plugins\JavaEE\lib\javaee-impl.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 13.1.3\lib\openapi.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 13.1.3\plugins\webSphereIntegration\lib\specifics\webSphereClientImpl.jar" com.intellij.javaee.oss.process.JavaeeProcess 62847 com.intellij.j2ee.webSphere.agent.WebSphereAgent
Error: JDWP agent already loaded - please check java command line options
[2014-08-11 01:58:59,248] Artifact x.ear: Server is not connected. Deploy is not available.
JVMJ9TI064E Agent initialization function Agent_OnLoad failed for library jdwp, return code -1
Detected server admin port: 8880
JVMJ9VM015W Initialization error for library j9jvmti26(-3): JVMJ9VM009E J9VMDllMain failed
Detected server http port: 9080
Disconnected from server
Run Code Online (Sandbox Code Playgroud)
我几乎尝试了所有我不知道问题是什么.我做了几个小时谷歌没有运气.
有谁知道这一切是什么,如何解决?
这是我的服务器配置:

Kis*_*ani 12
解决方案1取消选中"通过环境变量"复选框,然后在调试模式下重新启动服务器.它应该正常工作.
运行 - >编辑配置 - > websphere服务器 - >启动/连接选项卡选择调试,您将看到通过环境变量复选框.它需要取消选中才能使调试正常工作.
解决方案2如果websphere的调试模式在eclipse中工作而不在intellij中工作,我发现调试服务器在websphere上已经启动并且intellij再次尝试启动debggin服务.所以从websphere控制台(服务器>服务器类型> WebSphere应用程序服务器> [serverName]>调试服务)停止服务,并且intellij中的所有默认配置都应该有效.