Getting error during deployement of Oracle WSM

Today I redeployed the Oracle WSM with the wsmadmin script. During deployement I got the following error:

oc4j.checkSharedLibs:
[echo] oracle.wsm.ccore exists
[echo] oracle.wsm.coreman exists

deploy.runScript:
[echo] Configuring OC4J using commands:
..
[java] Caught exception running the command via the script file /appl/oracle/soa_cl_10.1.3/owsm/bin/admin_client.txt at line 1: PublishSharedLibrary error: publishSharedLibrary failed: Error publishing shared library to group.
BUILD FAILED
/appl/oracle/soa_cl_10.1.3/owsm/scripts/install.xml:2022: The following error occurred while executing this line:
/appl/oracle/soa_cl_10.1.3/owsm/scripts/deploy.xml:329: The following error occurred while executing this line:
/appl/oracle/soa_cl_10.1.3/owsm/scripts/deploy.xml:209: The following error occurred while executing this line:
/appl/oracle/soa_cl_10.1.3/owsm/scripts/deploy.xml:137: The following error occurred while executing this line:
/appl/oracle/soa_cl_10.1.3/owsm/scripts/oc4j.xml:477: Java returned: 1

Total time: 26 seconds
Error 1

Solution:
Remove the following shared libraries from the container:
oracle.wsm.ccore
oracle.wsm.coreman
oracle.wsm.policymanager
oracle.wsm.gateway

Some how Oracle does not regonise the the installed libraries are of the same version it wants to install.