Could not initialize class org.xerial.snappy.Snappy causing Gateway startup issue
(Doc ID 2682811.1)
Last updated on JUNE 01, 2023
Applies to:
Oracle API Gateway - Version 11.1.2.3.0 to 11.1.2.4.0 [Release 11gR1]Linux x86-64
Symptoms
API Gateway Service cannot start and fails with below error
ERROR org.apache.cassandra.service.CassandraDaemon - Exception in thread Thread[SSTableBatchOpen:1,5,main]
java.lang.RuntimeException: Cannot create CompressionParameters for stored parameters
at org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:99)
at org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:63)
at org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:42)
at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:418)
at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:209)
at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:157)
at org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:273)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.cassandra.exceptions.ConfigurationException: SnappyCompressor.create() threw an error: java.lang.NoClassDefFoundError Could not initialize class org.xerial.snappy.Snappy
at org.apache.cassandra.io.compress.CompressionParameters.createCompressor(CompressionParameters.java:179)
at org.apache.cassandra.io.compress.CompressionParameters.<init>(CompressionParameters.java:71)
at org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:95)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |