AnsweredAssumed Answered

Alfresco Enterprise 3.3 doesn't login on WebSphere6.1

Question asked by mario.dandrea on Sep 7, 2010
Latest reply on Sep 8, 2010 by mario.dandrea
Goodmorning,
I have just installed Alfresco 3.3 Enteprise Edition on a IBM WebSphere Application Server 6.1 and on a IBM WebSphere Application Server 7.0
I followed all instructions I could found on the web, including "wiki.alfresco.com/wiki/Installing_on_WebSphere" and  "Installing_and_Configuring_Alfresco_for_Enterprise_Trial_3_3_SP1.pdf"

I solved all conflicts on the WAS 7.0 installation, but still I can't make it works properly on WAS 6.1
The application starts but when I try to login I get the following error:
org.springframework.extensions.webscripts.WebScriptException - 08070001 Script url /facebook/jsp/login.jsp does not map to a Web Script.
and I get the same error if I try to access every URL starting as http://localhost:9080/alfresco/facebook/ but I can access all others Alfresco Web Scripts.
I don't need the Facebook Servlet but I'm afraid it could be mandatory for the login in Alfresco

I checked the mapping configuration in the file web.xml and I found that /Facebook is well configured
   <servlet>
      <servlet-name>facebookServlet</servlet-name>
      <servlet-class>org.alfresco.repo.web.scripts.facebook.FacebookServlet</servlet-class>
      <init-param>
         <param-name>authenticator</param-name>
         <param-value>webscripts.authenticator.facebook</param-value>
      </init-param>
   </servlet>

   <servlet-mapping>
      <servlet-name>facebookServlet</servlet-name>
      <url-pattern>/facebook/*</url-pattern>
   </servlet-mapping>

and the FacebookServlet is inside alfresco-remote-api-3.3.jar, in the same directory of the others libs (alfresco_war.ear\alfresco.war\WEB-INF\lib)

That's the whole stack:

Error:   Not Found (404) - Requested resource is not available.

Message:   08070001 Script url /facebook/jsp/login.jsp does not map to a Web Script.

Exception:   org.springframework.extensions.webscripts.WebScriptException - 08070001 Script url /facebook/jsp/login.jsp does not map to a Web Script.
   
   org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
   org.alfresco.repo.web.scripts.facebook.FacebookServlet.service(FacebookServlet.java:58)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
   com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
   com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
   com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
   com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
   com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
   com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
   com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
   com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)
   com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
   com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
   com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
   com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
   com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
   com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
   com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
   com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
   com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
   com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
   com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
   com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
   com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
   com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
   
Server:   Alfresco Enterprise v3.3.0 (g 2860) schema 4.100

Unfortunately, I MUST make it works on WAS6.1 because my company (and the clients of my company) use WAS6.1 for all their Java Application.
Is there any way to make it works, even disabiling the Facebook Servlet at login?
Thans for the help,
Sincerely
Mario

Outcomes