Feed aggregator

Tigase server development: Is some limits to Tigase connect?

Tigase XMPP Server Board - 1 hour 17 min ago

The cpu using rate isn't high and the memory using rate also not high. Why after the connect arrive at 2000, it won't increase.

Categories: Tigase Forums

Tigase server administration: Can't connect to Tigase server running on EC2 Instance: Connection ...

Tigase XMPP Server Board - 8 hours 24 min ago

After installing Tigase on an AWS EC2 instance I keep getting the error message 'connection refused' when I try to connect to it using an xmpp client.

The instance is attached to a security group with rules to allow traffic to the necessary ports. I've also tried it with rules allowing all traffic to all ports from all sources but I still get the same message.

I've also checked iptables because I noticed some people needed to configure those as well in specific cases, I made sure it allows all connections but still I can't connect to Tigase.

There are no problems with the installation of Tigase and there seem to be no problems starting Tigase up. I do see the following warning in the log: Resolving default host name: <internal AWS hostname> took: 22.
I've read that this shouldn't be a problem unless resolving takes very long. Is 22 to long?

There's also another warning: [sess-man tasks] ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "sess-man tasks" exception.
This doesn't seem related to my problem but could it be?

Other relevant information
  • SSH (port 22) and HTTP (port 80) work fine
  • Enabling ICMP (ping) on all ports works fine
  • I've tried several xmpp clients, same problem
  • I've deleted and recreated instances several times
  • Re-installed Tigase on fresh instances several times with various configuration options
  • Tried using domain name associated with Elastic IP, normal IP and tried public DNS directly.
  • Configured the DNS in the way necessary for Tigase as described here: http://www.xmppwithtigase.org/installation.html#dns

I've looked everywhere and have not been able to find anything to fix this. Networking isn't my main area of expertise and I'd really appreciate any advice.

Categories: Tigase Forums

Tigase server development: RE: Startup Errors

Tigase XMPP Server Board - 16 hours 46 min ago

Hi, the above error shows up after closing and restarting Tigase process.

Categories: Tigase Forums

Tigase server development: Register user error

Tigase XMPP Server Board - 19 hours 8 min ago

Hi, Registered users fail to use tsung
DATA=<iq xmlns="jabber:client" id="2068" type="error"> <query xmlns="jabber:iq:register"> <username>tsung1036</username> <resource>tsung</resource> <password>tsung1036</password> </query> <error code="501" type="cancel"> <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/> <text xml:lang="en" xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"> Feature not supported yet.</text></error></iq>, SIZE=389, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=error

Categories: Tigase Forums

Tigase server development: ER diagram of tigase

Tigase XMPP Server Board - 21 hours 25 min ago

