1 2 3 4 5 6 7 8 9 10

connect to JMS server

2715 byte By sklim at 2007-11-25 17:01:26
I uses the followed code.xx.xx.xx.xx is IP address of UNIX server.==========================================Properties env = new Properties();env.put("java.naming.factory.initial","com.sun.appserv.naming.S1ASCtxFactory");env.put("java.naming.provider.url","iiop://xx.xx.xx.xx:3700");Context ...

Firewall configuration between JMS client and JMS broker

1884 byte By junkai_xie at 2007-11-25 17:02:35
My JMS client can not connect to JMS server ifthere is a firewall between them. Anyone hasany idea? Do I need special configuration? (Note: If there is no firewall between, everything is fine).Here is my environment:=================================I installedMQ3.5 (Build 340-R) on Windows 2000 ...

jndiContext.lookup

778 byte By oakgroup at 2007-11-25 17:02:54
Please help !Broker and subscriber are on different servers - can't figure out how to lookup my ConnectionFactory try {jndiContext = getInitialContext();topicConnectionFactory = (TopicConnectionFactory)jndiContext.lookup("mq://rumble-j2ee:7676/jms/MyTopicConnectionFactory");topic = (Topic) ...

Ensuring messages are being persisted.

473 byte By ZacJacobson at 2007-11-25 17:03:21
I'm running IMQ 3.5 SP1 with Java 1.4.2_02 on RedHat Linux.I have set imq.persist.file.sync.enabled=true in /opt/imq/lib/props/broker/default.properties, but I have noticed that performance improves when there my durable subscribers are not connected to their topics.So my question is: how can ...

jboss and SunOne with LDAP: adding queue/queuename via admin GUI

681 byte By stfalcon at 2007-11-25 17:03:34
Hi All,I'm using SunOne MQ as jboss jms provider, I succedded in configuring the external provider, but I 'm obliged to create via the SunOne MQ admin GUI queues and topics destinations named as jboss want: queue/myqueue as a queue name or topic/mytopicnameThe problem is that my SunOne is ...

maxTotalMsgBytes not propogating correctly through cluster

762 byte By aeddydev at 2007-11-25 17:03:41
I'm trying to set the maxTotalMsgBytes to 500 Mb for a destination (queue). I'm running a 2 broker cluster (3.5 SP1). On one of the servers, I enter -o maxTotalMsgBytes=524288000 as a parameter for an imqcmd update dst or imqcmd create dst command. When I query the destination after, the ...

Broker ERROR message code B[4031}

1701 byte By Val_K. at 2007-11-25 17:03:54
We use SunOne MQ JMS server for the at least two years and we never had any serious problems with it before till a couple of days ago when one of our server machines continuously failed to start JMS server.The logged error messages have codes:[B4031] and [B30000].I have never seen such messages ...

CPU Utilization of Non-Master Broker

1081 byte By aeddydev at 2007-11-25 17:04:33
Hello all,I'm having a problem with non-master brokers in a cluster. It seems that if a broker isn't the master, it uses a lot of CPU time. These stats (using 'top') are just after startup, nothing is running: Master:load average: 0.02, 0.02, 0.00USERRSS%CPU%MEMCOMMANDimq28M0.00.9java ...

Message Delivery in a Clustered Environment

1166 byte By aeddydev at 2007-11-25 17:04:54
Hello,I was wondering if someone could give me a quick explanation/lesson on the following scenario.I have a two broker cluster (say, SERVERA and SERVERB where SERVERA is the master). Each server has a consumer connected to it, CONA and CONB respectively. I'm throwing evenly distributed ...

QueueBrowser only sees local queue when connected to cluster?

860 byte By guy_davis at 2007-11-25 17:09:01
I think I've come across a problem with 3.5 SP1. One of our applications uses QueueBrowser to view the contents of a queue before deciding what to do with the messages.Assume we have a two-machine cluster where A is the master and B is a regular node. Queue X has messages L and M on server A, ...

metrics vs plugged-in persistent store

525 byte By ZacJacobson at 2007-11-25 17:10:11
Hello. I'm running IMQ3.5sp1 on Linux with java 1.4.2_04.I'm using the plugged-in persistent store.I get this error in the broker log when I try to run the default metrics (ttl) on a Topic: I'm concerned it may point to a bug:ERROR [B3100]: Unexpected Broker Internal Error : [unable to disk ...

Golden rules

