Tigase XMPP Server Board

Tigase server administration: RE: CPU Hight-loads around midnights

Thu, 08/20/2015 - 08:39

Ehsan Mozaffari wrote:

As those cpu high loads occurs in these intervals that the users' activities are minimal I am wondering if this is related to any auto schedule in tigase server functions.

While there is a mechanism that allows performing some actions at a given interval it shouldn't cause such spikes in usage.

Do you have any custom components or special configuration? Are there any entries in the logs or entries in the statistics indicating more traffic?

Categories: Tigase Forums

Tigase server development: Anyone know what‘s happened this error? And how to fix it? Please

Thu, 08/20/2015 - 00:35

ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "main" exception
java.lang.NoSuchMethodError: tigase.vhosts.VHostItem$DataType.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V
at tigase.archive.VHostItemHelper.<clinit>(VHostItemHelper.java:52)
at tigase.archive.MessageArchivePlugin.init(MessageArchivePlugin.java:142)

Categories: Tigase Forums

Tigase server administration: RE: CPU Hight-loads around midnights

Wed, 08/19/2015 - 03:25

Just to add, during the last week I have been observing Threads and processes that causes CPU High loads by jstack, top ,jhat ,jmap and etc
I have been trying to analyze the behavior of threads that may help to conclude some meaningful overview for CPU High loads (please check the attached snapshot)

Thank you for the support.

Categories: Tigase Forums

Tigase server development: RE: Tigase-message-archive development with Eclipse

Wed, 08/19/2015 - 01:59

Did I do something wrong?

Categories: Tigase Forums

Tigase server development: RE: Tigase-message-archive development with Eclipse

Wed, 08/19/2015 - 01:58

Select the project, then select Run as from the Run menu and then Maven build. In the configuration dialog for the "base directory" select workspace directory (for example using browse workspace..."), in the goals enter "clean install". Click Apply and then Run.
I use this way have a tigase-message-archive-1.2.0-SNAPSHOT.jar and I rename it to tigase-message-archive.jar

I copy it jar to tigase server, but tigase-console.log has an error as follow:

ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "main" exception
java.lang.NoSuchMethodError: tigase.vhosts.VHostItem$DataType.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V
at tigase.archive.VHostItemHelper.<clinit>(VHostItemHelper.java:52)
at tigase.archive.MessageArchivePlugin.init(MessageArchivePlugin.java:142)
at tigase.server.xmppsession.SessionManager.setProperties(SessionManager.java:953)
at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:540)
at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:177)
at tigase.conf.Configurator.componentAdded(Configurator.java:50)
at tigase.conf.Configurator.componentAdded(Configurator.java:33)
at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116)
at tigase.server.MessageRouter.addComponent(MessageRouter.java:108)
at tigase.server.MessageRouter.addRouter(MessageRouter.java:145)
at tigase.server.MessageRouter.setProperties(MessageRouter.java:704)
at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:540)
at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:177)
at tigase.conf.Configurator.componentAdded(Configurator.java:50)
at tigase.conf.Configurator.componentAdded(Configurator.java:33)
at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116)
at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:131)
at tigase.server.MessageRouter.setConfig(MessageRouter.java:603)
at tigase.server.XMPPServer.start(XMPPServer.java:142)
at tigase.server.XMPPServer.main(XMPPServer.java:112)

Categories: Tigase Forums

Tigase server development: Tigase-message-archive development with Eclipse

Wed, 08/19/2015 - 00:31

hello,
I have downloaded the tigase-message-archive source code, deployment in eclipse, there is a mistake:
Plugin execution not covered by lifecycle configuration: org.codehaus.gmaven:gmaven-plugin:1.5:execute (execution: gitver, phase: validate)
I see this https://projects.tigase.org/boards/4/topics/1280 and ignore it.
How do I put he packaged into a jar?(I want to modify tigase-message-archive source to define my own message format)
I use mvn package -Dmaven.test.skip=true and no jar generate.

Categories: Tigase Forums

Tigase server development: RE: Hack Tigase through Eclipse

