1 2 3 4 5 6 7 8 9 10

Question about implementing connection failover.

747 byte By christenscreen at 2007-11-25 8:07:54
I have the following architecture for my app, whichwill JMS clients to iMQ broker.Suppose I have two brokers B1, and B2, and two clientsC1, and C2. B1, and B2 are configured to work incluster mode. C1, and C2 are connected to B1; C1 istopic publisher, and C2 is topic consumer.Now, C1 publishes ...

Where can I find information on JMS admin APIs?

134 byte By christenscreen at 2007-11-25 8:07:55
Where can I find information on JMS admin APIs if there is one? If not is there a timeline when one would be introduced?

How do I delay broker message publishing?

249 byte By christenscreen at 2007-11-25 8:07:56
After the message is delivered to the broker, i want the broker to publishthe message only after a certain time has lapsed..? How do we accomplish this ? Is it before we publish the message ? or before subscriber ?

Configure the ADMIN and CLUSTER service connections to be SSL

1509 byte By christenscreen at 2007-11-25 8:07:57
Can you configure the ADMIN and CLUSTER service connections to be SSLrather than tcp?I was wondering about the present or future ability to secure otherconnection services with SSL. Can you now or are there future plansto configure the ADMIN and CLUSTER service connections to be SSLrather than ...

Problems with configuring clustered brokers.

453 byte By christenscreen at 2007-11-25 8:07:58
I have problems configuring broker clusters using configuration file. Icomplains about not being able to instantiate clustering and changes over tostand alone mode.Scenario -Two brokers with two different ports 5000 and 6000 are being configured forclustering with 5000 being the master broker. ...

iMQ 2.0 broker temporary Queue mechanism remove temporary queues?

485 byte By christenscreen at 2007-11-25 8:07:59
Does the iMQ 2.0 broker temporary Queue mechanism remove temporary queues after TemporaryQueue.delete() is called?In JMQ1.1 temporary Queues are flagged "Durable" and continue to exist onirouter after TemporaryQueue.delete() is called and after the creatingconnection disappears. This leads to ...

Under what circumstances will QueueReceiver.receiveNoWait() return null?

257 byte By christenscreen at 2007-11-25 8:08:00
Under what circumstances will QueueReceiver.receiveNoWait() return'null'?I am occasionally receiving null from a receiveNoWait() call evenafter a message has been posted to the queue. When can this situationoccur?

How do setTimeToLive and msg.setJMSExpiration relate?

369 byte By christenscreen at 2007-11-25 8:08:01
If I set a message's time-to-live before sending any messages usingthe producer's method setTimeToLive(), my messages will expire butif I instead set it for each message with msg.setJMSExpiration()the messages don't expire. Is that the correct way to do it on a permessage basis? This is with ...

I'm having problems (security exceptions) using JMS from within an applet.

2909 byte By christenscreen at 2007-11-25 8:08:02
I wrote a simple applet that subscribes to a topic.The broker host and web server are running on the samebox but I keep getting a security exception when theapplet attempts to subscribe to a topic.Has anybody done this before?here is what I get:Swing: checked access to system event ...

What does exception 4001 mean?

285 byte By christenscreen at 2007-11-25 8:08:03
I was looking for more details on exception code C4001.Can someone send this info please? thank you!Here's the exception I received: java.lang.Exception: javax.jms.JMSException: [C4001]: Write packet failed. -caught java.io.IOException

What causes the 4055 (Resource in Conflict) exception?

312 byte By christenscreen at 2007-11-25 8:08:04
While trying out a example in JMS P2P domainI get a exceptionjavax.jms.JMSException: [C4055]: Resource in conflictwhile trying to run multiple instances of Consumer class <<AsynchConsumer.java>> <<Producer.java>>What's wrong here ? ...

ReceiveNoWait doesn't work the way I expect.

968 byte By christenscreen at 2007-11-25 8:08:05
I'm using iMQ 2.0 SP1 on Solaris 8. I'm seeing somewhat unintuitive behaviour and was wondering if this is by design:It seems that QueueReceiver created with a selector does not see the messages that are already in the queue and match the selector, i.e. if i perform these steps in a following ...

How do I map a Queue to an MDB in iAS 6.5?

