cancel
Showing results for 
Search instead for 
Did you mean: 

jboss 4.2.3 share install

steverar
Champ in-the-making
Champ in-the-making
I downloaded the alfresco 3B war and installed it in JBoss 4.2.3 GA along with the Alfresco WCM add-on.
Going to http://localhost:8080/alfresco does bring up alfresco with the WCM add'l projects, etc.

However, going to localhost:8080/share gives HTTP Status 404 - /share.  The requested resource (/share) is not available.

This is running on XP SP2 with java 1.5.0_15 . Database is mySQL.  No errors in JBoss server deploy log although there's nothing indicating share is being loaded either.

I apologize for the new topic but the forum search was filtering out "jboss" and "not available".

Thanks …
4 REPLIES 4

steverar
Champ in-the-making
Champ in-the-making
Ok, I checked and found that I need to stick the share.war in jboss deploy.  So I did that and now I get

21:43:36,451 INFO  [TomcatDeployer] deploy, ctxPath=/share, warUrl=…/deploy/share.war/
21:43:37,393 ERROR [[/share]] Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
       java.lang.NoClassDefFoundError: org/apache/commons/el/Logger
   at org.apache.myfaces.shared_impl.util.ClassUtils.<clinit>(ClassUtils.java:44)
.

This is causing JBoss to not deploy.

Thoughts ?

steverar
Champ in-the-making
Champ in-the-making
Ok, I copied commons-el.jar from the alfresco.war/web-inf/lib to share.war and share comes up now.

I get a login screen that I use admin/admin to get in on.

However when I do that I get

org.alfresco.web.site.exception.PageRenderException: An exception occurred while rendering page: site-index
   at org.apache.jsp.core.error_002dviewer_jsp._jspService(error_002dviewer_jsp.java:123)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Caused by: org.alfresco.web.site.exception.TemplateRenderException: An exception occurred while pre-rendering template: site-index
   at org.alfresco.web.site.RenderUtil.renderTemplate(RenderUtil.java:244)
   at org.alfresco.web.site.RenderUtil.renderPage(RenderUtil.java:172)

Caused by: org.alfresco.web.site.exception.RendererExecutionException: Unable to execute JSP include: /site-index.jsp
   at org.alfresco.web.site.renderer.JSPRenderer.execute(JSPRenderer.java:142)
   at org.alfresco.web.site.RenderUtil.renderTemplate(RenderUtil.java:240)

Caused by: javax.servlet.ServletException: javax.servlet.ServletException: Original SevletResponse or wrapped original ServletResponse not passed to RequestDispatcher in violation of SRV.8.2 and SRV.14.2.5.1
   at org.alfresco.web.site.RequestUtil.forward(RequestUtil.java:198)
   at org.alfresco.web.site.renderer.JSPRenderer.execute(JSPRenderer.java:131)

Caused by: javax.servlet.ServletException: Original SevletResponse or wrapped original ServletResponse not passed to RequestDispatcher in violation of SRV.8.2 and SRV.14.2.5.1
   at org.apache.catalina.core.ApplicationDispatcher.checkSameObjects(ApplicationDispatcher.java:985)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:316)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
   at org.alfresco.web.site.RequestUtil.forward(RequestUtil.java:194)

Is there a later build I should be using ?

steverar
Champ in-the-making
Champ in-the-making
Ok, I dug more and found a post relating to JBoss and servlets at https://jira.jboss.org/jira/browse/JBAS-4609

So I edited jboss-4.2.3.GA/bin/run.bat to be

rem Setup JBoss specific properties
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false

Essentially it appears Alfresco/Share is doing something not to spec.

The Administrator screen comes up now.

If I just just debugged Share on JBoss a t-shirt or mug, huh ?  😉

rliu
Champ in-the-making
Champ in-the-making
That did the trick. One advice…make sure JBoss is picking you the new parameters.