[JCA/JBoss] - Re: Oracle DS
by vicky.kak@jboss.com
"Artec" wrote : Hi vickyk, and thanks for your answer.
| Ok for the first question !
| For the second instead i attach you the part of the stacktrace above the error that i've past yesterday
|
| 2008-02-29 00:00:36,823 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Starting
| 2008-02-29 00:00:36,835 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security.
| plugins.JaasSecurityManager@196bac4
| 2008-02-29 00:00:36,836 INFO [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedC
| achePolicy@bfd10a
| 2008-02-29 00:00:36,836 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Added HsqlDbRealm, org.jboss.security.p
| lugins.SecurityDomainContext@1352367 to map
| 2008-02-29 00:00:36,843 INFO [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.DefaultDS] Bound connectio
| n factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultD
| S'
| 2008-02-29 00:00:36,843 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Started
| 2008-02-29 00:00:36,843 INFO [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting
|
| ...and so, the error is in the defaultds,right ?? and not in my oracle-ds ??
| I don't use hypersonic !
|
| Thanks
| Davide
Where is the error , these are just log statements ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133161#4133161
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133161
17 years, 2 months
[Messaging, JMS & JBossMQ] - Logging level for
by svadu
Hi All,
I am using Tibco EMS as JMS engine. In this setup all messages come with id=null (I have no control over this). I have a workaround in which I assign a message id when the message reception is rolled back, so DLQ handling itself isn't a problem here.
Problem comes when the message is just successfully received/processed but AbstractDLQHandler (actually it comes from GenericDLQHandler) still logs "Message id is null?" with logging level as ERROR. This happens even if no rollback happens (i.e. the message is consumed successfully).
This wouldn't be a big deal but the log statement also logs the message. And if the message is big the logs files grow extremely fast.
Any idea how to resolve it? Is this a candidate for JIRA issue?
Thanks in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133149#4133149
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133149
17 years, 2 months
[Messaging, JMS & JBossMQ] - QueueBrowser not returning anything in Enumerator
by dovetail
The following is a code snippet which works without error, but does not return any details in the QueueBrowser, I cannot fathom out why this could be.
A number of messages get placed on the queue, and if I stick a debug breakpoint within the onMessage process, I can see these persisted in the database, before process completion.
If I use the JMX console, the queue shows the correct number of items to be processed but when executing the listAllMessages() method, this also returns an empty array.
Any clues as to what might be the problem or areas to look at would be appreciated. Thanks
InitialContext ctx = PropertiesHelper.getInitialContext();
Queue queue = (Queue)ctx.lookup( "queue/calendarQueue" );
QueueConnectionFactory connectionFactory = (QueueConnectionFactory)ctx.lookup( "java:/JmsXA" );
QueueConnection connection = connectionFactory.createQueueConnection();
Session session = connection.createQueueSession( true, QueueSession.AUTO_ACKNOWLEDGE );
QueueBrowser queueBrowser = session.createBrowser( queue );
Enumeration queueEnumerator = queueBrowser.getEnumeration();
int number = Collections.list( queueEnumerator ).size();
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133146#4133146
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133146
17 years, 2 months