zkfan / tungsten-replicator

Automatically exported from code.google.com/p/tungsten-replicator
0 stars 0 forks source link

Unable to start replicator #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Installed replicator
2.Tried to start replicator
3.

What is the expected output?
Replicator Started
...

What do you see instead?
INFO   | jvm 1    | 2011/06/24 09:55:45 | 2011-06-24 09:55:44,932 ERROR 
management.tungsten.TungstenPlugin Unable to start replication service
INFO   | jvm 1    | 2011/06/24 09:55:45 | 
com.continuent.tungsten.replicator.ReplicatorException: Heartbeat operation 
failed due to SQL error: No suitable driver
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.management.tungsten.TungstenPlugin.heartbeat(
TungstenPlugin.java:637)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.management.tungsten.TungstenPlugin.online(Tun
gstenPlugin.java:488)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.management.OpenReplicatorManager$OfflineToSyn
chronizingAction.doAction(OpenReplicatorManager.j
ava:1155)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.commons.patterns.fsm.StateMachine.applyEvent(StateMachin
e.java:217)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.management.OpenReplicatorManager.onEvent(Open
ReplicatorManager.java:504)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.EventDispatcher.run(EventDispatcher.java:75)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
java.lang.Thread.run(Thread.java:595)
INFO   | jvm 1    | 2011/06/24 09:55:45 | Caused by: java.sql.SQLException: No 
suitable driver
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
java.sql.DriverManager.getConnection(DriverManager.java:545)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
java.sql.DriverManager.getConnection(DriverManager.java:171)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.database.AbstractDatabase.connect(AbstractDat
abase.java:167)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.database.MySQLDatabase.connect(MySQLDatabase.
java:116)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.heartbeat.HeartbeatTable.startHeartbeat(Heart
beatTable.java:208)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       at 
com.continuent.tungsten.replicator.management.tungsten.TungstenPlugin.heartbeat(
TungstenPlugin.java:632)
INFO   | jvm 1    | 2011/06/24 09:55:45 |       ... 6 more

...

What version of the product are you using?

 Tungsten Replicator 2.0.4 build 138 on Mysql 5.1.40

On what operating system?

Solaris 10 on an Intel Box

Please provide any additional information below.

Notes:

Have been running fine on development Linux boxes now we are moving on some 
Solaris machines and we are getting the above error.

Original issue reported on code.google.com by neil.arm...@gmail.com on 24 Jun 2011 at 2:01

GoogleCodeExporter commented 9 years ago

Original comment by g.maxia on 24 Jun 2011 at 2:14

GoogleCodeExporter commented 9 years ago
Sorry - my fault our production boxes where pointing to an old 1.5 version of 
Java - Have upgraded to a 1.6 version and it is starting ok

Original comment by neil.arm...@gmail.com on 27 Jun 2011 at 1:41

GoogleCodeExporter commented 9 years ago
Not a bug. Tungsten replicator requires java 1.6.

Original comment by stephane...@gtempaccount.com on 6 Jul 2011 at 4:49