unable to connect openfire with database..

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

unable to connect openfire with database..

Postby shreeram » 17. September 2018 05:27

i am iOS developer and trying to build chat application using openfire with xampp protocol. I am not familar with openfire and xampp so i am following tutorial sites for installation and configuration.
!) i created a database using phpadmin of xampp .
2) and now when trying to configure open with database which i created in phpadmin it showing following Error:-
A connection to the database could not be made. View the error message by opening the "/logs/error.log" log file, then go back to fix the problem.

And when i see the errorlog :-
Code: Select all
        perl: warning: Setting locale failed.
                perl: warning: Please check that your locale settings:
           LANGUAGE = (unset),
           LC_ALL = (unset),
           LC_CTYPE = "en_US.UTF-8",
           LC_NUMERIC = "C",
           LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[Sat Aug 25 13:30:07.969054 2018] [ssl:warn] [pid 5547] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Aug 25 13:30:07.969107 2018] [ssl:warn] [pid 5547] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Aug 25 13:30:07.969176 2018] [suexec:notice] [pid 5547] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LANGUAGE = (unset),
   LC_ALL = (unset),
   LC_CTYPE = "en_US.UTF-8",
   LC_NUMERIC = "C",
   LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[Sat Aug 25 13:30:08.013361 2018] [ssl:warn] [pid 5548] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Aug 25 13:30:08.013393 2018] [ssl:warn] [pid 5548] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Aug 25 13:30:08.013476 2018] [lbmethod_heartbeat:notice] [pid 5548] AH02282: No slotmem from mod_heartmonitor
[Sat Aug 25 13:30:08.022243 2018] [mpm_prefork:notice] [pid 5548] AH00163: Apache/2.4.34 (Unix) OpenSSL/1.0.2p PHP/7.2.9 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Sat Aug 25 13:30:08.022273 2018] [core:notice] [pid 5548] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
[Sat Aug 25 13:30:56.521162 2018] [mpm_prefork:notice] [pid 5548] AH00169: caught SIGTERM, shutting down
[Sun Sep 16 05:31:55.107652 2018] [ssl:warn] [pid 841] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 05:31:55.109225 2018] [ssl:warn] [pid 841] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 16 05:31:55.109446 2018] [suexec:notice] [pid 841] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sun Sep 16 05:31:55.160863 2018] [ssl:warn] [pid 842] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 05:31:55.160889 2018] [ssl:warn] [pid 842] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 16 05:31:55.161014 2018] [lbmethod_heartbeat:notice] [pid 842] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 16 05:31:55.292273 2018] [mpm_prefork:notice] [pid 842] AH00163: Apache/2.4.34 (Unix) OpenSSL/1.0.2p PHP/7.2.9 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Sun Sep 16 05:31:55.292389 2018] [core:notice] [pid 842] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
[Sun Sep 16 05:39:44.259682 2018] [ssl:warn] [pid 642] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 05:39:44.261432 2018] [ssl:warn] [pid 642] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 16 05:39:44.261677 2018] [suexec:notice] [pid 642] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sun Sep 16 05:39:44.315114 2018] [ssl:warn] [pid 643] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 05:39:44.315138 2018] [ssl:warn] [pid 643] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 16 05:39:44.315243 2018] [lbmethod_heartbeat:notice] [pid 643] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 16 05:39:44.441196 2018] [mpm_prefork:notice] [pid 643] AH00163: Apache/2.4.34 (Unix) OpenSSL/1.0.2p PHP/7.2.9 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Sun Sep 16 05:39:44.441296 2018] [core:notice] [pid 643] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
[Sun Sep 16 05:57:48.334324 2018] [ssl:warn] [pid 633] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 05:57:48.335937 2018] [ssl:warn] [pid 633] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 16 05:57:48.336134 2018] [suexec:notice] [pid 633] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sun Sep 16 05:57:48.392700 2018] [ssl:warn] [pid 634] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 05:57:48.392730 2018] [ssl:warn] [pid 634] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 16 05:57:48.392842 2018] [lbmethod_heartbeat:notice] [pid 634] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 16 05:57:48.506547 2018] [mpm_prefork:notice] [pid 634] AH00163: Apache/2.4.34 (Unix) OpenSSL/1.0.2p PHP/7.2.9 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Sun Sep 16 05:57:48.506683 2018] [core:notice] [pid 634] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
[Sun Sep 16 08:40:14.946274 2018] [ssl:warn] [pid 636] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 08:40:14.948225 2018] [ssl:warn] [pid 636] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 16 08:40:14.948647 2018] [suexec:notice] [pid 636] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sun Sep 16 08:40:15.013224 2018] [ssl:warn] [pid 637] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 08:40:15.013318 2018] [ssl:warn] [pid 637] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 16 08:40:15.013583 2018] [lbmethod_heartbeat:notice] [pid 637] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 16 08:40:15.139370 2018] [mpm_prefork:notice] [pid 637] AH00163: Apache/2.4.34 (Unix) OpenSSL/1.0.2p PHP/7.2.9 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Sun Sep 16 08:40:15.139442 2018] [core:notice] [pid 637] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'



