@liks

Проблема с установкой openfire, что делать?

Не могу понять, в чём проблема, устанавливаю openfire 4.1.3 на ubuntu server 16.04.2, всё проходит нормально, захожу в консоль администрирование openfire доходу до этапа выбора базы (выбираю вложенную), нажимаю продолжить и выпадает такое:

spoiler
HTTP ERROR 500

Problem accessing /setup/setup-datasource-settings.jsp. Reason:

Server Error

Caused by:

javax.servlet.ServletException: java.lang.ExceptionInInitializerError
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:905)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:834)
at org.jivesoftware.openfire.admin.setup.setup_002ddatasource_002dsettings_jsp._jspService(setup_002ddatasource_002dsettings_jsp.java:255)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:53)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:226)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:165)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.ExceptionInInitializerError
at org.logicalcobwebs.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
at org.logicalcobwebs.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at org.logicalcobwebs.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
at org.logicalcobwebs.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at org.logicalcobwebs.cglib.core.KeyFactory.create(KeyFactory.java:117)
at org.logicalcobwebs.cglib.core.KeyFactory.create(KeyFactory.java:108)
at org.logicalcobwebs.cglib.core.KeyFactory.create(KeyFactory.java:104)
at org.logicalcobwebs.cglib.proxy.Enhancer.(Enhancer.java:69)
at org.logicalcobwebs.proxool.ProxyFactory.getProxy(ProxyFactory.java:111)
at org.logicalcobwebs.proxool.ProxyFactory.getWrappedConnection(ProxyFactory.java:85)
at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:261)
at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:678)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:190)
at org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConnectionProvider.java:64)
at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectionManager.java:602)
at org.jivesoftware.openfire.admin.setup.setup_002ddatasource_002dsettings_jsp._jspService(setup_002ddatasource_002dsettings_jsp.java:169)
... 34 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @12b0404f
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:335)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:278)
at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:196)
at java.base/java.lang.reflect.Method.setAccessible(Method.java:190)
at org.logicalcobwebs.cglib.core.ReflectUtils$2.run(ReflectUtils.java:56)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.logicalcobwebs.cglib.core.ReflectUtils.(ReflectUtils.java:46)
... 51 more

Caused by:

java.lang.ExceptionInInitializerError
at org.logicalcobwebs.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
at org.logicalcobwebs.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at org.logicalcobwebs.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
at org.logicalcobwebs.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at org.logicalcobwebs.cglib.core.KeyFactory.create(KeyFactory.java:117)
at org.logicalcobwebs.cglib.core.KeyFactory.create(KeyFactory.java:108)
at org.logicalcobwebs.cglib.core.KeyFactory.create(KeyFactory.java:104)
at org.logicalcobwebs.cglib.proxy.Enhancer.(Enhancer.java:69)
at org.logicalcobwebs.proxool.ProxyFactory.getProxy(ProxyFactory.java:111)
at org.logicalcobwebs.proxool.ProxyFactory.getWrappedConnection(ProxyFactory.java:85)
at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:261)
at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:678)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:190)
at org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConnectionProvider.java:64)
at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectionManager.java:602)
и так далее


Уже второй день бьюсь, с нуля не охота сервак поднимать, никогда такого не было с openfire'ом
  • Вопрос задан
  • 735 просмотров
Решения вопроса 1
@Bobson8
Системный администратор
Покажите конфиг подключения к базе.
Сервер баз данных локальный или удаленный?
Вообще ругается на яву, вы ставили пакет со всторенной явой?
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы