# OS X 10.7.2 Server + Servoy 6.03

**URL:** <https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121>\
**Category:** Classic Servoy\
**Created:** [December 2, 2011, 3:57pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121 "2011-12-02T15:57:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainer\_dsp](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rainer\_dsp](https://forum.servoy.com/u/rainer_dsp)\
**Post date:** [December 2, 2011, 3:57pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/1 "2011-12-02T15:57:12Z")

</div>

The Servoy installer does not work unter OS X 10.7.2 Server Edtion.  
Can you please test it ? There are missing some .sh files in the installer…

thank you

Rainer Böhm

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [December 2, 2011, 11:14pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/2 "2011-12-02T23:14:06Z")

</div>

What errors are you seeing? Due to low numbers of people running OSX Server it is not in our standard test-suite.

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [December 3, 2011, 3:39pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/3 "2011-12-03T15:39:34Z")

</div>

I’ve been using Servoy on MacOS X server for a long time until recently and as far as I know there is no difference whatsoever between OS X server and client.  
What file is missing?

---

<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:** [December 3, 2011, 11:08pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/4 "2011-12-03T23:08:35Z")

</div>

Hi Rainer,

I just did an Servoy 6.0.3 install on a pristine Mac OS X 10.7.2 Server install (thanks to VMware) and got the following error:

[attachment=1]error.png[/attachment]  
[attachment=0]message.png[/attachment]

Is this what you are seeing or is it something else?

 ![message.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/7/7ee6e371b4c4ee1f7e27469bb6ddb716dc5dd4ea.png)

 ![error.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/4/45136269774ebd3ac74f63c2e90c6fbe6d047745.png)

---

<div class="post-metadata">

**Author:** ![rainer\_dsp](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rainer\_dsp](https://forum.servoy.com/u/rainer_dsp)\
**Post date:** [December 5, 2011, 4:30pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/5 "2011-12-05T16:30:39Z")

</div>

We created a workaround for the missing files… it works now.  
The installer fails with install\_service.sh and uninstall\_service.sh as missing files ( just rename the .temp file during installation…)

There is another bug in the URL requester not adding the DB name field to the used url…

rainer

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [December 16, 2011, 4:14pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/6 "2011-12-16T16:14:54Z")

</div>

Did someone create a case for this? Can you check what does this: System.getProperty(“os.name”) return ?(you can execute this Java code from Servoy client, for example)

---

<div class="post-metadata">

**Author:** ![itgenetics](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@itgenetics](https://forum.servoy.com/u/itgenetics)\
**Post date:** [January 2, 2012, 7:29pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/7 "2012-01-02T19:29:18Z")

</div>

HELP!

---

<div class="post-metadata">

**Author:** ![itgenetics](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@itgenetics](https://forum.servoy.com/u/itgenetics)\
**Post date:** [January 2, 2012, 7:50pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/8 "2012-01-02T19:50:01Z")

</div>

> rainer / dsp:  
> We created a workaround for the missing files… it works now.  
> The installer fails with install\_service.sh and uninstall\_service.sh as missing files ( just rename the .temp file during installation…)
> 
> There is another bug in the URL requester not adding the DB name field to the used url…
> 
> rainer

Can someone provide a step by step as I have renamed the .temp to installer.sh and the server fails to start. I would really appreciate details on the workaround ASAP.

Thanks

---

<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:** [January 2, 2012, 7:53pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/9 "2012-01-02T19:53:15Z")

</div>

Hi,

You can simply set the executable bit (+x) on the servoy\_server.sh and service/ServoyServer files like so:

```auto
cd /path/to/servoy/application_server
chmod +x servoy_server.sh
chmod +x service/ServoyServer

```

After this you can launch Servoy server using the servoy\_server.sh shell script or you can install it as a service (and start it) using the ServoyServer script.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![itgenetics](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@itgenetics](https://forum.servoy.com/u/itgenetics)\
**Post date:** [January 2, 2012, 9:03pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/10 "2012-01-02T21:03:14Z")

</div>

> ROCLASI:  
> Hi,
> 
> You can simply set the executable bit (+x) on the servoy\_server.sh and service/ServoyServer files like so:
> 
> ```auto
> cd /path/to/servoy/application_server
> 
> ```

chmod +x servoy\_server.sh  
chmod +x service/ServoyServer

> ```auto
> 
> After this you can launch Servoy server using the servoy_server.sh shell script or you can install it as a service (and start it) using the ServoyServer script.
> 
> Hope this helps.
> 
> ```

I followed the steps, but on the install it still came up with the same error.

I also tried to run the service after making these changes but still no luck.

Have I missed something?

---

<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:** [January 2, 2012, 10:48pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/11 "2012-01-02T22:48:43Z")

</div>

What error are you getting?  
Also did you install the EnterpriseDB PostgreSQL installer or the Servoy bundled one ?

---

<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:** [January 2, 2012, 10:53pm UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/12 "2012-01-02T22:53:18Z")

</div>

Hi Laurian,

> lvostinar:  
> Did someone create a case for this? Can you check what does this: System.getProperty(“os.name”) return ?(you can execute this Java code from Servoy client, for example)

application.output( java.lang.System.getProperty(“os.name”)) returns “Mac OS X” for me on Mac OS X 10.7.

Issue SVY-1312 filed.

---

<div class="post-metadata">

**Author:** ![itgenetics](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@itgenetics](https://forum.servoy.com/u/itgenetics)\
**Post date:** [January 3, 2012, 7:28am UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/13 "2012-01-03T07:28:31Z")

</div>

> ROCLASI:  
> What error are you getting?  
> Also did you install the EnterpriseDB PostgreSQL installer or the Servoy bundled one ?

Hi again, I followed the instructions - it started - showing a PID.

After about 5 seconds the service had stopped again - never to restart.

This is the error at terminal level (not very helpful)

WARNING: Servoy Application Server may have failed to start.  
server:application\_server administrator$

Can someone send the files that are missing?

As a matter of course - I receive exactly the same error on install as above.

---

<div class="post-metadata">

**Author:** ![itgenetics](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@itgenetics](https://forum.servoy.com/u/itgenetics)\
**Post date:** [January 3, 2012, 7:48am UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/14 "2012-01-03T07:48:12Z")

</div>

I meant to also say that I used the Enterprise version of Postgres

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [January 3, 2012, 9:17am UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/15 "2012-01-03T09:17:26Z")

</div>

> itgenetics:
> 
> > ROCLASI:  
> > What error are you getting?  
> > Also did you install the EnterpriseDB PostgreSQL installer or the Servoy bundled one ?
> 
> Hi again, I followed the instructions - it started - showing a PID.
> 
> After about 5 seconds the service had stopped again - never to restart.
> 
> This is the error at terminal level (not very helpful)
> 
> WARNING: Servoy Application Server may have failed to start.  
> server:application\_server administrator$
> 
> Can someone send the files that are missing?
> 
> As a matter of course - I receive exactly the same error on install as above.

What error do you have in the service log?

---

<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:** [January 3, 2012, 9:27am UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/16 "2012-01-03T09:27:20Z")

</div>

Hi,

Is there a repository database created in PostgreSQL (check via PgAdmin or psql)?  
Does Servoy point to this repository database (check the servoy.properties)?

If that all exists and is correct then you need to let Servoy create the repository tables using the following command:

```auto
cd /path/to/servoy/application_server
./servoy_server.sh -upgradeRepository

```

Servoy server will start, create the repository tables and quit again. After this you can launch Servoy server the normal way.

Hope this helps.

P.s. EnterpriseDB is a company name. They have their own PostgreSQL derived (non-free) product (PostgreSQL Plus Advanced) which aims to be Oracle compatible but they also create (free) community installers of ‘plain’ PostgreSQL. So there is no ‘Enterprise version of PostgreSQL’. If anything PostgreSQL is already enterprise out of the box ![:)]( "Smile")

---

<div class="post-metadata">

**Author:** ![itgenetics](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@itgenetics](https://forum.servoy.com/u/itgenetics)\
**Post date:** [January 3, 2012, 9:30am UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/17 "2012-01-03T09:30:02Z")

</div>

2012-01-03 09:27:51,875 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!   
2012-01-03 09:28:00,676 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Cannot start repository:   
com.servoy.j2db.persistence.RepositoryException: Error checking repository  
at com.servoy.j2db.server.Za.Za.Zb(Za.java:504)  
at com.servoy.j2db.server.Za.Za.(Za.java:1410)  
at com.servoy.j2db.server.Za.Za.(Za.java:1325)  
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:920)  
at com.servoy.j2db.server.main.ApplicationServer.main(ApplicationServer.java:156)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
at java.lang.reflect.Method.invoke(Method.java:597)  
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)  
at java.lang.Thread.run(Thread.java:680)  
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near ““itg””  
Position: 13  
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)  
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)  
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)  
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)  
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)  
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
at java.lang.reflect.Method.invoke(Method.java:597)  
at com.servoy.j2db.Za.Zg.invoke(Zg.java:16)  
at $Proxy0.execute(Unknown Source)  
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:233)  
at com.servoy.j2db.Za.Zq.initializeConnection(Zq.java:17)  
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:586)  
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1158)  
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)  
at com.servoy.j2db.Za.Za.getConnection(Za.java:139)  
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:49)  
at com.servoy.j2db.server.Za.Zo.Zf(Zo.java:930)  
at com.servoy.j2db.server.Za.Za.Zb(Za.java:638)  
… 10 more  
2012-01-03 09:28:00,681 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [January 3, 2012, 9:32am UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/18 "2012-01-03T09:32:03Z")

