cancel
Showing results for 
Search instead for 
Did you mean: 

Did anyone manage to install Share on JBoss? Huge problem!

kot_filemon
Champ in-the-making
Champ in-the-making
I have full working installation of Alfresco.war on JBoss 4.2.1.G.A.

My enviroment:
ubuntu 8.10
java-sun-jdk-1.5.0.16
mysql 5.0
alfresco 3 Stable.

I've followed wiki instructions on installation on jboss http://wiki.alfresco.com/wiki/Install_On_Jboss_4.2.0, i have also tried to add the argument for java virtual machine conneted with jboss issue (found here - http://forums.alfresco.com/en/viewtopic.php?f=8&t=14868&p=48984)

so, i try to login (http://my.ip:8080/share) using admin/admin credentials and I get the following:

"A problem has occurred.
This page could not be rendered:
site-index
Please notify your system administrator. "

plus

org.alfresco.web.framework.exception.RendererExecutionException: Unable to execute 'body' JSP include: /site-index.jsp
   at org.apache.jsp.core.error_002dviewer_jsp._jspService(error_002dviewer_jsp.java:122)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
   at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
   at org.apache.jsp.core.page_002derror_jsp._jspService(page_002derror_jsp.java:75)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
   at org.alfresco.web.framework.render.bean.JSPProcessor.doInclude(JSPProcessor.java:145)
   at org.alfresco.web.framework.render.bean.JSPProcessor.executeBody(JSPProcessor.java:122)
   at org.alfresco.web.framework.render.RenderUtil.renderErrorHandlerPage(RenderUtil.java:817)
   at org.alfresco.web.framework.render.PresentationUtil.handlePageRenderProblem(PresentationUtil.java:222)
   at org.alfresco.web.framework.render.PresentationUtil.renderPage(PresentationUtil.java:89)
   at org.alfresco.web.site.servlet.DispatcherServlet.dispatchPage(DispatcherServlet.java:459)
   at org.alfresco.web.site.servlet.DispatcherServlet.dispatch(DispatcherServlet.java:336)
   at org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:153)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
   at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 13 in the jsp file: /site-index.jsp
The type Map is not generic; it cannot be parameterized with arguments
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map tokens = new HashMap();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
Syntax error, parameterized types are only available if source level is 5.0
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map tokens = new HashMap();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
The type HashMap is not generic; it cannot be parameterized with arguments
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map tokens = new HashMap();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
Syntax error, parameterized types are only available if source level is 5.0
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map tokens = new HashMap();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


Stacktrace:
   at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
   at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
   at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
   at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   at org.alfresco.web.framework.render.bean.JSPProcessor.doInclude(JSPProcessor.java:140)
   at org.alfresco.web.framework.render.bean.JSPProcessor.executeBody(JSPProcessor.java:122)
   at org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
   at org.alfresco.web.framework.render.RenderHelper.processTemplate(RenderHelper.java:376)
   at org.alfresco.web.framework.render.bean.TemplateInstanceRenderer.calculateComponentDependencies(TemplateInstanceRenderer.java:69)
   at org.alfresco.web.framework.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:124)
   at org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
   at org.alfresco.web.framework.render.bean.PageRenderer.body(PageRenderer.java:81)
   at org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
   at org.alfresco.web.framework.render.RenderUtil.startPageRenderer(RenderUtil.java:144)
   at org.alfresco.web.framework.render.RenderUtil.renderPage(RenderUtil.java:117)
   at org.alfresco.web.framework.render.PresentationUtil.renderPage(PresentationUtil.java:85)
   … 22 more

Caused By…
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 13 in the jsp file: /site-index.jsp
The type Map is not generic; it cannot be parameterized with arguments
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map tokens = new HashMap();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
Syntax error, parameterized types are only available if source level is 5.0
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map tokens = new HashMap();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
The type HashMap is not generic; it cannot be parameterized with arguments
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map tokens = new HashMap();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
Syntax error, parameterized types are only available if source level is 5.0
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map tokens = new HashMap();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


Stacktrace:
   at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
   at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
   at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
   at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   at org.alfresco.web.framework.render.bean.JSPProcessor.doInclude(JSPProcessor.java:140)
   at org.alfresco.web.framework.render.bean.JSPProcessor.executeBody(JSPProcessor.java:122)
   at org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
   at org.alfresco.web.framework.render.RenderHelper.processTemplate(RenderHelper.java:376)
   at org.alfresco.web.framework.render.bean.TemplateInstanceRenderer.calculateComponentDependencies(TemplateInstanceRenderer.java:69)
   at org.alfresco.web.framework.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:124)
   at org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
   at org.alfresco.web.framework.render.bean.PageRenderer.body(PageRenderer.java:81)
   at org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
   at org.alfresco.web.framework.render.RenderUtil.startPageRenderer(RenderUtil.java:144)
   at org.alfresco.web.framework.render.RenderUtil.renderPage(RenderUtil.java:117)
   at org.alfresco.web.framework.render.PresentationUtil.renderPage(PresentationUtil.java:85)
   at org.alfresco.web.site.servlet.DispatcherServlet.dispatchPage(DispatcherServlet.java:459)
   at org.alfresco.web.site.servlet.DispatcherServlet.dispatch(DispatcherServlet.java:336)
   at org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:153)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
   at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:595)



and this is what I've found in the alfresco.log

