# Servoy Developer initialize (servoy.ini)

**URL:** https://forum.servoy.com/t/servoy-developer-initialize-servoy-ini/19826
**Category:** Classic Servoy
**Created:** [October 26, 2018, 7:46am UTC](https://forum.servoy.com/t/servoy-developer-initialize-servoy-ini/19826 "2018-10-26T07:46:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![huber](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/huber/32/5042_2.png) [@huber](https://forum.servoy.com/u/huber)
#### Post date: [October 26, 2018, 7:46am UTC](https://forum.servoy.com/t/servoy-developer-initialize-servoy-ini/19826/1 "2018-10-26T07:46:45Z")

</div>

Using SQL Anywhere database, I need to source the sa\_config.sh file to use the native driver (not jconn3.jar or jconn4.jar) as a database server connection within Servoy Developer.

To achieve this, I inserted the following source command on the last line of the Servoy Developer init file, which is in my environment at /Applications/Servoy8.1/servoy.app/Contents/eclipse/servoy.ini:

source /Applications/SQLAnywhere17/System/bin64/sa\_config.sh

But it does not seem to get executed, i. e. the database server connection is not recognised. Is the servoy.in the correct place to insert such a command for the Developer or is there any other file to use?

By the way, the sa\_config.sh file is set to be executable.  
I am on Servoy Developer 8.1.4, Java 1.8.0\_151, and macOS 10.13

Regards,

---

<div class="post-metadata">

### Author: ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)
#### Post date: [October 28, 2018, 8:04pm UTC](https://forum.servoy.com/t/servoy-developer-initialize-servoy-ini/19826/2 "2018-10-28T20:04:37Z")

</div>

Robert,

servoy.ini is a configuration file, not a bash script, it won’t run things.

You could create a script with 2 lines, 1 to source the settings file and 1 to start Servoy

```auto
source /Applications/SQLAnywhere17/System/bin64/sa_config.sh
open -a /Applications/Servoy8.1/servoy

```

(second line is a guess, I do not have access to a mac)

Rob

---

<div class="post-metadata">

### Author: ![huber](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/huber/32/5042_2.png) [@huber](https://forum.servoy.com/u/huber)
#### Post date: [November 5, 2018, 7:21am UTC](https://forum.servoy.com/t/servoy-developer-initialize-servoy-ini/19826/3 "2018-11-05T07:21:50Z")

</div>

Rob,

Your suggestion works, and the second line only misses .app at the end.

For a more elegant startup, I now only have to find a place within Servoy (Eclipse) where I can embed the source /Applications/SQLAnywhere17/System/bin64/sa\_config.sh command.

Thanks, Robert

> rgansevles:  
> Robert,
> 
> servoy.ini is a configuration file, not a bash script, it won’t run things.
> 
> You could create a script with 2 lines, 1 to source the settings file and 1 to start Servoy
> 
> ```auto
> source /Applications/SQLAnywhere17/System/bin64/sa_config.sh
> 
> ```

open -a /Applications/Servoy8.1/servoy

> ```auto
> 
> (second line is a guess, I do not have access to a mac)
> 
> Rob
> ```

---

<div class="post-metadata">

### Author: ![huber](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/huber/32/5042_2.png) [@huber](https://forum.servoy.com/u/huber)
#### Post date: [October 7, 2019, 12:56pm UTC](https://forum.servoy.com/t/servoy-developer-initialize-servoy-ini/19826/4 "2019-10-07T12:56:02Z")

</div>

Rob

For a production environment, any hint where I could put the shell script command below to get it run at Tomcat startup?

```auto
source /Applications/SQLAnywhere17/System/bin64/sa_config.sh

```

Regards
