gearman-java icon indicating copy to clipboard operation
gearman-java copied to clipboard

Can't load config.yml

Open yairpe opened this issue 10 years ago • 3 comments

I'm using the default config.yml with gearman-server-0.8.9-20141210.162656-1.jar port: 4730 httpPort: 8080 enableSSL: false debugging: true hostName: localhost persistenceEngine: engine: memory exceptionStore: engine: memory

but it doesn't load it and give an error: root@sparrow [/home/topi12sf/public_html/protected]# java -jar /home/topi12sf/public_html/protected/components/net_gearman/gearman-server-0.8.9-20141210.162656-1.jar 11:53:33.739 - [main] ERROR n.j.gearman.server.GearmanDaemon - Can't load config.yml: org.yaml.snakeyaml.constructor.ConstructorException: null; Can't construct a java object for tag:yaml.org,2002:net.johnewart.gearman.server.config.GearmanServerConfiguration; exception=Cannot create property=exceptionStore for JavaBean=net.johnewart.gearman.server.config.GearmanServerConfiguration@3f2a3a5; Unable to find property 'exceptionStore' on class: net.johnewart.gearman.server.config.GearmanServerConfiguration; in 'reader', line 1, column 1: port: 4730 ^ at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:333) ~[gearman-server-0.8.9-20141210.162656-1.jar:0.4]

yairpe avatar Nov 11 '15 09:11 yairpe

??? anyone?

yairpe avatar Dec 28 '15 09:12 yairpe

Remove the exceptionStore setting from the yml file. It will work fine

arcaneiceman avatar Jun 05 '16 22:06 arcaneiceman

Somehow I missed this -- sorry ... that is supported in the latest SNAPSHOT, not 0.8.9

johnewart avatar Jun 06 '16 21:06 johnewart