Unable to start application in debug mode using WAS 8.5.5.14

Answered

Unable to start application in debug mode using intellij  The server is WAS 8.5.5.14.  I have added the artifact as EAR.  

Please let em know if you need more information. Please see the screenshots below:

0
6 comments
Avatar
Permanently deleted user

I did check the PATH environment variable and I have not reference. Please let me know if I am missing any configuration. 

0

Can you show the generated startup script? Does it contain double quotes inside "-Djava.library.path" as it described in https://youtrack.jetbrains.com/issue/IDEA-239827 ? 

0
Avatar
Permanently deleted user

Annikov - 

I cannot find the dynamically generated file in this location.  C:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin\generated_websphere_server_start_script.cmd

Could this file be generated in a different location?

 

OUTPUT:

C:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin\generated_websphere_server_start_script.cmd
C:\IBM\WebSphere\AppServer\java\bin\java.exe -Dfile.encoding=windows-1252 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.3\lib\idea_rt.jar" com.intellij.rt.execution.CommandLineWrapper C:\Users\santnarayanan\AppData\Local\Temp\idea_classpath321473515 com.intellij.javaee.oss.process.JavaeeProcess 62264 com.intellij.j2ee.webSphere.agent.WebSphereAgent
[2020-07-27 09:36:51,434] Artifact abcEAR:ear: Waiting for server connection to start artifact deployment...
Detected server admin port: 8880
Detected server http port: 9080
Connected to the target VM, address: '127.0.0.1:51716', transport: 'socket'
Error: Could not find or load main class Files
Disconnected from the target VM, address: '127.0.0.1:51716', transport: 'socket'
Disconnected from server

 

0
Avatar
Permanently deleted user

The file generated_websphere_server_start_script.cmd that is built on the fly into the bin folder of the profile does not get generated. I am not sure why.  I tries running the Intellij IDEA in administrative mode and no luck. I get the same error in run mode as well. 

Any help would be appreciated. 

0

Please describe your case in comments of https://youtrack.jetbrains.com/issue/IDEA-239827

That will help us to track how many users affected and keep in touch with the responsible developer. 

 

0

Please sign in to leave a comment.