It's all about the answers!

Ask a question

work item customization: set tomcat server in eclipse

Milan Krivic (9808165136) | asked Nov 18 '13, 5:02 a.m.

I would like to configure Jazz Tomcat server in Eclipse for local testings of JAVA APIs and system.out printlines for work item customizations.

Are there any instructions how to do that, or some instructions how to see what I'm getting from written Java APIs before final deployment on client and server side?


2 answers

permanent link
Piotr Aniola (3.7k1635) | answered Nov 18 '13, 6:00 a.m.
Hello Milan, nice to hear from you.

What I used to do in such scenario, was to simply set up my own instance of Tomcat on my development machine, and create a local build.xml that would act just like the main build, but also copy the generated WAR files to the local Tomcat's webapps folder.

Piotr Aniola commented Nov 19 '13, 7:05 a.m.

You can use JPDA to connect to the remote JVM on Tomcat for debug purposes.

permanent link
Ralph Schoon (61.4k33643) | answered Nov 18 '13, 6:34 a.m.
The RTC Extensions Workshop describes in detail, how to set up Eclipse for development with Jetty and how to remotely debug deployed extensions on Tomcat. these are the two methods I am aware of. I use Jetty for coding and testing extensions, because the deployment is automatic. The last step is deploying to the application server, which should be reasonable easy, if it ran on Jetty, explains more around what to expect and how to get started.

Your answer

Register or to post your answer.