Hi,
I've been unsuccessfully trying to launch AS6 cluster using JDBC_PING, but everytime I start up, I get the following error messages:
16:10:07,252 ERROR [JGroupsTransport] Errors instantiating [org.jboss.ha.ispn.DefaultCacheContainerFactory$ChannelFactoryChannelLookup]! Not using a channel lookup.
16:10:07,254 INFO [JGroupsTransport] Unable to use any JGroups configuration mechanisms provided in properties {channelLookup=org.jboss.ha.ispn.DefaultCacheContainerFactory$ChannelFactoryChannelLookup, stack=tcp, channelFactory=org.jboss.ha.framework.server.JChannelFactory@72f264c6, channelId=DefaultPartition-HAPartition}. Using default JGroups configuration!
I've tried everything I can think of, but just am unable to get this error to disappear. I downloaded the Infinispan sources, and looked in org.infinispan.remoting.transport.jgroups.JGroupsTransport to see if the sources could help me understand this error, but it is simply the result of a generic Exception being caught:
{format:java}
try {
JGroupsChannelLookup lookup = (JGroupsChannelLookup) Util.getInstance(channelLookupClassName);
channel = lookup.getJGroupsChannel(props);
startChannel = lookup.shouldStartAndConnect();
stopChannel = lookup.shouldStopAndDisconnect();
} catch (ClassCastException e) {
log.error("Class [" + channelLookupClassName + "] cannot be cast to JGroupsChannelLookup! Not using a channel lookup.");
} catch (Exception e) {
log.error("Errors instantiating [" + channelLookupClassName + "]! Not using a channel lookup.");
}
{format:java}
Can anyone shed some light as to what this error message means? And how to avoid getting it?
Thanks!
Eric
Can you put a breakpoint into that class and see what the exceptuion is? Also, I don't think we should be swallowing the underlying exception, can you file a JIRA on that?