 |
Software > Lotus > |
 |
 |
 |
Syndication does not work if WebSphere Application Server dynacache is enabled
|
| | | | Question | Requests that should not be cached are being cached and causing unexpected behavior in the IBM® Web Content Management (WCM) system. Specifically, for Web Content Management syndication, you may see this null pointer exception in the logs:
com.ibm.workplace.wcm.app.ui.portlet.commands.AbstractCommand java.lang.NullPointerException at
com.aptrix.syndication.business.AbstractRequestBL.checkResponse(Unknown Source) at
com.aptrix.syndication.business.subscriber.RequestBL.getCatalog(Unknown Source) at
com.aptrix.deployment.subscriber.PlutoSubscriber.sendSubscribeRequest(UnknownSource) at
com.ibm.workplace.wcm.app.ui.portlet.formmapper.SubscriberFormMapper.doC onsumeSelf(Unknown Source) at
com.ibm.workplace.wcm.app.ui.portlet.formmapper.AbstractControllableForm
Mapper.consumeForm(Unknown Source)
at
com.ibm.workplace.wcm.app.ui.portlet.commands.AbstractCommand.consumeObj
ectModel(Unknown Source)
(truncated)
How can these exceptions be resolved? | | | | | Cause | The Web Content Management cachespec.xml file is most likely misconfigured. To resolve, it is necessary to exclude the IBM Web Content Management modules that use HTTP requests to function.
Most Web Content Management modules are executed as HTTP requests. If you are caching the requests at the WebSphere Application Server layer, the requests will return improper cached responses that are not expected and will result in erroneous or incorrect output by the system. | | | | | Answer | The following additional Cache-Id section should be included in every cachespec.xml to disable caching for Web Content Management Utility modules and Syndication:
<?xml version="1.0" ?>
<!DOCTYPE cache SYSTEM "cachespec.dtd">
<cache> <cache-entry> <cache-id> - Normal Cache-Id section describing what to cache
</cache-id>
<cache-id>
<component id="MOD" type="parameter">
<required>true</required>
<not-value>Subs</not-value>
<not-value>Synd</not-value>
<not-value>ItemDispatcher</not-value>
<not-value>Syndication</not-value>
<not-value>MemberFixer</not-value>
<not-value>AJPEReferenceChecker</not-value>
<not-value>AJPEResourceChecker</not-value>
<not-value>AJPESiteChecker</not-value>
<not-value>VersioningEnablement</not-value>
<not-value>WorkflowEnablement</not-value>
<not-value>JCRModule</not-value>
<not-value>PlutoUploadFile</not-value>
<not-value>PlutoDownloadFile</not-value>
<not-value>AJPECatSelect</not-value>
<not-value>Template</not-value>
</component>
<timeout>7200</timeout>
</cache-id>
</cache-entry>
</cache> <?xml version="1.0" ?>
<!DOCTYPE cache SYSTEM "cachespec.dtd">
<cache> <cache-entry> <cache-id> - Normal Cache-Id section describing what to cache
</cache-id>
<cache-id>
<component id="MOD" type="parameter">
<required>true</required>
<not-value>Subs</not-value>
<not-value>Synd</not-value>
<not-value>ItemDispatcher</not-value>
<not-value>Syndication</not-value>
<not-value>MemberFixer</not-value>
<not-value>WorkflowEnablement</not-value>
<not-value>JCRModule</not-value>
<not-value>PlutoUploadFile</not-value>
<not-value>PlutoDownloadFile</not-value>
<not-value>AJPECatSelect</not-value>
<not-value>Template</not-value>
</component>
<timeout>7200</timeout>
</cache-id>
</cache-entry>
</cache> | | | | | | | | | |
 |
| IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml. |
 |
 |
 |
| Please take a moment to complete this form to help us better serve you. |
 |
 |
 |
|
|
|
 |
 |
| Product categories: |
 |
| | Software |  |
| | Enterprise Content Management |  |
| | Content Management |  |
| | Workplace Web Content Management |  |
| | Caching |  |
 |
| Operating system(s): |
| |
AIX, HP-UX, Linux, Linux Red Hat - iSeries, Linux SuSE - iSeries, Linux iSeries, OS/400, Solaris, Windows, i5/OS
|
 |
| Software version: |
| |
2.5, 2.5.0.1, 5.1.0, 5.1.0.1, 5.1.0.3, 5.1.0.4, 5.1.0.5, 6.0, 6.0.0.1, 6.0.0.3, 6.0.0.4, 6.0.1, 6.0.1.1, 6.0.1.2, 6.0.1.3
|
 |
| Software edition: |
| |
Java edition
|
 |
| Reference #: |
| |
1242955
|
 |
| IBM Group: |
| | Software Group |
 |
| Modified date: |
| | 2008-02-11 |
 |
|