フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド数 [ 前へ | 次へ ]
toggle
Nisarg Parikh
Liferay 6.1 and JasperReportServer
2012/08/31 3:10
答え

Nisarg Parikh

ランク: Regular Member

投稿数: 244

参加年月日: 2009/12/30

最近の投稿

Hi All,

I am using below components for JasperReport integration.

LR 6.1 CE
jasperreports-server-cp-4.0.0-windows-installer_4.exe
JasperReportsServer-portlet-4.0.0-Liferay.war
MySQL 5.1

I am able to install server and deploy portlet successfully. I have put portlet on page but it give me below error.

"Reports Unavailable
Please log in to use JasperReportsServer portlet or contact your JasperSoft administrator"

So when I try to login to jasperserver "http://localhost:8080/jasperserver" it throws below exception:

 1
 2java.lang.IllegalArgumentException: Negative time
 3    java.io.File.setLastModified(File.java:1258)
 4    org.apache.jasper.compiler.Compiler.compile(Compiler.java:376)
 5    org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
 6    org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
 7    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
 8    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
 9    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
10    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
11    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
12    org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
13    org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:684)
14    org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:678)
15    com.liferay.portal.kernel.servlet.PageContextWrapper.include(PageContextWrapper.java:175)
16    org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:103)
17    org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96)
18    org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
19    org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:103)
20    org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:669)
21    org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:689)
22    org.apache.tiles.impl.BasicTilesContainer.renderContext(BasicTilesContainer.java:176)
23    org.apache.tiles.jsp.taglib.InsertTemplateTag.renderContext(InsertTemplateTag.java:91)
24    org.apache.tiles.jsp.taglib.InsertTemplateTag.render(InsertTemplateTag.java:81)
25    org.apache.tiles.jsp.taglib.RenderTag.doEndTag(RenderTag.java:220)
26    org.apache.jsp.WEB_002dINF.jsp.modules.login.login_jsp._jspService(login_jsp.java:547)
27    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
28    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
29    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
30    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
31    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
32    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
33    com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:127)
34    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:56)
35    org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236)
36    org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
37    org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
38    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
39    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
40    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
41    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
42    javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
43    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
44    com.jaspersoft.jasperserver.war.common.UploadMultipartFilter.doFilter(UploadMultipartFilter.java:83)
45    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
46    com.jaspersoft.jasperserver.war.security.JSSwitchUserProcessingFilter.doFilterHttp(JSSwitchUserProcessingFilter.java:154)
47    org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
48    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
49    org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
50    org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
51    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
52    org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
53    org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
54    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
55    org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
56    org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
57    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
58    com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139)
59    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
60    com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:97)
61    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
62    org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
63    org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
64    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
65    com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:184)
66    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
67    org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
68    org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
69    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
70    com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:184)
71    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
72    com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53)
73    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
74    org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
75    org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
76    org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
77    org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
78    org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
79    com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)
80    org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
81    org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)


What is the issue? Is jasper portlet works for 6.1?

Please help me.

Thanks in Advance

Nisarg
David H Nebinger
RE: Liferay 6.1 and JasperReportServer
2012/08/31 5:59
答え

David H Nebinger

ランク: Liferay Legend

投稿数: 4496

参加年月日: 2006/09/01

最近の投稿

Well on the surface it appears that the code is trying to set the last modified time to a point in the past (not allowed).

If I had to guess I'd say the jasper server is running in UTC mode but the code isn't handling that so well...

In any case it's probably something for the Jasper forums...
Hitoshi Ozawa
RE: Liferay 6.1 and JasperReportServer
2012/09/01 5:08
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿数: 8000

参加年月日: 2010/03/23

最近の投稿

Probably best to follow the instruction in the message and post your questions to Jaspersoft's JasperServer forum instead of here.

"Reports Unavailable
Please log in to use JasperReportsServer portlet or contact your JasperSoft administrator"