Thanks.--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
No, there are nothing in stardog logs. This is what makes it difficult to figure out what went wrong.
The section of the code is this :
AdminConnection aAdminConnection = null;try {aAdminConnection = AdminConnectionConfiguration.toServer(dbLocation).credentials(username, password).connect();Metadata meta = Metadata.create();meta.set(DatabaseOptions.NAME, dbname);meta.set(DatabaseOptions.QUERY_ALL_GRAPHS, true);aAdminConnection.builder(meta).set(SearchOptions.SEARCHABLE, true).set(SearchOptions.SEARCH_REINDEX_MODE, "sync").create();
aAdminConnection.getPermissionManager().addUserPerm(username, ActionType.ALL, new SecurityResourceType() {@Overridepublic String id() {return "db";}}, dbname);
// This line below when executed hits the Connection reset erroraAdminConnection.getPermissionManager().addUserPerm(username, ActionType.ALL, new SecurityResourceType() {@Overridepublic String id() {return "metadata";}}, dbname);} catch (Exception e) {}
have noted that there is a new version of Stardog, just that at this point it is difficult to update my client dependencies since we do not have access to Stardog's maven repository.
Thanks. I have noted that there is a new version of Stardog, just that at this point it is difficult to update my client dependencies since we do not have access to Stardog's maven repository.
Apparently in Stardog 3.0.1 , CoreResourceType does not have DATABASE nor METADATA enumeration type.
For some reason, my experience with maven.stardog.com seems to have missing jar dependencies. For example, my Maven have problem finding the below JAR dependencies :<dependency><groupId>com.complexible.stardog</groupId><artifactId>stardog-search-api</artifactId><version>3.1.4</version></dependency><dependency><groupId>com.complexible.stardog</groupId><artifactId>stardog-search-shared</artifactId><version>3.1.4</version></dependency><dependency><groupId>com.complexible.stardog</groupId><artifactId>stardog-core-shared</artifactId><version>3.1.4</version></dependency><dependency><groupId>com.complexible.stardog</groupId><artifactId>stardog-reasoning-api</artifactId><version>3.1.4</version></dependency>Are those only first available in the private repository and eventually make their way to the public repository ?
The following artifacts could not be resolved: com.complexible.stardog:client-snarl:jar:3.1, com.complexible.stardog:client-http:jar:3.1: Failure to find com.complexible.stardog:client-snarl:jar:3.1 in http://maven.stardog.com was cached in the local repository, resolution will not be reattempted until the update interval of stardog-public has elapsed or updates are forced -> [Help 1]
Attached is my pom file
Julie
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.
...
With the groupId changes, I am now able to download the binaries. Going forward, how can we find out what are the groupId's ? Are they published somewhere ?
--