# ERROR \[WrapperSimpleAppMain\] com.servoy.j2db.util.Debug

**URL:** <https://forum.servoy.com/t/error-wrappersimpleappmain-com-servoy-j2db-util-debug/15492>\
**Category:** Classic Servoy\
**Created:** [February 12, 2012, 8:45pm UTC](https://forum.servoy.com/t/error-wrappersimpleappmain-com-servoy-j2db-util-debug/15492 "2012-02-12T20:45:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)\
**Post date:** [February 12, 2012, 8:45pm UTC](https://forum.servoy.com/t/error-wrappersimpleappmain-com-servoy-j2db-util-debug/15492/1 "2012-02-12T20:45:35Z")

</div>

Hi

I have the following lines in the servoy\_log. I upgraded from 5.2.10 to 5.2.11. I am not sure if it was already there in 5.2.10. What does it mean?

```auto
2012-02-12 21:29:01,484 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Invalid parameter in server: 2
2012-02-12 21:29:01,500 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Invalid parameter in server: 3
2012-02-12 21:29:01,500 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Invalid parameter in server: 4
2012-02-12 21:29:01,500 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Invalid parameter in server: 5
2012-02-12 21:29:01,500 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Invalid parameter in server: 6
2012-02-12 21:29:01,500 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Invalid parameter in server: 7
2012-02-12 21:29:01,500 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Invalid parameter in server: 8
2012-02-12 21:29:01,500 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - Invalid parameter in server: 9

```

Windows 2008R2 Server. Windows 7 client. Java 1.6\_026.

The application seems to work correctly.

Thanks for hints, regards, Robert

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [February 13, 2012, 4:27pm UTC](https://forum.servoy.com/t/error-wrappersimpleappmain-com-servoy-j2db-util-debug/15492/2 "2012-02-13T16:27:16Z")

</div>

quite weird that your application server works, because it seems to me that servers 2-9 are not read in correctly because one of these properties:

if (serverName != null && userName != null && userPassword != null && serverURL != null && driver != null)

is null…

---

<div class="post-metadata">

**Author:** ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)\
**Post date:** [February 13, 2012, 5:40pm UTC](https://forum.servoy.com/t/error-wrappersimpleappmain-com-servoy-j2db-util-debug/15492/3 "2012-02-13T17:40:21Z")

</div>

Is my assumption correct that these are the server entries in the servoy properties file, i. e. something like C:.…\Servoy\application\_server\servoy?

I have only 2 server entries in this file, like

server.0.URL=jdbc:sybase:Tds:localhost:2638?ServiceName=servoy\_repository&CHARSET=utf8  
server.0.catalog=  
server.0.connectionValidationType=0  
server.0.driver=com.sybase.jdbc3.jdbc.SybDriver  
server.0.enabled=true  
server.0.maxConnectionsActive=10  
…  
server.1.URL=jdbc:sybase:Tds:localhost:2638?ServiceName=Hades&CHARSET=utf8  
server.1.catalog=  
server.1.connectionValidationType=0  
server.1.driver=com.sybase.jdbc3.jdbc.SybDriver  
server.1.enabled=true  
server.1.maxConnectionsActive=10  
server.1.maxConnectionsIdle=10

There are no more server entries in this file.

> jcompagner:  
> quite weird that your application server works, because it seems to me that servers 2-9 are not read in correctly because one of these properties:
> 
> if (serverName != null && userName != null && userPassword != null && serverURL != null && driver != null)
> 
> is null…

---

<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:** [February 13, 2012, 5:44pm UTC](https://forum.servoy.com/t/error-wrappersimpleappmain-com-servoy-j2db-util-debug/15492/4 "2012-02-13T17:44:28Z")

</div>

and how does the property ServerManager.numberOfServers look like?

---

<div class="post-metadata">

**Author:** ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)\
**Post date:** [February 13, 2012, 6:11pm UTC](https://forum.servoy.com/t/error-wrappersimpleappmain-com-servoy-j2db-util-debug/15492/5 "2012-02-13T18:11:08Z")

</div>

It was set to 10. I set it to 2 and the errors do not appear any more. That means that when saving database serve connections in the Servoy application server, this value is NOT being updated. This is not nice as the result leads to errors and error messages should not easily dismissed, should they? Thanks for the hint. May be this is corrected in version 6?

> patrick:  
> and how does the property ServerManager.numberOfServers look like?
