2
голосов
3ответов
4602 просмотров

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

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 tr...

17
голосов
5ответов
15072 просмотров

WCF message security without certificate and windows auth

I have a WCF service and client which is going to be deployed to several companies (hundreds). Some companies will run the software in their network and some will run it over the Internet (WCF server at on office, WCF client at another). We want to encrypt the communication between the WCF serve...

2
голосов
1ответов
963 просмотров

How can I tell whether a given MAPI message is incoming or outgoing?

In a COM-addin for Outlook (using Redemption) I need to be able to determine whether a given message that I'm looking at was received or sent (I only want to act on the incoming ones). Simply looking at the parent folder or the recipients or senders will not work in my case as both incoming and o...

1
голосов
3ответов
491 просмотров

Should I avoid message inheritance in WCF?

Generally, I try and avoid using inheritance in WCF contracts, preferring composition. But in the following situation... I have a service operation that can result in one of two things: ResultA and ResultB. There is a boolean/enum in the response message to report this outcome. There are a n...

0
голосов
2ответов
861 просмотров

c# windows mobile Text messaging

I have mad an application for windows mobile which can do different mobile functions with the numbers the application has. Anyway. I want to start the Text message application and send a phonenumber as an argument. I have only found this: SmsMessage sms = new SmsMessage(); ...

-1
голосов
5ответов
219 просмотров

call javascript

I try to show to user a message with javascript. I have a button and this button does something like, Label1.Text = "Hello world"; //javascript code Firstly, label1.text will "Hello world" after user will see the message. thanks.

1
голосов
2ответов
406 просмотров

How can I communicate between two C++ MFC plugins?

I have a plugin for a c++ MFC app. I'm working with the developer of another plugin for the same app, that's trying to get notifications of events in my code. Both plugins are in the form of c++ dlls. How can I pass messages from my plugin to his plugin? The solution needs to be robust to mis...

2
голосов
6ответов
3056 просмотров

Prevent Form Deactivate in Delphi 6

We have a Delphi 6 application that uses a non modal form with in-grid editing. Within the FormClose event we check that the entries are square and prevent closure if they're not. However, if the user clicks on the main form behind then the original form disappears behind (as you'd expect) but t...

0
голосов
1ответов
1719 просмотров

Displaying text with VBScript when running from command prompt issue

I have a script that pings a list of computers and tells me if I can be reached. For each computer I would like it to display whether or not it was reached on the command prompt, not as a pop-up message. I did Wscript.Echo, but it does a pop-up for each computer so it's really annoying to have to...

53
голосов
10ответов
39363 просмотров

Django override default form error messages

How can I overwrite the default form error messages (for example: need them in other language) for the all apps in my project (or at least for 1 app) Thanks!

12
голосов
2ответов
3744 просмотров

How to disable warning in xcode on specific line?

I've got a call like this [Class method] and a warning saying that Class may not respond to "method" message. The "method" message does not indeed exist but my code use unknown message catching (using forwardingTargetForSelector) so it will run fine and it is build to run that way. How can I hid...

16
голосов
2ответов
5190 просмотров

How to change boilerplate "Sent from my iPhone" text in MFMailViewController message body?

I'm using the MFMailComposeViewController to send an email from within an iPhone v3.0 application. I programmatically create the message body text and display it before showing the picker. At the bottom of my message body text is the string "Sent from my iPhone." Is there anyway to modify this t...

3
голосов
3ответов
12801 просмотров

How to send a CBN_SELCHANGE message when using CB_SETCURSEL?