I tried to solve these error over seeing on stackoverflow are following :
1)setting en_US.UTF-8 in bash profile.
2)for these warning [ssl:warn] [pid 636] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name ,
in httpd.conf i changed servername from www.example.com to localhost.
But after i getting these in error log:-
Code: Select all
[Sun Sep 16 18:57:00.248649 2018] [ssl:warn] [pid 642] AH01906: localhost:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 18:57:00.250971 2018] [suexec:notice] [pid 642] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sun Sep 16 18:57:00.362643 2018] [ssl:warn] [pid 643] AH01906: localhost:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 16 18:57:00.362983 2018] [lbmethod_heartbeat:notice] [pid 643] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 16 18:57:00.364571 2018] [cgid:error] [pid 646] (98)Address already in use: AH01243: Couldn't bind unix domain socket /opt/lampp/logs/cgisock.643
[Sun Sep 16 18:57:00.491302 2018] [mpm_prefork:notice] [pid 643] AH00163: Apache/2.4.34 (Unix) OpenSSL/1.0.2p PHP/7.2.9 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Sun Sep 16 18:57:00.491375 2018] [core:notice] [pid 643] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
[Sun Sep 16 18:57:00.491499 2018] [cgid:crit] [pid 643] AH01238: cgid daemon failed to initialize

any help is highly appreciated.
shreeram
 
Posts: 8
Joined: 17. September 2018 04:59
XAMPP version: XAMPP-VM / PHP 7.1.21
Operating System: macbook Air

Re: unable to connect openfire with database..

Postby Nobbie » 17. September 2018 14:53

Do NOT use XAMPP-VM, that is running in a Virtual Machine (= VM) and you cannot connect to the database. Instead download one of the normal installations and try again.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: unable to connect openfire with database..

Postby shreeram » 19. September 2018 06:02

From where i can download one of normal installations? Can you provide some link regarding these ?
shreeram
 
Posts: 8
Joined: 17. September 2018 04:59
XAMPP version: XAMPP-VM / PHP 7.1.21
Operating System: macbook Air

Re: unable to connect openfire with database..

Postby Nobbie » 19. September 2018 09:24

Are you kidding? From the Xampp download site https://www.apachefriends.org/download.html
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: unable to connect openfire with database..

Postby shreeram » 19. September 2018 09:27

oh man! My Bad. Thanks.
shreeram
 
Posts: 8
Joined: 17. September 2018 04:59
XAMPP version: XAMPP-VM / PHP 7.1.21
Operating System: macbook Air

Re: unable to connect openfire with database..

Postby shreeram » 19. September 2018 12:05

now the error is :-

[Wed Sep 19 16:12:39.667953 2018] [ssl:warn] [pid 1034] AH01906: localhost:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Sep 19 16:12:40.302459 2018] [ssl:warn] [pid 1055] AH01906: localhost:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Sep 19 16:12:40.304993 2018] [lbmethod_heartbeat:notice] [pid 1055] AH02282: No slotmem from mod_heartmonitor
[Wed Sep 19 16:12:40.408915 2018] [mpm_prefork:notice] [pid 1055] AH00163: Apache/2.4.34 (Unix) OpenSSL/1.0.2p PHP/7.2.9 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Wed Sep 19 16:12:40.409346 2018] [core:notice] [pid 1055] AH00094: Command line: '/Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -D SSL -D PHP'
shreeram
 
