Projects tigase _server tigase-socks5 Issues #2
After manually setting DummyVerifier in init.properties file the component still complains about missing function in DB. (#2)
Artur Hefczyc opened 1 decade ago

There is following configuration in init.properties:

--comp-name-3=proxy
--comp-class-3=tigase.socks5.Socks5ProxyComponent
proxy/verifier-class=tigase.socks5.verifiers.DummyVerifier

I am getting an exception in the log file:

2013-04-14 12:36:48  Socks5ProxyComponent.setProperties()  SEVERE: An error initializing data repository pool: 
tigase.db.DBInitException: FUNCTION TigSocks5CreateUid does not exist
        at tigase.socks5.repository.JDBCSocks5Repository.initRepository(JDBCSocks5Repository.java:241)
        at tigase.socks5.Socks5ProxyComponent.setProperties(Socks5ProxyComponent.java:487)
        at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:861)
        at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:273)
        at tigase.conf.Configurator.componentAdded(Configurator.java:51)
        at tigase.conf.Configurator.componentAdded(Configurator.java:34)
        at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:115)
        at tigase.server.MessageRouter.addComponent(MessageRouter.java:122)
        at tigase.server.MessageRouter.addRouter(MessageRouter.java:159)
        at tigase.server.MessageRouter.setProperties(MessageRouter.java:801)
        at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:861)
        at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:273)
        at tigase.conf.Configurator.componentAdded(Configurator.java:51)
        at tigase.conf.Configurator.componentAdded(Configurator.java:34)
        at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:115)
        at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:145)
        at tigase.server.MessageRouter.setConfig(MessageRouter.java:700)
        at tigase.server.XMPPServer.start(XMPPServer.java:157)
        at tigase.server.XMPPServer.main(XMPPServer.java:126)
Andrzej Wójcik (Tigase) commented 1 decade ago

Database connection is also used by JDBCSocks5Respository for keeping usage statistics.

To make this work with without any additional configuration I added DummySocks5Repository which allows component to work without storing usage statistics and without any database as well. Now DummyVerifier and DummySocks5Repository are used as defaults.

issue 1 of 1
Type
Bug
Priority
Major
Assignee
RedmineID
1206
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-socks5#2
Please wait...
Page is in error, reload to recover