Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I do remote debugging of Servlets?

debugging remote servlets
0
Posted

Can I do remote debugging of Servlets?

0

Yes. By starting OC4J using a JVM executing in debug mode it is possible to remotely debug Servlet code as it executes. To debug applications running on OC4J you must supply the standard JVM debug properties when starting the JVM. java -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 -jar orion.jar From JDeveloper (or other debug enabled IDE), turn on remote debugging and connect to the server using the debug port specified when starting the JVM. Setting breakpoints in the source code will cause the execution of the servlet code to stop and operator debug actions to be performed. 3.

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.