message

JBoss 5.1.0GA: "java.lang.IllegalStateException: Null beanMetaData" and "java.lang.RuntimeException: failed to initialize bean container"

Hi, I am trying to deploy a ear file, which was originally written for Jboss 4.0.3 SP1. The "upgrade" involved: use of javax.annotation.PostConstruct change activateConfig to activationConfig make sure the bean implements import javax.jms.MessageListener I believe the following stack trace is triggered by a MDB (one and only) withi...

IMAP in Php: Marking a message unread/unseen

I want to create a script in php to read al mail from a mail acount. I connect to the server, I can see the mails but went I want to seet it back to unseen I can't find a function to do this. ...

Message Design Patterns

For message based passing systems, what are your "message design patterns" e.g. Limit directed messages (i.e. specific destination) Avoid long cascade chains (i.e. react to MsgA with MsgB, MsgC etc.) Have a system "heartbeat" message Other examples? ...

Javascript: message by login

Hello, i have this chatbox, and when users login i want it to send a message like this: Admin: User is online I really want to use a javascript code for this, because i can work with it quite good. I already have some example, but the problem here is that it does not do something until it is called to do it's function. THATS what ...

How do I destroy a Window correctly?

I'm programming a little game, and I set the lpfnWndProc to DefWindowProc and after that, I made a loop in that way: MSG lastMessage; while (true) { if (PeekMessage( &lastMessage, this->getWindow(), 0, 0, PM_REMOVE)) { TranslateMessage(&lastMessage); DispatchMessage(&lastMessage); } } So how do I hand...

Why does MPI give run time Error.

After i typed sudo apt-get install mpich2 The mpich was installed but the first problem is that I dont know where the files were installed. On the other hand when I wrote mpirun -np 3 ./hello.o it gives me: mpiexec_hani-laptop: cannot connect to local mpd (/tmp/mpd2.console_hani); possible causes: 1. no mpd is running on this ho...

What's the fastest Perl IPC/message queue for a single machine?

I'm working on a (primarily) Perl project and want to use a message queue to isolate processes from each other. I have a work flow like this: Input -> Receiver -> Processor(s) -> Output(s) I need to handle several hundred transactions/second, so speed my biggest motivator. What is the fastest message queue system for this type of setup...

Create message from a MessageDescription

I'm trying to create a Message using only a set of parameters provided by the user and a MessageDescription I resolved by extracting the input message from an OperationDescription object in WCF. It looks simple, but I can't seem to find information on how to work with settings like Body.WrapperElementName and various message parts that...

"Member modifier 'static' must precede the member type and name" Error C#

I am building a game of BlackJack and the main class for it is having a problem. This is my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public class blackjack { static string[] playercards = new string[11]; ...

jQuery autocomplete display "No data" error message when results empty

I am using Jörn Zaefferer's jQuery Autocomplete plug-in. Works just fine with data. I am trying to customise the functionality by showing a "no results" error message when there are no results returned from the OnChange function (key stroke). I want the message to be displayed in the same div as the results would display in. So when you ...

Handling multiple windows WIN32 API

HI I'm trying to create an application in the Win32 environment containing more than one window. How do i do that? all the Win32 Tutorials on web i found only showed how to manage one window. How do i create the second window, and how do i handle messages for both of them together? (i understood i'm supposed to have only one message loop...

Exception message (Python 2.6)

If I want to open binary file (in Python 2.6), that doesn't exists, program exits with an error and prints this: Traceback (most recent call last): File "C:\Python_tests\Exception_Handling\src\exception_handling.py", line 4, in <module> pkl_file = open('monitor.dat', 'rb') IOError: [Errno 2] No such file or directo...

Powershell : Internal server Error power shell

I am trying to Execute the below services using System.Web.Client and I passed the SAOP message in this format. but when I say Upload String it gives me error Error: Exception calling "UploadString" with "2" argument(s): "The remote server returned an error: (500) Internal Server Error." At :line:28 char:46 + (new-object System.Net.WebC...

How to find out if a thread has message queue?

Is there any way to find out from threadId , if a thread has message queue or not? Basically there are some windows api which only work if a thread has message queue.window ...

clear Message Queue in C#

Hi! C#: i use the Message Queue to send messages from one application to the other one (this has to work only on one particular machine) I create the queu like this on the receiver side: string queueName = ".\\private$\\WZMSGQ"; if (MessageQueue.Exists(queueName)) msgQueue = new MessageQueue(queueName); ...

how do i get mysql warning messages in php (not error)

hi all, i want to execute a sql at php which does something like changing a text column into int column. however, this sql failed to fun at php and succeeds in my mysql admin tool (sqlyog). server responses "1 row(s) affected. 1 warning(s)". but "SHOW WARNINGS" didn't pop up anything and not surprisingly, php's mysql_error() didn't retu...

Ready-made forum, chat, and PM solutions for Django

On my Django site I would like users to communicate with each other in several ways: Forum Private messages Chat with rooms and saved history Could you suggest me ready solutions for this? Especially for chat. Also, is it possible to integrate Google Wave in Django? ...

In Sharepoint I want to display a message when an item is selected from the dropdown list and hide when it is clicked again.

I am new to sharepoint. I have a dropdown box with 5 items in it. When I select anyone of them from the dropdown box, I wanted to display a short discription of that selected item below. And when i click on it again the discription must hide or when i select another item from the dropdown box a discription of that message should be dis...

Message Queues Vs DB Table Queue via CRON

We have a large project coming up soon with quite a lot of media processing (Images, Video) as well email output etc, the sort of stuff normally we'd put into a table called "email_queue" and we use a cron to run a script process the queue in the table. I have been reading a lot on Message Queue systems like beanstalkd, and have even se...

Java JDIC error message

I have the following line in my Java app, and it's causing the following error message : WebBrowser webBrowser=new WebBrowser(); org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect at org.jdesktop.jdic.init.JdicManager.initBrowserNative(Unknown Sour...