[Building Sakai] org.sakaiproject.portal.api.PortalHandlerException: java.lang.IllegalArgumentException: Unable to find registered context for tool with ID sakai.selfcert

Steve Swinsburg steve.swinsburg at gmail.com
Wed Feb 2 03:22:53 PST 2011


Hi,

Your webapp isn't starting up. You'll need to resolve the errors. Also, that error below tells you what you need to fix.

You don't need to register the tool, it automatically registers itself with the Sakai ToolManager when it starts up.

cheers,
Steve

On 02/02/2011, at 7:29 PM, Gautham wrote:

> 
> Hi Steve,
> 
> I have made changes as suggested to "New Tool" files to use "User Directory
> Service" and "User". Then we are getting the following Error:
> 
> org.sakaiproject.portal.api.PortalHandlerException:
> java.lang.IllegalArgumentException: Unable to find registered context for
> tool with ID sakai.selfcert
> 
> Please find the attached document.
> 
> Any Information where to register the tool will be highly appreciated. Also
> find the Tomcat Stack Error attached.
> 
> Tomcat Error:
> Caused by: org.springframework.beans.NotWritablePropertyException: Invalid
> property 'UserDirectoryService' of bean class
> [org.sakaiproject.selfcert.tool.SelfCertItemsBean]: Bean property
> 'UserDirectoryService' is not writable or has an invalid setter method. Did
> you mean 'userDirectoryService'?
> 	at
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:801)
> 	at
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:651)
> 	at
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
> 	at
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
> 	at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1276)
> 
> Regards,
> Gautham
> http://old.nabble.com/file/p30824167/Registered_Context_Error.docx
> Registered_Context_Error.docx 
> http://old.nabble.com/file/p30824167/tomcat-sakai.log tomcat-sakai.log 
> -- 
> View this message in context: http://old.nabble.com/org.sakaiproject.portal.api.PortalHandlerException%3A-java.lang.IllegalArgumentException%3A-Unable-to-find-registered-context-for-tool-with-ID-sakai.selfcert-tp30824167p30824167.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"



More information about the sakai-dev mailing list