1 Reply Latest reply on Apr 8, 2016 4:37 AM by Rustam Usmanov

    How to configure wildfly to store binaries in mysql ?

    Rishi Anand Novice

      I have an application which stores data(RISHI_NEW_mydb3 ) and binary( CONTENT_STORE ) in mysql.


      | Tables_in_modeshape |


      | CONTENT_STORE       |

      | RISHI_NEW_mydb3     |


      2 rows in set (0.00 sec)


      I want to view all nodes using wildfly, but wildfly picks binary from file system and I am not storing binary in file system and thus it complains


      Caused by: org.modeshape.jcr.value.binary.BinaryStoreException: Unable to find binary value with key "5df6098c92849e30684e83fb6458e84340464729" within binary store at "/home/cliqr/old/wildfly-10.0.0.Final/standalone/tmp/modeshape-binary-store"

        at org.modeshape.jcr.value.binary.FileSystemBinaryStore.getInputStream(FileSystemBinaryStore.java:320)

        at org.modeshape.jcr.value.binary.StoredBinaryValue.internalStream(StoredBinaryValue.java:70)

        at org.modeshape.jcr.value.binary.AbstractBinary.getStream(AbstractBinary.java:166)

        at org.modeshape.jcr.value.basic.StringValueFactory.create(StringValueFactory.java:257)

        ... 60 more


      How can I configure wildfly to use mysql as binary storage ?