It's all about the answers!

Ask a question

Contributing a Web Action - How to deploy


Jorge Diaz (8664134) | asked Sep 06 '11, 4:37 p.m.
JAZZ DEVELOPER
Hello,

I am trying to contribute a custom action to the Web UI workitem editor as described in the following wiki article:

https://jazz.net/wiki/bin/view/Main/WorkItemWebActionsAndPolicies

However, how is this kind of extension to be provisioned to a RTC server (Tomcat/WAS)? After some failed tests with different project structures to provision my ccm update site, I have put my dojo class in a structure same as "PrintWorkItemAction.js": to have under resources folder "ui / internal / view / editor / AddComponentsWeb.js"

But no matter what the error I got is always the same:



HEADER: cookie = JSESSIONID=517BE14DB0CBB0CABF424BA9CE0624C8; JazzFormAuth=Form; net-jazz-ajax-cookie-rememberUserId=; JSESSIONIDSSO=D1073496C1E11BF7514C410677EB543C
Parameter: include = [com.ibm.team.apt.web.ui.internal.parts.EstimateAndCorrectionAttributePart.js~com.ibm.team.apt.web.ui.internal.parts.TimeSpentAttributePart.js~com.ibm.team.social.web.ui.internal.actions.WorkItemToActivityAction.js~com.ibm.team.social.web.ui.internal.actions.WorkItemToSocialNetworkAction.js~com.ibm.team.workitem.web.ui.internal.view.editor.AddComponentsWebAction.js~com.ibm.team.workitem.web.ui.internal.view.editor.PrintWorkItemAction.js~com.ibm.team.workitem.web.ui2.internal.presentation.Target.js]
Parameter: _proxyURL = [/ccm]
Parameter: exclude = [D~E~F~G~H~I~J~K~L~M~N~O~P~Q~R~S~T~U~V]
Parameter: locale = [en]

java.lang.IllegalArgumentException: Resource does not exist: com.ibm.team.workitem.web.ui.internal.view.editor.AddComponentsWebAction.js
at net.jazz.ajax.model.Resource.resolve(Resource.java:193)
at net.jazz.ajax.model.Resource.resolveAll(Resource.java:206)
at net.jazz.ajax.servlets.AbstractResourceServlet.createOperation(AbstractResourceServlet.java:37)
at net.jazz.ajax.servlets.AbstractResourceServlet.doGet(AbstractResourceServlet.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at net.jazz.ajax.servlets.LoggingHttpServlet.service(LoggingHttpServlet.java:34)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)



Can anybody give some tips how to contribute that to the server?

Thanks in advance for the help.

Regards,

Jorge.

3 answers



permanent link
Gabriel Galvão (3179) | answered Mar 15 '12, 5:32 p.m.
no one?

permanent link
Jorge Diaz (8664134) | answered Mar 16 '12, 3:26 a.m.
JAZZ DEVELOPER
no one?


This thread is quite old. If you are trying to contribute one you can follow the example in:

https://jazz.net/library/article/782

Hope this helps!

Regards,

Jorge.

permanent link
Krzysztof Kaźmierczyk (7.4k34896) | answered Dec 12 '12, 3:18 a.m.
You can also look at this technote: http://www-01.ibm.com/support/docview.wss?uid=swg21508875

Your answer


Register or to post your answer.