Foros

Inicio » Liferay Sync

Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Johan de jong
Setup fails: For input string: "ay P"
4 de enero de 2013 4:17
Respuesta

Johan de jong

Ranking: Junior Member

Mensajes: 39

Fecha de incorporación: 6 de febrero de 2012

Mensajes recientes

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:

 104 jan 2013 12:24:31,621 INFO  [DesktopSyncClient:247] Starting Liferay Sync
 204 jan 2013 12:24:32,279 DEBUG [DesktopSyncClient:264] Configuration loaded from disk.: false
 304 jan 2013 12:24:32,373 DEBUG [DesktopSyncClient:289] Sync not configured, prompting user.
 404 jan 2013 12:27:12,133 ERROR [AccountSettingsCompositeHandler:470] For input string: "ay P"
 5java.lang.NumberFormatException: For input string: "ay P"
 6    at java.lang.NumberFormatException.forInputString(Unknown Source)
 7    at java.lang.Integer.parseInt(Unknown Source)
 8    at java.lang.Integer.parseInt(Unknown Source)
 9    at com.liferay.sync.util.ServerReleaseInfo._setPortalVersion(ServerReleaseInfo.java:191)
10    at com.liferay.sync.util.ServerReleaseInfo._validateProductId(ServerReleaseInfo.java:214)
11    at com.liferay.sync.util.ServerReleaseInfo.getServerReleaseInfo(ServerReleaseInfo.java:47)
12    at com.liferay.sync.gui.desktop.properties.accountsettings.AccountSettingsCompositeHandler.doTestConnection(AccountSettingsCompositeHandler.java:412)
13    at com.liferay.sync.gui.desktop.properties.accountsettings.AccountSettingsCompositeHandler$1.run(AccountSettingsCompositeHandler.java:251)
14    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
15    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
16    at java.util.concurrent.FutureTask.run(Unknown Source)
17    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
18    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
19    at java.lang.Thread.run(Unknown Source)
2004 jan 2013 12:27:26,691 ERROR [AccountSettingsCompositeHandler:470] For input string: "ay P"
21java.lang.NumberFormatException: For input string: "ay P"
22    at java.lang.NumberFormatException.forInputString(Unknown Source)
23    at java.lang.Integer.parseInt(Unknown Source)
24    at java.lang.Integer.parseInt(Unknown Source)
25    at com.liferay.sync.util.ServerReleaseInfo._setPortalVersion(ServerReleaseInfo.java:191)
26    at com.liferay.sync.util.ServerReleaseInfo._validateProductId(ServerReleaseInfo.java:214)
27    at com.liferay.sync.util.ServerReleaseInfo.getServerReleaseInfo(ServerReleaseInfo.java:47)
28    at com.liferay.sync.gui.desktop.properties.accountsettings.AccountSettingsCompositeHandler.doTestConnection(AccountSettingsCompositeHandler.java:412)
29    at com.liferay.sync.gui.desktop.properties.accountsettings.AccountSettingsCompositeHandler$1.run(AccountSettingsCompositeHandler.java:251)
30    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
31    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
32    at java.util.concurrent.FutureTask.run(Unknown Source)
33    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
34    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
35    at java.lang.Thread.run(Unknown Source)
Hitoshi Ozawa
RE: Setup fails: For input string: "ay P"
4 de enero de 2013 4:24
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7952

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Try connection to Liferay 6.1.1 GA2 to check if that'll work.
Johan de jong
RE: Setup fails: For input string: "ay P"
4 de enero de 2013 4:30
Respuesta

Johan de jong

Ranking: Junior Member

Mensajes: 39

Fecha de incorporación: 6 de febrero de 2012

Mensajes recientes

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
RE: Setup fails: For input string: "ay P"
4 de enero de 2013 5:34
Respuesta

Johan de jong

Ranking: Junior Member

Mensajes: 39

Fecha de incorporación: 6 de febrero de 2012

Mensajes recientes

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
RE: Setup fails: For input string: "ay P"
4 de enero de 2013 5:47
Respuesta

Johan de jong

Ranking: Junior Member

Mensajes: 39

Fecha de incorporación: 6 de febrero de 2012

Mensajes recientes

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!
Michael Young
RE: Setup fails: For input string: "ay P"
4 de enero de 2013 6:47
Respuesta

Michael Young

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 843

Fecha de incorporación: 4 de agosto de 2004

Mensajes recientes

Liferay Sync is only supported under Liferay Portal 6.1.1 GA2. You will have unreliable behavior under GA1.
Anónimo
RE: Setup fails: For input string: "ay P"
4 de enero de 2013 7:17
Respuesta

Anónimo

What is the url and port you are trying to connect to?
Dennis Ju
RE: Setup fails: For input string: "ay P"
4 de enero de 2013 9:25
Respuesta

Dennis Ju

LIFERAY STAFF

Ranking: Regular Member

Mensajes: 140

Fecha de incorporación: 30 de septiembre de 2010

Mensajes recientes

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