# Can't start servoy server

**URL:** <https://forum.servoy.com/t/cant-start-servoy-server/7972>\
**Category:** Classic Servoy\
**Created:** [August 4, 2007, 10:37am UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972 "2007-08-04T10:37:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![froztbyte](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@froztbyte](https://forum.servoy.com/u/froztbyte)\
**Post date:** [August 4, 2007, 10:37am UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/1 "2007-08-04T10:37:28Z")

</div>

I’m having lots of trouble getting Servoy running (server, in this case). The pc on which I’m trying to run it has no screen attached and no X running, so I first had to setup the thing on my laptop (run the servoy\_installer.jar on my laptop). On my laptop I configured it with all passwords needed for admin etc. Then I transferred it to our server (running linux, (sun) java 1.5). I got it to run by executing ./servoy\_server.sh but only once. Thereafter it completely cannot start. Below is my server.log output. If someone could please help me, much appreciated

```auto
1 [main] INFO com.servoy.j2db.util.Debug - Loading servoy.properties from /opt/servoy/servoy.properties
1173 [main] INFO com.servoy.j2db.util.Debug - Loading - Done
Exception in thread "main" org.apache.commons.dbcp.DbcpException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
        at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:85)
        at com.servoy.j2db.persistence.datasource.n.createConnection(Unknown Source)
        at com.servoy.j2db.persistence.datasource.r.makeObject(Unknown Source)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)
        at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:110)
        at com.servoy.j2db.persistence.datasource.i.getConnection(Unknown Source)
        at com.servoy.j2db.persistence.Server.getConnection(Unknown Source)
        at com.servoy.j2db.persistence.Server.checkIfTableExistsInDatabase(Unknown Source)
        at com.servoy.j2db.persistence.Repository.for(Unknown Source)
        at com.servoy.j2db.persistence.Repository.<init>(Unknown Source)
        at com.servoy.j2db.persistence.Repository.<init>(Unknown Source)
        at com.servoy.j2db.persistence.Server.getRepository(Unknown Source)
        at com.servoy.j2db.server.ApplicationServer.main(Unknown Source)
Caused by: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
        at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(Unknown Source)
        at com.sybase.jdbc3.jdbc.ErrorMessage.raiseErrorCheckDead(Unknown Source)
        at com.sybase.jdbc3.tds.Tds.a(Unknown Source)
        at com.sybase.jdbc3.tds.Tds.a(Unknown Source)
        at com.sybase.jdbc3.tds.Tds.login(Unknown Source)
        at com.sybase.jdbc3.jdbc.SybConnection.a(Unknown Source)
        at com.sybase.jdbc3.jdbc.SybConnection.a(Unknown Source)
        at com.sybase.jdbc3.jdbc.SybConnection.<init>(Unknown Source)
        at com.sybase.jdbc3.jdbc.SybConnection.<init>(Unknown Source)
        at com.sybase.jdbc3.jdbc.SybDriver.connect(Unknown Source)
        at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:83)
        ... 12 more

```

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [August 4, 2007, 11:10am UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/2 "2007-08-04T11:10:02Z")

</div>

Hi froztbyte,

Seems you don’t have Sybase running. I don’t believe that servoy\_server.sh does that automatically for you (unlike Developer).  
Just search the forum, this has been covered a couple of times already.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 4, 2007, 11:10am UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/3 "2007-08-04T11:10:19Z")

</div>

I think the error simply says that Servoy cannot connect to the database server (firewall, wrong address etc.).

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [August 4, 2007, 11:12am UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/4 "2007-08-04T11:12:56Z")

</div>

> patrick:  
> I think the error simply says that Servoy cannot connect to the database server (firewall, wrong address etc.).

…or it’s not running, which is the most common cause as you well know.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 4, 2007, 11:24am UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/5 "2007-08-04T11:24:28Z")

</div>

… is the printer plugged in? ![:wink:]( "Wink")

---

<div class="post-metadata">

**Author:** ![froztbyte](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@froztbyte](https://forum.servoy.com/u/froztbyte)\
**Post date:** [August 4, 2007, 2:40pm UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/6 "2007-08-04T14:40:48Z")

</div>

It’s definitely the printer!! It must be! ![:-D]( "Very Happy")

Thanks for the help guys. I’ll post again if something doesn’t work still

---

<div class="post-metadata">

**Author:** ![ahurtado](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@ahurtado](https://forum.servoy.com/u/ahurtado)\
**Post date:** [July 30, 2008, 8:27am UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/7 "2008-07-30T08:27:43Z")

</div>

> froztbyte:  
> It’s definitely the printer!! It must be! ![:-D]( "Very Happy")
> 
> Thanks for the help guys. I’ll post again if something doesn’t work still

how did you resolve the problem?

i have the same problem and i don’t understand what you mean whith the printer issue

i think, i have a problem whith the JDBC drivers

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [July 30, 2008, 11:40am UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/8 "2008-07-30T11:40:16Z")

</div>

Hi ahurtado,

The printer reference is a joke, forget it ![;)]( "Wink") .  
What error do you get ?

---

<div class="post-metadata">

**Author:** ![ahurtado](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@ahurtado](https://forum.servoy.com/u/ahurtado)\
**Post date:** [July 30, 2008, 3:58pm UTC](https://forum.servoy.com/t/cant-start-servoy-server/7972/9 "2008-07-30T15:58:50Z")

</div>

the error was resolved in servoy is necessary connection servoy\_repositories in servoy.properties

thank’s
