Message selectors
"Major John, Slough" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <6F31394D002AD611BB520002A5417D2819075A@prod-slo-exh01.aniteps.com> |
I am running the example SimpleReceiver with the selector option while running openJMS 0.7.3.1. On executing the line receiver = session.createReceiver(queue, "JMSPriority=1"); the openJMS reports the following error java.lang.ClassFormatError: org/exolab/jms/selector/parser/SelectorLexer (Code of a method longer than 65535 bytes) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.exolab.jms.selector.Selector.<init>(Unknown Source) at org.exolab.jms.messagemgr.ConsumerEndpoint.<init>(Unknown Source) at org.exolab.jms.messagemgr.QueueConsumerEndpoint.<init>(Unknown Source) at org.exolab.jms.messagemgr.ConsumerManager.createConsumerEndpoint(Unknown Source) at org.exolab.jms.server.JmsServerSession.createReceiver(Unknown Source) at org.exolab.jms.server.mipc.IpcJmsSessionConnection.createReceiver(Unknown Source) at org.exolab.jms.server.mipc.IpcJmsSessionConnection.notify(Unknown Source) at org.exolab.jms.server.mipc.IpcJmsReceiver.notify(Unknown Source) at org.exolab.jms.server.mipc.IpcServerChannel.run(Unknown Source) If I suspend the operation I have the following stack Thread [main] (Suspended) java.lang.Object.wait(long) line: not available [native method] java.util.LinkedList(java.lang.Object).wait() line: not available org.exolab.core.mipc.Queue.remove() line: not available org.exolab.core.mipc.QueueInputStream.receive() line: not available org.exolab.core.mipc.ObjectChannel.receive() line: not available org.exolab.jms.client.mipc.IpcJmsSessionStub.checkReply(java.lang.String) line: not available org.exolab.jms.client.mipc.IpcJmsSessionStub.createReceiver(org.exolab.jms.c lient.JmsQueue, long, java.lang.String) line: not available org.exolab.jms.client.JmsQueueSession.addReceiver(org.exolab.jms.client.JmsQ ueueReceiver) line: not available org.exolab.jms.client.JmsQueueSession.createReceiver(javax.jms.Queue, java.lang.String) line: not available com.aniteps.scarab.SimpleReceiver.main(java.lang.String[]) line: 245 Can anyone explain why the reciever does not get created? Thank you John. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________