cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 6.2 doesn't run as expted after Linux/Debian testing upgrade

jkb
Confirmed Champ
Confirmed Champ

Hello,

I'm using Alfresco for a while without trouble on a Linux server (Devuan testing, amd64). Tomcat was configured with Java 11 (openjdk), Alfresco ran fine with all standard stuff and OCR.

Last week, I have upgraded my server. Since upgrade, Alfresco doesn't run anymore.

If I try to access to https://alfresco-server/share/page, I obtain login screen, but after login, I only obtain a white page.

Apache configuration has not change, jk module is configured and actived (I have checked that reverse proxy runs). In alfresco log, I have a lot of :

 

29-Oct-2024 16:31:04.302 GRAVE [ajp-nio-127.0.0.1-8009-exec-3] org.apache.catalina.core.ApplicationDispatcher.invoke "Servlet.service()" pour la servlet [jsp] a lancé une exception
java.lang.IllegalStateException: Aucun compilateur Java disponible pour les options de configuration compilerClassName : [null] et compiler : [null]
at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:237)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)

 

If I try to access to https://alfresco-server, I only obtain a error 500:

org.apache.jasper.JasperException: java.lang.IllegalStateException: Aucun compilateur Java disponible pour les options de configuration compilerClassName : [null] et compiler : [null]
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:589)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:425)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

I don't understand why Tomcat (?) doesn't find a java compiler.

I have try to fix this issue without success. Help will be welcome.

Best regards,

JB

3 REPLIES 3

openpj
Elite Collaborator
Elite Collaborator

It seems that there is something wrong with your Tomcat configuration, check the $CATALINA_BASE/conf/web.xml and try to understand how the servlet element is declared in your current environment. I guess that you probably have something different there 😛 in your new server

jkb
Confirmed Champ
Confirmed Champ

Nope 😉

I have done a strace and I have find that Alfresco tries to open eclipse jdt compiler, not java one. I have added eclipse 3.32 jar files in /var/lib/tomcat9/lib and, now, alfresco runs as expected.

openpj
Elite Collaborator
Elite Collaborator

Great! I'm glad that you solved this issue 😀