Участник:Petr-akhlamov/infinispan вразработке

Материал из ALT Linux Wiki

Infinispan

Требования к программному обеспечению

Чтобы запустить Infinispan, вам понадобится:

  • Java 17 JDK как минимум.
  • Maven 3.8 или более поздней версии. Infinispan также работает с Gradle и Ivy.

https://infinispan.org/docs/stable/titles/getting_started/getting_started.html

Maven

Выполните

mvn --version

Чтобы узнать версию Maven. Если его нет - установите.

...

Переменная $ISPN_HOME должна выводить каталог с установленным сервером.

echo $ISPN_HOME

Но, не работает.

https://infinispan.org/docs/stable/titles/server/server.html#installing-servers_server-getting-started

Запуск сервера выполняется по инструкции командой bin/server.sh, но в rpm такого файла нет:

$ rpm -ql infinispan 
/usr/share/doc/infinispan-14.0.1
/usr/share/doc/infinispan-14.0.1/CONTRIBUTING.md
/usr/share/doc/infinispan-14.0.1/LICENSE.md
/usr/share/doc/infinispan-14.0.1/README-Build.md
/usr/share/doc/infinispan-14.0.1/README-i18n.md
/usr/share/doc/infinispan-14.0.1/README.md
/usr/share/doc/infinispan-14.0.1/SECURITY.md
/usr/share/java/infinispan
/usr/share/java/infinispan/client.jar
/usr/share/java/infinispan/embedded.jar
/usr/share/java/infinispan/infinispan-anchored-keys.jar
/usr/share/java/infinispan/infinispan-api.jar
/usr/share/java/infinispan/infinispan-cachestore-jdbc-common-jakarta.jar
/usr/share/java/infinispan/infinispan-cachestore-jdbc-common.jar
/usr/share/java/infinispan/infinispan-cachestore-jdbc-jakarta.jar
/usr/share/java/infinispan/infinispan-cachestore-jdbc.jar
/usr/share/java/infinispan/infinispan-cachestore-remote.jar
/usr/share/java/infinispan/infinispan-cachestore-rocksdb.jar
/usr/share/java/infinispan/infinispan-cachestore-sql.jar
/usr/share/java/infinispan/infinispan-cdi-common-jakarta.jar
/usr/share/java/infinispan/infinispan-cdi-common.jar
/usr/share/java/infinispan/infinispan-cdi-embedded-jakarta.jar
/usr/share/java/infinispan/infinispan-cdi-embedded.jar
/usr/share/java/infinispan/infinispan-cdi-remote-jakarta.jar
/usr/share/java/infinispan/infinispan-cdi-remote.jar
/usr/share/java/infinispan/infinispan-checkstyle.jar
/usr/share/java/infinispan/infinispan-cli-client.jar
/usr/share/java/infinispan/infinispan-cli.jar
/usr/share/java/infinispan/infinispan-client-hotrod-jakarta.jar
/usr/share/java/infinispan/infinispan-client-hotrod.jar
/usr/share/java/infinispan/infinispan-client-rest.jar
/usr/share/java/infinispan/infinispan-cloudevents-integration.jar
/usr/share/java/infinispan/infinispan-clustered-counter.jar
/usr/share/java/infinispan/infinispan-clustered-lock.jar
/usr/share/java/infinispan/infinispan-commons-jakarta.jar
/usr/share/java/infinispan/infinispan-commons-test.jar
/usr/share/java/infinispan/infinispan-commons.jar
/usr/share/java/infinispan/infinispan-component-annotations.jar
/usr/share/java/infinispan/infinispan-component-processor.jar
/usr/share/java/infinispan/infinispan-core-jakarta.jar
/usr/share/java/infinispan/infinispan-core.jar
/usr/share/java/infinispan/infinispan-defaults-maven-plugin.jar
/usr/share/java/infinispan/infinispan-extended-statistics.jar
/usr/share/java/infinispan/infinispan-hibernate-cache-commons.jar
/usr/share/java/infinispan/infinispan-hibernate-cache-spi.jar
/usr/share/java/infinispan/infinispan-hibernate-cache-v60.jar
/usr/share/java/infinispan/infinispan-hotrod-jakarta.jar
/usr/share/java/infinispan/infinispan-hotrod.jar
/usr/share/java/infinispan/infinispan-jboss-marshalling.jar
/usr/share/java/infinispan/infinispan-jcache-commons.jar
/usr/share/java/infinispan/infinispan-jcache-remote.jar
/usr/share/java/infinispan/infinispan-jcache-tck-runner-embedded.jar
/usr/share/java/infinispan/infinispan-jcache-tck-runner-remote.jar
/usr/share/java/infinispan/infinispan-jcache.jar
/usr/share/java/infinispan/infinispan-key-value-store-client.jar
/usr/share/java/infinispan/infinispan-logging-annotations.jar
/usr/share/java/infinispan/infinispan-logging-processor.jar
/usr/share/java/infinispan/infinispan-marshaller-kryo-bundle.jar
/usr/share/java/infinispan/infinispan-marshaller-kryo.jar
/usr/share/java/infinispan/infinispan-marshaller-protostuff-bundle.jar
/usr/share/java/infinispan/infinispan-marshaller-protostuff.jar
/usr/share/java/infinispan/infinispan-marshaller-tests.jar
/usr/share/java/infinispan/infinispan-multimap.jar
/usr/share/java/infinispan/infinispan-objectfilter.jar
/usr/share/java/infinispan/infinispan-query-core.jar
/usr/share/java/infinispan/infinispan-query-dsl.jar
/usr/share/java/infinispan/infinispan-query-jakarta.jar
/usr/share/java/infinispan/infinispan-query.jar
/usr/share/java/infinispan/infinispan-remote-query-client.jar
/usr/share/java/infinispan/infinispan-remote-query-server.jar
/usr/share/java/infinispan/infinispan-scripting.jar
/usr/share/java/infinispan/infinispan-server-core.jar
/usr/share/java/infinispan/infinispan-server-hotrod-jakarta.jar
/usr/share/java/infinispan/infinispan-server-hotrod.jar
/usr/share/java/infinispan/infinispan-server-memcached.jar
/usr/share/java/infinispan/infinispan-server-resp.jar
/usr/share/java/infinispan/infinispan-server-rest.jar
/usr/share/java/infinispan/infinispan-server-router.jar
/usr/share/java/infinispan/infinispan-server-runtime.jar
/usr/share/java/infinispan/infinispan-server-testdriver-core.jar
/usr/share/java/infinispan/infinispan-server-testdriver-junit4.jar
/usr/share/java/infinispan/infinispan-server-testdriver-junit5.jar
/usr/share/java/infinispan/infinispan-spring-boot-starter-embedded.jar
/usr/share/java/infinispan/infinispan-spring-boot-starter-remote.jar
/usr/share/java/infinispan/infinispan-spring-boot-starter-tests.jar
/usr/share/java/infinispan/infinispan-spring5-common.jar
/usr/share/java/infinispan/infinispan-spring5-embedded.jar
/usr/share/java/infinispan/infinispan-spring5-remote.jar
/usr/share/java/infinispan/infinispan-tasks-api.jar
/usr/share/java/infinispan/infinispan-tasks.jar
/usr/share/java/infinispan/infinispan-tools-jakarta.jar
/usr/share/java/infinispan/infinispan-tools.jar
/usr/share/java/infinispan/server-task.jar
/usr/share/java/infinispan/store.jar

Попытка запустить Jar-файл:

$ /usr/lib/jvm/java-21-openjdk-21.0.6.0.7-alt2.x86_64/bin/java -jar /usr/share/java/infinispan/infinispan-server-runtime.jar
no main manifest attribute, in /usr/share/java/infinispan/infinispan-server-runtime.jar

Открытие веб-интерфейса

Начальная настройка

https://infinispan.org/get-started/

http://127.0.0.1:11222/console/ 

https://infinispan.org/docs/stable/titles/server/server.html

Не работает.