垂直分库配置后,mycat start 无法启动
来源:4-9 垂直切分schema文件配置

不会飞的大树
2018-10-16
启动日志
STATUS | wrapper | 2018/10/13 07:50:11 | --> Wrapper Started as Daemon
STATUS | wrapper | 2018/10/13 07:50:11 | Launching a JVM...
INFO | jvm 1 | 2018/10/13 07:50:12 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2018/10/13 07:50:12 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2018/10/13 07:50:12 |
INFO | jvm 1 | 2018/10/13 07:50:13 |
INFO | jvm 1 | 2018/10/13 07:50:13 | WrapperSimpleApp: Encountered an error running main: java.lang.ExceptionInInitializerError
INFO | jvm 1 | 2018/10/13 07:50:13 | java.lang.ExceptionInInitializerError
INFO | jvm 1 | 2018/10/13 07:50:13 | at io.mycat.MycatStartup.main(MycatStartup.java:53)
INFO | jvm 1 | 2018/10/13 07:50:13 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2018/10/13 07:50:13 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2018/10/13 07:50:13 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2018/10/13 07:50:13 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | 2018/10/13 07:50:13 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2018/10/13 07:50:13 | at java.lang.Thread.run(Thread.java:745)
INFO | jvm 1 | 2018/10/13 07:50:13 | Caused by: io.mycat.config.util.ConfigException: SelfCheck### schema order_db refered by user app_imooc is not exist!
INFO | jvm 1 | 2018/10/13 07:50:13 | at io.mycat.config.ConfigInitializer.selfChecking0(ConfigInitializer.java:142)
INFO | jvm 1 | 2018/10/13 07:50:13 | at io.mycat.config.ConfigInitializer.<init>(ConfigInitializer.java:118)
INFO | jvm 1 | 2018/10/13 07:50:13 | at io.mycat.config.MycatConfig.<init>(MycatConfig.java:72)
INFO | jvm 1 | 2018/10/13 07:50:13 | at io.mycat.MycatServer.<init>(MycatServer.java:170)
INFO | jvm 1 | 2018/10/13 07:50:13 | at io.mycat.MycatServer.<clinit>(MycatServer.java:116)
INFO | jvm 1 | 2018/10/13 07:50:13 | ... 7 more
STATUS | wrapper | 2018/10/13 07:50:15 | <-- Wrapper Stopped
截图提示发布不了!
1回答
-
从以上信息看可能是配置问题:schema order_db refered by user app_imooc is not exist!.看一下server.xml的配置中用户相关的配置是否正确。072018-10-16
相似问题