The schema is so simple in Tigase (most is key/value). However if you want an ER diagram, use dbvisualizer (https://www.dbvis.com/download/) to create it from the db.

/Steffen

On 07 Jul 2015, at 07:58, wrote:

Categories: Tigase Forums

Tigase server administration: RE: Configuration question.

Tigase XMPP Server Board - 21 hours 37 min ago

Yes, the whole trouble is location of scripts for http. I tried just standard setup in /opt/tigase-server and it started no problem. Will be nice have ability to change it. That RPM will lay into system structure.

There are another few configuration issues which can't find resolution for it.

1. Bosh get rolled until timeout both port 5281,5280

ConnectionOpenThread] ConnectionManager$ConnectionListenerImpl.accept() FINEST: Accept called for service: null@null, port_props: {socket=ssl, type=accept, ifc=[Ljava.lang.String;@36681447, remote-host=localhost, required=false, port-no=5281} 2015-07-07 01:53:51.372 [ConnectionOpenThread] ConnectionManager.serviceStarted() FINER: [[bosh]] Connection started: null, type: accept, Socket: TLS: nullSocket[addr=/192.168.10.115,port=37184,localport=5281], jid: null

2. How to create Roster Groups for User under one organization ? And how to subscribe to it by default specific users.

Categories: Tigase Forums

Tigase server development: ER diagram of tigase

Tigase XMPP Server Board - Mon, 07/06/2015 - 22:58

May I know Entity Relationship diagram of the Tigase?

Categories: Tigase Forums

Tigase server development: RE: Messages with AMP expired tag delivered after the expiration

Tigase XMPP Server Board - Mon, 07/06/2015 - 15:32

To be honest I am not certain yet on ETA. I am not sure what is the best way to approach this problem. We are still discussing what would be the best solution. TTL is just one of many similar issues, even AMP has more options and there are other use-cases besides AMP.

Categories: Tigase Forums

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

Tigase XMPP Server Board - Mon, 07/06/2015 - 08:11

I,
I can log with admin account through XMPP client now.

But web administration always still not active.

Is is possible to deploy war package manualy ?

Thks,

Categories: Tigase Forums

Tigase server administration: RE: Configuration question.

Tigase XMPP Server Board - Mon, 07/06/2015 - 06:20

Thank you for reply,
Yes, I am trying build RPM where I want set scripts directory to /usr/share/tigase/scripts as default location for RPM 7.0.2

Is possible adjust the path during the build ?

For rest I set this way, but didn't helped.
http/rest-scripts-dir = /usr/share/tigase/scripts/rest

Current settings for HTTP

http/server-class[S]=tigase.http.jetty.JettyStandaloneHttpServer http/port[S]=8085 http/rest-scripts-dir[S]=/usr/share/tigase/scripts/rest http/admin-scripts-dir[S]=/usr/share/tigase/scripts/admin http/scripts-dir[S]=/usr/share/tigase/scripts

The web.ui war file is present I think again location problem.
Here are ps -ef of tigase.
I tried add -Dfelix.config.properties=file:/etc/tigase/config.properties

[root@xmpp tigase]# ps -ef | grep java root 17625 1 2 08:02 ? 00:00:09 /bin/java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Dfelix.config.properties=file:/etc/tigase/config.properties -Djdbc.drivers=com.mysql.jdbc.Driver:org.postgresql.Driver:org.apache.derby.jdbc.EmbeddedDriver -server -Xms100M -Xmx200M -XX:PermSize=32m -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=128m -Dlogback.configurationFile=/etc/tigase/logback.xml -cp /usr/share/java/derby-7.0.2.jar:/usr/share/java/derbytools-7.0.2.jar:/usr/share/java/groovy-all-7.0.2.jar:/usr/share/java/hamcrest-core-7.0.2.jar:/usr/share/java/javax.servlet-api-7.0.2.jar:/usr/share/java/jdmkrt-7.0.2.jar:/usr/share/java/jetty-http-7.0.2.jar:/usr/share/java/jetty-io-7.0.2.jar:/usr/share/java/jetty-security-7.0.2.jar:/usr/share/java/jetty-server-7.0.2.jar:/usr/share/java/jetty-servlet-7.0.2.jar:/usr/share/java/jetty-util-7.0.2.jar:/usr/share/java/jstun-7.0.2.jar:/usr/share/java/jtds-7.0.2.jar:/usr/share/java/jul-to-slf4j-7.0.2.jar:/usr/share/java/licence-lib-7.0.2.jar:/usr/share/java/logback-classic-7.0.2.jar:/usr/share/java/logback-core-7.0.2.jar:/usr/share/java/mongo-java-driver-7.0.2.jar:/usr/share/java/mysql-connector-java-7.0.2.jar:/usr/share/java/org.apache.felix.bundlerepository-7.0.2.jar:/usr/share/java/org.apache.felix.configadmin-7.0.2.jar:/usr/share/java/org.apache.felix.main-7.0.2.jar:/usr/share/java/org.apache.felix.shell-7.0.2.jar:/usr/share/java/org.apache.felix.shell.remote-7.0.2.jar:/usr/share/java/org.osgi.core-7.0.2.jar:/usr/share/java/postgresql-7.0.2.jar:/usr/share/java/slf4j-api-7.0.2.jar:/usr/share/java/tigase-acs-7.0.2.jar:/usr/share/java/tigase-acs-muc-7.0.2.jar:/usr/share/java/tigase-acs-pubsub-7.0.2.jar:/usr/share/java/tigase-extras-7.0.2.jar:/usr/share/java/tigase-http-api-7.0.2.jar:/usr/share/java/tigase-http-api-jetty-7.0.2.jar:/usr/share/java/tigase-message-archiving-7.0.2.jar:/usr/share/java/tigase-mongodb-7.0.2.jar:/usr/share/java/tigase-muc-7.0.2.jar:/usr/share/java/tigase-pubsub-7.0.2.jar:/usr/share/java/tigase-server-7.0.2.jar:/usr/share/java/tigase-socks5-7.0.2.jar:/usr/share/java/tigase-stats-collector-library-7.0.2.jar:/usr/share/java/tigase-stats-collector-provider-7.0.2.jar:/usr/share/java/tigase-stun-7.0.2.jar:/usr/share/java/tigase-unified-archive-7.0.2.jar:/usr/share/java/tigase-server-7.0.2.jar tigase.server.XMPPServer --property-file /etc/tigase/init.properties
Categories: Tigase Forums

Tigase server administration: RE: Issue with Tigase Clustering Mode

Tigase XMPP Server Board - Mon, 07/06/2015 - 04:16

Alright, both hosts are in the table now! Great!

How can I make sure the clustering is working correctly? Any way to test it? As in, what should the client application try to connect to? There are two servers, but they should be considered as one, I assume? Should it connect to test1.example.com or test2.example.com? Or should there be a center cluster node example.com that the client connects to and it will forward the connection/load to one of the less busy clusters?

Thank you again for your patience and help!

Categories: Tigase Forums

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

Tigase XMPP Server Board - Mon, 07/06/2015 - 04:10

Hello,
Tigase setup seem to be processed correctly. No problems notified during installation ( in console mode).
nevertheless, localhost:8080/ doesn't respond and connection thought Xmpp client is impossible.

Version : Tigase community ediion 7.0.2-b3821
Server : Linux UBUNTU 15.05 LTS on Azure VM over SSH
SGBD : MySQL 5.1 community edition in same server VM
Java and JDK version : java version "1.7.0_79", OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1), OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode).

