From: Preston <mcf...@po...> - 2004-05-18 15:07:29
|
Does this log go with the SimpleConsumer or with your code? Where's the ArrayIndex error? -----Original Message----- From: ope...@li... [mailto:ope...@li...] On Behalf Of Dan Gavenda Sent: Tuesday, May 18, 2004 8:53 AM To: ope...@li... Subject: RE: RES: RES: [openjms-user] creating db's with 0.7.6.1 Yes...that was part of problem...but not all of it. Still get the ArrayIndex out of range and now I just used my created db with the examples and still get errors. I was just connecting with SimpleConsumer and Simple Producer. It worked except got exceptions in the log. Exception happens right after sending msgs. Thanks alot for the help guys..it's much appreciated...I think I am getting close to having this thing working. Here's the jms log: dgavenda ~/download/openjms-0.7.6.1/bin>./startup.sh Using OPENJMS_HOME: /home/dgavenda/download/openjms-0.7.6.1 Using JAVA_HOME: /opt/sun-jdk-1.4.2.03 OpenJMS 0.7.6.1 The OpenJMS Group. (C) 1999-2004. All rights reserved. http://openjms.sourceforge.net 09:48:05.222 INFO [main] - Creating RdbmsAdapter for interbase.interclient.Driver 09:48:05.834 INFO [main] - Started service [ThreadPoolManager] 09:48:05.835 INFO [main] - Started service [EventManagerThread] 09:48:05.865 INFO [main] - Removed expired messages. 09:48:05.867 INFO [main] - Started service [DatabaseService] 09:48:05.889 INFO [main] - Started service [Scheduler] 09:48:05.890 INFO [main] - Started service [LeaseManagerReaper] 09:48:05.890 INFO [main] - Registering Garbage Collection every 60000 for memory. 09:48:05.916 INFO [main] - Registering Garbage Collection every 120000 for other resources. 09:48:05.917 INFO [main] - Started service [GCCollectionService] 09:48:05.918 INFO [main] - Started service [AuthenticationManager] 09:48:06.009 DEBUG [main] - addToConsumerCache(name=sub2, dest=topic1-true, durable=true) 09:48:06.035 DEBUG [main] - addToConsumerCache(name=00:20:ED:97:A9:BF, dest=RIBSTONE-UPDATE-SERVER-true, durable=true) 09:48:06.035 DEBUG [main] - addToConsumerCache(name=sub1, dest=topic1-true, durable=true) 09:48:06.036 INFO [main] - Started service [MessageManager] 09:48:06.057 DEBUG [main] - createAdministeredDestination(dest=RIBSTONE-UPDATE-SERVER-true) 09:48:06.058 DEBUG [main] - createAdministeredDestination(dest=RIBSTONE-ONLINE-true) 09:48:06.059 DEBUG [main] - createAdministeredDestination(dest=Engine-Message-Queue-true) 09:48:06.081 DEBUG [main] - createAdministeredDestination(dest=RIBSTONE-MC-QUEUE-true) 09:48:06.106 INFO [main] - Creating server interface for the tcp connector 09:48:06.140 DEBUG [main] - Created an instance of org.exolab.jms.server.mipc.IpcJmsServer as a server interface 09:48:06.173 DEBUG [Thread-0] - MultiplexConnectionServer is ready, on port 3030 09:48:06.230 DEBUG [main] - Bound connection factory JmsQueueConnectionFactory 09:48:06.254 DEBUG [main] - Bound connection factory JmsTopicConnectionFactory 09:48:06.255 INFO [main] - Creating JNDI interface for the tcp connector 09:48:06.298 DEBUG [Thread-1] - IPC Service Started 09:48:06.299 DEBUG [Thread-1] - Server is ready, on port 3035 09:48:06.300 INFO [main] - Started TCP JNDI server on port 3035 09:48:06.324 DEBUG [main] - Created an instance of org.exolab.jms.server.mipc.IpcJndiServer as a JNDI provider interface 09:48:11.723 DEBUG [Thread-0] - MultiplexConnectionServer accept()'ed connection 09:48:12.338 DEBUG [server-0] - start() [sessionId=2f11a464-ba02-1004-8cad-54546704cd9a] 09:48:12.448 DEBUG [server-0] - createSubscriber(topic=me-false, name=null, clientId=1, selector=null, noLocal=false) [sessionId=2f11a464-ba02-1004-8cad-54546704cd9a] 09:48:12.449 DEBUG [server-0] - createConsumerEndpoint(session=[sessionId=2f11a464-ba02-1004-8cad-545467 04cd9a], clientId=1, destination=me-false, selector=null) 09:48:12.498 DEBUG [server-0] - addToConsumerCache(name=2f11f284-ba02-1004-8cad-54546704cd9a, dest=me-false, durable=false) 09:48:16.017 DEBUG [Thread-0] - MultiplexConnectionServer accept()'ed connection 09:48:16.345 DEBUG [server-1] - start() [sessionId=2f179964-ba02-1004-8cad-54546704cd9a] 09:48:16.811 DEBUG [server-1] - stop() [sessionId=2f179964-ba02-1004-8cad-54546704cd9a] 09:48:16.879 DEBUG [server-1] - close() [sessionId=2f179964-ba02-1004-8cad-54546704cd9a] 09:48:17.014 DEBUG [MultiplexConnection-192.168.0.51:3030] - Demultiplexer terminating on exception java.io.EOFException at java.io.DataInputStream.readInt(DataInputStream.java:448) at org.exolab.core.mipc.MessageInputStream.receive(MessageInputStream.java: 95) at org.exolab.core.mipc.Demultiplexer.run(Demultiplexer.java:153) at org.exolab.core.mipc.MultiplexConnection.run(MultiplexConnection.java:24 0) --- Preston <mcf...@po...> wrote: > I know your codes the same. I'm asking if maybe your > jars are mixed up. > > -----Original Message----- > From: ope...@li... > [mailto:ope...@li...] On > Behalf Of Dan > Gavenda > Sent: Tuesday, May 18, 2004 6:00 AM > To: ope...@li... > Subject: RE: RES: RES: [openjms-user] creating db's > with 0.7.6.1 > > Preston, > > The code I am using is exactly the same code that > worked for openjms 0.7.5. No difference at all. > > I'll keep looking for possible causes and if anyone > has ideas, please let me know. > > Thanks, > > > --- Preston <mcf...@po...> wrote: > > From what I can tell, the vector it's chocking on > > was passed in by the > > client requesting the connection. Is it possible > > that your client and > > server code are on different versions? > > > > Preston > > > > -----Original Message----- > > From: ope...@li... > > [mailto:ope...@li...] > On > > Behalf Of Dan > > Gavenda > > Sent: Monday, May 17, 2004 3:27 PM > > To: ope...@li... > > Subject: RE: RES: RES: [openjms-user] creating > db's > > with 0.7.6.1 > > > > when i try to connect: > > > > 16:27:17.999 DEBUG [Thread-0] - > > MultiplexConnectionServer accept()'ed > > connection16:27:18.135 DEBUG [server-0] - > > java.lang.ArrayIndexOutOfBoundsException: Array > > index > > out of range: 3 > > java.lang.ArrayIndexOutOfBoundsException: Array > > index > > out of range: 3 > > at java.util.Vector.get(Vector.java:709) > > at > > > org.exolab.jms.server.mipc.IpcJmsServerConnection.notify(IpcJmsServerCon > > nection.java:102) > > at > > > org.exolab.jms.server.mipc.IpcJmsReceiver.notify(IpcJmsReceiver.java:100 > > ) > > at > > > org.exolab.jms.server.mipc.IpcServerChannel.run(IpcServerChannel.java:16 > > 1) > > 16:27:19.776 DEBUG [Thread-0] - > > MultiplexConnectionServer accept()'ed > > connection16:27:19.851 DEBUG [server-1] - > > java.lang.ArrayIndexOutOfBoundsException: Array > > index > > out of range: 3 > > java.lang.ArrayIndexOutOfBoundsException: Array > > index > > out of range: 3 > > at java.util.Vector.get(Vector.java:709) > > at > > > org.exolab.jms.server.mipc.IpcJmsServerConnection.notify(IpcJmsServerCon > > nection.java:102) > > at > > > org.exolab.jms.server.mipc.IpcJmsReceiver.notify(IpcJmsReceiver.java:100 > > ) > > at > > > org.exolab.jms.server.mipc.IpcServerChannel.run(IpcServerChannel.java:16 > > 1) > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: SourceForge.net > > Broadband > > Sign-up now for SourceForge Broadband and get the > > fastest > > 6.0/768 connection for only $19.95/mo for the > first > > 3 months! > > > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > > _______________________________________________ > > openjms-user mailing list > > ope...@li... > > > https://lists.sourceforge.net/lists/listinfo/openjms-user > > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net > Broadband > Sign-up now for SourceForge Broadband and get the > fastest > 6.0/768 connection for only $19.95/mo for the first > 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > openjms-user mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openjms-user > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net > Broadband > Sign-up now for SourceForge Broadband and get the > fastest > 6.0/768 connection for only $19.95/mo for the first > 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > openjms-user mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openjms-user __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ openjms-user mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openjms-user |