Projects tigase _server server-core Issues #719
DSLBeanConfiguratorWithBackwardCompatibility.configure - Class is using deprecated configuration using methods getDefaults() and setProperties() (#719)
Closed
wojciech.kapcia@tigase.net opened 8 years ago
Due Date
2016-09-29

On clean and latest origin/master:

wojtek@atlantiscity.local ~/dev/tigase/tigase-server $ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   etc/init.properties
	deleted:    logs/server-info.html
	modified:   pom.xml

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	etc/init.properties.old

no changes added to commit (use "git add" and/or "git commit -a")

We end up with log flooded with DSLBeanConfiguratorWithBackwardCompatibility.configure() WARNING: Class tigase.cluster.BoshConnectionClustered is using deprecated configuration using methods getDefaults() and setProperties() and eventually server stops with @java.lang.StackOverflowError@:

STARTED Tigase Fri Sep 23 15:18:41 CEST 2016
Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4491/8e886ee0 (2016-09-23/13:15:48), Class=tigase.xml.XMLUtils}
componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4491/8e886ee0 (2016-09-23/13:15:48), Class=tigase.util.ClassUtil}
componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4491/8e886ee0 (2016-09-23/13:15:48), Class=tigase.server.XMPPServer}
2016-09-23 15:18:42.059 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Setting defaults: --property-file = etc/init.properties

…

2016-09-23 15:11:07.257 [main]             DSLBeanConfiguratorWithBackwardCompatibility.configure()  WARNING: Class tigase.cluster.BoshConnectionClustered is using deprecated configuration using methods getDefaults() and setProperties()
2016-09-23 15:11:07.284 [main]             DSLBeanConfiguratorWithBackwardCompatibility.configure()  WARNING: Class tigase.cluster.BoshConnectionClustered is using deprecated configuration using methods getDefaults() and setProperties()

… (hundreds of same entries)

2016-09-23 15:11:19.369 [main]             DSLBeanConfiguratorWithBackwardCompatibility.configure()  WARNING: Class tigase.cluster.BoshConnectionClustered is using deprecated configuration using methods getDefaults() and setProperties()
2016-09-23 15:11:19.377 [main]             ThreadExceptionHandler.uncaughtException()  SEVERE: Uncaught thread: "main" exception
java.lang.StackOverflowError
	at java.util.regex.Pattern$CharProperty.match(Pattern.java:3776)
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
	at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)
	at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)
	at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3798)
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
	at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
	at java.util.regex.Pattern$Branch.match(Pattern.java:4602)
	at java.util.regex.Pattern$Branch.match(Pattern.java:4602)
	at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)
	at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)
	at java.util.regex.Pattern$Curly.match0(Pattern.java:4279)
	at java.util.regex.Pattern$Curly.match(Pattern.java:4234)
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
	at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
	at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)
	at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)
	at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3798)
	at java.util.regex.Pattern$Curly.match0(Pattern.java:4279)
	at java.util.regex.Pattern$Curly.match(Pattern.java:4234)
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
	at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
	at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3798)
	at java.util.regex.Pattern$Start.match(Pattern.java:3461)
	at java.util.regex.Matcher.search(Matcher.java:1248)
	at java.util.regex.Matcher.find(Matcher.java:664)
	at java.util.Formatter.parse(Formatter.java:2549)
	at java.util.Formatter.format(Formatter.java:2501)
	at java.util.Formatter.format(Formatter.java:2455)
	at java.lang.String.format(String.java:2940)
	at tigase.util.LogFormatter.format(LogFormatter.java:73)
	at java.util.logging.StreamHandler.publish(StreamHandler.java:211)
	at java.util.logging.FileHandler.publish(FileHandler.java:682)
	at java.util.logging.Logger.log(Logger.java:738)
	at java.util.logging.Logger.doLog(Logger.java:765)
	at java.util.logging.Logger.log(Logger.java:788)
	at java.util.logging.Logger.config(Logger.java:1502)
	at tigase.kernel.beans.config.AbstractBeanConfigurator.configure(AbstractBeanConfigurator.java:61)
	at tigase.component.DSLBeanConfiguratorWithBackwardCompatibility.configure(DSLBeanConfiguratorWithBackwardCompatibility.java:48)
	at tigase.kernel.beans.config.AbstractBeanConfigurator.configure(AbstractBeanConfigurator.java:164)
	at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
	at tigase.kernel.core.Kernel.injectIfRequired(Kernel.java:656)
	at tigase.kernel.core.Kernel.ln(Kernel.java:748)
	at tigase.server.ConnectionManager$PortsConfigBean.register(ConnectionManager.java:1602)
	at tigase.kernel.core.Kernel.initBean(Kernel.java:137)
	at tigase.kernel.core.Kernel.injectIfRequired(Kernel.java:645)
	at tigase.kernel.core.Kernel.ln(Kernel.java:748)
	at tigase.server.ConnectionManager$PortsConfigBean.register(ConnectionManager.java:1602)
	at tigase.kernel.core.Kernel.initBean(Kernel.java:137)
	at tigase.kernel.core.Kernel.injectIfRequired(Kernel.java:645)
	at tigase.kernel.core.Kernel.ln(Kernel.java:748)
	at tigase.server.ConnectionManager$PortsConfigBean.register(ConnectionManager.java:1602)
	at tigase.kernel.core.Kernel.initBean(Kernel.java:137)
	at tigase.kernel.core.Kernel.injectIfRequired(Kernel.java:645)
	at tigase.kernel.core.Kernel.ln(Kernel.java:748)
	at tigase.server.ConnectionManager$PortsConfigBean.register(ConnectionManager.java:1602)
…
Andrzej Wójcik (Tigase) commented 8 years ago

I fixed few issues with TKF in Tigase XMPP Server and they lead to weird behaviour and were result of changes from #4554.

I already fixed this issues, could you check if this issue is still happening? for me this works fine. If there is still an issue on your installation please attach init.properties file so I could look for possible configuration issues - maybe conversion of configuration failed at some point.

wojciech.kapcia@tigase.net commented 8 years ago

fixed

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
4585
Version
tigase-server-8.0.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#719
Please wait...
Page is in error, reload to recover