Sunday, 30 January 2011

More on WebDAV and WebSphere Portal

Following on from an earlier blog post, whilst using WebDAV to do some work with the Page Builder theme in WebSphere Portal 7, I was perplexed to keep seeing: -

Internal Server Error

in my WebDAV client ( Nautlius 2.3.2.0 ), with: -

1/30/11 12:02:50:131 GMT] 00000088 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet PROTECTED_HANDLER_47555912 in application wps. Exception created : java.lang.IllegalArgumentException: key:null
        at com.ibm.ws.cache.util.ValidateUtility.objectNotNull(ValidateUtility.java:47)
        at com.ibm.ws.cache.DistributedObjectCacheAdapter.common_get(DistributedObjectCacheAdapter.java:523)
        at com.ibm.ws.cache.DistributedMapImpl.get(DistributedMapImpl.java:59)
        at com.ibm.wps.services.cache.DistributedMapCache.get(DistributedMapCache.java:116)
        at com.ibm.wps.filestore.JCRDataSource.getCacheScope(JCRDataSource.java:176)
        at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at com.ibm.wps.util.ContextWrapper$Handler.invoke(ContextWrapper.java:127)
        at $Proxy205.getCacheScope(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at com.ibm.wps.util.ContextWrapper$Handler.invoke(ContextWrapper.java:127)
        at $Proxy208.getCacheScope(Unknown Source)
...

in SystemOut.log on my WP7 server.

Thankfully, a quick search found this Technote: -

PM25317: WEBDAV COPY OPERATION ON FOLDERS MAY LEAD TO ILLEGALARGUMENTEXCEPTION

Am just applying the fix ( part of Cumulative Fix 001 for WebSphere Portal 7 , and will report back ...

3 comments:

Dave Hay said...

Well, after 26 minutes 23 seconds, I was pleased to receive the "BUILD SUCCESSFUL" message, and the CF001 is now applied.

Even better news, it's resolved the exception that my WebDAV client was causing, which is nice :-)

Note to myself - remember to update the various database passwords in wkplc_dbdomain.properties before starting the FP installation

Mike Bosch said...

It also works for me..great..

Kristofer said...

Hi

I am getting the same errors as you even though I am running at this level:

WP_PTF_7001 (IBM WebSphere Portal, Version 7.0.0.1 Fix Pack)
PM37009 (IBM WebSphere Portal, 7.0.0.1-WP-WCM-Combined-CFPM37009-CF004)
PM35654 (Cumulative iFix 13 for WCM v7.0.0.0)
PM34759 (IBM WebSphere Portal, 7.0.0.1-WP-WCM-Combined-CFPM34759-CF002)
PM39014 (Cumulative iFix 15 for WCM v7.0.0.1)