It's all about the answers!

Ask a question

Viewlet Preferences


Akshay Panchakshari (37113) | asked Jul 12 '16, 7:14 a.m.
Hi All,

I am following this tutorials on creating custom viewlets https://jazz.net/wiki/bin/view/Main/ViewletPreferences

But i am not able to get the preferences option in widget menu. I tried below steps to reload the plugin , but that did not worked for me-

01)Hit the below link to reset the server so that next time it will force your plugin to load and deploy

   https://localhost:9443/jts/admin/cmd/requestReset

02)Stop the server

03)Delete the work directory (In case of tomcat).

04)Start the server. (At this step your new plug-in should be deployed to server)

Can you please advice on this ?

Thank a lot.
Akshay P.

Accepted answer


permanent link
Ralph Schoon (59.4k23642) | answered Jul 12 '16, 7:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You should

  1. Work with Jetty for debugging, which would make redeploying unnecessary you might have to restart. see https://jazz.net/forum/questions/144479/rtc-extensions-not-loaded-after-restart-of-tomcat
  2. Restarting and requesting a reset for the server does not help if you don't provide fixed code. see https://jazz.net/forum/questions/223789/can-not-connect-to-ccm-application
  3. Because it is hard to find an issue on Tomcat, use Jetty. see 1.
Akshay Panchakshari selected this answer as the correct answer

Comments
Ralph Schoon commented Jul 12 '16, 7:43 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

PS: I did the same tutorial recently and that step worked for me (on Jetty).

Please note that I think the later tutorials like https://jazz.net/wiki/bin/view/Main/ViewletServices can not be successfully run because of missing information.

Your answer


Register or to post your answer.