Project

General

Profile

Tigase 7.2 DSL (HOWTO)

Alex Kobzar
Added almost 2 years ago

Hello.

I'm very sorry.

But i'm stuck.

Many time i ask you about HTTP user storage for receive files with web link interface.

So, at the moment you answered about it in another post.

I was start reading documentation. And as i understand - i must use Tigase 7.2 version.

Because i must setup my @upload section in init.properties file.

In the official doc i found next:

"From Tigase XMPP Server 7.2.0 release it will be possible to use new DSL based configuration file format"

So, i downloaded 7.2 version from nightly build, unpack it and copy it to my working directory (/etc/tigase)

After this i just run my new tigase installation and connect to web interface http://chat.myserver.com:8080/setup/ and finish setup.

After this steps i already have this config:

--debug = server
--virtual-hosts = chat.myserver.com
admin = [ 'kobzar@chat.myserver.com' ]
'config-type' = 'default'
default () {
    uri = 'jdbc:postgresql://localhost/tigdb?user=tigu&password=PASS'
}
http () {
    setup () {
        'admin-password' = 'PASSWORD'
        'admin-user' = 'kobzar'
    }
}
'sess-man' () {
    'http://jabber.org/protocol/jingle' () {}
    'http://jabber.org/protocol/offline' () {}
    'jingle-archive' () {}
    'login-history' () {}
    presence () {}
    'presence-offline' () {}
    zlib (active: false) {}
}
upload () {}

But after installation was finish and restart the server i have a lot of errors in my LOG file.And server isn't work properly.

Another question - all settings in DOCUMENT for old type. Where we can find actual info and examples for FULL DSL server config ?

(My log)

componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.xml.XMLUtils}
componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.util.ClassUtil}
componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.XMPPServer}

2017-04-10 12:41:58.001 [main]             ConfiguratorAbstract.parseArgs()        CONFIG:   Setting defaults: --property-file = etc/init.properties