Posts: 8
Joined: 17. September 2018 04:59
XAMPP version: XAMPP-VM / PHP 7.1.21
Operating System: macbook Air

Re: unable to connect openfire with database..

Postby shreeram » 19. September 2018 13:12

now error change to :-
[mpm_prefork:notice] [pid 1055] AH00169: caught SIGTERM, shutting down
shreeram
 
Posts: 8
Joined: 17. September 2018 04:59
XAMPP version: XAMPP-VM / PHP 7.1.21
Operating System: macbook Air

Re: unable to connect openfire with database..

Postby Altrea » 19. September 2018 13:47

I don't see any error message, only warnings and notices.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: unable to connect openfire with database..

Postby shreeram » 19. September 2018 14:59

this is the error:-
A connection to the database could not be made. View the error message by opening the "/logs/error.log" log file, then go back to fix the problem.
in XAMPP log its:-
[Wed Sep 19 19:23:02.478538 2018] [mpm_prefork:notice] [pid 3027] AH00169: caught SIGTERM, shutting down
shreeram
 
Posts: 8
Joined: 17. September 2018 04:59
XAMPP version: XAMPP-VM / PHP 7.1.21
Operating System: macbook Air

Re: unable to connect openfire with database..

Postby Nobbie » 19. September 2018 19:17

shreeram wrote:this is the error:-
A connection to the database could not be made.


You probably did not provide valid credentials for a connection. I dont know openfire and this no openfire forum. You have to apply valid user, password, database, host etc. to openfire configuration, i dont think you can start it out of the box without any changes.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: unable to connect openfire with database..

Postby shreeram » 20. September 2018 07:47

yes, i didnot grant that user permission . Thanks .
shreeram
 
Posts: 8
Joined: 17. September 2018 04:59
XAMPP version: XAMPP-VM / PHP 7.1.21
Operating System: macbook Air

Re: unable to connect openfire with database..

Postby shreeram » 20. September 2018 07:48

But When i am setting admin this error appear on browser:-

Code: Select all
HTTP ERROR 500

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

    Server Error
Caused by:

javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
   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_002dadmin_002dsettings_jsp._jspService(setup_002dadmin_002dsettings_jsp.java:505)
   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:73)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
   at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:49)
   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:215)
   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.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
   at org.jivesoftware.openfire.auth.DefaultAuthProvider.setPassword(DefaultAuthProvider.java:323)
   at org.jivesoftware.openfire.auth.AuthFactory.setPassword(AuthFactory.java:183)
   at org.jivesoftware.openfire.user.User.setPassword(User.java:147)
   at org.jivesoftware.openfire.admin.setup.setup_002dadmin_002dsettings_jsp._jspService(setup_002dadmin_002dsettings_jsp.java:155)
   ... 34 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
   at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
   ... 38 more
Caused by:

java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
   at org.jivesoftware.openfire.auth.DefaultAuthProvider.setPassword(DefaultAuthProvider.java:323)
   at org.jivesoftware.openfire.auth.AuthFactory.setPassword(AuthFactory.java:183)
   at org.jivesoftware.openfire.user.User.setPassword(User.java:147)
   at org.jivesoftware.openfire.admin.setup.setup_002dadmin_002dsettings_jsp._jspService(setup_002dadmin_002dsettings_jsp.java:155)
   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:73)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
   at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:49)
   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:215)
   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.ClassNotFoundException: javax.xml.bind.DatatypeConverter
   at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
   ... 38 more
Caused by:

java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
   at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
   at org.jivesoftware.openfire.auth.DefaultAuthProvider.setPassword(DefaultAuthProvider.java:323)
   at org.jivesoftware.openfire.auth.AuthFactory.setPassword(AuthFactory.java:183)
   at org.jivesoftware.openfire.user.User.setPassword(User.java:147)
   at org.jivesoftware.openfire.admin.setup.setup_002dadmin_002dsettings_jsp._jspService(setup_002dadmin_002dsettings_jsp.java:155)
   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:73)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
   at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:49)
   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:215)
   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)
shreeram
 
Posts: 8
Joined: 17. September 2018 04:59
XAMPP version: XAMPP-VM / PHP 7.1.21
Operating System: macbook Air

Re: unable to connect openfire with database..

Postby Altrea » 20. September 2018 09:24

We cannot debug your Java errors. That is way offtopic here.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 54 guests