java.lang.ClassCastException: org.jgroups.stack.ProtocolStack cannot be cast to org.jgroups.protocols.TP #545
Unanswered
Sagar-Singari
asked this question in
Q&A
Replies: 1 comment 9 replies
-
Do you have a reproducer that compiles under 3.6? Looks as if the transport is not of type TP... |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @belaban
I keep getting errors while trying to upgrade from 3.3.3 to 3.6.10. Now, I'm getting this error:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.informatica.b2b.MftServerBootstrap.main(MftServerBootstrap.java:92)
Caused by: java.lang.ClassCastException: org.jgroups.stack.ProtocolStack cannot be cast to org.jgroups.protocols.TP
at org.jgroups.stack.ProtocolStack.getTransport(ProtocolStack.java:252)
at org.jgroups.JChannel.stopStack(JChannel.java:1010)
at org.jgroups.JChannel._close(JChannel.java:989)
at org.jgroups.JChannel.close(JChannel.java:385)
at com.linoma.dpa.jgroups.ClusterManager.close(ClusterManager.java:560)
at com.linoma.startup.TomcatStarter.start(TomcatStarter.java:302)
Here's my Protocol stack:
channel = new JChannel(false);
channel.setName(SystemInfo.getName());
channel.enableStats(false);
ProtocolStack stack = new ProtocolStack();
stack.enableStats(false);
channel.setProtocolStack(stack);
Can you please help on this.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions