HTTP Status 500 java.lang.NoClassDefFoundError on Ububtu 16.04.1 Server 64 with openJDK 8

596 views
Skip to first unread message

Alexey Luzin

unread,
Jan 10, 2017, 11:31:03 AM1/10/17
to manydesigns-portofino
HTTP Status 500 java.lang.NoClassDefFoundError on Ububtu 16.04.1 Server 64 with openJDK 8

Hi guys!

First I tried Portofino on Mac OS X, everything worked as described on Documentation page.

Next I installed Portofino on Ububtu 16.04.1 Server 64.
After starting the Tomcat I open http://ip:8080 and see such errors:

I tried vanilla Ubuntu instance installed in my VirtualBox and in Digital Ocean hosting.
Both times get the same error .

Please suggest what could be wrong. Thanks!

Alessio Stalla

unread,
Jan 10, 2017, 11:44:24 AM1/10/17
to manydesign...@googlegroups.com
Hi, that looks strange.
Can you post the entire error page? Like cut'n'pasting the text.

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.
To post to this group, send email to manydesigns-portofino@googlegroups.com.
Visit this group at https://groups.google.com/group/manydesigns-portofino.
For more options, visit https://groups.google.com/d/optout.

Alexey Luzin

unread,
Jan 10, 2017, 11:53:48 AM1/10/17
to manydesigns-portofino
Hi Alessio, thank you for replying!

I get different error reports when refresh the page, so I post them separated

=====
type Exception report

message java.lang.NoClassDefFoundError: Could not initialize class org.apache.taglibs.standard.util.XmlUtil

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.taglibs.standard.util.XmlUtil
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:338)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
com.manydesigns.portofino.stripes.SimpleDynamicMappingFilter.doFilter(SimpleDynamicMappingFilter.java:62)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:131)
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:497)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:176)
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:103)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:173)
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:173)
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:86)
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:491)
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.manydesigns.portofino.stripes.SimpleDynamicMappingFilter.doFilter(SimpleDynamicMappingFilter.java:60)
com.manydesigns.portofino.servlets.I18nFilter.doFilter(I18nFilter.java:60)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
com.manydesigns.portofino.servlets.CleanupFilter.doFilter(CleanupFilter.java:46)
com.manydesigns.portofino.servlets.DispatcherFilter.doFilter(DispatcherFilter.java:61)
org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
com.manydesigns.elements.servlet.ElementsFilter.doHttpFilter(ElementsFilter.java:132)
com.manydesigns.elements.servlet.ElementsFilter.doFilter(ElementsFilter.java:83)
root cause

java.lang.NoClassDefFoundError: Could not initialize class org.apache.taglibs.standard.util.XmlUtil
org.apache.taglibs.standard.tlv.JstlBaseTLV.validate(JstlBaseTLV.java:154)
org.apache.taglibs.standard.tlv.JstlCoreTLV.validate(JstlCoreTLV.java:97)
org.apache.jasper.compiler.TagLibraryInfoImpl.validate(TagLibraryInfoImpl.java:389)
org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1890)
org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1859)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:219)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:600)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:368)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
com.manydesigns.portofino.stripes.SimpleDynamicMappingFilter.doFilter(SimpleDynamicMappingFilter.java:62)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:131)
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:497)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:176)
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:103)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:173)
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:173)
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:86)
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:491)
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.manydesigns.portofino.stripes.SimpleDynamicMappingFilter.doFilter(SimpleDynamicMappingFilter.java:60)
com.manydesigns.portofino.servlets.I18nFilter.doFilter(I18nFilter.java:60)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
com.manydesigns.portofino.servlets.CleanupFilter.doFilter(CleanupFilter.java:46)
com.manydesigns.portofino.servlets.DispatcherFilter.doFilter(DispatcherFilter.java:61)
org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
com.manydesigns.elements.servlet.ElementsFilter.doHttpFilter(ElementsFilter.java:132)
com.manydesigns.elements.servlet.ElementsFilter.doFilter(ElementsFilter.java:83)
note The full stack trace of the root cause is available in the Apache Tomcat/8.5.5 logs.

===== Another report

type Exception report

message java.lang.ClassNotFoundException: org.apache.jsp.m.pageactions.text.read_jsp

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.m.pageactions.text.read_jsp
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:176)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:380)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
com.manydesigns.portofino.stripes.SimpleDynamicMappingFilter.doFilter(SimpleDynamicMappingFilter.java:62)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:131)
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:497)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:176)
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:103)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:173)
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:173)
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:86)
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:491)
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.manydesigns.portofino.stripes.SimpleDynamicMappingFilter.doFilter(SimpleDynamicMappingFilter.java:60)
com.manydesigns.portofino.servlets.I18nFilter.doFilter(I18nFilter.java:60)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
com.manydesigns.portofino.servlets.CleanupFilter.doFilter(CleanupFilter.java:46)
com.manydesigns.portofino.servlets.DispatcherFilter.doFilter(DispatcherFilter.java:61)
org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
com.manydesigns.elements.servlet.ElementsFilter.doHttpFilter(ElementsFilter.java:132)
com.manydesigns.elements.servlet.ElementsFilter.doFilter(ElementsFilter.java:83)
root cause

java.lang.ClassNotFoundException: org.apache.jsp.m.pageactions.text.read_jsp
java.net.URLClassLoader.findClass(URLClassLoader.java:381)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:129)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:60)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:171)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:380)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
com.manydesigns.portofino.stripes.SimpleDynamicMappingFilter.doFilter(SimpleDynamicMappingFilter.java:62)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:131)
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:497)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:176)
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:103)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:173)
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:173)
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:86)
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:491)
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.manydesigns.portofino.stripes.SimpleDynamicMappingFilter.doFilter(SimpleDynamicMappingFilter.java:60)
com.manydesigns.portofino.servlets.I18nFilter.doFilter(I18nFilter.java:60)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)
com.manydesigns.portofino.servlets.CleanupFilter.doFilter(CleanupFilter.java:46)
com.manydesigns.portofino.servlets.DispatcherFilter.doFilter(DispatcherFilter.java:61)
org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
com.manydesigns.elements.servlet.ElementsFilter.doHttpFilter(ElementsFilter.java:132)
com.manydesigns.elements.servlet.ElementsFilter.doFilter(ElementsFilter.java:83)
note The full stack trace of the root cause is available in the Apache Tomcat/8.5.5 logs.


On Tuesday, January 10, 2017 at 6:44:24 PM UTC+2, Alessio Stalla wrote:
Hi, that looks strange.
Can you post the entire error page? Like cut'n'pasting the text.
On 10 January 2017 at 17:31, Alexey Luzin <zdy...@gmail.com> wrote:
HTTP Status 500 java.lang.NoClassDefFoundError on Ububtu 16.04.1 Server 64 with openJDK 8

Hi guys!

First I tried Portofino on Mac OS X, everything worked as described on Documentation page.

Next I installed Portofino on Ububtu 16.04.1 Server 64.
After starting the Tomcat I open http://ip:8080 and see such errors:

I tried vanilla Ubuntu instance installed in my VirtualBox and in Digital Ocean hosting.
Both times get the same error .

Please suggest what could be wrong. Thanks!

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.
To post to this group, send email to manydesign...@googlegroups.com.

Alessio Stalla

unread,
Jan 10, 2017, 11:58:29 AM1/10/17
to manydesign...@googlegroups.com
Sorry, it says:

note The full stack trace of the root cause is available in the Apache Tomcat/8.5.5 logs.

so to actually get to the root problem you should post the entire log (catalina.out).
We got another similar report in the past that we couldn't reproduce and the reporting user never said if/how he solved it. I think it's some weird JVM + Tomcat + OS combination, but I'm not sure.

To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsubscri...@googlegroups.com.
To post to this group, send email to manydesign...@googlegroups.com.
Visit this group at https://groups.google.com/group/manydesigns-portofino.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.
To post to this group, send email to manydesigns-portofino@googlegroups.com.

Alessio Stalla

unread,
Jan 10, 2017, 12:01:51 PM1/10/17
to manydesign...@googlegroups.com

Alessio Stalla

unread,
Jan 10, 2017, 12:03:43 PM1/10/17
to manydesign...@googlegroups.com
BTW, I've used Portofino 4.2.2 and Tomcat 8 successfully on a Digital Ocean Ubuntu node, without any special setup that I remember.

Alexey Luzin

unread,
Jan 10, 2017, 12:10:07 PM1/10/17
to manydesigns-portofino
Ok, catalina.out is attached to this message.

Maybe somewhere in logs you can notice that I tried different JAVA_HOME paths and different memory configurations (512MB, 1GB, 2GB) — that all were the steps to reveal a problem
catalina.out

Alessio Stalla

unread,
Jan 10, 2017, 12:28:47 PM1/10/17
to manydesign...@googlegroups.com
Ok, it seems the same bug found by our user. And by Googling it only one result appears: https://github.com/jenkinsci/jenkins/pull/2404
It mentions paths with spaces. Do you happen to have spaces somewhere in the path of the application? Or in the name of a database, schema, table? This is a only wild guess.
We will try to reproduce the issue. It sounds like some broken transitive dependency.

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.

Alessio Stalla

unread,
Jan 10, 2017, 12:46:48 PM1/10/17
to manydesign...@googlegroups.com
If you don't plan to use the crud-to-PDF feature, and have enough Java expertise, try to remove all fop, batik and xalan artifacts from the lib directory. Otherwise, unfortunately we probably have to fix our dependency on Apache FOP and related libraries and issue a new release, sorry.

On 10 January 2017 at 18:28, Alessio Stalla <alessi...@gmail.com> wrote:
Ok, it seems the same bug found by our user. And by Googling it only one result appears: https://github.com/jenkinsci/jenkins/pull/2404
It mentions paths with spaces. Do you happen to have spaces somewhere in the path of the application? Or in the name of a database, schema, table? This is a only wild guess.
We will try to reproduce the issue. It sounds like some broken transitive dependency.
On 10 January 2017 at 18:10, Alexey Luzin <zdy...@gmail.com> wrote:
Ok, catalina.out is attached to this message.

Maybe somewhere in logs you can notice that I tried different JAVA_HOME paths and different memory configurations (512MB, 1GB, 2GB) — that all were the steps to reveal a problem


On Tuesday, January 10, 2017 at 6:31:03 PM UTC+2, Alexey Luzin wrote:
HTTP Status 500 java.lang.NoClassDefFoundError on Ububtu 16.04.1 Server 64 with openJDK 8

Hi guys!

First I tried Portofino on Mac OS X, everything worked as described on Documentation page.

Next I installed Portofino on Ububtu 16.04.1 Server 64.
After starting the Tomcat I open http://ip:8080 and see such errors:

I tried vanilla Ubuntu instance installed in my VirtualBox and in Digital Ocean hosting.
Both times get the same error .

Please suggest what could be wrong. Thanks!

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsubscri...@googlegroups.com.

Alexey Luzin

unread,
Jan 10, 2017, 1:17:54 PM1/10/17
to manydesigns-portofino
For sure there are no any spaces in path to app or path to java. I'm not sure about all paths inside Portofino distributive but I guess there are no spaces.
And is the planned date of next release known already?
Thanks!


On Tuesday, January 10, 2017 at 7:46:48 PM UTC+2, Alessio Stalla wrote:
If you don't plan to use the crud-to-PDF feature, and have enough Java expertise, try to remove all fop, batik and xalan artifacts from the lib directory. Otherwise, unfortunately we probably have to fix our dependency on Apache FOP and related libraries and issue a new release, sorry.
On 10 January 2017 at 18:28, Alessio Stalla <alessi...@gmail.com> wrote:
Ok, it seems the same bug found by our user. And by Googling it only one result appears: https://github.com/jenkinsci/jenkins/pull/2404
It mentions paths with spaces. Do you happen to have spaces somewhere in the path of the application? Or in the name of a database, schema, table? This is a only wild guess.
We will try to reproduce the issue. It sounds like some broken transitive dependency.
On 10 January 2017 at 18:10, Alexey Luzin <zdy...@gmail.com> wrote:
Ok, catalina.out is attached to this message.

Maybe somewhere in logs you can notice that I tried different JAVA_HOME paths and different memory configurations (512MB, 1GB, 2GB) — that all were the steps to reveal a problem


On Tuesday, January 10, 2017 at 6:31:03 PM UTC+2, Alexey Luzin wrote:
HTTP Status 500 java.lang.NoClassDefFoundError on Ububtu 16.04.1 Server 64 with openJDK 8

Hi guys!

First I tried Portofino on Mac OS X, everything worked as described on Documentation page.

Next I installed Portofino on Ububtu 16.04.1 Server 64.
After starting the Tomcat I open http://ip:8080 and see such errors:

I tried vanilla Ubuntu instance installed in my VirtualBox and in Digital Ocean hosting.
Both times get the same error .

Please suggest what could be wrong. Thanks!

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.
To post to this group, send email to manydesign...@googlegroups.com.

Alexey Luzin

unread,
Jan 10, 2017, 1:24:35 PM1/10/17
to manydesigns-portofino
If you want to reproduce the bug, I can give you an access to server where it could be reproguced, while it is not a production environment and is intended for testing Portofino only.


On Tuesday, January 10, 2017 at 6:31:03 PM UTC+2, Alexey Luzin wrote:

Alessio Stalla

unread,
Jan 10, 2017, 1:25:14 PM1/10/17
to manydesign...@googlegroups.com
That would be cool.

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.
To post to this group, send email to manydesigns-portofino@googlegroups.com.

Alexey Luzin

unread,
Jan 10, 2017, 1:31:00 PM1/10/17
to manydesigns-portofino
Mailed to you


On Tuesday, January 10, 2017 at 8:25:14 PM UTC+2, Alessio Stalla wrote:
That would be cool.

Il 10 gen 2017 19:24, "Alexey Luzin" <zdy...@gmail.com> ha scritto:
If you want to reproduce the bug, I can give you an access to server where it could be reproguced, while it is not a production environment and is intended for testing Portofino only.

On Tuesday, January 10, 2017 at 6:31:03 PM UTC+2, Alexey Luzin wrote:
HTTP Status 500 java.lang.NoClassDefFoundError on Ububtu 16.04.1 Server 64 with openJDK 8

Hi guys!

First I tried Portofino on Mac OS X, everything worked as described on Documentation page.

Next I installed Portofino on Ububtu 16.04.1 Server 64.
After starting the Tomcat I open http://ip:8080 and see such errors:

I tried vanilla Ubuntu instance installed in my VirtualBox and in Digital Ocean hosting.
Both times get the same error .

Please suggest what could be wrong. Thanks!

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.
To post to this group, send email to manydesign...@googlegroups.com.

Alessio Stalla

unread,
Jan 16, 2017, 5:50:17 AM1/16/17
to manydesign...@googlegroups.com
Hi folks,

just wanted to update you about the issue. There is a problem with some combinations of JDK 8, Tomcat 8.x and the Xalan/Xerces dependencies brought in by Apache FOP (which is used to implement the export-crud-to-pdf feature). Applications created using the bundle from Sourceforge have this optional dependencies built in and suffer from the problem. Applications created using the Maven archetype also have the problem unless you have removed the FOP dependency from the POM.
Portofino 4.2.3 won't suffer from the same issue because we will update the FOP dependency. However, it is not scheduled for release yet. In the meantime, you can exclude those dependencies if you use Maven, or remove the xalan and xercesImpl jars from WEB-INF/lib if you use the SourceForge bundle. Of course you won't be able to export forms to PDF with the built-in code, which anyway is a legacy from the time when Portofino had the export to PDF button by default on every crud page. We removed it long ago because we realized that most often either you don't want that button or you want a custom, pretty PDF print rather than the dry-looking generated one. So, probably you aren't using the feature because you don't even know it exists ;)

Sorry for the inconvenience.

On 10 January 2017 at 19:31, Alexey Luzin <zdy...@gmail.com> wrote:
Mailed to you

