# Stardog in Linux

**URL:** <https://community.stardog.com/t/stardog-in-linux/942>\
**Category:** Support\
**Created:** [April 24, 2018, 7:47pm UTC](https://community.stardog.com/t/stardog-in-linux/942 "2018-04-24T19:47:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smrati.hans](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@smrati.hans](https://community.stardog.com/u/smrati.hans)\
**Post date:** [April 24, 2018, 7:47pm UTC](https://community.stardog.com/t/stardog-in-linux/942/1 "2018-04-24T19:47:59Z")

</div>

Hi Team,

I downloaded Stardog on Linux machine. I created virtual graph for a database which is present in some other windows machine. then I installed Stardog studio on some windows machine. Now i am trying to query the virtual graph created in Linux machine on windows machine using stardog studio. It works fine for sometime and then it says connection is closed. Then i remove the virtual graph and add it again. Not sure what the problem is but it looses its connection frequently. Is there some sort of Time out that i can set/modify?

Thank you!  
Best Regards,  
Smrati

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [April 24, 2018, 7:54pm UTC](https://community.stardog.com/t/stardog-in-linux/942/2 "2018-04-24T19:54:23Z")

</div>

Which database platform are you creating the virtual graph for? What the error you are seeing? Have you tried tuning the [Tomcat JDBC pooling options](https://tomcat.apache.org/tomcat-9.0-doc/jdbc-pool.html#Common_Attributes) as mentioned in the [docs](https://www.stardog.com/docs/#_virtual_graph_configuration_options)?

---

<div class="post-metadata">

**Author:** ![smrati.hans](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@smrati.hans](https://community.stardog.com/u/smrati.hans)\
**Post date:** [April 24, 2018, 8:01pm UTC](https://community.stardog.com/t/stardog-in-linux/942/3 "2018-04-24T20:01:18Z")

</div>

Hi Jess,

I am connecting Microsoft SQL Server . The error looks like:

**Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed.**  
\*\* at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:228) ~[mssql-jdbc-6.4.0.jre8.jar:?]\*\*  
\*\* at com.microsoft.sqlserver.jdbc.SQLServerConnection.checkClosed(SQLServerConnection.java:1007) ~[mssql-jdbc-6.4.0.jre8.jar:?]\*\*  
\*\* at com.microsoft.sqlserver.jdbc.SQLServerConnection.createStatement(SQLServerConnection.java:3160) ~[mssql-jdbc-6.4.0.jre8.jar:?]\*\*  
\*\* at com.microsoft.sqlserver.jdbc.SQLServerConnection.createStatement(SQLServerConnection.java:2838) ~[mssql-jdbc-6.4.0.jre8.jar:?]\*\*  
\*\* at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) ~[?:?]\*\*

I have not tried those attributes. Will probably try maxWait or maxAge.  
Thank you!

Best Regards,  
Smrati

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [May 8, 2018, 8:03pm UTC](https://community.stardog.com/t/stardog-in-linux/942/4 "2018-05-08T20:03:29Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
