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

Questions and answers for all installation-related topics for Servoy products

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

Postby Robert Huber » Sun Feb 12, 2012 10:45 pm

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?

Code: Select all
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
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Re: ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug

Postby jcompagner » Mon Feb 13, 2012 6:27 pm

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..
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug

Postby Robert Huber » Mon Feb 13, 2012 7:40 pm

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=<none>
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=<none>
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 wrote: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..
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Re: ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug

Postby patrick » Mon Feb 13, 2012 7:44 pm

and how does the property ServerManager.numberOfServers look like?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug

Postby Robert Huber » Mon Feb 13, 2012 8:11 pm

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 wrote:and how does the property ServerManager.numberOfServers look like?
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland


Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests