Foros de discusión

Creating Liferay Workspace Project fails

Julian Pfeil, modificado hace 6 años.

Creating Liferay Workspace Project fails

Junior Member Mensajes: 72 Fecha de incorporación: 1/03/16 Mensajes recientes
Hey,

i tried this with Eclipse Neon and Eclipse Oxygen, but it fails with both:

After installing/unzipping eclipse i installed the Liferay IDE plugin (latest stable).
Then i right clicked into project explorer -> new -> Liferay Workspace Project.
I ticked the "Download Liferay bundle" checkbox and entered the sourceforce direct download link for the bundle url (also tried with the default url - leaveing the fields blank).
When i click finish the wizard sets up the workspace folders but fails at downloading the bundle with the following error message:
Working Directory: D:\liferay\Eclipse IDE\jdt-master\ws\S1
Gradle User Home: C:\Users\xxx\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 3.0
Java Home: C:\Program Files\Java\jdk1.8.0_141
JVM Arguments: None
Program Arguments: None
Gradle Tasks: initBundle

:downloadBundle FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':downloadBundle'.
> javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED


The URL i put into the URL field is: https://downloads.sourceforge.net/project/lportal/Liferay%20Portal/7.0.3%20GA4/liferay-ce-portal-tomcat-7.0-ga4-20170613175008905.zip

Is this a bug or am i missing something here?

Kind Regards,
Julian
thumbnail
Christoph Rabel, modificado hace 6 años.

RE: Creating Liferay Workspace Project fails

Liferay Legend Mensajes: 1554 Fecha de incorporación: 24/09/09 Mensajes recientes
No idea what the root of the issue is. Looks more like a problem with Java and the certificate trust store. Oracle released a bunch of security fixes a couple of days ago, did you upgrade your java version last week? Maybe it is related to that.

You can easily work around that. Downloading the bundle is just a convenience function.
Download the bundle manually using a browser and unzip it yourself. By default, the bundles folder is located directly in the workspace:

$ ls
build.gradle configs gradle.properties gradlew.bat settings.gradle wars
bundles gradle gradlew modules themes

And it contains the following files/folders:
$ ls bundles/
data license osgi portal-setup-wizard.properties tools
deploy logs portal-ext.properties tomcat-8.0.32 work

hth
Julian Pfeil, modificado hace 6 años.

RE: Creating Liferay Workspace Project fails

Junior Member Mensajes: 72 Fecha de incorporación: 1/03/16 Mensajes recientes
Christoph Rabel:
No idea what the root of the issue is. Looks more like a problem with Java and the certificate trust store. Oracle released a bunch of security fixes a couple of days ago, did you upgrade your java version last week? Maybe it is related to that.

You can easily work around that. Downloading the bundle is just a convenience function.
Download the bundle manually using a browser and unzip it yourself. By default, the bundles folder is located directly in the workspace:

$ ls
build.gradle configs gradle.properties gradlew.bat settings.gradle wars
bundles gradle gradlew modules themes

And it contains the following files/folders:
$ ls bundles/
data license osgi portal-setup-wizard.properties tools
deploy logs portal-ext.properties tomcat-8.0.32 work

hth


Yep, i added the server manually but i think this issue should be fixed. Especially if it would indeed be the case that this is originated in the latest java security fixes. Because why have a functionality providede in the UI if it does not workemoticon (even though it's not a blocker)

Kind Regards
thumbnail
Cody Hoag, modificado hace 6 años.

RE: Creating Liferay Workspace Project fails

Junior Member Mensajes: 70 Fecha de incorporación: 26/04/12 Mensajes recientes
Hi Julian,

This sounds similar to what was documented in the following section:

https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/configuring-a-liferay-workspace#certification-issues-in-liferay-workspace

Can you let me know if that fixes the download problems? Thanks!