Gurumeet Singh Ahuja

Greenhorn
+ Follow
since Mar 02, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gurumeet Singh Ahuja

Hi Team,

Any comments for this ??
12 years ago
In your destinations-service.xml file
please remove this tag

<attribute name="JNDIName">Queue/MyQueue</attribute>

and while accessing it via client use like below

Sender sender = new Sender("169.144.16.104:8080", "MyQueue");

It should work. Or you can also check in the JmxConsole of the server what is the jndi name of your MyQueue,

And for your second query , please check the connection-factories-service.xml for the ConnectionFactory to look which fatory to use for......


Thanks!

~Gurumeet
12 years ago
Hi,

Is this the complete snippet for the method.. as i see szDataSource is always null.... and even if its set in the class level [not visible in this snippet] its re-assigned as null again.

String szDataSource = null;
if (datasource == null) {
try {
htParms = new Hashtable();
htParms.put(Context.PROVIDER_URL, szProviderURL);
htParms.put(Context.INITIAL_CONTEXT_FACTORY, szContextFactory);
context = new InitialContext(htParms);
temp = context.lookup(szDataSource);
datasource = (DataSource) temp;
context = null;
}

Thanks!

~Gurumeet
12 years ago
Hi All,

I am getting the below Transactions warning messages over JBOSS STDOUT, Could you please help me understand or give a solution, what could be the possible reason for this issue?

JBOSS Version 4.2.3 GA


WARN [TransactionRepository] Failed to replay transaction (XID: MessagingXid (1571844238 bq:45.54.99.54.56.55.102.98.54.58.102.54.51.100.58.52.101.99.49.101.49.53.54.58.50.57.57.101.97 formatID:131075 gtxid:49.45.45.54.99.54.56.55.102.98.54.58.102.54.51.100.58.52.101.99.49.101.49.53.54.58.50.57.57.98.56, LocalID: 2707571941963677121) during recovery.
java.lang.IllegalStateException: Cannot find binding for channel id 110607576
at org.jboss.messaging.core.impl.tx.TransactionRepository.handleReferences(TransactionRepository.java:318)
at org.jboss.messaging.core.impl.tx.Transaction.loadState(Transaction.java:355)
at org.jboss.messaging.core.impl.tx.TransactionRepository.recoverPreparedTransactions(TransactionRepository.java:149)
at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.getPreparedTransactions(ServerConnectionEndpoint.java:550)
at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$getPreparedTransactions$aop(ConnectionAdvised.java:106)
at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$getPreparedTransactions_8083036720366990761.invokeNext(ConnectionAdvised$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$getPreparedTransactions_8083036720366990761.invokeNext(ConnectionAdvised$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.getPreparedTransactions(ConnectionAdvised.java)
at org.jboss.jms.wireformat.ConnectionGetPreparedTransactionsRequest.serverInvoke(ConnectionGetPreparedTransactionsRequest.java:67)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:157)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:900)
at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
at org.jboss.remoting.Client.invoke(Client.java:1998)
at org.jboss.remoting.Client.invoke(Client.java:812)
at org.jboss.remoting.Client.invoke(Client.java:800)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$getPreparedTransactions$aop(ClientConnectionDelegate.java:269)
at org.jboss.jms.client.delegate.ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.invokeNext(ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.invokeNext(ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.invokeNext(ClientConnectionDelegate$getPreparedTransactions_8083036720366990761.java)
at org.jboss.jms.client.delegate.ClientConnectionDelegate.getPreparedTransactions(ClientConnectionDelegate.java)
at org.jboss.jms.tx.ResourceManager.recover(ResourceManager.java:575)
at org.jboss.jms.tx.MessagingXAResource.recover(MessagingXAResource.java:281)
at org.jboss.jms.server.recovery.MessagingXAResourceWrapper.recover(MessagingXAResourceWrapper.java:111)
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecovery(XARecoveryModule.java:746)
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecovery(XARecoveryModule.java:685)
at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:179)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWork(PeriodicRecovery.java:237)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:163)
11:36:39,166 WARN [TransactionRepository] Failed to replay transaction (XID: MessagingXid (815843447 bq:45.54.99.54.56.55.102.98.55.58.100.102.97.97.58.52.101.98.55.53.52.55.53.58.52.54.57.48.99.50 formatID:131075 gtxid:49.45.45.54.99.54.56.55.102.98.55.58.100.102.97.97.58.52.101.98.55.53.52.55.53.58.52.54.57.48.50.54, LocalID: 1986993230878083172) during recovery.
12 years ago