[JBoss Cache] - java.lang.IllegalStateException: cluster 'X' is already connected to singleton transport
by Smitha Nair
Smitha Nair [http://community.jboss.org/people/smitha.nair] created the discussion
"java.lang.IllegalStateException: cluster 'X' is already connected to singleton transport"
To view the discussion, visit: http://community.jboss.org/message/549840#549840
--------------------------------------------------------------
Hi,
We have deployed two wars in the same jboss node, which is a cluster member.
One of the war is a customized jasig cas war .
Both the wars are having the same cluster configuration to have distributed cache.
Both the wars using the same clustername too.
But when deploying the wars together, it is giving exception,
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:144)
... 117 more
Caused by: org.jboss.cache.CacheException: Unable to connect to JGroups channel
at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:352)
... 122 more
Caused by: org.jgroups.ChannelException: failed to start protocol stack
at org.jgroups.JChannel.startStack(JChannel.java:1617)
at org.jgroups.JChannel.connect(JChannel.java:366)
at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:347)
... 122 more
Caused by: java.lang.IllegalStateException: cluster 'X' is already connected to singleton transport: [dummy-12334552211, X]
at org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:88)
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:402)
at org.jgroups.JChannel.startStack(JChannel.java:1614)
... 124 more
Can anyone please help us.
Thanks
Smitha
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549840#549840]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
Re: [jboss-user] [JBoss Cache] - JBoss Cache 3.2.2.GA - table or view does not exist error
by Anitha Kothandapani
Anitha Kothandapani [http://community.jboss.org/people/AnithaKothandapani] replied to the discussion
"JBoss Cache 3.2.2.GA - table or view does not exist error"
To view the discussion, visit: http://community.jboss.org/message/549839#549839
--------------------------------------------------------------
Huray . After going through the source code of Jboss cache , I got to know that, it was the problem with my configuration (cache-config.xml).
Since we have multiple schema in our db, the table name should be prefixed with the schema name before the table name like this below
cache.jdbc.table.name=<SCHEMA_NAME>.<TABLE_NAME>
Since the dummy table got created in one such schema in the db, the AdjListJDBCCacheLoader:tableExists method returned true in our case. So after appending the <SCHEMA_NAME> in the cache-config.xml, the dummy table got created in my schema.
So if you are multiple schema in the same db , then append the <SCHEMA_NAME>. before the table name. Since the implementation of databaseMetaData.getTables(catalog, schema, tableName, null); expects the schema name before the table name.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549839#549839]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
Re: [jboss-user] [JBoss Portal Development] - richeffect right to left
by sandeep singh
sandeep singh [http://community.jboss.org/people/sinsand] replied to the discussion
"richeffect right to left"
To view the discussion, visit: http://community.jboss.org/message/549815#549815
--------------------------------------------------------------
hey ,
got the i answer i was looking for and here is the code to slide a input or a panel form right to left
<h:form id="form1">
<rich:panel header="Dashboard" id="layoutPanel1" styleClass="parentPanel">
<rich:panel id="layoutPanel2" style="height: 40px; left: 960px; top: 192px; position: absolute; width: 40px">
<rich:effect for="layoutPanel2" name="morphpanel1" type="Morph" params="duration:0.4"/>
<rich:effect for="inputText1" name="morphtextbox1" type="Morph" params="duration:0.4"/>
<h:graphicImage onmouseover="morphpanel1({ style: 'left:800px ; width: 200px;'}),showtextbox(),morphtextbox1({ style: 'width: 150px;'})" style="height: 30px; left: 3px; top: 0px; position: relative; width: 30px" id="filter1" value="/resources/images/find.gif"/>
<h:inputText onmouseout="morphtextbox1({ style: 'width: 0px;'}),hidetextbox(),morphpanel1({ style: 'left:960px ; width: 40px;'})" style=" display:none ; right: 0px; top: 4px; position: absolute; width: 0px" id="inputText1" />
<rich:effect for="inputText1" name="showtextbox" type="Appear" params="duration:0.1"/>
<rich:effect for="inputText1" name="hidetextbox" type="Fade" params="duration:0.1"/>
</rich:panel>
</rich:panel>
</h:form>
thanks jBoss for richfaces its quite cool and easy
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549815#549815]
Start a new discussion in JBoss Portal Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
[JBoss Messaging] - Does the JBM bridge uses a connection pool?
by henk de boer
henk de boer [http://community.jboss.org/people/henk53] created the discussion
"Does the JBM bridge uses a connection pool?"
To view the discussion, visit: http://community.jboss.org/message/549811#549811
--------------------------------------------------------------
Hi,
I'm trying to get a connection pool to work for accessing a remote JBM queue from another JBM (JBoss AS 5.1) instance. I was looking at the bridge mechanism for this.
For instance, this example is taken from the JBM docs:
<mbean code="org.jboss.jms.server.bridge.BridgeService" name="jboss.messaging:service=Bridge,name=TestBridge" xmbean-dd="xmdesc/Bridge-xmbean.xml">
<depends optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=MyRemoteJMSProvider</depends>
<depends optional-attribute-name="TargetProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
<attribute name="SourceDestinationLookup">/queue/testQueue</attribute>
<attribute name="TargetDestinationLookup">/queue/A</attribute>
<attribute name="QualityOfServiceMode">0</attribute>
<attribute name="MaxBatchSize">5</attribute>
<attribute name="MaxBatchTime">-1</attribute>
<attribute name="FailureRetryInterval">5000</attribute>
<attribute name="MaxRetries">-1</attribute>
<attribute name="AddMessageIDInHeader">false</attribute>
</mbean>
This however has 'provider loaders' as an argument, and thus not something that resembles a structure that is created by the tx-connection-factory element in a -ds.xml file.
According to an article written by Tim Fox ( http://community.jboss.org/wiki/ShouldIcacheJMSconnectionsandJMSsessions http://community.jboss.org/wiki/ShouldIcacheJMSconnectionsandJMSsessions) my performance "+*will suck*"+, if I don't use a connection pool. It goes without saying that I don't want my performance to suck, but everything I read about connection pools only seems to apply to local destinations. Using the bridge was my last resort to get connection pooling to my remote queue, but this too does not seem to use a connection pool.
What gives?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549811#549811]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months