Skip to main content

Posts

Showing posts with the label WSO2 MB

Enable SecureVault Support for jndi.properties - WSO2 ESB - MB 3.0

We cannot use cipertool to automate encryption process for the selected elements in the jndi.properties file, because we can only specify Xpath notation here, but still we can use the manual process. Sample  [ESB_home]/repository/conf/ jndi.properties  file # register some connection factories # connectionfactory.[jndiname] = [ConnectionURL] connectionfactory.QueueConnectionFactory = amqp://admin:admin@clientID/carbon?brokerlist ='tcp://localhost:5672' # register some queues in JNDI using the form # queue.[jndiName] = [physicalName] queue.MyQueue = example.MyQueue # register some topics in JNDI using the form # topic.[jndiName] = [physicalName] topic.MyTopic = example.MyTopic 1. Enable secure valut in the ESB sh ciphertool.sh -Dconfigure 2.   Go to the [ESB_home]/bin and execute the following command to generate the encrypted value for the clear text  password. sh ciphertool.sh 3.   It will prompt following  console fo...

No snappyjava in java.library.path Exception when running WSO2 Message Broker 2.2.0 in MAC OS

You can see the following exception when you running WSO2 MB 2.2.0 top of the MAC OS. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.xerial.snappy.SnappyLoader.loadNativeLibrary(SnappyLoader.java:317) at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:219) at org.xerial.snappy.Snappy. (Snappy.java:44) at org.apache.cassandra.io.compress.SnappyCompressor.create(SnappyCompressor.java:45) at org.apache.cassandra.io.compress.SnappyCompressor.isAvailable(SnappyCompressor.java:55) at org.apache.cassandra.io.compress.SnappyCompressor. (SnappyCompressor.java:37) at org.apache.cassandra.config.CFMetaData. (CFMetaData.java:82) at org.apache.cassandra.config.KSMetaDa...