It's all about the answers!

Ask a question

work item customization: set tomcat server in eclipse


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

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?

Thanks,

2 answers



permanent link
Piotr Aniola (3.7k11738) | 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.

Comments
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 (63.1k33646) | answered Nov 18 '13, 6:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The RTC Extensions Workshop https://jazz.net/library/article/1000 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,

https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ explains more around what to expect and how to get started.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.