cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Alfresco 3 on Websphere 6.1

jgould
Champ in-the-making
Champ in-the-making
Hi, I have recently been looking to deploy Alfresco Labs 3 to WebSphere 6.1.

Deploying the WAR, setting up the class path, and the JDDB driver were relatively trivial tasks, however when the application ran (with no errors in the logs), I have an issue whereby the pages are all corrupted (blank panels). I assumed this was due to the faces plugin, and by turing up the logs to debug on the myfaces classes I could see that there was a issue with the faces resolving the path to each individual panel in the page:

[org.apache.myfaces.el.VariableResolverImpl] Variable 'xxxxx' could not be resolved

Reading up on this issue, I found some guides suggesting that I would need to follow (for Alfresco 2.1) http://wiki.alfresco.com/wiki/Installing_on_WebSphere
However implementing the advised changes for 6.1 ended up in the same issue. With the following log advising that both "MyFaces and RI implementations of JSF have been found on the classpath".

Other docs I came accross suggested that I switch the Application class loaded to load the app classes before the parent classes, having tried this it has always led to a Java error on start up, depending upon the lib set up it was either related to

"WebSphere issue java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible with javax.xml.parsers.DocumentBuilderFactory" <– one document (http://cwiki.apache.org/confluence/display/CXF20DOC/AppServerGuide#AppServerGuide-Websphere) suggested I needed to copy a jar file to my java endorsed folder, I tried this, and tried putting in into the common lib & the app lib, always with the same error.

The other issue I came accross was:
"Error Message: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]:"

I would be very interested in hearing from anybody who has had more luck than myself deploying Alfresco Labs 3 to Websphere 6.1, or managed to correct any of these issues,

Regards,

James
2 REPLIES 2

jzulu2000
Champ in-the-making
Champ in-the-making
I have the same problem trying to install Alfresco Labs 3 final on websphere 6.1

Did you find any way to make this work?

thanks

jgould
Champ in-the-making
Champ in-the-making
Unfortunately there appears to be an issue with Alfresco 3 and Websphere 6.1 because the Alfresco web app uses myfaces JSF, which is conflicting with the default WAS JSF. I understand the issue may be resolved in WAS 6.2 but am yet to test this. Some details of the issue can be found at

http://www-01.ibm.com/support/docview.wss?uid=swg21243668

http://wiki.alfresco.com/wiki/Installing_on_WebSphere

Regards,

James