2017-04-10 12:41:59.919 [main]             AbstractBeanConfigurator.registerBeans()  WARNING: unknown class null for bean default, skipping registration of a bean
2017-04-10 12:41:59.954 [main]             DNSResolverDefault.<init>()             WARNING:  Resolving default host name: chat.domain.com took: 20
2017-04-10 12:42:00.068 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean instance (class: interface tigase.db.UserRepository), skipping injection of this bean
2017-04-10 12:42:00.070 [main]             Kernel.injectDependencies()             WARNING:  Can't inject dependency to bean default (class: class tigase.db.beans.UserRepositoryMDPoolBean$UserRepositoryConfigBean) unloading bean default
2017-04-10 12:42:00.098 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean default (class: class tigase.server.amp.db.MsgRepository$MsgRepositoryMDBean$MsgRepositoryConfigBean), skipping injection of this bean
2017-04-10 12:42:00.152 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean default (class: class tigase.server.amp.db.MsgBroadcastRepository$MsgBroadcastRepositoryBean$MsgBroadcastRepositoryConfigBean), skipping injection of this bean
2017-04-10 12:42:00.172 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:00.173 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: amp :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.amp.AmpComponent}
2017-04-10 12:42:01.072 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean default (class: class tigase.http.upload.db.FileUploadRepositoryPool$FileUploadRepositoryConfigBean), skipping injection of this bean
2017-04-10 12:42:01.094 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:01.095 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
2017-04-10 12:42:01.103 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean logic (class: class tigase.http.upload.logic.DefaultLogic), skipping injection of this bean
2017-04-10 12:42:01.103 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean fileServletContext (class: class tigase.http.upload.FileServlet$FileServletContext), skipping injection of this bean
2017-04-10 12:42:01.104 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean httpModule (class: class tigase.http.upload.HttpModule), skipping injection of this bean
2017-04-10 12:42:01.105 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean upload (class: class tigase.http.upload.FileUploadComponent), skipping injection of this bean
2017-04-10 12:42:01.151 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:01.152 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
2017-04-10 12:42:01.155 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean seeOtherHost (class: class tigase.server.xmppclient.SeeOtherHost), skipping injection of this bean
2017-04-10 12:42:01.177 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:01.178 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: bosh :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.bosh.BoshConnectionManager}
2017-04-10 12:42:01.481 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:01.482 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: stats :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.stats.StatisticsCollector}
2017-04-10 12:42:01.755 [main]             UserRepositoryMDImpl.getData()          WARNING:  Couldn't obtain user repository for domain: sess-man, not even default one!
2017-04-10 12:42:01.793 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean http://jabber.org/protocol/offline (class: class tigase.xmpp.impl.FlexibleOfflineMessageRetrieval), skipping injection of this bean
Loading plugin: http://jabber.org/protocol/stats=32:1169 ...    , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: jabber:iq:version=32:1169 ...   , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=128:292 ...    , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: default-handler=128:292 ...     , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: jabber:iq:roster=128:292 ...    , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: presence-offline=128:292 ...    , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: starttls=32:1169 ...    , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: jabber:iq:auth=32:1169 ...      , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: message-archive-xep-0136=32:1169 ...    , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: session-close=128:292 ...       , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: presence-subscription=128:292 ...       , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: pep=64:584 ...  , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: urn:xmpp:time=32:1169 ...       , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: message-carbons=32:1169 ...     , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: urn:xmpp:mam:1=32:1169 ...      , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: jabber:iq:private=32:1169 ...   , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: jingle-archive=32:1169 ...      , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: jabber:iq:privacy=32:1169 ...   , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: vcard-temp=32:1169 ...  , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: http://jabber.org/protocol/commands=32:1169 ...         , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: urn:xmpp:csi:0=32:1169 ...      , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: jabber:iq:register=32:1169 ...  , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: disco=32:1169 ...       , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: presence-state=128:292 ...      , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: urn:xmpp:ping=32:1169 ...       , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: urn:xmpp:blocking=32:1169 ...   , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: session-open=64:584 ...         , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=32:1169 ...    , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: vcard-xep-0292=32:1169 ...      , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: presence=128:292 ...    , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: urn:ietf:params:xml:ns:xmpp-session=32:1169 ...         , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: amp=32:1169 ...         , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
Loading plugin: http://jabber.org/protocol/jingle=32:1169 ...   , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12)
2017-04-10 12:42:02.230 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:02.231 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: sess-man :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.xmppsession.SessionManager}
2017-04-10 12:42:05.654 [main]             PubSubConfig.initialize()               WARNING:  Configurator was not injected!
2017-04-10 12:42:05.689 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean default (class: class tigase.pubsub.repository.PubSubDAOPool$PubSubDAOConfigBean), skipping injection of this bean
2017-04-10 12:42:05.898 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:05.899 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: pubsub :: componentInfo{Title=Tigase PubSub, Version=3.3.0-SNAPSHOT-b600/afaad04e-7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.pubsub.PubSubComponent}
2017-04-10 12:42:06.914 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:06.915 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
2017-04-10 12:42:06.931 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:06.931 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
2017-04-10 12:42:06.934 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean seeOtherHost (class: class tigase.server.xmppclient.SeeOtherHost), skipping injection of this bean
2017-04-10 12:42:06.950 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:06.951 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: c2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.xmppclient.ClientConnectionManager}
2017-04-10 12:42:07.128 [main]             UserRepositoryMDImpl.userExists()       WARNING:  Couldn't obtain user repository for domain: tigase-monitor, not even default one!
2017-04-10 12:42:07.128 [main]             UserRepositoryMDImpl.addUser()          WARNING:  Couldn't obtain user repository for domain: tigase-monitor, not even default one!
2017-04-10 12:42:07.128 [main]             UserRepositoryMDImpl.getData()          WARNING:  Couldn't obtain user repository for domain: tigase-monitor, not even default one!
2017-04-10 12:42:07.157 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:07.157 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: monitor :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.monitor.MonitorComponent}
2017-04-10 12:42:07.257 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:07.258 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
2017-04-10 12:42:07.261 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean seeOtherHost (class: class tigase.server.xmppclient.SeeOtherHost), skipping injection of this bean
2017-04-10 12:42:07.278 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:07.279 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: ws2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.websocket.WebSocketClientConnectionManager}
2017-04-10 12:42:07.426 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:07.427 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: s2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.xmppserver.S2SConnectionManager}
2017-04-10 12:42:07.640 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:07.641 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: eventbus :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.eventbus.component.EventBusComponent}
2017-04-10 12:42:07.801 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:07.801 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: http :: componentInfo{Title=Tigase HTTP API component: Tigase HTTP API component, Version=1.3.0-SNAPSHOT-b181/07311ea4-7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.http.HttpMessageReceiver}
2017-04-10 12:42:07.948 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean default (class: class tigase.muc.repository.MucDAOMDBean$MucDAOProviderConfigBean), skipping injection of this bean
2017-04-10 12:42:07.990 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean default (class: class tigase.muc.history.HistoryProviderMDBean$HistoryProviderConfigBean), skipping injection of this bean
2017-04-10 12:42:08.041 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:08.042 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: muc :: componentInfo{Title=Tigase MUC, Version=2.5.0-SNAPSHOT-b503/7695f8f6-7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.muc.MUCComponent}
2017-04-10 12:42:08.229 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean default (class: class tigase.archive.db.MessageArchiveRepositoryPool$MessageArchiveRepositoryConfigBean), skipping injection of this bean
2017-04-10 12:42:08.301 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:08.302 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: message-archive :: componentInfo{Title=Tigase Message Archiving Component, Version=1.3.0-SNAPSHOT-b190/ab02cc19-7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.archive.MessageArchiveComponent}
2017-04-10 12:42:08.885 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:08.886 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
Loading component: message-router :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.MessageRouter}
2017-04-10 12:42:08.972 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean default (class: class tigase.http.upload.db.FileUploadRepositoryPool$FileUploadRepositoryConfigBean), skipping injection of this bean
2017-04-10 12:42:08.978 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:08.978 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
2017-04-10 12:42:08.983 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean logic (class: class tigase.http.upload.logic.DefaultLogic), skipping injection of this bean
2017-04-10 12:42:08.984 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean fileServletContext (class: class tigase.http.upload.FileServlet$FileServletContext), skipping injection of this bean
2017-04-10 12:42:08.984 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean httpModule (class: class tigase.http.upload.HttpModule), skipping injection of this bean
2017-04-10 12:42:08.984 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean upload (class: class tigase.http.upload.FileUploadComponent), skipping injection of this bean
2017-04-10 12:42:08.993 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean
2017-04-10 12:42:08.993 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean
2017-04-10 12:42:08.998 [main]             DSLBeanConfigurator.dumpConfiguration()  WARNING: Dumping full server configuration to: etc/config-dump.properties
== 2017-04-10 12:42:09.036 Server finished starting up and (if there wasn't any error) is ready to use



Replies (4)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam almost 2 years ago

Alex Kobzar wrote:

Hello.

I'm very sorry.

But i'm stuck.

Many time i ask you about HTTP user storage for receive files with web link interface.

So, at the moment you answered about it in another post.

I was start reading documentation. And as i understand - i must use Tigase 7.2 version.

Because i must setup my @upload section in init.properties file.

Yes, you are correct.

In the official doc i found next:

"From Tigase XMPP Server 7.2.0 release it will be possible to use new DSL based configuration file format"

So, i downloaded 7.2 version from nightly build, unpack it and copy it to my working directory (/etc/tigase)

After this i just run my new tigase installation and connect to web interface http://chat.myserver.com:8080/setup/ and finish setup.

After this steps i already have this config:

[...]

But after installation was finish and restart the server i have a lot of errors in my LOG file.And server isn't work properly.

I reviewed log which you attached and found issues in installed which caused generation of invalid config file. Tomorrows snapshot build will have proper fixes for this issues (#5290, #5292).

You need to keep in mind that Tigase XMPP Server 7.2.0-SNAPSHOT is still our development version and it is not stable yet (there are some issues which we need to fix) and installer for this version is still work in progress, ie. it is not able to load database schema for additional components (like HTTP File Upload Component).

Another question - all settings in DOCUMENT for old type. Where we can find actual info and examples for FULL DSL server config ?

I'm not sure what do you have in mind. We are currently in progress of updating our documentation, so it will contain DSL examples instead of old configuration format examples. Some documentations are already converted but main part (core Tigase XMPP Server documentation) is not finished yet.

You configuration file should look like this:

--debug = server
--virt-hosts = chat.myserver.com
admin = [ 'kobzar@chat.myserver.com' ]
'config-type' = 'default'
dataSource () {
    default () {
        uri = 'jdbc:postgresql://localhost/tigdb?user=tigu&password=PASS'
    }
}
http () {
    setup () {
        'admin-password' = 'PASSWORD'
        'admin-user' = 'kobzar'
    }
}
'sess-man' () {
    'http://jabber.org/protocol/jingle' () {}
    'http://jabber.org/protocol/offline' () {}
    'jingle-archive' () {}
    'login-history' () {}
    presence () {}
    'presence-offline' () {}
    zlib (active: false) {}
}
upload () {}

Added by Alex Kobzar almost 2 years ago

You need to keep in mind that Tigase XMPP Server 7.2.0-SNAPSHOT is still our development version and it is not stable yet (there are some issues which we need to fix) and installer for this version is still work in progress, ie. it is not able to load database schema for additional components (like HTTP File Upload Component).

So, i can't use this functional at this moment, before you add installer ? I am waiting this very long. When we can try it?

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam almost 2 years ago

You can try it. You need to use config which I provided to you and manually apply schema to your database (schema files are available here: https://projects.tigase.org/projects/tigase-http-api/repository/revisions/master/show/database)

Added by Alex Kobzar almost 2 years ago

Tryed!

Installation was finish with schema problem at this moment.

So i think, the build is VERY raw at this moment. There many simple issues, mistakes e.t.c

So, i will waiting. I hope you update this topic when we can try new build with new services.

    (1-4/4)