Products & Services‎ > ‎SymmetricDS‎ > ‎

Log


1. Problem when starting the Server : 


wildan@OpenThinkLabs:~/jobstuff/Software/SymmetricDS/root$ ./bin/sym -v  -p samples/root.properties --port 8080 --server
[INFO] PlatformFactory - The DDLUtils platform being used is org.apache.ddlutils.platform.mysql.MySql50Platform
[INFO] MySqlDbDialect - The DbDialect being used is org.jumpmind.symmetric.db.mysql.MySqlDbDialect
[INFO] SymmetricWebServer - About to start SymmetricDS web server on port 8080
[INFO] sync - Initializing Spring root WebApplicationContext
[INFO] ConfigurationService - Initializing SymmetricDS database.
[INFO] MySqlDbDialect - Starting auto update of SymmetricDS tables.
[INFO] ConfigurationService - No need to create channel config.  It already exists.
[INFO] ConfigurationService - No need to create channel reload.  It already exists.
[INFO] ConfigurationService - Done initializing SymmetricDS database.
[ERROR] SymmetricEngineContextLoaderListener - Failed to initialize the web server context. <java.lang.IllegalStateException: Please set the property registration.url so this node may pull registration or manually insert configuration into the configuration tables.>java.lang.IllegalStateException: Please set the property registration.url so this node may pull registration or manually insert configuration into the configuration tables.
at org.jumpmind.symmetric.AbstractSymmetricEngine.validateConfiguration(AbstractSymmetricEngine.java:338)
at org.jumpmind.symmetric.AbstractSymmetricEngine.start(AbstractSymmetricEngine.java:122)
at org.jumpmind.symmetric.SymmetricEngineContextLoaderListener.createConfigureAndStartEngine(SymmetricEngineContextLoaderListener.java:87)
at org.jumpmind.symmetric.SymmetricEngineContextLoaderListener.contextInitialized(SymmetricEngineContextLoaderListener.java:64)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.jumpmind.symmetric.SymmetricWebServer.start(SymmetricWebServer.java:185)
at org.jumpmind.symmetric.SymmetricWebServer.start(SymmetricWebServer.java:152)
at org.jumpmind.symmetric.SymmetricLauncher.main(SymmetricLauncher.java:301)

[INFO] sync - Initializing Spring root WebApplicationContext
[ERROR] SymmetricEngineContextLoaderListener - Failed to initialize the web server context. <java.lang.IllegalStateException: Please set the property registration.url so this node may pull registration or manually insert configuration into the configuration tables.>java.lang.IllegalStateException: Please set the property registration.url so this node may pull registration or manually insert configuration into the configuration tables.
at org.jumpmind.symmetric.AbstractSymmetricEngine.validateConfiguration(AbstractSymmetricEngine.java:338)
at org.jumpmind.symmetric.AbstractSymmetricEngine.start(AbstractSymmetricEngine.java:122)
at org.jumpmind.symmetric.SymmetricEngineContextLoaderListener.createConfigureAndStartEngine(SymmetricEngineContextLoaderListener.java:87)
at org.jumpmind.symmetric.SymmetricEngineContextLoaderListener.contextInitialized(SymmetricEngineContextLoaderListener.java:64)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.jumpmind.symmetric.SymmetricWebServer.start(SymmetricWebServer.java:185)
at org.jumpmind.symmetric.SymmetricWebServer.start(SymmetricWebServer.java:152)
at org.jumpmind.symmetric.SymmetricLauncher.main(SymmetricLauncher.java:301)

[INFO] SymmetricWebServer - Starting JMX HTTP console on port 8081
HttpAdaptor version 3.0.1 started on port 8081

Here is the default "root.properties" : 

# The class name for the JDBC Driver
db.driver=com.mysql.jdbc.Driver
#db.driver=oracle.jdbc.driver.OracleDriver
#db.driver=org.postgresql.Driver
#db.driver=org.apache.derby.jdbc.EmbeddedDriver
#db.driver=org.hsqldb.jdbcDriver
#db.driver=net.sourceforge.jtds.jdbc.Driver
#db.driver=com.ibm.db2.jcc.DB2Driver
db.driver=org.h2.Driver

# The JDBC URL used to connect to the database
db.url=jdbc:mysql://localhost/rootsymmetricds
#db.url=jdbc:oracle:thin:@127.0.0.1:1521:sampleroot
#db.url=jdbc:postgresql://localhost/sampleroot
#db.url=jdbc:derby:sampleroot;create=true
#db.url=jdbc:hsqldb:file:sampleroot;shutdown=true
#db.url=jdbc:h2:file:sampleroot
#db.url=jdbc:jtds:sqlserver://localhost:2299/sampleroot
#db.url=jdbc:db2://localhost/samproot
#db.url=jdbc:h2:sampleroot;AUTO_SERVER=TRUE;LOCK_TIMEOUT=60000

# The user to login as who can create and update tables
db.user=rootsymmetricds

# The password for the user to login as
db.password=ayambakar

sync.url=http://localhost:8080/sync


# Do not change these for running the demo
group.id=corp
external.id=00000


# Don't muddy the waters with purge logging
job.purge.period.time.ms=720000
Solution : Repeat the installation process :)


Comments