Foren

Can't initial Liferay sync...Please help

thumbnail
Niki Lin, geändert vor 10 Jahren.

Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
I've downloaded Liferay Sync 1.0.10 GA4 and install it.
After installation, I launch it and it disappeared soon. I have no any chance to get into the setting to configure it.
And then, it seems not be initialized.
I didn't see any error log in log file and there is no any information message pop up on windows.

Dose anyone know how to fix it? Thx.

Best regards,
Niki@TW
thumbnail
David H Nebinger, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Liferay Legend Beiträge: 14914 Beitrittsdatum: 02.09.06 Neueste Beiträge
For what platform (windows, linux, mobile)?
What version of java?
Using a jre or a jdk?
What vendor for java (sun/oracle, openjdk, ...)?
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
David H Nebinger:
For what platform (windows, linux, mobile)?
What version of java?
Using a jre or a jdk?
What vendor for java (sun/oracle, openjdk, ...)?


It's Windows 7 and jdk 1.7 from oracle.
Thanks.

Best regards,
Niki@TW
thumbnail
Dennis Ju, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Do you see the Liferay Sync icon in the tray on the bottom right? It may be hidden, so you may need to click on the arrow icon. If it's not running at all (it crashes), please attach the logs. Thanks.
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Dennis Ju:
Do you see the Liferay Sync icon in the tray on the bottom right? It may be hidden, so you may need to click on the arrow icon. If it's not running at all (it crashes), please attach the logs. Thanks.


I checked it and there is no any Liferay sync icon.
I think it's not launched successfully.
There is no any log in Liferay sync folder so I am so confused...
Thanks.

Best regards,
Niki@TW
thumbnail
David H Nebinger, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Liferay Legend Beiträge: 14914 Beitrittsdatum: 02.09.06 Neueste Beiträge
I'd try using JDK 1.6 rather than 1.7...
Gail Hernandez, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Gail Hernandez:
Niki Lin:

I checked it and there is no any Liferay sync icon.
I think it's not launched successfully.
There is no any log in Liferay sync folder so I am so confused...
Thanks.

Best regards,
Niki@TW



If you bring up your task list do you see liferay sync listed in the application or processes?

If you go to you c:/Users/[your user name]/ is there a .liferay-sync folder? If so please attach the logs.


I've attached the log file and seems to have some error logs.
Would you please check the log?
Thanks for your great help.

Best regards,
Niki@TW
thumbnail
Dennis Ju, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Hi Niki,

What version specifically of Java 1.7 are you running? According to your logs, it appears you're running into this bug with the JDK: link. It should have been fixed in Java 1.7b128.
thumbnail
Dennis Ju, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
I created SYNC-1050 to work around this issue.
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Dennis Ju:
Hi Niki,

What version specifically of Java 1.7 are you running? According to your logs, it appears you're running into this bug with the JDK: link. It should have been fixed in Java 1.7b128.


My JDK version is 1.7.0_21.
I will try the version you suggest.
Thanks for your great help.
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Dennis Ju:
Hi Niki,

What version specifically of Java 1.7 are you running? According to your logs, it appears you're running into this bug with the JDK: link. It should have been fixed in Java 1.7b128.



I tried the version 1.7.0_25 and the problem is the same.
Could you please tell me where the version 1.7b128 can be downloaded?
Thanks.

Best regards,
Niki@TW
thumbnail
Dennis Ju, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Hm, I'm not sure how the beta numbers correspond to the JDK release versions, but 1.7.0_25 was just updated a couple months ago, so you should already have the fix. Looking online, the problem seems to occur sporadically, but I can't seem to pinpoint the exact reason for it and I haven't been able to reproduce locally.

The 1.1.1 GA1 release has a hardcoded workaround for the issue and it should be available at the end of this week.
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Dennis Ju:
Hm, I'm not sure how the beta numbers correspond to the JDK release versions, but 1.7.0_25 was just updated a couple months ago, so you should already have the fix. Looking online, the problem seems to occur sporadically, but I can't seem to pinpoint the exact reason for it and I haven't been able to reproduce locally.

The 1.1.1 GA1 release has a hardcoded workaround for the issue and it should be available at the end of this week.


Thanks for your great help.
I'll try the next version of Liferay Sync and check if it's the same problem or not.

Best regards,
Niki@TW
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Dear Dennis,
I've downloaded the latest version of Liferay Sync and completed installation.
It finally works. Thanks for your great help again!

But now I face another problem.
When I launch it and input the server information in the property window, it appears "TLS SSL Context not available".
After installation, should I modify any other configuration?
Thanks.

Best regards,
Niki@TW
thumbnail
Dennis Ju, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
I haven't seen this issue before. Can you send me your logs found in [your user account]/.liferay-sync/logs? You can email dennis.ju@liferay.com. Thanks.
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Dennis Ju:
I haven't seen this issue before. Can you send me your logs found in [your user account]/.liferay-sync/logs? You can email dennis.ju@liferay.com. Thanks.



I've sent you the log file. Please help me to check it.
Thanks.

Best regards,
Niki@TW
thumbnail
Dennis Ju, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Are you connecting to your server using https and not http (so your Server field should look like, https://myLiferayPortal.com).

When you go to your portal in the browser, does it complain that you're using a self-trusted certificate or that the certificate has expired?
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Dennis Ju:
Are you connecting to your server using https and not http (so your Server field should look like, https://myLiferayPortal.com).

When you go to your portal in the browser, does it complain that you're using a self-trusted certificate or that the certificate has expired?


Dear Dennis,
I didn't use https protocol. So, if I wanna use Liferay Sync, the portal should use https protocol?
Would you tell me how to configure it?
Thanks.

Best regards,
Niki@TW
thumbnail
Dennis Ju, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Hi Niki,

Sync is compatible with both http and https. When you connect to your portal through a web browser, is it over https? Some servers will be configured to automatically redirect to https. From the logs, it appears that your server is expecting a secured connection, so try entering "https://yourservername".
thumbnail
Niki Lin, geändert vor 10 Jahren.

RE: Can't initial Liferay sync...Please help

Junior Member Beiträge: 31 Beitrittsdatum: 09.05.13 Neueste Beiträge
Dennis Ju:
Hi Niki,

Sync is compatible with both http and https. When you connect to your portal through a web browser, is it over https? Some servers will be configured to automatically redirect to https. From the logs, it appears that your server is expecting a secured connection, so try entering "https://yourservername".


Dear Dennis,
Thanks for your reply.
My web browser didn't connect to portal over https but http. When I try to connect over https, the portal can't be entered.
Our portal is built in intranet and our employees can enter it in office. When we get off office(home, hotel, etc.), we can't access the portal by internet.
But we can access the portal if we connected to our citrix server first.
Is it the secure problem you mentioned?

Best regards,
Niki@TW