461 byte By ZacJacobson at 2007-11-25 17:10:12
I have a question about the golden rules of thread management in your JMS applications: (Chapter 5 MQ Client Programming Techniques.The text surround the "golden rules" (in the Managing Client Threads section) only talks about message consumers; are they applicable for message producers as ...

JMS example

4565 byte By suneeshvr at 2007-11-25 17:10:23
Hi I am new to JMS in Sun One 7 . I want to run the simpleprogram shown below import javax.naming.*;import javax.jms.*;import java.util.*; public class SimpleMessageClient{public static void main (String a[]){ try{Properties prop = new Properties ();prop.put ...

JMS Message expiration

557 byte By GillesDucret at 2007-11-25 17:11:20
Hello,we have the following problem:we wanted to set an expiration delay to our messages, of 30 seconds.So we used the setJMSExpiration(30000) method to the messages sent to a given queue.We noticed the following behaviour. There was no consumer on the queue.We started the consummer more than ...

Defining whitespace for LDAP entries in imqobjmgr command file

753 byte By jbeech at 2007-11-25 17:11:28
I am trying to add objects to an object store in our LDAP server. I have already run some simple tests to a simple directory using some of the example code and had no problems adding and modifying message queue objects.I am now trying to integrate with a production LDAP server with an existing ...

Broker not shutting down completely

2436 byte By aeddydev at 2007-11-25 17:13:23
Hello,I'm running 3.5 SP1 and have had the broker apparently lock up on shutdown.[09/Jun/2004:10:04:44 MDT] [B1047]: Shutting down broker...[09/Jun/2004:10:04:44 MDT] [B1007]: Stopping Service ssladmin with protocol SSL/TLS [ 40004,5][09/Jun/2004:10:04:44 MDT] [B1007]: Stopping Service admin ...

ClassCastException on lookup in JMS samples

784 byte By sjferris at 2007-11-25 17:13:44
Hi,This is on OS X and Solaris 9. JMQ 3.5 SP1.Using the helloworldmessagejndi sample and after following all the instructions I get a ClassCastException when the code tries to lookup the QCF. Instead of getting back a QCF object it get a javax.naming.Reference object. When I use the imqobjmgr ...

can plugged-in persistance recover after db crash?

2298 byte By ZacJacobson at 2007-11-25 17:13:56
I don't see any settings for the plugged-in persistance related to db connection pools. Is there any way for IMQ 3.5 to recover if the database crashes?The broker just logs the following:[10/Jun/2004:14:21:11 PDT] ERROR [B4080]: Database rollback failed.:java.sql.SQLException: Io exception: ...

Packet acknowledge failed after failover

1604 byte By aeddydev at 2007-11-25 17:15:07
Hello,We're running MQ 3.5 SP1 EE and we are wondering how to deal with the following problem. We have a client that consists of 2 producers and 1 consumer. There is a single connection for the client. Each producer creates its own session ...

JMS without J2EE?

453 byte By jtalarico at 2007-11-25 17:16:08
Forgive me if this is a simple question, but I am attempting to write a simple application to publish/subscribe to an IMQ topic but the only examples I can find seem to require that the code be deployed within the application server.1 - can I configure a Topic with the application server and ...

An unexpected exception has been detected in native code outside the VM

3071 byte By lowkey1234 at 2007-11-25 17:17:23
We are getting the following error on our Solaris machine. This has content management product installed. And the content management product just hangs due to the following error:Any ideas?=======================================An unexpected exception has been detected in native code outside ...

Illegal state exception

2458 byte By suneeshvr at 2007-11-25 17:17:38
I am often getting the exception shown below javax.jms.IllegalStateException: Operation not allowed[22/Jun/2006:17:08:15] WARNING (10553): CORE3283: stderr: at com.sun.enterprise.jms.SessionWrapperEjb.commit(SessionWrapperEjb.java:55)[22/Jun/2006:17:08:15] WARNING (10553): CORE3283: stderr: at ...

ResourceAllocationException

3192 byte By suneeshvr at 2007-11-25 17:17:43
Hi I am getting the exception shown below [22/Jun/2006:18:31:42] WARNING ( 2883): CORE3283: stderr: javax.jms.ResourceAllocationException: [C4073]: A JMS destination limit was reached. Too many Subscribers/Receivers for Queue : SenderQueue[22/Jun/2006:18:31:42] WARNING ( 2883): CORE3283: ...

Java.Lang.ClassCastException in HelloWorldMessageJNDI

648 byte By aiyervenkat at 2007-11-25 17:17:58
Hi I am getting this error message when I compile and run the Sun provided sample HelloWorldMessageJNDILooking up Queue Connection Factory object with lookup name: MyQueueConnectionFactoryException in thread "main" java.lang.ClassCastExceptionat ...

javax.jms.TransactionInProgressException:

392 byte By vcbiju at 2007-11-25 17:19:11
Hi I'm getting an exception like following... [19/Jun/2004:07:36:17] WARNING (25649): CORE3283: stderr: javax.jms.TransactionInProgressException: tx in progress[19/Jun/2004:07:36:17] WARNING (25649): CORE3283: stderr:at ...

[W2003]: Broker not responding [OBJECT_MESSAGE] for 120 seconds. Still tryi

1143 byte By ken-shi at 2007-11-25 17:19:42
I've been running MQ 3.5 SP1 for days. But yesterday I got the following message from my client: --[W2003]: Broker not responding [OBJECT_MESSAGE] for 120 seconds. Still trying...[W2003]: Broker not responding [OBJECT_MESSAGE] for 360 seconds. Still trying...[W2003]: Broker not responding ...

doubts jms

540 byte By charly10000 at 2007-11-25 17:20:02
Im using JMS and I ve got several doubts.The first one, how can i create a topic in the code without declaring in SUn ONE Application Server 7.0? That is I d like to create a method that allow to create topics to publish message and i would like to know how to do that, if it is possible.The ...

Creating a Queue

476 byte By suneeshvr at 2007-11-25 17:20:19
Hi I am creating the queue using the option imqcmd create dst -t q -n ReceiverStorageQueue -o "maxNumActiveConsumers=2" -b localhost:7676 . Still the ejb showing the exception ReceiverStorageQueue not found . I am giving the JNDI name as ReciverStorageQueue .But when I created the queue from ...

Get broker to read cluster.properties file

1105 byte By JMSMAN at 2007-11-25 17:21:47
Hi,I would like to know once you have created the cluster.properties file and stored it on the shared area, how do you get the brokers to read the cluster.properties file from the shared area to form a cluster configuration.The file includes the following ...

Can't Add Broker- Backup master broker?

7121 byte By JMSMAN at 2007-11-25 17:25:13
Hi,I have just installed sun one message queue PE 3.0 on a new box. I activated the license to try out the enterprise edition.I then try to add a broker through the admin console and receive the following error in the DOS Administration screen.Exception occurred during event ...

Reconnection for asynchronous consumer

775 byte By aeddydev at 2007-11-25 17:26:05
Hello,I have a connection with only an asynchronous consumer and a JMS ExceptionListener on it. When I pull out the network cable on the client for 10 minutes or so (long enough for the server to close the connection), then plug it back in, my consumer never receives a message again. There is ...

How to access the right broker in a multi broker envt.

1302 byte By hug0victor at 2007-11-25 17:26:16
On my server there are two different broker instances running on two different ports (7676 & 9000). The broker running on the default port is instantiated by a third party software/server. So I created a new broker for port 9000 and want my application to access this broker. I also created ...

[C4089]: Caught JVM Error: java.lang.NoClassDefFoundError:

547 byte By ken-shi at 2007-11-25 17:26:52
the Message Queue & the client have been running for days. Today my Connection ExceptionListener caught a Exception with the following message:[C4089]: Caught JVM Error: java.lang.NoClassDefFoundError: com/etang/dispatch/DispatchItemI must say the class is definitely available( when I ...

C4089 error: ClassNotFoundException

3498 byte By sjferris at 2007-11-25 17:28:45
Hi,IHAC who has the following problem.Solaris 9 4/04 using JMQ 3.5 SP1 EnterpriseCode is using the fscontext1 I have a JMS client put some messages in a persistent queue2 I use imqcmd to check there are messages in the queue3 I use a JMS client to receive the messages from the queueAll is ...

Can Java System Message Queue support Perl and PHP?

211 byte By civic_coupe at 2007-11-25 17:31:22
Hi...FolkCan Java System Message Queue support Perl and PHP?How we can interface perl and PHP for Java System Message Queue?What version?Thank you very much.D.Wut

Do Java System Message Queue has AIX version?

87 byte By civic_coupe at 2007-11-25 17:31:24
Do Java System Message Queue has AIX version?Thank youD.Wut

Removing superseded messages from the queue

1063 byte By flintr at 2007-11-25 17:32:26
Does JSMQ provide any way for a producer to remove a message from the queue which it queued some time ago but which it no longer wishes to send?I am investigating the use of JSMQ in a military battlemap application connecting nodes over low bandwidth/unreliable connections. The reason we want ...

Unsynched clocks on JMS Client and Server cause problems with Time To Live

1177 byte By jyzude at 2007-11-25 17:33:13
Hello,I just spent two days diagnosing a tricky problem involving JMS messages and time-to-live. A producer on one PC was sending messages to a Topic on a JMS server, but the JMS server was not sending the messages out to the consumers.After much trial and error, I determined that the clocks on ...

ALL QUEUE messages are in memory? => OutOfMemoryError

374 byte By romankrejci at 2007-11-25 17:36:34
I have very large queue about which contains messages about 1GB in size and above.Can I configure Sun Java System Message Queue to swap incomming messages to disk if system has already NO FREE MEMORY. I use "-Xmx600m -Xms400m" and when I still sending messages to the queue the system will fail ...

Questions about message logging and topic TTL

854 byte By guy_davis at 2007-11-25 17:36:45
We're in the final stages of testing our application. Basically a producer application is sending small, non-persistent messages once every 10 seconds and once every second to an auto-created topic. The consumer application(s) listening are then doing data display of this 1 second and 10 ...

How to invoke Outlook Express to send mail in a JAVA GUI

194 byte By ranjith_iit at 2007-11-25 17:38:31
hi..i want to send a mail thru a java GUI...but when i press submit button..it has to invoke MS Outlook express and send the mail via this.pls reply soon..bi..

LDAP enteries not showing. Fails to establish connection to broker.

1924 byte By JMSMAN at 2007-11-25 17:40:09
I have 2 questions: I would very much appreciate your support.Question 1 My client and broker are installed on the same box with windows XP.(this is a new network) I have created ldap and configured the client application to access the ldap on the broker locally( to avoid any firewall ...

IMQ Broker Not Shutting Down on Win 2000 Server Re-boot

1423 byte By Dave_P_C at 2007-11-25 17:40:14
I am using a Windows 2000 Server and have found that during a re-boot the Broker Service (3.5 SP1) is not shutting down completely. The following lines are missing from the log entry created when restarting the server: -[17/Aug/2004:12:55:55 BST] [B1093]: Shutdown requested by broker ...

Broker shutdown error by imqcmd

3416 byte By JMSMAN at 2007-11-25 17:41:18
Hi,I am trying to run broker on a windows 2000 server with sp3. I am not running the broker as a service any more. I cant run the broker on 7676 as it thinks an instance of this is already running. So I am trying to kill this instance by running the following command: imqcmd shutdown bkr but ...

Unable to start service jms:

1624 byte By JMSMAN at 2007-11-25 17:43:55
Hi,When running imqbrokerd.bat I get the following error. Please can you help out.I am running this on windows 2000 server SP4. Thanks[27/Aug/2004:16:30:55 BST]==================================================================Sun ONE Message QueueCopyright 2002Version: 3.0 (Build 203-a)Sun ...

JMS newbie playing with IMQ/mqapplet

1140 byte By jon.mangin at 2007-11-25 17:44:11
Spent a few days adding features to mqapplet. I now see that something is trying to GET several extra files that I can find no mention of. Can someone help define these or point me to where they are defined?imqxm.jarCan't even guess about this one.imq_ja.jar (imq_zh_CN.jar ...)Obviously ...

imqpostinstall.sh ?

408 byte By jon.mangin at 2007-11-25 17:45:07
I've installed J2EE/AS8 bundle on Sol8x86.No instance directory was created. I'd like to enable logging, access control and file stores. I created directories manually and tried to get logging working but no luck.Should I have run imqpostinstall.sh? With the commented sections it doesn't do ...

Properties object from GET

351 byte By jon.mangin at 2007-11-25 17:47:15
I don't know which MQ component is requesting these three files. Are they intended for public use?com/sun/messaging/Destination_defaults.properties" Destination_types.properties" Destination_labels.propertiesMost importantly, how does one build a Properties object from a file fetched with ...

can not run admin console

414 byte By little_lion at 2007-11-25 17:50:55
I installed java system message queue with sp1. After installation, I found I could not run admin console. THe broker is ok.My os evirenment ...

Can I set a destination object with command line

187 byte By little_lion at 2007-11-25 17:50:56
I have installed sun java system message queue 3.5 with sp1. Course of I can not run admin console, I want to know if I can set destination object with command.Thanks