[ 
https://issues.apache.org/jira/browse/STANBOL-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Ayers updated STANBOL-897:
--------------------------------

    Attachment: UserManagementApiTest.java

The last method in this file causes the error. I've tried a few variations, all 
had the same result.

if the file is placed in :
stanbol/integration-tests/src/test/java/org/apache/stanbol/commons/usermanagement/it/

then run using:
cd stanbol/integration-tests

mvn -o test -Dtest.server.url=http://localhost:8080 -Dtest=UserManagementApiTest

it produces (in 
stanbol/integration-tests/target/surefire-reports/org.apache.stanbol.commons.usermanagement.it.UserManagementApiTest.txt)
 -

testShowUserDetails(org.apache.stanbol.commons.usermanagement.it.UserManagementApiTest)
  Time elapsed: 0.606 sec  <<< ERROR!
java.util.ServiceConfigurationError: 
org.apache.clerezza.rdf.core.serializedform.ParsingProvider: Provider 
org.apache.clerezza.rdf.rdfjson.parser.RdfJsonParserProvider not found
        at java.util.ServiceLoader.fail(ServiceLoader.java:214)
        at java.util.ServiceLoader.access$400(ServiceLoader.java:164)
        at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:350)
        at java.util.ServiceLoader$1.next(ServiceLoader.java:421)
        at 
org.apache.clerezza.rdf.core.serializedform.Parser.getInstance(Parser.java:105)
        at 
org.apache.stanbol.commons.usermanagement.it.UserManagementApiTest.readData(UserManagementApiTest.java:290)
        at 
org.apache.stanbol.commons.usermanagement.it.UserManagementApiTest.testShowUserDetails(UserManagementApiTest.java:76)
        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:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
...
                
> Usermanager broken
> ------------------
>
>                 Key: STANBOL-897
>                 URL: https://issues.apache.org/jira/browse/STANBOL-897
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Commons
>            Reporter: Reto Bachmann-Gmür
>         Attachments: patch_2013-03-22.txt, UserManagement_2013-02-21.patch, 
> UserManagementApiTest.java, UserManagement.patch, 
> UserManagement_svn_2013-02-21.patch, usermanagement-tests.tar.gz
>
>
> The current usermanager is severly broken. It should allo adding and removing 
> users and roles, assigning roles to user and adding individual permission 
> both to users and roles.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to