[Registry-dev] [jira] Created: (REGISTRY-341) Couldn't promote resources to next life cycle state

Chathura Ekanayake (JIRA) jira at wso2.org
Fri May 16 09:59:18 PDT 2008


Couldn't promote resources to next life cycle state
---------------------------------------------------

                 Key: REGISTRY-341
                 URL: https://wso2.org/jira/browse/REGISTRY-341
             Project: WSO2 Registry
          Issue Type: Bug
          Components: core
    Affects Versions: SNAPSHOT
         Environment: Ubuntu, Tomcat 6.0.14
            Reporter: Chathura Ekanayake
            Assignee: Glen Daniels
            Priority: Blocker


Steps to reproduce
=================

Add a resource to the registry.

Go to the resource page.

In the Aspects / Life cycles section, select default and click Add button.

Default aspect is added. Then click the Promote button.

Following error message is displayed in the browser.

org.wso2.registry.exceptions.RegistryException: Failed to inoke action promote of aspect default for the resource /org.wso2.registry.iws. Failed to add new resource. User anonymous does not have authorization to update the collection /.
	at org.wso2.registry.jdbc.AtomicRegistry.invokeAspect(AtomicRegistry.java:1024)
	at org.wso2.registry.jdbc.JDBCRegistry.invokeAspect(JDBCRegistry.java:618)
	at org.wso2.registry.session.UserRegistry.invokeAspect(UserRegistry.java:452)
	at org.wso2.registry.app.RegistryAdapter.processAspectRequest(RegistryAdapter.java:213)
	at org.wso2.registry.app.RegistryAdapter.extensionRequest(RegistryAdapter.java:132)
	at org.apache.abdera.protocol.server.impl.AbstractProvider.process(AbstractProvider.java:184)
	at org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:42)
	at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:595)
Caused by: org.wso2.registry.exceptions.RegistryException: Failed to add new resource. User anonymous does not have authorization to update the collection /.
	at org.wso2.registry.jdbc.Repository.addParents(Repository.java:508)
	at org.wso2.registry.jdbc.Repository.add(Repository.java:404)
	at org.wso2.registry.jdbc.Repository.put(Repository.java:162)
	at org.wso2.registry.jdbc.Repository.copy(Repository.java:354)
	at org.wso2.registry.aspects.DefaultLifecycle.invoke(DefaultLifecycle.java:111)
	at org.wso2.registry.jdbc.BasicRegistry.invokeAspect(BasicRegistry.java:713)
	at org.wso2.registry.jdbc.AtomicRegistry.invokeAspect(AtomicRegistry.java:1012)
	... 20 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Registry-dev mailing list