Project: talendesb
Issue TESB-8708: Authorization: PDP throws exceptions in log during loading policies into cache
Running of authorization examples (by steps from README) shows the problem with PDP. After installation of PDP log of tesb contains messages: {noformat} 2013-03-11 19:02:21,111 | ERROR | primary-key.data | DiskStorageFactory | DiskStorageFactory$DiskWriteTask 503 | 166 - org.apache.servicemix.bundles.ehcache - 2.5.1.1 | Disk Write of org.talend.xacml.role.boss failed: java.io.NotSerializableException: org.ops4j.pax.logging.slf4j.Slf4jLogger java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)[:1.7.0_15] java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)[:1.7.0_15] java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)[:1.7.0_15] java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)[:1.7.0_15] java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)[:1.7.0_15] java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)[:1.7.0_15] java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)[:1.7.0_15] java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)[:1.7.0_15] java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)[:1.7.0_15] java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)[:1.7.0_15] java.util.ArrayList.writeObject(ArrayList.java:710)[:1.7.0_15] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_15] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_15] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_15] java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_15] java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:975)[:1.7.0_15] java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)[:1.7.0_15] java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)[:1.7.0_15] java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)[:1.7.0_15] java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)[:1.7.0_15] java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)[:1.7.0_15] java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)[:1.7.0_15] java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)[:1.7.0_15] java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)[:1.7.0_15] java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:438)[:1.7.0_15] net.sf.ehcache.Element.writeObject(Element.java:797)[166:org.apache.servicemix.bundles.ehcache:2.5.1.1] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_15] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_15] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_15] java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_15] java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:975)[:1.7.0_15] java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)[:1.7.0_15] java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)[:1.7.0_15] java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)[:1.7.0_15] java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)[:1.7.0_15] net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97)[166:org.apache.servicemix.bundles.ehcache:2.5.1.1] net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:413)[166:org.apache.servicemix.bundles.ehcache:2.5.1.1] net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:392)[166:org.apache.servicemix.bundles.ehcache:2.5.1.1] net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:493)[166:org.apache.servicemix.bundles.ehcache:2.5.1.1] net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1154)[166:org.apache.servicemix.bundles.ehcache:2.5.1.1] net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1138)[166:org.apache.servicemix.bundles.ehcache:2.5.1.1] java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_15] java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_15] java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_15] java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_15] java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_15] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_15] java.lang.Thread.run(Thread.java:722)[:1.7.0_15] {noformat} However it doesn't break examples (in case of following happy path described in readme)
Story points: 1