I'm new to coding all together, so please be patient & hopefully I don't ask any stupid questions. I'm writing a program that has two JTextFields that represents degress in temperature, 1) Celsius & 2) Fahrenheit. The goal is to have the user input into either field and the opposite ...
hello all,iam new to java please help me .my program has thrown the exception:java.security.AccessControlException: access denied (java.io.FilePermission F:\read) using applets a dynamic jtree should be displayed.when a user clicks a node a file should be retrived and display the directories ...
1389 byte By
JSmarter at 2007-11-25 20:36:59
Now, I successfully configurated LDAP user authentication.But however i tried, the group configuration always failed.I watched administrated document over and over again, and tried many many ways, it still doesn't work, so i post it for helping.Successful User Config File ...
875 byte By
kibitzer at 2007-11-25 20:38:33
Hi all. We're planning to use the Sun JMS Broker -- as long as we get a few reliability issues sorted -- as our primary JMS provider. And we'd like to keep an audit trail of messages passing through the broker.Background: we use MQ Series for a bunch of stuff; messages passing through MQ are ...
252 byte By
kibitzer at 2007-11-25 20:39:14
When using database persistence with Oracle, why does the Sun JMS Broker create LONG RAW columns, rather than BLOBs? I believe Oracle does not recommend the use of LONG RAW so it's essentially an obsolete datatype and should not be used.
I have deployed a OSSJ Trouble Ticket refererence Implementation on Sun Java System App Server Platform Edition 8.1 default server. To implement security in the application I want only authorized users (say a user called ossj) to create a Trouble Ticket, by sending a JMS message (XML) to a ...
I created a user ossj using the usermanager utilityimqusermgr add -u ossj -p ossj -g adminI then made the following changes in accesscontrol.properties to allow only ossj user to create connections# service connection access ...
3219 byte By
jdtran88 at 2007-11-25 20:42:48
Anyone know why I'm getting this error? On the client side I'm getting the following exception:[SEND_REPLY(9)] [C4036]: A server error occurred. : transaction failed: Unexpected Broker Exception: [received message with Unknown Transaction ID -1: ignoring message] user=guest, ...
300 byte By
pal at 2007-11-25 20:45:37
We observed that the user authentication is done only during when using the destination, as per the ACL file settings.Is there any way we can have the user authenticated when creating the connection itself ?i.e. how will I allow deny access to users to create connections? ...
I have deployed a OSSJ Trouble Ticket refererence Implementation on Sun Java System App Server Platform Edition 8.1 default server. The TT server listens on queue MessageQueue and sends its reply on MessageReplyQueueThe application that sends the request to the TT server should support ...
314 byte By
JSmarter at 2007-11-25 20:59:12
Now we can use "/imqsvcadmin install" to install broker as service, and after i use "/imqcmd shutdown bkr" to stop broker, i can't find any command to restart it. "/imqcmd restart bkr" throws connection failed exception. And is there any class to control broker state?A StartStopBroker Class? ...
I am having problem in running an EJB example, the error message is below, who can tell me what's the problem? D:\java_newconcept\ejb_2\sample\basic\sessionbean>java -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory -Dorg.omg.CORBA.ORBInitialPort=3700 Client ...
186 byte By
kibitzer at 2007-11-25 21:00:13
I noticed with interest that Sun will be bundling Postgresql with Solaris 10. Does that mean Sun Message Queue will support Postgresql for plug-in persistence? If so, when?
275 byte By
stan at 2007-11-25 21:00:31
I am using TopicConnections, setting noLocal to false on the Subscriber.TopicSession.createSubscriber(topic, "", false); I am receiving double messages on the originating VM. Is this a bug or is there a configurable parameter that I forgot to set?
494 byte By
kibitzer at 2007-11-25 21:00:35
OK, this is probably a dumb question, but: is there any way to do away with the "cn=" prefix when storing destinations in an LDAP server?Thing is, if you use file-based objectstores you don't need them, so you can name your q's and topics something like "Company.Retail.Product.Updates" during ...
1414 byte By
ossmkitty at 2007-11-25 21:00:43
We have a client/server message passing system (using 3.6 SP3). The clients create temporary queues and the server replies in these queues. The server uses an unidentified MessageProducer (i.e., from session.createProducer( null ) ) to reply. Clients start up and shutdown frequently, but ...
1694 byte By
James74 at 2007-11-25 21:05:30
I've been evaluating this message queue software for a couple of days, and today while testing a durable subscriber and messages with an expiration, I've been getting the following exception in the broker output (I've just been running the broker from the command line with the -tty ...
3279 byte By
kibitzer at 2007-11-25 21:12:48
Does anyone else experience very long startup times with imq? If so, do you know the cause and how to reduce it?We're seeing startup times of up to an hour with the 3.6 Enterprise version. Stopping the broker doesn't take very long, but restarting is a different story. The log doesn't seem ...
138 byte By
stan at 2007-11-25 21:19:45
javax.jms.IllegalStateException: [C4062]: Cannot perform operation, connection is closed.Any pointers? what is C4062?
2998 byte By
sharon_lu at 2007-11-25 21:32:16
Hi -I was doing some test and everything was fine in the morning. Yet in the afternoon, I got the following messages when I tried to do same testing. The broker instance simply hung and did not respond since then. I tried to shutdown using imqcmd command, but it hung as well. What should I do ...
432 byte By
jbeech at 2007-11-25 21:35:48
In the system requirements it states that SMQ runs on Red Hat Enterprise Linux AS 2.1 Update 2, AS 3.0 Update 1(Will it run fine on other flavors of Linux?)More specifically does this mean that it won't run on Red Hat Enterprise Linux ES?I am less familiar with Linux but have been using Sun ...
hi,have installed ISW which also include message queue q2005q1 i believe.when i run imqadmin and try to connect to the running broker, i can't an access denied error. at the shell i lanched imqadmin from i see -LDAP Error Code 48: inappropriate authentciation.any ideas? ...
Hello,I have downloaded Sun Java System Message Queue 3 2005Q1 Platform Edition with Sun Download Manager. Checked the zip file that it is OK.When I try to start setup.bat file a message box with text 1158 displayed. What is the problem? Does Anyone solved this?I am trying to install on a ...
220 byte By
kibitzer at 2007-11-25 21:47:01
Can anyone tell me roughly when the next major version of iMQ is due and what new features are expected?I'm sure this info is readily available elsewhere so feel free to point me there and say RTFM.
We are using Sun Java(tm) System Message Queue Version: 3.5 SP1 (Build 48-G). We are using two JMS servers as a cluster. But we frequently getting the out of memory issue during the cluster operation.Messages also got queued up in the Topics. Eventhough listeners have the capability to ...
678 byte By
kibitzer at 2007-11-25 21:53:26
Which databases are supported by Sun as a persistent store for the Sun JMS Broker? The Admin Guide contains this statement:"The Persistence Manager is configured by default to access a built-in, file-based data store, but you can reconfigure it to plug in any data store accessible through a ...
288 byte By
crmky at 2007-11-25 21:53:34
when send message which have a string property larger than 65535 bytes, will throw a exception: Exception in thread "main" com.sun.messaging.jms.JMSException: [C4001]: Write packet failed. - cause: java.io.UTFDataFormatException: encoded string too long: xxxxxx bytes
Hello I have an issue that I have been trying to resolve.For a remote application trying to connection to a JMS server on another machine, if there is a network failure, I can't get it to reconnect with the previously established queue and receive any messages. Just to let you know I do not ...
721 byte By
MZaina at 2007-11-25 21:54:53
Hi, we are evaluating Sun System Message Queue for our j2ee application and after browsing the documentation we still have one single doubt which is actually slowing down our purchase.The question is pretty simple,having more j2ee application servers running on different machines accessed via ...
686 byte By
anyiu at 2007-11-25 22:00:17
Dear Expert,My customer find the mq broker are hang up serveral times per week. The mq version is 3.6 EE version.[sb2000a]# ps -ef |grep imqroot 10665 1 0 12:27:56 ? 0:00 /bin/sh /usr/bin/imqbrokerd -vmargs -Xmx512m -XX:NewRatio=4 -verbose:GCroot 10676 10665 0 12:27:56 ? 0:16 ...
Hi, I have set up the JMS server such that each queue can have 1 consumer. Now if there is a network failure and the established again and I try to connect back to the server the commandqueueReceiver = queueSession.createReceiver(queue);throws the error "JMS Destination limit has been ...
1002 byte By
kibitzer at 2007-11-25 22:07:15
Looking for some details on observed behaviour with the 3.6 Broker.We've been seeing some odd stuff in our production broker this week -- old transactions (using imqcmd list txn) that we can't get rid of, "phantom" messages in queues which just hang around and never get consumed and stuff ...
208 byte By
sana at 2007-11-25 22:10:43
I want to get a date value from from the property field of a map message. Right now I am getting the time in long format like this:long modTime = obj.getLongProperty("time");Thanks
399 byte By
skhare at 2007-11-25 22:21:44
Hi All,My Message Queue server falls over after few seconds of start up with "segmentation fault" error. I am using Platform Edition 3.6 on Linux redhat OS. This error is inconsistent and some time my servers starts without any error and works perfectly. Now i am able to see same error on other ...
415 byte By
amurkes at 2007-11-25 22:29:37
We're evaluating JMS implementations, and our requirements call for durable subscribers, where subscribers can go down for several hours, while the MQ server accumulates a large number of messages.Is anyone using Sun MQ in a similar scenario? How is it holding up?Sun folks, do you know of ...
We are currently using 3.5 and when the remote machine's cable (the machine that is not running the JMS Server) is diconnected the application receives the error message, but if the machine that holds the JMS server is disconnected, the remote machine's application is never notified?Why is ...
147 byte By
Aviad at 2007-11-26 6:11:58
for some reason while using the the sunMQ and enumerating on messages from queue i get a message with message type = null ?!?!
1466 byte By
hayu101 at 2007-11-26 6:17:58
Hi,We are using Sun MQ 3.6 enterprise edition on Linux x-86. We have the following set up:1. A stand-alone JMS server, with queues and topics where one of the queue is, say, TaskQueue2. A stand-alone Java application as producer that pumps task messages onto TaskQueue3. The messages on ...
1921 byte By
jbeech at 2007-11-26 6:20:46
We are using SMQ 3.5 SP2 on Solaris (Platform Edition)The JMS Broker is used extensively and we have been using it with great success - apart from we have one locking issue.Basically we have:- a single topic- many persistent subscribers (running in their own thread - connecting via their own ...
1631 byte By
zinger21 at 2007-11-26 6:28:19
I installed Sun Java(System) Message Queue Platform edition for windows with automatic modeOS:windowsxp sp2Version 2005Q1 followed by start broker as administrator guide saidD:\Sun\MessageQueue\bin>imqbrokerd [13/April/2006:19:06:36 CST] ...
I am using this to create a connectionfactory.com.sun.messaging.QueueConnectionFactory myQConnFactory = new com.sun.messaging.QueueConnectionFactory();this will connect to the broker in my localhost. Is there a way I can connect to remote broker?Thanks,
641 byte By
dhirajsb at 2007-11-26 6:28:36
Version: 3.6 SP1 (Build 1-B)Compile: Wed 01/26/2005I am trying to use a message selector in this version and it has no affect at all. I do not get any errors/exceptions/messages anywhere at runtime that tell me if I have done anything wrong. The same application works with SonicMQ so the ...
HiThank you for reading my postI am trying to use sun MQ from outside the application server from an standalone client .i want to access to some queue and process its message from the standalone client , but where ever i searched i can not find those two parameters , can some one give them to ...
HiThank you for reading my post.i get the following error when i try to lookup a queue in sun application server jndi from a remote client .com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RARat ...
Hi,I am trying to create a SOAP service and i am using JAVA SUN APPLICATION SERVER (Ver 9) Even with the example posted on the jaxm I am not able to run. http://developers.sun.com/sw/building/codesamples/jaxm/index.htmlThough the example is written for Sun Application Server 7. I belive it ...
227 byte By
ugol at 2007-11-26 7:54:14
Hi,I have installed the open source MQ from http://mq.dev.java.net. It is an enterprise edition (I have successfully installed ssl support). Is there any way to have official sun support for it? (SJS MQ is at 3.6)
Hi,I would like to know if SunMQ platform/entrprise edition support management/monitoring using JMX. If yes, where can I get more information regarding it?kamal
1725 byte By
j.salvo at 2007-11-26 7:57:34
I was reading Chapter 4 of the Technical Overview of MQ 3.x: http://docs.sun.com/source/819-2574/broker_clusters.htmlHowever, I am still not sure if I understand some things correctly. So here are my questions:*) Assume there are 3 brokers: X,Y,Z*) Assume there are no consumers connected yet.*) ...
1090 byte By
peter.b at 2007-11-26 7:59:07
I start the App Server, platform edition, which starts up the imqbrokerd on port localhost:7676. Fine. The App Server Admin Console shows it running as a 'JMS Host' , and the Message Queue Admin Console can connect to it and shows it running as a broker.Then I start up my C app, which ...
1512 byte By
j.salvo at 2007-11-26 8:03:15
Using Open MQ 4.0 by itself ( without any other SJES component ).I am a bit confused on setting up the Object Stored and Connection Factories. What I have done so far, via the imqadmin GUI console:1) Setup via the GUI a file-based object ...