2000 byte By christenscreen at 2007-11-25 8:08:06
I am trying to test message driven bean(MDB) with iPlanet Application Server 6.5. Basically i am sending a text to a Queue from JSP and trying to receive from the queue and write the message to a file using MDB. But my MDB is not recognised as consumer. I mean queue broker still shows the ...

Plugged-in Persistence problem

551 byte By 707233 at 2007-11-25 8:10:57
We are having problem in using imqdbmgr to 'create tbl' to mysql.The error msg said : 'java.sql.SQLException: Syntax error or access violation: You have an error in your SQL syntax near '100),DEST TINYBLOB,primary key(DID))' at line 1'I think it's a problem of data type used in imqdbmgr ...

Unexpected message redelivery

757 byte By 707859 at 2007-11-25 8:12:23
I'm using Sun One Message Queue 3.0 Platform Edition.Problem : When my client app receives messages from the message broker, It got the same message serveral times. Enviroment : I use the single receiver mode on the destination queue and my client appl sets the transaction flag to false and ...

JNDI lookup from Windows using File-system store on Unix?

354 byte By 707038 at 2007-11-25 8:12:56
I've set up a ConnectionFactory in an Object Store. I'm using a File-system store.Broker is running on a Solaris box.I want to connect from a client running on a Windows machine. I'm trying to do a JNDI lookup on the ConnectionFactory.Is this possible? If so, what is the JNDI naming ...

queueconnection classcastexception

274 byte By 706597 at 2007-11-25 8:14:05
HiI am able to get the initial context but it throws ClassCastException when it tries to lookup a connection factory from an admin object storethis is the exception:::java.lang.ClassCastException: javax.naming.Referencethanks

EJB REferences

203 byte By 706597 at 2007-11-25 8:14:42
How do i map EJB References through Administration console?I am not able to deploy Session Bean..It fails where it does a lookup on java:comp/env/ejb/.....thanks

What causes the message redelivery?

5484 byte By 707859 at 2007-11-25 8:14:46
Hi all, I got some problems running IMQ3.0 on w2k.Following is my runtime enviroment.OS :w2k sp2IMQ:3.0JDK:j2sdk1.4RDBMS :Oracle 816 My problem is that when my queuelistener receives messages from the message broker, it receives the same message serveral times. This isn't the result i ...

round robin delivery does not work properly?

1953 byte By 706694 at 2007-11-25 8:16:35
round robin queue delivery does not work the way i would expect it to. (i think)i am running :broker : imq v2.0 on linux, red hat 7.2client : java program on red hat linux, using sun's jvm, v1.2.2test queue is with a delivery policy of round robin.here is how i simulate the problem :1. i ...

OpenJMS

398 byte By 706597 at 2007-11-25 8:17:48
Hi,I am trying to use OpenJMS with SunOne.I disabled the built in JMS Service from the SunOne Console.But when i try to deploy ear file it is still complaining about the Destination Names and connection factory namesHow do I resolve this problem?Is there anything I have to configure in SunOne ...

Foreign JMS Provider

226 byte By 706597 at 2007-11-25 8:18:01
Hi,Anyone knows how to use Foreign JMS Provider with SunONE ?As of now SUN do not provide any documentation on this subject.send me any hints or clues how to setup sunone?thanks

Messages not being cleared in broker after client failure

2395 byte By 706763 at 2007-11-25 8:18:32
Is there a way to have the broker cleanup messages that have been delivered to the client runtime but for which it will never receive acknowledgement because the receiver died in such a way that connection.close() cannot be called (i.e. the machine crashing, etc.)? When the connection fails, I ...

Removing durable subscribers

1046 byte By 706529 at 2007-11-25 8:23:31
Is it possible to "purge" durable subscriptions established by JMS clients ? Any APIs available for this ?Here is the scenrio. My application has a unique ID. The application establishes durable subscribers to a few topics. The uniqe ID is used in the setClientID() of the topic connection. ...

Perl or C API ?

114 byte By 707038 at 2007-11-25 8:25:19
Is there an API to access Java Message Queue......as a C client ?...as a Perl client ?

App won't load if remote app server isn't there

440 byte By 706242 at 2007-11-25 8:29:34
I have an application that is using a connection factory to subscribe to a topic on a remote host. If that remote host is not up when i deploy my application, the application will not load. If the app is already running and the remote server goes down, it will just retry to connect to the ...