</div>

Seems to me it cannot connect to repository server. Are you sure connection data is ok and repository is initialized?

---

<div class="post-metadata">

**Author:** ![itgenetics](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@itgenetics](https://forum.servoy.com/u/itgenetics)\
**Post date:** [January 3, 2012, 9:33am UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/19 "2012-01-03T09:33:10Z")

</div>

are there any tests I can perform?

---

<div class="post-metadata">

**Author:** ![itgenetics](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@itgenetics](https://forum.servoy.com/u/itgenetics)\
**Post date:** [January 3, 2012, 9:37am UTC](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121/20 "2012-01-03T09:37:53Z")

</div>

> ROCLASI:  
> Hi,
> 
> Is there a repository database created in PostgreSQL (check via PgAdmin or psql)?  
> Does Servoy point to this repository database (check the servoy.properties)?
> 
> If that all exists and is correct then you need to let Servoy create the repository tables using the following command:
> 
> ```auto
> cd /path/to/servoy/application_server
> 
> ```

./servoy\_server.sh -upgradeRepository

> ```auto
> 
> Servoy server will start, create the repository tables and quit again. After this you can launch Servoy server the normal way.
> 
> Hope this helps.
> 
> P.s. EnterpriseDB is a company name. They have their own PostgreSQL derived (non-free) product (PostgreSQL Plus Advanced) which aims to be Oracle compatible but they also create (free) community installers of 'plain' PostgreSQL. So there is no 'Enterprise version of PostgreSQL'. If anything PostgreSQL is already enterprise out of the box <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />
> 
> ```

I’ll try this and and come back to you all…

[Next page](https://forum.servoy.com/t/os-x-10-7-2-server-servoy-6-03/15121.md?page=2)