When using the CB_SETCURSEL message, the CBN_SELCHANGE message is not sent. How to notify a control that the selection was changed ? P.S. I found on the Sexchange site, a very ugly hack : SendMessage( hwnd, 0x014F/*CB_SHOWDROPDOWN*/, 1, 0 ); SendMessage( hwnd, 0x014E/*CB_SETCURSEL*/, ItemInd...

0
голосов
1ответов
1464 просмотров

Java HTTP post for XML SOAP message

How to expose / publish services using Java HTTP post for XML SOAP message. What are all steps need to follow. I did googling but haven't found any thing about exposing / publishing services.

3
голосов
2ответов
1159 просмотров

VB6 quitting while debugging with active Windows message hook

One of our largest old VB6 apps has some code in it to allow other apps (including some dotNET ones) to pass an ID to it via a Windows message - this ID is then used by the VB6 app to load an entry in a regular Windows form. The message hook is added after the user is logged in and authenticated,...

2
голосов
2ответов
1493 просмотров

Removing Message from Queue only if user does some operation

We are having MVC application which reads data from MSMQ. We are trying to find out a way to read message from queue and remove it from queue only if user has done a successful operation on the queue. The message should remain in the queue until user completes the processing, the message should n...

0
голосов
3ответов
674 просмотров

MessageBox not working on PageLoad

I am trying to do a Messagebox.show on my asp.net page load event, and I can't see the messagebox object in IntelliSense. How come?

2
голосов
5ответов
1332 просмотров

Messaging Protocol

How should I design my message protocol so that I distinguish between user data and termination of the message. For example I take input from user to send it to client over TCP/IP, now the client-side needs to know the length of message, what I thought that I use some kind of termination by whic...

2
голосов
2ответов
683 просмотров

Receive a message FROM another process

I've been teaching myself how to use messages with Window's APIs, and have actually been doing very well learning them. Problem is, I can't figure out how to receive a message from another application to start code within mine. Essentially, what I want to do is allow others using a commercial ap...

0
голосов
1ответов
470 просмотров

CheckedListBox used from Python(pywin32)

Does anyone know how to get the list of items and check/uncheck items in a CheckedListBox from python? I've found this to help me partly on the way. I think I've found the handle for the CheckedListBox(listed as a SysTreeView32 by WinGuiAuto.py). One usage will for my part be to create an autoin...

0
голосов
2ответов
75 просмотров

wordpress contact or message pages

I have an idea for my wordpress blog. I want to have a page where my readers can send me messages, not by email. Sort of like a comment, but they shouldn't be listed on the blog itself. And, I don't want to read them in the comment field, but instead have a separate view for it. I have a few ...

8
голосов
1ответов
9028 просмотров

creating folders in IMAP does not work

I am trying hard to create a folder in IMAP (I am using gmail) Here is what i have attempted so far: public boolean createFolder(String folderName) throws MessagingException { store = session.getStore("imap"); System.out.println("connecting store.."); store.connect("imap.gmail.com...

0
голосов
1ответов
2521 просмотров

How to change window style by sending a message in c#?

I am trying to change window style of a window in c#. I have handle of the window. How do I send message to the window to change its window style? My purpose is to make the window borderless.

1
голосов
4ответов
3817 просмотров

jQuery validation error message

I am using jQuery validation plugin and I want that the error message to be displayed in a specific text input with id="test". How do I do this?

0
голосов
2ответов
2258 просмотров

SOAPMessage GZIP implementation

I want to implement GZIP for SOAPMessage. Below is normal SOAP client call code - // Create a new SOAP message from the factory and set the SOAPAction header. MessageFactoryImpl factory = new MessageFactoryImpl(); SOAPMessage soapMsg = factory.createMessage(); // Set the SOAP e...

0
голосов
2ответов
819 просмотров

Php error log shortens strings

I read call stack in Magento, but they are unreadable due to string shortage, eg: include('/var/www/oneste...') How can I see full string, in this case full path?

0
голосов
3ответов
693 просмотров

Message when browsing with incompatible Browser

I wonder some jquery features are not displayed (correctly) at Internet Explorer 6 like the ui.slider. Is there a chance not to display the real jquery code of the site if its opened with a "underdeveloped" Browser? Instead of showing the real jquery code, a message with "Get a compatible Browser...

6
голосов
2ответов
32722 просмотров

Setting Max Message and buffer size for WCF webhttp

I currently have a WCF service with webHttp bindings, im attempting to increase the max size that can be inputted to the service by overriding the default settings in config, i have tried doing something like <system.serviceModel> <bindings> <webHttpBinding> <binding na...

3
голосов
1ответов
1495 просмотров

Amazon SQS invalid binary character in message body

I have a web app that sends messages to an Amazon SQS Queue. Amazon sqs lib throws a 'AmazonSQSException' since the message contained invalid binary character. The message is the referrer obtained from an incoming http request. This is what it looks like: http://ads.vrx.adbrite.com/adserver/d...

0
голосов
2ответов
460 просмотров

Asynchronous message sender

I'm looking for a library that can send messages from a process. It needs to be asynchronous, reliable and ordered. I don't care if it drops messages when the queue is full, but it has be able to report that. It cannot be blocking. It should be possible to plug it into a standard app which alrea...