View Issue Details

IDProjectCategoryView StatusLast Update
0000769SymmetricDSBugpublic2012-08-14 07:57
Reporterraja_s_patilAssigned Tochenson 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0.10 
Target VersionFixed in Version3.1.0 
Summary0000769: Tomcat Deployment Broken
DescriptionI am testing Tomcat deployment with 3.0.10 but it wont start and there are no logs either tomcat or SymDS. The deployment is through context XMLs not wars. I have copied web/WEB-INF/lib/*.jar from 3.0.10 distribution and tried but above thing happens then I tried web/WEB-INF/lib/*.jar from 3.0.4 & 5 it works but since 3.0.6 onwards tomcat deployment has stopped working. Since no logs are created nothing more can be stated. Only thing happens is SymDS log files are created with 0 length in log folder in case of 3.0.6 onwards but for earlier versions logs are created normally and Data also flows. I have raised this issue on forum but there was no response to Issue is being opened here. If needed I can send relative conf and xmls to reproduce the issue.
TagsNo tags attached.

Activities

raja_s_patil

2012-08-11 00:31

reporter  

SymDS-Conf.txt (10,603 bytes)
symmetric.proprties for HO

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# JMX Properties
# This is the engine name.  This should be set if you have more than one engine running in the same JVM.
# It is used to name the JMX management bean.  Please do not use underscores in this name.

engine.name=SymDS3-HO

jmx.http.console.for.embedded.webserver.enabled=true
jmx.http.console.localhost.only.enabled=true

#====================================================================================================

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

#====================================================================================================

registration.url=
sync.url=http://localhost:8080/SymDS3-HO/sync/SymDS3-HO

# If this is true, registration is opened automatically for nodes requesting it. [ Default: false ]
auto.registration=true

# If this is true, a reload is automatically sent to nodes when they register. [ Default: false ]
auto.reload=true

#====================================================================================================

# The class name for the JDBC Driver
db.driver=org.firebirdsql.jdbc.FBDriver

# The JDBC URL used to connect to the database
db.url=jdbc:firebirdsql:localhost/3050:/FB_DEV/FB_DATA/Data/Tej_EIS_SYMDS3_HO.FDB

# The user to login as who can create and update tables
db.user=SYSDBA
db.password=masterkey

# The initial size of the connection pool
db.pool.initial.size=5

# The maximum number of connections that will be allocated in the pool
# The http.concurrent.workers.max value should be half or less than half of
# this value.
db.pool.max.active=40

# This is how long a request for a connection from the datasource will wait before
# giving up.
db.pool.max.wait.millis=30000

# This is how long a connection can be idle before it will be evicted.
# Tags: database
db.pool.min.evictable.idle.millis=120000

#====================================================================================================

# This is how often the router will run in the background
job.routing.period.time.ms=2500

# This is how often the push job will be run.
job.push.period.time.ms=5000

# This is how often the pull job will be run.
job.pull.period.time.ms=5000

# This is how often sym_node table's heartbeat_time column is updated [ Default: 900 ]
heartbeat.sync.on.push.period.sec=30

#====================================================================================================

start.purge.job=true

# This is how often the data gaps purge job will be run.
job.purge.datagaps.cron=0 0/30 * * * *

# This is how often the incoming batch spurge job will be run.
job.purge.incoming.cron=0 0/30 * * * *

# This is how often the outgoing batch and data purge job will be run.
job.purge.outgoing.cron=0 0/30 * * * *

# Don't muddy the waters with purge logging
#job.purge.period.time.ms=7200000
# Purge every 5 min 5*60*1000
job.purge.period.time.ms=300000

# This is the retention for how long synchronization data will be kept in the symmetric synchronization
# tables.  Note that data will be purged only if the purge job is enabled.
# default = 5 days * 24 * 60 = 7200
purge.retention.minutes=60

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

stmmetric.properties for Node KPR

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# JMX Properties
# This is the engine name.  This should be set if you have more than one engine running in the same JVM.
# It is used to name the JMX management bean.  Please do not use underscores in this name.

engine.name=SymDS3-KPR

jmx.http.console.for.embedded.webserver.enabled=true
jmx.http.console.localhost.only.enabled=true

#====================================================================================================

# Do not change these for running the demo
group.id=Branch
external.id=KPR

#====================================================================================================

# If this is true, a reload is automatically sent from a node after they register. [ Default: false ]
# auto.reload.reverse=true

# The HTTP URL of the root node to contact for registration
registration.url=http://localhost:8080/SymDS3-HO/sync/SymDS3-HO

#====================================================================================================

# The class name for the JDBC Driver
db.driver=org.firebirdsql.jdbc.FBDriver

# The JDBC URL used to connect to the database
db.url=jdbc:firebirdsql:localhost/3050:/FB_DEV/FB_DATA/Data/Tej_EIS_SYMDS3_KPR.GDB

# The user to login as who can create and update tables
db.user=SYSDBA
db.password=masterkey

#====================================================================================================

# This is how often the router will run in the background
job.routing.period.time.ms=2500

# This is how often the push job will be run.
job.push.period.time.ms=5000

# This is how often the pull job will be run.
job.pull.period.time.ms=5000

# This is how often sym_node table's heartbeat_time column is updated [ Default: 900 ]
heartbeat.sync.on.push.period.sec=30

#====================================================================================================

start.purge.job=true

# This is how often the data gaps purge job will be run.
job.purge.datagaps.cron=0 0/30 * * * *

# This is how often the incoming batch spurge job will be run.
job.purge.incoming.cron=0 0/30 * * * *

# This is how often the outgoing batch and data purge job will be run.
job.purge.outgoing.cron=0 0/30 * * * *

# Don't muddy the waters with purge logging
#job.purge.period.time.ms=7200000
# Purge every 5 min 5*60*1000
job.purge.period.time.ms=300000

# This is the retention for how long synchronization data will be kept in the symmetric synchronization
# tables.  Note that data will be purged only if the purge job is enabled.
# default = 5 days * 24 * 60 = 7200
purge.retention.minutes=60

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

context XML for HO in conf/catalina/localhost for HO

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/SymDS3-HO"
	docBase="/home/rsp/SymDS-3.0.10/tomcat/SymDS3-HO"
	antiResourceLocking="false"
	allowLinking="true">

	<Loader className="org.apache.catalina.loader.VirtualWebappLoader"
              virtualClasspath="/home/rsp/SymDS-3.0.10/tomcat/lib/*.jar;
              /home/rsp/SymDS-3.0.10/tomcat/conf"/>

</Context>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

context XML for HO in conf/catalina/localhost for KPR

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/SymDS3-KPR"
	docBase="/home/rsp/SymDS-3.0.10/tomcat/SymDS3-KPR"
	antiResourceLocking="false"
	allowLinking="true">

	<Loader className="org.apache.catalina.loader.VirtualWebappLoader"
              virtualClasspath="/home/rsp/SymDS-3.0.10/tomcat/lib/*.jar;
              /home/rsp/SymDS-3.0.10/tomcat/conf"/>

</Context>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Typical Log4j.xml

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

    <appender name="ROLLING" class="org.apache.log4j.RollingFileAppender">
        <param name="File" value="${SymDS3-HO.root}../logs/SymDS3-HO.log" />
        <param name="MaxFileSize" value="10MB" />
        <param name="MaxBackupIndex" value="3" />
		<param name = "immediateFlush" value = "true"/>
        <param name="Append" value="true" />
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d %p [%X{engineName}] [%c{1}] [%t] %m%n" />
        </layout>
    </appender>

    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="[%X{engineName}] - %c{1} - %m%n" />
        </layout>
    </appender>

    <appender name="BUFFERED" class="org.jumpmind.symmetric.util.BufferedLogAppender"/>

    <category name="org">
        <priority value="WARN" />
    </category>

    <category name="org.jumpmind">
        <priority value="INFO" />
    </category>

    <category name="org.jumpmind.symmetric">
        <priority value="INFO" />
    </category>

    <!-- To print out SQL
    <category name="org.jumpmind.db.sql">
        <priority value="DEBUG" />
    </category>
     -->

    <!-- Disable the not found override properties file warnings to avoid confusion -->
    <category name="org.jumpmind.symmetric.ClientSymmetricEngine$PropertiesFactoryBean">
        <priority value="ERROR" />
    </category>

    <category name="org.jumpmind.symmetric.service.impl.ParameterService">
        <priority value="ERROR" />
    </category>

    <category name="org.jumpmind.symmetric.db.SqlScript">
        <priority value="ERROR" />
    </category>

	<!-- use -DFBLog4j=true for java parameters and enable DEBUG level for org.firebirdsql-->
    <category name="org.firebirdsql">
        <priority value="INFO" />
    </category>

    <category name="org.springframework">
        <priority value="ERROR" />
    </category>

    <!--
        Enable this to see extract output <category name="org.jumpmind.symmetric.util.CsvUtils"> <priority value="DEBUG"
        /> </category>
    -->

    <!-- Enable this to see debug messages in JMS publishing extensions
    <category name="org.jumpmind.symmetric.integrate">
        <priority value="DEBUG" />
    </category>
     -->

    <!-- Change the "CONSOLE" to "ROLLING" to log to a file instead -->
    <root>
        <priority value="INFO" />
        <appender-ref ref="ROLLING" />
        <appender-ref ref="ROLLING" />
        <appender-ref ref="BUFFERED" />
    </root>

</log4j:configuration>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
SymDS-Conf.txt (10,603 bytes)

chenson

2012-08-11 07:50

administrator   ~0000065

Have you tried the 3.1 SNAPSHOT?

http://snapshots.repository.codehaus.org/org/jumpmind/symmetric/symmetric-assemble/3.1.0-SNAPSHOT/symmetric-assemble-3.1.0-SNAPSHOT-server.zip

raja_s_patil

2012-08-11 13:31

reporter   ~0000066

Yes Just I tried 3.1 snapshot and every thing is back to Normal.

Now Log files are created Normally and Data also Flows Normally.
Hoping that all will work as in standalone,
You can mark the issue as Resolved.

BTW when 3.1.0 is going to be released ?

Thanks a Lot and warm Regards.

Raja Patil

chenson

2012-08-11 13:35

administrator   ~0000067

Great! 3.1 will be released on Monday.

Issue History

Date Modified Username Field Change
2012-08-11 00:31 raja_s_patil New Issue
2012-08-11 00:31 raja_s_patil File Added: SymDS-Conf.txt
2012-08-11 07:50 chenson Note Added: 0000065
2012-08-11 13:31 raja_s_patil Note Added: 0000066
2012-08-11 13:35 chenson Note Added: 0000067
2012-08-11 13:35 chenson Status new => resolved
2012-08-11 13:35 chenson Fixed in Version => 3.1.0
2012-08-11 13:35 chenson Resolution open => fixed
2012-08-11 13:35 chenson Assigned To => chenson
2012-08-14 07:57 chenson Status resolved => closed