[All]
I am receiving a Socket Exception message when attempting to debug a servlet in JBuilder4. How is this resolved?
By: Christopher Moeller
Abstract: Debugging servets: resolving socket exception/log: path="" message
Question:
|
When attempting to debug a servlet, I receive the following exception:
Socket exception/log: path=""
How is this exception resolved?
|
| |
Answer:
|
This exception is related to debugging using the Hotspot virtual machine (VM), which is enabled by default. The workaround is to disable the Hotspot VM by passing the -classic switch to the VM Parameters for your servlet.
To do this, choose: Project | Project Properties | Run | JSP/Servlet | VM Parameters | & type -classic into the VM Parameters field.
NOTE: Please be aware that the Solaris JDK does not include the classic VM.
|
| |
Connect with Us