-
Notifications
You must be signed in to change notification settings - Fork 50
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
Repo module start on one docker machine and don't on another #26
Comments
This isn't something that I've ran into unfortunately and appears to be an issue with the environment. This appears to be a related bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=62353 |
I sow this bug. I don't think it's about it. 62353 was patched in in tomcat 7.0.88. Alfresco use tomcat 8.5.34 now. |
Ok, so you are trying to compile/use Java 11? Is this supported with Alfresco? I haven't investigated how to compile this for anything besides Java 8. There might need to be some changes to get this to work. |
I must use Java 11 because Alfresco 6.1 docker images build on it. |
Have a look at this comment from the dynamic extensions readme. Seems to be a known issue: |
Problem is to move repo module to another machine. I made docker image witch works fine on one machine and don't start on another. OS, docker, docker-compose the same versions. Error goes on starting container:
ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
alfresco_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscript.onlyoffice.callback.post' defined in URL [jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/onlyoffice-alfresco-repo.jar!/com/parashift/onlyoffice/CallBack.class]: Post-processing of merged bean definition failed; nested exception is java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String;
It's does not meter where to build image. On first machine it works, on second not.
I spend a week for nothing. I need your advice.
The text was updated successfully, but these errors were encountered: