[Ds-java-dev] [jira] Closed: (DS-50) Default user store can be removed
Charitha Kankanamge (JIRA)
jira at wso2.org
Mon Jul 28 19:15:52 PDT 2008
[ https://wso2.org/jira/browse/DS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charitha Kankanamge closed DS-50.
---------------------------------
Verified in beta3 and closed the bug
> Default user store can be removed
> ---------------------------------
>
> Key: DS-50
> URL: https://wso2.org/jira/browse/DS-50
> Project: WSO2 Data Services
> Issue Type: Bug
> Components: core
> Environment: winxp, jdk15
> Reporter: Charitha Kankanamge
> Assignee: Dimuthu Leelarathne
> Priority: Critical
>
> Go to Manage Security > User Stores and click on 'Delete' link. "Your request was successful!" message appears.
> Users should not be allowed to delete the default user store.
> Following exception can be seen at the console when removing the default store.
> ERROR [2008-07-11 12:32:20,000] Error authenticator admin
> org.apache.axis2.AxisFault: Error authenticator admin
> at org.wso2.carbon.userstore.service.UserStoreAdminServiceImpl.deleteUserFromInternalStore(UserStoreAdminServiceImpl.java:150)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
> at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:63)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:112)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
> 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:151)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: org.wso2.registry.exceptions.RegistryException: Failed to delete resource /org/wso2/carbon/secmgt/users/default. All database operations will be rolled back. Failed to d
> elete resource /org/wso2/carbon/secmgt/users/default. Resource does not exist.
> at org.wso2.registry.jdbc.AtomicRegistry.delete(AtomicRegistry.java:325)
> at org.wso2.registry.jdbc.JDBCRegistry.delete(JDBCRegistry.java:338)
> at org.wso2.registry.session.UserRegistry.delete(UserRegistry.java:217)
> at org.wso2.carbon.userstore.UserStoreAdmin.deleteUserFromInternalStore(UserStoreAdmin.java:266)
> at org.wso2.carbon.userstore.service.UserStoreAdminServiceImpl.deleteUserFromInternalStore(UserStoreAdminServiceImpl.java:147)
> ... 32 more
> Caused by: org.wso2.registry.exceptions.RegistryException: Failed to delete resource /org/wso2/carbon/secmgt/users/default. Resource does not exist.
> at org.wso2.registry.jdbc.Repository.delete(Repository.java:239)
> at org.wso2.registry.jdbc.BasicRegistry.delete(BasicRegistry.java:273)
> at org.wso2.registry.jdbc.AtomicRegistry.delete(AtomicRegistry.java:313)
> ... 36 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 Ds-java-dev
mailing list