Debugging JSR 168 portlet using spring, eclipse & pluto

I am trying to set up a development environment for testing Spring Portlet MVC to develop the appropriate JSR 168 portlets. I have the latest STS installed, which includes Spring 2.5 and Eclipse (Catalina). It was my development environment using Spring MVC, and it works fine using Apache as a local server for debugging.

I found some instructions on the Pluto portal site, using Pluto as a remote debugging node for portlets. I followed these instructions. I send Eclipse to debug mode by right-clicking on one of the JSPs and going to "debug as". My problem is that when I enter Pluto, it does not send me to debug mode. I see the default Pluto page, not the portlet. My portlet has not been installed on Pluto, and the instructions do not seem to require installing the portlet.

To help, I have a screenshot of http://www.ceruleaninc.ca/pluto_problem.jpg showing the following:

  • Eclipse showing remote debugging on localhost: 8000
  • Tomcat showing "Listening to dt_socket transport at: 8000
  • Catalyst.bat jpda launch command
  • Pluto Portal screen after login

Thanks a lot! I would welcome any advice regarding portlet debugging approaches. I am not attached to pluto. There seems to be no detailed instructions on this topic.

+3
source share
1 answer

Pluto , , Eclipse , JSP.
- , , .... Java, . , ( localhost, 8000), ( ), .

http://www.nakov.com/blog/wp-content/uploads/2008/08/eclipse-remote-debug-configuration.png

Eclipse , .

Run → [ ].

0

Source: https://habr.com/ru/post/1719251/


All Articles