16:18:39,475 ERROR [org.alfresco.web.site.FrameworkHelper] A Page Rendering problem was handled
16:18:39,475 ERROR [org.alfresco.web.site.FrameworkHelper] Page Id: site-index
16:18:39,475 ERROR [org.alfresco.web.site.FrameworkHelper] Trace
org.alfresco.web.framework.exception.RendererExecutionException: Unable to execute 'body' JSP include: /site-index.jsp
   at org.alfresco.web.framework.render.bean.JSPProcessor.executeBody(JSPProcessor.java:126)
   at org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
   at org.alfresco.web.framework.render.RenderHelper.processTemplate(RenderHelper.java:376)
   at org.alfresco.web.framework.render.bean.TemplateInstanceRenderer.calculateComponentDependencies(TemplateInstanceRenderer.java:69)
   at org.alfresco.web.framework.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:124)
   at org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
   at org.alfresco.web.framework.render.bean.PageRenderer.body(PageRenderer.java:81)
   at org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
   at org.alfresco.web.framework.render.RenderUtil.startPageRenderer(RenderUtil.java:144)
   at org.alfresco.web.framework.render.RenderUtil.renderPage(RenderUtil.java:117)
   at org.alfresco.web.framework.render.PresentationUtil.renderPage(PresentationUtil.java:85)
   at org.alfresco.web.site.servlet.DispatcherServlet.dispatchPage(DispatcherServlet.java:459)
   at org.alfresco.web.site.servlet.DispatcherServlet.dispatch(DispatcherServlet.java:336)
   at org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:153)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
   at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 13 in the jsp file: /site-index.jsp
The type Map is not generic; it cannot be parameterized with arguments <String, String>
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map<String, String> tokens = new HashMap<String, String>();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
Syntax error, parameterized types are only available if source level is 5.0
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map<String, String> tokens = new HashMap<String, String>();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
The type HashMap is not generic; it cannot be parameterized with arguments <String, String>
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map<String, String> tokens = new HashMap<String, String>();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


An error occurred at line: 13 in the jsp file: /site-index.jsp
Syntax error, parameterized types are only available if source level is 5.0
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map<String, String> tokens = new HashMap<String, String>();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }


Stacktrace:
   at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
   at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
   at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
   at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   at org.alfresco.web.framework.render.bean.JSPProcessor.doInclude(JSPProcessor.java:140)
   at org.alfresco.web.framework.render.bean.JSPProcessor.executeBody(JSPProcessor.java:122)
   … 32 more

please pay attention to this fragment of alfresco.log

The type Map is not generic; it cannot be parameterized with arguments <String, String>
10:    if (context.getModel().getPage("user/" + userid + "/dashboard") == null)
11:    {
12:       // no site found! create initial dashboard for this user…
13:       Map<String, String> tokens = new HashMap<String, String>();
14:       tokens.put("userid", userid);
15:       FrameworkHelper.getPresetsManager().constructPreset(context.getModel(), "user-dashboard", tokens);
16:    }
any ideas?
3 REPLIES 3

kot_filemon
Champ in-the-making
Champ in-the-making
I have tried with 1.6 and still the same result.

The bundle I am using is Alfresco 3 Stable.

I forgot to add my run.conf file for JBoss (maybe here is the problem?)


## -*- shell-script -*- ######################################################
##                                                                          ##
##  JBoss Bootstrap Script Configuration                                    ##
##                                                                          ##
##############################################################################

### $Id: run.conf 62747 2007-05-02 17:43:36Z dimitris@jboss.org $

#
# This file is optional; it may be removed if not needed.
#

#
# Specify the maximum file descriptor limit, use "max" or "maximum" to use
# the default, as queried by the system.
#
# Defaults to "maximum"
#
#MAX_FD="maximum"

#
# Specify the profiler configuration file to load.
#
# Default is to not load profiler configuration file.
#
#PROFILER=""

#
# Specify the location of the Java home directory.  If set then $JAVA will
# be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
#
JAVA_HOME="/usr/lib/jvm/java-6-sun"

#
# Specify the exact Java VM executable to use.
#
JAVA="/usr/lib/jvm/java-6-sun/jre/bin/java"

#
# Specify options to pass to the Java VM.
#
if [ "x$JAVA_OPTS" = "x" ]; then
   JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:MaxPermSize=256m -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false -server"
fi

# Sample JPDA settings for remote socket debuging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
# Sample JPDA settings for shared memory debugging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"

kot_filemon
Champ in-the-making
Champ in-the-making
I have found this:

http://techforb.blogspot.com/2007/09/jboss-jasperexception-in-jsp-using.html

tried it and now I can log in into Alfresco Share.

so

The workaround for this issue is to add the following XML configuration to
${jboss.home}/server/default/deploy/jboss-web.deployer/conf/web.xml

Add


<init-param>
<param-name>compilerSourceVM</param-name>
<param-value>1.5</param-value>
</init-param>
<init-param>
<param-name>compilerTargetVM</param-name>
<param-value>1.5</param-value>
</init-param>

inside <servlet> tag with <servlet-name>jsp</servlet-name> inside it.
(Note that there are many servlet tags in this web.xml, so be careful)

ediez
Champ in-the-making
Champ in-the-making
Hi all,

I've got into the same issue but with Jetty 6.1.18. I've only seen solutions for JBoss.

Does anyone have an idea?

Thanks,