Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 896AA16108B5 for ; Fri, 23 Dec 2011 11:13:21 -0400 (AST) Received: from mag.webhome.hu ([212.52.168.15]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Re6o8-0003jU-AB for pgsql-jdbc@postgresql.org; Fri, 23 Dec 2011 15:13:20 +0000 Received: from [IPv6:::1] (mag.webhome.hu [127.0.0.1]) by mag.webhome.hu (Postfix) with ESMTPS id A9BF313A3 for ; Fri, 23 Dec 2011 15:12:59 +0000 (UTC) Message-ID: <4EF49A7A.6080204@magwas.rulez.org> Date: Fri, 23 Dec 2011 16:12:58 +0100 From: =?UTF-8?B?TWFnb3PDoW55aSDDgXJww6Fk?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Datasource portNumber property Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201112/78 X-Sequence-Number: 22532 Hi! I need to define the port number in a cdo-server.xml file. I was trying the following forms: In this case the application tries to connect to port 5432. in this case I get: java.lang.IllegalArgumentException: Value of property portNumber can not be assigned to type int org.eclipse.net4j.db.DBException: java.lang.IllegalArgumentException: Value of property portNumber can not be assigned to type int Any hint to solve the problem?