Categories: Tigase Forums

Tigase server development: RE: Using tsung to test Tigase

Tigase XMPP Server Board - Mon, 07/06/2015 - 03:57

Yes, I have adjusted.
now, I show you all my tigase's configure and tsung's configure.

Categories: Tigase Forums

Tigase server administration: RE: Issue with Tigase Clustering Mode

Tigase XMPP Server Board - Mon, 07/06/2015 - 03:25

Auto-discovery is available in that version. All nodes are tied to the shared within same database - please check cluster_nodes table.

Categories: Tigase Forums

Tigase server administration: RE: Configuration question.

Tigase XMPP Server Board - Mon, 07/06/2015 - 03:23

Slava Bendersky wrote:

There are was missing some jars. I fixed in spec file. Right I have more jars in directory and CLASSPATH look this.
But still not starting .
[...]

Error on start

java.lang.NullPointerException: Cannot get property 'length' on null object

Have you put the REST scripts in correct locations?

Slava Bendersky wrote:

I have another few questions.

1. What available values for saslAllowedMechanisms: null.

All mechanisms that implement javax.security.sasl.SaslServer or extend tigase.auth.mechanisms.AbstractSasl. You can check package tigase.auth.mechanisms for default available mechanisms.

2. How to deploy war file for web ui ? Server is running on 8080, but get 404 on ui/ or empty responses on /
How to specify location config.properties for web server.

web.ui is included by default in our distribution packages and available in maven repository so while building it will be pulled automatically: http://maven.tigase.org/tigase/sure/web/tigase-web-ui/2.0/

Slava Bendersky wrote:

One more question.

How I can change scripts directory to /usr/share/tigase/scripts ?
All web apps use scripts/admin

[...]

Admin ad-hoc path can be set using --script-dir=<path>. If I remember correctly HTTP api scripts location is currently hardcoded.

Categories: Tigase Forums

Tigase server administration: RE: Issue with Tigase Clustering Mode

Tigase XMPP Server Board - Mon, 07/06/2015 - 03:09

I'm using version 5.3, do I need to upgrade?

Also, how will they be autodiscovered if they are on different servers? And is there a way of finding out if they were discovered correctly?

Thank you.

Categories: Tigase Forums

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

Tigase XMPP Server Board - Mon, 07/06/2015 - 03:00

Was the admin user correctly created during the installation? Is it present in the database?
If you used the installer or full distribution package then you should be able to access the web UI under http://localhost:8080/ui/

Categories: Tigase Forums

Tigase server administration: RE: Issue with Tigase Clustering Mode

Tigase XMPP Server Board - Mon, 07/06/2015 - 02:57

You don't need to specify cluster nodes in the latest versions of Tigase as they will be auto-discovered. Please also make sure that your system configuration (hostnames) is correct and resolves properly.

Categories: Tigase Forums

Tigase server development: RE: Using tsung to test Tigase

Tigase XMPP Server Board - Mon, 07/06/2015 - 02:51

Have you adjusted settings for new connections throttling? You're doing 400connectins per second. It seems you're doing the testing on the same machine so this may be limiting factor as well. Please also adjust settings for High load systems

Categories: Tigase Forums

Tigase server administration: RE: Configuration question.

Tigase XMPP Server Board - Mon, 07/06/2015 - 00:09

One more question.

How I can change scripts directory to /usr/share/tigase/scripts ?
All web apps use scripts/admin

java.io.FileNotFoundException: /scripts/admin/template.html (No such file or directory)
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