Fórum

Setup fails: For input string: "ay P"

Johan de jong, modificado 11 Anos atrás.

Setup fails: For input string: "ay P"

Junior Member Postagens: 41 Data de Entrada: 06/02/12 Postagens Recentes
When i try conect to my server running Liferay Portal Community Edition 6.1.0 CE (Paton / Build 6100 / January 6, 2012) it fails with a strange message:

04 jan 2013 12:24:31,621 INFO  [DesktopSyncClient:247] Starting Liferay Sync
04 jan 2013 12:24:32,279 DEBUG [DesktopSyncClient:264] Configuration loaded from disk.: false
04 jan 2013 12:24:32,373 DEBUG [DesktopSyncClient:289] Sync not configured, prompting user.
04 jan 2013 12:27:12,133 ERROR [AccountSettingsCompositeHandler:470] For input string: "ay P"
java.lang.NumberFormatException: For input string: "ay P"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at com.liferay.sync.util.ServerReleaseInfo._setPortalVersion(ServerReleaseInfo.java:191)
	at com.liferay.sync.util.ServerReleaseInfo._validateProductId(ServerReleaseInfo.java:214)
	at com.liferay.sync.util.ServerReleaseInfo.getServerReleaseInfo(ServerReleaseInfo.java:47)
	at com.liferay.sync.gui.desktop.properties.accountsettings.AccountSettingsCompositeHandler.doTestConnection(AccountSettingsCompositeHandler.java:412)
	at com.liferay.sync.gui.desktop.properties.accountsettings.AccountSettingsCompositeHandler$1.run(AccountSettingsCompositeHandler.java:251)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
04 jan 2013 12:27:26,691 ERROR [AccountSettingsCompositeHandler:470] For input string: "ay P"
java.lang.NumberFormatException: For input string: "ay P"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at com.liferay.sync.util.ServerReleaseInfo._setPortalVersion(ServerReleaseInfo.java:191)
	at com.liferay.sync.util.ServerReleaseInfo._validateProductId(ServerReleaseInfo.java:214)
	at com.liferay.sync.util.ServerReleaseInfo.getServerReleaseInfo(ServerReleaseInfo.java:47)
	at com.liferay.sync.gui.desktop.properties.accountsettings.AccountSettingsCompositeHandler.doTestConnection(AccountSettingsCompositeHandler.java:412)
	at com.liferay.sync.gui.desktop.properties.accountsettings.AccountSettingsCompositeHandler$1.run(AccountSettingsCompositeHandler.java:251)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Setup fails: For input string: "ay P"

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Try connection to Liferay 6.1.1 GA2 to check if that'll work.
Johan de jong, modificado 11 Anos atrás.

RE: Setup fails: For input string: "ay P"

Junior Member Postagens: 41 Data de Entrada: 06/02/12 Postagens Recentes
i just started downloading the latest 6.1.1 but i need to install a new virtual server first, since an update of my existing servers is not so easy
Johan de jong, modificado 11 Anos atrás.

RE: Setup fails: For input string: "ay P"

Junior Member Postagens: 41 Data de Entrada: 06/02/12 Postagens Recentes
I got Liferay Portal Community Edition 6.1.1 CE GA2 (Paton / Build 6101 / July 31, 2012) running now
it runs on glassfish with a MySQL database.

but still no luck, i see the same errors
Johan de jong, modificado 11 Anos atrás.

RE: Setup fails: For input string: "ay P"

Junior Member Postagens: 41 Data de Entrada: 06/02/12 Postagens Recentes
WAAAAAA emoticon emoticon

Sorry

I just found out what bugged me. I have a standard portal-ext.properties and to prevent hackers from knowing which server the visit i had the following line in this file:
http.header.version.verbosity=partial

I finaly noticed this line in my synctool log:
at com.liferay.sync.util.ServerReleaseInfo.getServerReleaseInfo

removing the line from portal-ext.properties solved it!
thumbnail
Michael Young, modificado 11 Anos atrás.

RE: Setup fails: For input string: "ay P"

Liferay Master Postagens: 846 Data de Entrada: 05/08/04 Postagens Recentes
Liferay Sync is only supported under Liferay Portal 6.1.1 GA2. You will have unreliable behavior under GA1.
thumbnail
Dennis Ju, modificado 11 Anos atrás.

RE: Setup fails: For input string: "ay P"

Regular Member Postagens: 228 Data de Entrada: 30/09/10 Postagens Recentes
Johan de jong:
WAAAAAA emoticon emoticon

Sorry

I just found out what bugged me. I have a standard portal-ext.properties and to prevent hackers from knowing which server the visit i had the following line in this file:
http.header.version.verbosity=partial

I finaly noticed this line in my synctool log:
at com.liferay.sync.util.ServerReleaseInfo.getServerReleaseInfo

removing the line from portal-ext.properties solved it!


This will be resolved in the next version of Liferay Sync (a warning message will appear if the version can't be detected). See SYNC-597
Gail Hernandez, modificado 11 Anos atrás.

RE: Setup fails: For input string: "ay P"