Problem with 5.2.0 Final Release start

Maciej Bursztynowski
Added about 5 years ago


I wanted to update my Tigase (5.2.0 beta2) to stable version,

I've made mysql and tigase folder backup. I've tried to overwrite old files(excluding and tigase.conf files) using tar.gz package, I've changed permissions to scripts/ and tried to run tigase. Below is what I got:

@# ./scripts/ run etc/tigase.conf

Running Tigase:

Exception in thread "main" java.lang.UnsupportedClassVersionError: tigase/server/XMPPServer : Unsupported major.minor version 51.0

    at java.lang.ClassLoader.defineClass1(Native Method)

    at java.lang.ClassLoader.defineClass(





    at Method)


    at java.lang.ClassLoader.loadClass(

    at sun.misc.Launcher$AppClassLoader.loadClass(

    at java.lang.ClassLoader.loadClass(

Could not find the main class: tigase.server.XMPPServer. Program will exit.


I thought, that if I perform clean install from .jar file and fresh database it would help. I was wrong - there was the same error.

There is no other log files.

What could went wrong? What can I do?

Thanks in advance,


Replies (3)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

As described in the release notes version 5.2.0 now requires JDK7 to run.

Added by Maciej Bursztynowski about 5 years ago


I was pretty sure, that I have Java v7, but I didn't.

There is one more problem with this during start:

@2014-02-20 14:30:32.724 [main] ShortNewsPublisher.setParams() SEVERE: Problem initializing database connection.

java.sql.SQLException: Access denied for user 'root'@'' (using password: YES)@

I think it is problem with new pubsub. I've never used it - but now I wanted to, so I imported mysql-pubsub-schema-3.0.0.sql, then I run using my configuration:

@]# database/ -in 'jdbc:mysql://localhost/tigase?user=root&password=MYPASS' -out 'jdbc:mysql://localhost/tigase?user=root&password=MYPASS'


and it ended successfully (I think so), because script found databese, initialized connection, started migration, then migration finished.

Maybe you know where is my mistake ?


Added by Artur Hefczyc TigaseTeam about 5 years ago

Looks like DB misconfiguration or Tigase misconfiguration. The error says: Access denied for user 'root'''. Make sure you have added the user to MySQL database and granted permissions to access the database.

Usually 'root' user is a super user in MySQL but not 'root@'.