Tribune

Home » Liferay Sync

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Johan de jong
Setup fails: For input string: "ay P"
4 gennaio 2013 4.17
Risposta

Johan de jong

Punteggio: Junior Member

Messaggi: 41

Data di Iscrizione: 6 febbraio 2012

Messaggi recenti

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 gennaio 2013 4.24
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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 gennaio 2013 4.30
Risposta

Johan de jong

Punteggio: Junior Member

Messaggi: 41

Data di Iscrizione: 6 febbraio 2012

Messaggi recenti

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 gennaio 2013 5.34
Risposta

Johan de jong

Punteggio: Junior Member

Messaggi: 41

Data di Iscrizione: 6 febbraio 2012

Messaggi recenti

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 gennaio 2013 5.47
Risposta

Johan de jong

Punteggio: Junior Member

Messaggi: 41

Data di Iscrizione: 6 febbraio 2012

Messaggi recenti

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 gennaio 2013 6.47
Risposta

Michael Young

LIFERAY STAFF

Punteggio: Liferay Master

Messaggi: 847

Data di Iscrizione: 4 agosto 2004

Messaggi recenti

Liferay Sync is only supported under Liferay Portal 6.1.1 GA2. You will have unreliable behavior under GA1.
Anonimo
RE: Setup fails: For input string: "ay P"
4 gennaio 2013 7.17
Risposta

Anonimo

What is the url and port you are trying to connect to?
Dennis Ju
RE: Setup fails: For input string: "ay P"
4 gennaio 2013 9.25
Risposta

Dennis Ju

LIFERAY STAFF

Punteggio: Regular Member

Messaggi: 168

Data di Iscrizione: 30 settembre 2010

Messaggi recenti

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