Hi Randall,
today, I take a look at the dna-example-sequemcers and then run
"SequencingClientTest" test. But unfortunately unit tests
shouldUploadAndSequencePngFile, shouldUploadAndSequenceJpegFile,
shouldUploadAndSequencePictFile don't work.
here is the error stack trace:
11:51:03,806 ERROR Error in repository while sequencer Image Sequencer
is sequencing node repo/default=>/a/b/caution.png/jcr:content
javax.jcr.nodetype.ConstraintViolationException: cannot set the value of
a protected property /images/caution.png/image:metadata/jcr:primaryType
at
org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:224)
at
org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:775)
at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2211)
at
org.jboss.dna.repository.sequencers.StreamSequencerAdapter.saveOutput(StreamSequencerAdapter.java:230)
at
org.jboss.dna.repository.sequencers.StreamSequencerAdapter.execute(StreamSequencerAdapter.java:154)
at
org.jboss.dna.repository.sequencers.SequencingService.processChangedNode(SequencingService.java:576)
at
org.jboss.dna.repository.sequencers.SequencingService$1.run(SequencingService.java:484)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
11:51:04,988 ERROR Error in repository while sequencer Image Sequencer
is sequencing node repo/default=>/a/b/caution.jpeg/jcr:content
javax.jcr.nodetype.ConstraintViolationException: cannot set the value of
a protected property /images/caution.jpeg/image:metadata/jcr:primaryType
at
org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:224)
at
org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:775)
at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2211)
at
org.jboss.dna.repository.sequencers.StreamSequencerAdapter.saveOutput(StreamSequencerAdapter.java:230)
at
org.jboss.dna.repository.sequencers.StreamSequencerAdapter.execute(StreamSequencerAdapter.java:154)
at
org.jboss.dna.repository.sequencers.SequencingService.processChangedNode(SequencingService.java:576)
at
org.jboss.dna.repository.sequencers.SequencingService$1.run(SequencingService.java:484)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
11:51:07,693 ERROR Error in repository while sequencer Mp3 Sequencer is
sequencing node repo/default=>/a/b/test.mp3/jcr:content
javax.jcr.nodetype.ConstraintViolationException: cannot set the value of
a protected property /mp3s/test.mp3/mp3:metadata/jcr:primaryType
at
org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:224)
at
org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:775)
at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2211)
at
org.jboss.dna.repository.sequencers.StreamSequencerAdapter.saveOutput(StreamSequencerAdapter.java:230)
at
org.jboss.dna.repository.sequencers.StreamSequencerAdapter.execute(StreamSequencerAdapter.java:154)
at
org.jboss.dna.repository.sequencers.SequencingService.processChangedNode(SequencingService.java:576)
at
org.jboss.dna.repository.sequencers.SequencingService$1.run(SequencingService.java:484)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
--
------------------
|||| Serge Pagop
|||| Senior Consultant
||||
|||| JBug Munich Founder
||||
|||| innoQ Deutschland GmbH, Halskestr. 17, D-40880 Ratingen, Germany
|||| P: +49 2102 77162-100, M: +49 178 4049592, F: +49 210 277160-1
|||| Mail: serge.pagop(a)innoq.com, Web:
http://www.innoq.com
|||| Weblog:
http://www.innoq.com/blog/sp
|||| JBug Munich:
http://www.jbug-munich.org