On Tuesday, January 10, 2017 at 8:25:14 PM UTC+2, Alessio Stalla wrote:
That would be cool.

Il 10 gen 2017 19:24, "Alexey Luzin" <zdy...@gmail.com> ha scritto:
If you want to reproduce the bug, I can give you an access to server where it could be reproguced, while it is not a production environment and is intended for testing Portofino only.

On Tuesday, January 10, 2017 at 6:31:03 PM UTC+2, Alexey Luzin wrote:
HTTP Status 500 java.lang.NoClassDefFoundError on Ububtu 16.04.1 Server 64 with openJDK 8

Hi guys!

First I tried Portofino on Mac OS X, everything worked as described on Documentation page.

Next I installed Portofino on Ububtu 16.04.1 Server 64.
After starting the Tomcat I open http://ip:8080 and see such errors:

I tried vanilla Ubuntu instance installed in my VirtualBox and in Digital Ocean hosting.
Both times get the same error .

Please suggest what could be wrong. Thanks!

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsubscri...@googlegroups.com.
To post to this group, send email to manydesign...@googlegroups.com.
Visit this group at https://groups.google.com/group/manydesigns-portofino.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.
To post to this group, send email to manydesigns-portofino@googlegroups.com.

Alexey Luzin

unread,
Jan 16, 2017, 5:58:16 AM1/16/17
to manydesigns-portofino
Alessio, great work, thanks!


On Monday, January 16, 2017 at 12:50:17 PM UTC+2, Alessio Stalla wrote:
Hi folks,

just wanted to update you about the issue. There is a problem with some combinations of JDK 8, Tomcat 8.x and the Xalan/Xerces dependencies brought in by Apache FOP (which is used to implement the export-crud-to-pdf feature). Applications created using the bundle from Sourceforge have this optional dependencies built in and suffer from the problem. Applications created using the Maven archetype also have the problem unless you have removed the FOP dependency from the POM.
Portofino 4.2.3 won't suffer from the same issue because we will update the FOP dependency. However, it is not scheduled for release yet. In the meantime, you can exclude those dependencies if you use Maven, or remove the xalan and xercesImpl jars from WEB-INF/lib if you use the SourceForge bundle. Of course you won't be able to export forms to PDF with the built-in code, which anyway is a legacy from the time when Portofino had the export to PDF button by default on every crud page. We removed it long ago because we realized that most often either you don't want that button or you want a custom, pretty PDF print rather than the dry-looking generated one. So, probably you aren't using the feature because you don't even know it exists ;)

Sorry for the inconvenience.
On 10 January 2017 at 19:31, Alexey Luzin <zdy...@gmail.com> wrote:
Mailed to you

On Tuesday, January 10, 2017 at 8:25:14 PM UTC+2, Alessio Stalla wrote:
That would be cool.

Il 10 gen 2017 19:24, "Alexey Luzin" <zdy...@gmail.com> ha scritto:
If you want to reproduce the bug, I can give you an access to server where it could be reproguced, while it is not a production environment and is intended for testing Portofino only.

On Tuesday, January 10, 2017 at 6:31:03 PM UTC+2, Alexey Luzin wrote:
HTTP Status 500 java.lang.NoClassDefFoundError on Ububtu 16.04.1 Server 64 with openJDK 8

Hi guys!

First I tried Portofino on Mac OS X, everything worked as described on Documentation page.

Next I installed Portofino on Ububtu 16.04.1 Server 64.
After starting the Tomcat I open http://ip:8080 and see such errors:

I tried vanilla Ubuntu instance installed in my VirtualBox and in Digital Ocean hosting.
Both times get the same error .

Please suggest what could be wrong. Thanks!

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.
To post to this group, send email to manydesign...@googlegroups.com.
Visit this group at https://groups.google.com/group/manydesigns-portofino.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-portofino+unsub...@googlegroups.com.

Selvaraj Thillai

unread,
Mar 29, 2021, 5:03:59 AM3/29/21
to manydesigns-portofino
tomcat 9.x some of the JSP were not compiled in some servers redhat 64 bit, any reasons or particular tomcat version to be used ?
Reply all
Reply to author
Forward
0 new messages