I am not experienced with cellar but generally I would expect that in an
active/active setup both machines start the same services.
So first thing to check is if the pax-jdbc features and bundles are active
on the second node. If they are active you can check the log to see if
pax-jdbc reports that something is missing.
When you describe that the datasources on the second machine come up when
the first machine goes down it sounds like you have setup something like a
master slave setup in cellar.
2018-03-07 22:55 GMT+01:00 Matthew Zipay <mzi...@gmail.com>:
> I really like the approach that Pax JDBC introduced for managing data
> sources, but I am running into an issue that may require me to abandon it
> if I can't get it resolved.
> My setup is as follows:
> ServiceMix 7.0.1 (Karaf 4.0.9) running on two nodes, clustered with Cellar
> (active/active). ActiveMQ is JDBC master/slave. Using Pax JDBC 1.0.1
> (config, pool, and oracle and mssql adapters).
> I have five (5) data sources configured for the various databases in use
> by this system. What I see is that the data sources are only available on
> the *first* node in the cluster that comes up. When the second node comes
> up, even though it also has the data source cfg's, the data sources never
> get initialized, and all of my bundles that use the data sources are stuck
> perpetually in GracePeriod waiting on the data sources (confirmed with
> If I bring down the first node, *then* the data sources on the second node
> suddenly spring to life and all's well. But this is not the behavior I
> would desire or expect, and it may be showstopper for me w/r/t Pax JDBC. I
> need those data sources available on both nodes.
> Is this expected? If not, any ideas how I can work around it?
> OPS4J - http://www.ops4j.org - email@example.com
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
OPS4J - http://www.ops4j.org - firstname.lastname@example.org
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.