Translate

Tuesday, September 25, 2012

SharePoint 2010 - Fast Search "Failed to connect..." Error

This was just one of the many problems I had to deal with today! One of the common things that happens with a Fast Search setup is to have your self-signed certificate expire after one year. When this happens, you will get the following error in the application error log of your SharePoint server:
Failed to connect to SERVER.com:XXXX Failed to initialize session with document engine: Unable to resolve Contentdistributor

The solution is simple enough, just install a new certificate!
Here are some helpful sites:
SharePoint Malarkey
SharePoint Fanatic
FAST Forum
Microsoft
Microsoft TechNet

Friday, September 7, 2012

Struts - Include Causes BufferOverflowException

Using the Struts include tag on some pages is causing the following error:
java.nio.BufferOverflowException
at java.nio.HeapByteBuffer.put(Unknown Source)
at org.apache.struts2.util.FastByteArrayOutputStream.decodeAndWriteOut(FastByteArrayOutputStream.java:161)
at org.apache.struts2.util.FastByteArrayOutputStream.writeTo(FastByteArrayOutputStream.java:94)
at org.apache.struts2.components.Include.include(Include.java:285)
at org.apache.struts2.components.Include.end(Include.java:167)
at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:42)
The only solution I could find so far is to replace the Struts include with a JSP include. Does anyone know how to fix this so it works in Struts?