but if I try to edit them or create a new one in Studio, I get an error:
failed to create virtual graph ...
and my log says
ERROR 2019-09-13 13:59:34,553 [stardog-user-4] com.stardog.http.server.undertow.ErrorHandling:writeError(138): Unexpected error on the server
java.lang.RuntimeException: java.sql.SQLException: Unable to load class: com.postgresql.Driver from ClassLoader:sun.misc.Launcher$AppClassLoader@1de0aca6;ClassLoader:java.net.URLClassLoader@65df9582
but I thought I had the right JDBC jar in the right location, at least from previous experience with 6.2 via the web console:
If it's not too much trouble, that would help narrow down the issue. We do support creating virtual graphs without restarting but knowing whether the problem persists would indicate if that's the issue.
I can edit the mappings in Studio now and create a new virtual graph, as long as I leave the auto-generate checkbox un-ticked. Is there any way to set up auto-generation from the command line?
I just wanted check in regarding the above (I'm the Studio team lead). Would you mind clarifying exactly what is not working in Studio here? For example, are you saying that you cannot edit mappings in Studio for virtual graphs that are created with "auto-generate mappings" checked? If there's a bug here, we'd like to fix it!
I think what I'm saying is I can't create a new virtual graph (given the setup in my original post), in Stardog Studio, if the auto-generate model box is checked. I don't think I'm experiencing any other limitations at this point. I'm experimenting now and will keep you posted.
@jason I continue to have sporadic problems modifying virtual graph mappings in the Stardog Studio. Specifically: editing the SMS2 mappings, clicking Save Changes and getting this response:
Failed to update virtual graph ...
I could swear I did an update like that yesterday, but now I'm getting the error message. Can you suggest a way for me to give you more precise feedback?
@jess is there a way for me to change my mappings in the file system when I get stuck like this? I.e., is it possible to manage virtual graphs both within the Studio, and with virtual add -o?
@jason Never mind... I had tried to create a triple using a column that wasn't included in the SQL select. I fixed that and now it can be saved in the Studio. Maybe more detailed error messages would help.