Tue, 08/18/2015 - 08:42

I have created an issue ticket and will update the documentation for this.

Categories: Tigase Forums

Tigase server administration: Customizing the tigase web interface

Mon, 08/17/2015 - 06:24

Dear All,

Customizing the tigase web interface. I have the source which is in GWT unreadable. Can someone tell or suggest on how to obtain the original source of tigase web interface and then convert it into GWT.

Thanks for the support.

Regards,
Gopal Kk

Categories: Tigase Forums

Tigase server development: RE: Messages to Smack clients are duplicated with Stream Management

Mon, 08/17/2015 - 05:25

Hi Wojciech,
I could then fix this issue acking immediately received stanza by Smack API
http://igniterealtime.org/builds/smack/docs/latest/javadoc/org/jivesoftware/smack/tcp/XMPPTCPConnection.html#sendSmAcknowledgement()

thus Tigase knows soon that Message is arrived and if connection drops out
while standard SM timeouts don't trigger, the server doesn't send messages
anytime.

I had also to manage stanza acking immediately after stream management
resumption

Thanks

Sent from my Mobile, sorry if any typo.

Natale

Categories: Tigase Forums

Tigase server administration: CPU Hight-loads around midnights

Mon, 08/17/2015 - 05:16

Hi
I've been monitoring my tigase server for a while using Tigase Monitor and I've noticed there are cpu high loads around mid-night (around 11:00PM - 1:00AM local time).
As those cpu high loads occurs in these intervals that the users' activities are minimal I am wondering if this is related to any auto schedule in tigase server functions.

Thank you in advance.

Categories: Tigase Forums

Tigase server administration: RE: Presence Probe configuration

Mon, 08/17/2015 - 02:43

Unfortunately it hasn't been fixed yet.

Categories: Tigase Forums

Tigase server development: RE: stream:error termination

Mon, 08/17/2015 - 02:42

Please be more specific/provide more information.

Categories: Tigase Forums

Tigase server administration: RE: Offline messages send again and again

Mon, 08/17/2015 - 02:37

By default Tigase uses amp plugin for message processing, and this include handling of offline messages.

Categories: Tigase Forums

Tigase server administration: RE: How to trace step by step tigase-server-7.0.2-b3821.jar command...

Mon, 08/17/2015 - 01:37

You can execute installer with additional -DTRACE=TRUE parameter, i.e.:
java -DTRACE=TRUE -jar tigase-server-7.0.2-b3821.jar --console

Categories: Tigase Forums

Tigase server development: RE: User Authentication Failed through psi.

Mon, 08/17/2015 - 01:32

Please share the detail of the user (select from the database) as well as full console output from Psi.

Categories: Tigase Forums

Tigase server development: RE: Roster

Mon, 08/17/2015 - 01:31

Have you modified Tigase in any way? Is it possible that your library auto-authorize contacts on log-in? I've run the scenario and couldn't reproduce it. After re-login user still has 'pending' status.

Categories: Tigase Forums

Tigase server administration: RE: Unable to log with admin account after installation

Mon, 08/17/2015 - 01:15

Cyrille Voluter wrote:

Unfortunately, when i try from other than localhost machine, i can connect on auth page from http://mydomain.cloudapp.net:8080/ui/ but when I try to log in something (bosh url : http://mydomain.cloudapp.net:5280/bosh) nothing proceed and CROSS domain error appear into debug dev log plug in.
I have already tried with full ip but it something.

BOSH url is intended to establish XMPP connections over bosh protocol and not for any kind of administrative operations.

Categories: Tigase Forums

Tigase server development: RE: Recieve a message twice

Mon, 08/17/2015 - 01:06

Most likely Stream Management either haven't confirmed this packet or the confirmation hasn't reached the server so the packet was stored to the offline repository and then delivered upon re-connection.

Categories: Tigase Forums

Pages

Get in touch

We provide software products, consulting and custom development services

Tigase, Inc.
100 Pine Street, Suite 1250
San Francisco, CA 94111, USA
Phone: (415) 315 9771

Follow us on:

Twitter

Back to Top