Trying to connect client to JMS server

640 byte By 705852 at 2007-11-25 8:29:47
Hello,I'm trying to do a client program that reads messages from a queue placed in another machine.The queue is running in a machine using SunONE MQ 3.0, and broker is running in port 7979. I'm using a File System Object Store on this machine.Is it possible to create a client program (on a ...

Minimum requirement to create a JMS client

1258 byte By 705852 at 2007-11-25 8:31:08
I'm trying to connect a client JMS program to a remote machine that's using File System Object Store.I'm using these properties inside the client:Hashtable hst = new Hashtable();hst.put(Context.INITIAL_CONTEXT_FACTORY,com.sun.jndi.fscontext.RefFSContextFact ...

IMQ 3.0.1 and OpenLDAP 2.0.8

582 byte By 706008 at 2007-11-25 8:32:49
Someone can guide me to configure OpenLDAP asa repository for Message Queue 3.0.1 ?The configuration of IMQ for use file-repository it's OK,java example send and receive message correctly.The configuration of LDAP it's OK, users can be added and the search work fine.But when I try to switch ...

JMS5007: Illegal connection factory access

3009 byte By 706031 at 2007-11-25 8:33:08
Hi, I'm getting this warning when my MDB is creating a connection to a queue to start consuming messages (onMessage method). The application works, but I'd like to know what this message really means and how to avoid it:JMS5007: Illegal connection factory access to ...

why S1mq can't autostart?

430 byte By 705642 at 2007-11-25 8:35:26
Hi I installed a sun one mq 3.0 ee on solaris 8 with jdk1.4.1_01. And it could be started at background after I modify the conf file as autostart=yes.. But if I close the shell console that start mq, the mq will exist in the background, like other java programs. So if there is anything we can ...

Leftover messages

556 byte By 705658 at 2007-11-25 8:35:53
I am using 3.0.1 of the message queue. And I have noticed that it has not reaped some files out of the /imq/var/instances/imqbroker/filestore/message directory. 5263 to be exact. I tried to purge them but the admin tool did not recognize they were there. I am not positive how they got there, ...

Queue Reconnection

802 byte By MatthewHarrison at 2007-11-25 8:37:07
I have a Receiver that is receiving messages from a Queue created in a Broker on another machine (Single delivery policy). If the connection goes down (i.e. I remove the network cable), I can detect the connection failure and then reconnect (once the cable is plugged in again). However the ...

Multiple Broker JMS

445 byte By RyanSteckel at 2007-11-25 8:38:17
We have one Broker that clients access and it send JMS messages to multiple other Brokers at different locations. Right now, we're creating a ConnectionFactory for each of the other Brokers. Is this the intended way to handle that?We thought about clustering, but due to security reasons, we ...

Starting the Message Queue broker.

1354 byte By 705765 at 2007-11-25 8:38:32
When trying to start the Message Queue broker on RH 8.0 I get the following: ./imqbrokerd[16/Dec/2002:12:28:01 CST]==================================================================Sun ONE Message QueueCopyright 2002Version: 3.0.1 (Build 64-a)Sun Microsystems, Inc.Compile: Wed Oct 9 06:36:39 ...

JMS/client

551 byte By 705787 at 2007-11-25 8:39:02
Hi,I want to send a message from a stand along client,I set this property:java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactoryjava.naming.provider.url=iiop://localhost:3700I get an exception:Exception in thread "main" org.omg.CORBA.INITIALIZE: can't instantiate default ORB ...

iMQ 2.0 and LDAP for user authentication

1350 byte By 705788 at 2007-11-25 8:39:07
Using the notes at http://knowledgebase.iplanet.com/ikb/kb/articles/7772.htmli set up an LDAP with iMQ. The LDAP works OK for storing topics, connection factories, etc from jmqadmin The LDAP also now contains the 2 users as outlined in article 7772 - admin and guest.The broker stats up OK, but ...

Message Handling

556 byte By 705364 at 2007-11-25 8:40:32
I want to know: 1. Does the Message Queue allow the maximum number of attempts to deliver a message to be configurable for a JMS destination. 2. Does the Message Queue allow the interval between attempt to redeliver a message to be specified for a JMS destination. 3. Does the Message Queue ...

Tunnel Servlet

895 byte By RyanSteckel at 2007-11-25 8:40:50
I'm having alot of problems getting the tunnel servlet to work. I have it deployed on Sun ONE Appserver 7, and I'm using the SimpleJNDIClient in the demo section of the MessageQueue. The Http service is running on the broker, but I get "JMSException: connection creation - Caught IO Exception" ...

Maximum number of messages in a queue

845 byte By 705417 at 2007-11-25 8:41:34
Hi, I am working on a probject where the number of messages could possibly exceed 100,000 a day and they have to be persisted in case of a crash. I am looking into using Sun One Message Queue, but I seem to have a problem with the load.I wrote a simple program that sends 100,000 empty messages. ...

Creating queues explicitly with multiple clients

4645 byte By 705430 at 2007-11-25 8:41:44
Hello,I wonder if you can create queues "dynamically" (explicitly, not auto-created) in run-time. OS: Red Hat Linux 7.3SDK: Sun Java2 1.4.1Sun ONE MQ 3.0.1I would prefer not to use the scripts (imqcmd and imqobjmgr) , because I want to do it from within my Java applications. I think I saw a ...

Creating multiple queue connection factories

661 byte By 705430 at 2007-11-25 8:41:58
I have quit trying to create queues explicitly from the clients.See topic: http://softwareforum.sun.com/NASApp/jive/thread.jsp?forum=24&thread=15304Instead, I'm trying out auto-created queues. I have two VMs with separate connection factories and separate queues. I create a connection ...

How do you find out which consumers are taking messages in a queue

464 byte By 705417 at 2007-11-25 8:42:27
Hi, JMS newbie here... I have a simple JMS program. Messages are sent to a queue, and they are stored in the filestore directory. But I my queueReceivers are not receiving the messages and the admin tool says there are no messages in the queue. I want to find out where the message is ending up. ...

jms exception : connect exception : connection refused in imq 3.0.1

714 byte By rohitprasadak at 2007-11-25 8:42:42
good morning,me has just installed the sun one message queue 3.0.1.and was trying to run a sample program got from the installation_home_dir\demo\jmsim using a windows n.t. installation and the imq service is running.have created a "testBroker" and have created destinations under it.but the ...

imqadmin

541 byte By RyanSteckel at 2007-11-25 8:43:05
Is it possible to use the message queue's admin util (imqadmin) on the object store in the Sun One Application server? I found a article on the Knowledge Base about connecting to the app server's JNDI store using com.sun.jndi.cosnaming.CNCtxFactory through Sun ONE Studio's jndi interface. I ...

Messages not picked up in a queue

1113 byte By 705417 at 2007-11-25 8:43:24
HiI have the following setting for a JMS system. Basically i have two clients who send messages to each other using the same queue. Everything runs fine when they are in a same jvm, but not when they are launched from separate jmvs. Can anyone see why thing would happen?ClientX ...

C4007

333 byte By 705136 at 2007-11-25 8:47:41
When occur the JMSException with C4007 Error ?I do try {Subscriber.close();} catch (JMSException e) {return e.getMessage();}try {Session.unsubscribe(SubscriberName);} catch (JMSException e) {return e.getMessage();} ...

Persistant Cache data outputted to RDBMS (Plugged in persistence)

911 byte By 705144 at 2007-11-25 8:47:49
Hey thereI am working with the Sun One Messaging Queue. After reading in the admin manual, i found the S1MQ has built in output from the persistant cache to an external database, known as plugged in persistance. If i used oracle as the Rdbms system and JDBC to connect to it. Can i use the ...

Corrupt message in queue

4244 byte By 705430 at 2007-11-25 8:48:26
Hi!Environment:Gentoo Linux 1.4 rc2Sun Java 2 SDK 1.4.1_01 (Sun binaries)Sun ONE MQ 3.0.1 (Build 64-a) with persistent queues (file)First, I have to thank you guys for an excellent product!Ok, the other day I got a weird error in one of the queues. I sent a message from one client, but it ...

Platform Edition, Resource in conflict

170 byte By kamal.kaur at 2007-11-25 8:48:35
Hi everybody,Can somebody confirm that in platform edition of SunONE MQ, we can not have multiple receivers on a queue.thanksKamal Kang