[Building Sakai] Samigo not appearing in customizer/tools

Bhanu Teja Motupalli bhanu1607 at rediffmail.com
Mon Aug 8 00:13:36 PDT 2011


Hi Steve,

     The new tool i have added to a site in course. but when i am trying to
access that tool i am getting this following error. I have checked in db in
sakai_site_tool there is a record with this id. And what is the problem now. 

org.sakaiproject.portal.api.PortalHandlerException:
java.lang.IllegalArgumentException: Unable to find registered context for
tool with ID dealer
    at
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:772)
caused by: java.lang.IllegalArgumentException: Unable to find registered
context for tool with ID dealer
    at
org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:483)
    at
org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1261)
    at
org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:196)
    at
org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:95)
    at
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:772)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:642)
    at
com.rsmart.sakai.kernel.request.BrandRequestFilter.doFilter(BrandRequestFilter.java:79)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:837)
    at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
    at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1287)
    at java.lang.Thread.run(Thread.java:662)

Regards
Bhanu.


Steve Swinsburg-3 wrote:
> 
> Hi,
> 
> Check the tomcat logs and see whats happening when it deploys them. Also,
> send your web.xml for both.
> 
> cheers,
> Steve
> 
> 
> On 04/08/2011, at 8:53 PM, Bhanu Teja Motupalli wrote:
> 
>> 
>> Hi Steve,
>> 
>>            Very Thanks for your replay. I have made changes as you said
>> it
>> is working fine in customizer. But when i am trying to add a tool for a
>> site
>> in sitesetup this samigo tool and new tool are not appearing. Samigo tool
>> is
>> not appearing form initially. But when i create a new tool with sakai app
>> builder the tools are appearing in sitesetup tools menu. I need this new
>> tool also should appear as per my requirement. So, Please tell do i need
>> to
>> do any changes to appear in sitesetup tools menu?
>> 
>> regrads
>> bhanu. 
>> 
>> Steve Swinsburg-3 wrote:
>>> 
>>> Hi,
>>> 
>>> In the webapp itself there will be a 'tools' directory and in there, a
>>> specially named xml file. The name of that file, the ID within that
>>> file,
>>> and also the main Sakai servlet name in the web.xml for the webapp, must
>>> all match and be unique to any others. So you'd call it dealer.xml, and
>>> then update the appropriate IDs in the file and also in web.xml.
>>> 
>>> Note that the servlet mapping will need to refer to YOUR class, not the
>>> Samigo one. Then rebuild and redeploy.
>>> 
>>> However, I advise against taking this course of action and instead
>>> modify
>>> the existing Samigo app to suit your needs, renaming as you go. 
>>> 
>>> cheers,
>>> Steve
>>> 
>>> 
>>> 
>>> 
>>> On 04/08/2011, at 4:33 PM, Bhanu Teja Motupalli wrote:
>>> 
>>>> 
>>>> Hi all,
>>>>   i have changed the samigo tool source folder name sam to "dealer" to
>>>> create another tool same as samigo. I have changed "samigo" to "dealer"
>>>> in
>>>> all pom.xml files. Now i can able to generate all jar and war files
>>>> with
>>>> the
>>>> name dealer. I have checked in components, shared and webapps also. And
>>>> i
>>>> have not created any database scripts for this new tool. I need to use
>>>> old
>>>> data that was in samigo. Now new tool is not appearing in customer. I
>>>> can
>>>> not able to see the tool name in sakai_site_tool also. Can u please
>>>> tell
>>>> me
>>>> what i can do to get new tool as samigo with out disturbing that
>>>> existing
>>>> tool. 
>>>> 
>>>> Thanks & Regards
>>>> Bhanu.
>>>> -- 
>>>> View this message in context:
>>>> http://old.nabble.com/Samigo-not-appearing-in-customizer-tools-tp32191938p32191938.html
>>>> Sent from the Sakai - Development mailing list archive at Nabble.com.
>>>> 
>>>> _______________________________________________
>>>> sakai-dev mailing list
>>>> sakai-dev at collab.sakaiproject.org
>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>> 
>>>> TO UNSUBSCRIBE: send email to
>>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>>> "unsubscribe"
>>> 
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>> http://old.nabble.com/Samigo-not-appearing-in-customizer-tools-tp32191938p32193364.html
>> Sent from the Sakai - Development mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
> 
> 

-- 
View this message in context: http://old.nabble.com/Samigo-not-appearing-in-customizer-tools-tp32191938p32215843.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list