L
L
liks2017-04-21 09:22:49
linux
liks, 2017-04-21 09:22:49

Problem installing openfire, what should I do?

I can’t understand what the problem is, I install openfire 4.1.3 on ubuntu server 16.04.2, everything goes fine, I go to the openfire administration console to the income base selection stage (I select the nested one), I click continue and this drops out:

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)
и так далее

I’ve been fighting for the second day already, I don’t want to raise a server from scratch, this has never happened with openfire

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuzin, 2017-04-21
@liks

Show the database connection config.
Is the database server local or remote?
In general, it swears in reality, did you install a package with built-in Java?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question