New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle JDK 1.8.0_66 EXCEPTION_ACCESS_VIOLATION #347

Closed
lello1978 opened this Issue Nov 20, 2015 · 5 comments

Comments

Projects
None yet
5 participants
@lello1978

lello1978 commented Nov 20, 2015

I'm using Eclipse Mars 4.5.1
Maven 3.3.3
Alfresco SDK 2.1.1 from latest artifact

If i try to use 64bit Oracle JDK version 1.8.0_66 or version 1.8.0_65 i receive EXCEPTION_ACCESS_VIOLATION only if the parameter -javaagent:"C:\Users\MARCELLO MODICA\Downloads\springloaded-1.2.3.RELEASE.jar" -noverify is setted up.

hs_err_pid8152.txt
replay_pid8152.txt

Without springloaded parameter i can do the integration-test and amp-to-war.

Searching for solutions, I added the -XInit parameter but it is too slow for me. With -Xinit, amp-to-war, start without problem in 64bit mode!!!.
In order to use springloaded , the only solution i found is to use 32bit JDK (same version), and set 1GB in -Xmx JVM parameters. I'm new to alfresco developmnet and i need springloaded to speedup dev. I search in spring repo for different version of JAR springloaded library but the issue appear again.

I did not found any docs about spingloaded JVM compatibility.

Regards

@jgoldhammer

This comment has been minimized.

Show comment
Hide comment
@jgoldhammer

jgoldhammer Nov 20, 2015

Collaborator

I am not recommending springloaded at all. It was not working for me until JDK 8.
I am using JRebel in the last weeks and it just works great.

Collaborator

jgoldhammer commented Nov 20, 2015

I am not recommending springloaded at all. It was not working for me until JDK 8.
I am using JRebel in the last weeks and it just works great.

@lello1978

This comment has been minimized.

Show comment
Hide comment
@lello1978

lello1978 Nov 21, 2015

Thanks for response jgoldhammer ...I'm try to use it with jdk 1.8.0u66 x64....but it work perfectly with x86 version. Have someone try the latest alfresco sdk with jdk 1.8.0u66 x64?
Can someone post links about JVM compatibility between JDK , Alfresco SDK and springloaded releases?
Regards

lello1978 commented Nov 21, 2015

Thanks for response jgoldhammer ...I'm try to use it with jdk 1.8.0u66 x64....but it work perfectly with x86 version. Have someone try the latest alfresco sdk with jdk 1.8.0u66 x64?
Can someone post links about JVM compatibility between JDK , Alfresco SDK and springloaded releases?
Regards

@tom-vandepoele

This comment has been minimized.

Show comment
Hide comment
@tom-vandepoele

tom-vandepoele Jan 27, 2016

Contributor

This error occurs when you're trying to run the project using Eclipse's embedded maven.

Go to windows -> preferences -> maven -> installations and define an external maven installation. In your runtime configuration, scroll to the bottom of the main tab and select the external maven as your maven runtime.

Works like a charm. Springloaded is great, but grab the latest version from https://github.com/spring-projects/spring-loaded as some of the earlier versions had some problems and didn't auto-reload all resources you'd expect.

Contributor

tom-vandepoele commented Jan 27, 2016

This error occurs when you're trying to run the project using Eclipse's embedded maven.

Go to windows -> preferences -> maven -> installations and define an external maven installation. In your runtime configuration, scroll to the bottom of the main tab and select the external maven as your maven runtime.

Works like a charm. Springloaded is great, but grab the latest version from https://github.com/spring-projects/spring-loaded as some of the earlier versions had some problems and didn't auto-reload all resources you'd expect.

@tanmoybanerjee2003

This comment has been minimized.

Show comment
Hide comment
@tanmoybanerjee2003

tanmoybanerjee2003 Feb 21, 2016

Thank you so much tom-vandepoele for saving my debugging effort. Your suggestion, indeed, worked like a charm !

I was getting "EXCEPTION_ACCESS_VIOLATION" with 64-bit Oracle JDK 1.8. The error vanished after I changed from embedded Maven to my external Maven 3.3.3, .

tanmoybanerjee2003 commented Feb 21, 2016

Thank you so much tom-vandepoele for saving my debugging effort. Your suggestion, indeed, worked like a charm !

I was getting "EXCEPTION_ACCESS_VIOLATION" with 64-bit Oracle JDK 1.8. The error vanished after I changed from embedded Maven to my external Maven 3.3.3, .

@gravitonian

This comment has been minimized.

Show comment
Hide comment
@gravitonian

gravitonian Feb 29, 2016

Contributor

Updated the SDK 2.1 Docs (Alfresco 5.0) and the SDK 2.2 Docs (Alfresco 5.1) with information on how to configure and use the external Maven installation in Eclipse.

Contributor

gravitonian commented Feb 29, 2016

Updated the SDK 2.1 Docs (Alfresco 5.0) and the SDK 2.2 Docs (Alfresco 5.1) with information on how to configure and use the external Maven installation in Eclipse.

@gravitonian gravitonian added this to the 2.2.0 milestone Feb 29, 2016

@gravitonian gravitonian self-assigned this Feb 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment