Search the web
Sign In
New User? Sign Up
msmq · Microsoft MSMQ Discussion List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1 - 30 of 4356   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#30 From: Dean Olynyk <dolynyk@...>
Date: Tue Feb 16, 1999 2:25 am
Subject: Re: Read security differences between
dolynyk@...
Send Email Send Email
 
Thanks for your reply.

I know what they do, and at this time I need PEEK access.

Let me rephrase the question:

I am using VB with the COM MSMQ API.  Whenever I open a queue with
MQ_RECEIVE_ACCESS, things work swimmingly.  However, if I simply change that
one constant in the Open function to MQ_PEEK_ACCESS it bombs and gives me
the error ACCESS DENIED.

I've looked through the documentation for any explanations, but to me it
seems that MQ_RECEIVE_ACCESS is the more restrictive of the bunch.

Any comments?

d.
_____________________________
Dean Olynyk
InterLogic Engineering Ltd.
mailto://dolynyk@iel.com
http://www.iel.com


> -----Original Message-----
> From: ldking [mailto:ldking@...]
>
> If you open a queue for receive access you can PEEK or
> RECEIVE from the queue.  If you open a queue for peek access you can only
> PEEK at the messages.  Receive is destructive (message is removed), peek >
is none destructive (message remains).

------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#29 From: "Alan Dickman" <alan@...>
Date: Tue Feb 16, 1999 2:41 am
Subject: Re: Read security differences between
alan@...
Send Email Send Email
 
> Can anyone tell me why there is more restriction placed on a
> queue opened
> with MQ_PEEK_ACCESS than MQ_RECEIVE_ACCESS?
>
> When opening a queue with MQ_RECEIVE_ACCESS, all is well.
> However, whenever
> my application attempts to read from the exact same queue with
> MQ_PEEK_ACCESS it always returns "Access Denied".

There are probably two reasons for offering MQ_PEEK_ACCESS. First,
you can think of MQ_PEEK_ACCESS as offering a program extra protection
against about the possibility of mistakes, e.g., accidentally removing
a message from a queue. This is a quess, but Microsoft may optimize
reads under situation where they know you won't remove a message from
a queue. (But that's just a guess.)

Alan


begin 666 Alan Dickman - Designing Applications With MSMQ.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..DU335$[06QA;CM$:6-K;6%N
M("T@1&5S:6=N:6YG($%P<&QI8V%T:6]N<R!7:71H.SL-"D9..D%L86X@1&EC
M:VUA;B M($1E<VEG;FEN9R!!<'!L:6-A=&EO;G,@5VET:"!-4TU1#0I/4D<Z
M5%!-42U%>'!E<G1S#0I4251,13I#:&EE9B!496-H;F]L;V=I<W0-"E1%3#M7
M3U)+.U9/24-%.BLQ("@S,#,I(#(W,RTU-C@X#0I414P[2$]-13M63TE#13HK
M,2 H,S S*2 R-S,M.3@R-@T*0412.U=/4DLZ.SLQ-3,W($-O>6]T92!#;W5R
M=#M';VQD96X[0V]L;W)A9&\[.# T,#,[56YI=&5D(%-T871E<R!O9B!!;65R
M:6-A#0I,04)%3#M73U)+.T5.0T]$24Y'/5%53U1%1"U04DE.5$%"3$4Z,34S
M-R!#;WEO=&4@0V]U<G0],$0],$%';VQD96XL($-O;&]R861O(#@P-# S/3!$
M/3!!56YI=&5D(%-T871E<R!O9B!!;65R:6-A#0I54DPZ#0I54DPZ:'1T<#HO
M+W=W=RYT<&UQ+65X<&5R=',N8V]M#0I%34%)3#M04D5&.TE.5$523D54.F%L
M86Y ='!M<2UE>'!E<G1S+F-O;0T*4D56.C$Y.3@Q,C(R5#(R-3$R,%H-"D5.
)1#I60T%21 T*
`
end


------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#28 From: Dean Olynyk <dolynyk@...>
Date: Tue Feb 16, 1999 1:28 am
Subject: Read security differences between
dolynyk@...
Send Email Send Email
 
Can anyone tell me why there is more restriction placed on a queue opened
with MQ_PEEK_ACCESS than MQ_RECEIVE_ACCESS?

When opening a queue with MQ_RECEIVE_ACCESS, all is well.  However, whenever
my application attempts to read from the exact same queue with
MQ_PEEK_ACCESS it always returns "Access Denied".

Searching for help on this has come up empty.  Any help or pointers would be
very much appreciated.

d.
_____________________________
Dean Olynyk
InterLogic Engineering Ltd.
mailto://dolynyk@iel.com
http://www.iel.com


------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#27 From: Dean Olynyk <dolynyk@...>
Date: Mon Feb 15, 1999 8:11 pm
Subject: Re: Sending persistable objects using VB
dolynyk@...
Send Email Send Email
 
Thanks Keith,

I had originally installed SP4 prior to the Option Pack.  But reinstalling
SP4 fixed the problem.

d.
_____________________________
Dean Olynyk
InterLogic Engineering Ltd.
mailto://dolynyk@iel.com
http://www.iel.com

> -----Original Message-----
> From: Keith Schaab [mailto:keithsc@...]
>
> Try applying SP4, this should fix this problem.
>
> Keith Schaab
> Microsoft Message Queue Developer Support
>
> -----Original Message-----
> From: dolynyk@... [mailto:dolynyk@...]
>
> Hi All,
>
> I was hoping someone can help me out here regarding sending
> persistable objects using MSMQ and VB.
>
> I've toggled the class that is to be sent as "Persistable" and have
> implemented the Write/ReadProperties and have watched the
> call to Write when I .Body = MyObject.
>
> However, after returning from the Write it complains, "Object doesn't
> support this action".
>
> Is there something I'm missing?

------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#26 From: Keith Schaab <keithsc@...>
Date: Mon Feb 15, 1999 7:10 pm
Subject: Re: Sending persistable objects using VB
keithsc@...
Send Email Send Email
 
Try applying SP4, this should fix this problem.

Keith Schaab
Microsoft Message Queue Developer Support


-----Original Message-----
From: dolynyk@... [mailto:dolynyk@...]
Sent: Monday, February 15, 1999 11:07 AM
To: msmq@egroups.com
Subject: [msmq] Sending persistable objects using VB


Hi All,

I was hoping someone can help me out here regarding sending persistable
objects using MSMQ and VB.

I've toggled the class that is to be sent as "Persistable" and have
implemented the Write/ReadProperties and have watched the call to Write when
I .Body = MyObject.

However, after returning from the Write it complains, "Object doesn't
support this action".

Is there something I'm missing?

------------------------------------------------------------------------
$1000 in FREE software--guaranteed
While you automate your company's purchasing process.
http://offers.egroups.com/click/228/1

eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com


------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#25 From: dolynyk@...
Date: Mon Feb 15, 1999 7:07 pm
Subject: Sending persistable objects using VB
dolynyk@...
Send Email Send Email
 
Hi All,

I was hoping someone can help me out here regarding sending persistable objects
using MSMQ and VB.

I've toggled the class that is to be sent as "Persistable" and have implemented
the Write/ReadProperties and have watched the call to Write when I .Body =
MyObject.

However, after returning from the Write it complains, "Object doesn't support
this action".

Is there something I'm missing?

------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#24 From: sandysw@...
Date: Wed Feb 10, 1999 9:21 am
Subject: Independent Client Access on Dial-up Internet Line
sandysw@...
Send Email Send Email
 
Exploring Independent Client Access on Dial-up Internet Line
============================================================

We are new to MSMQ & are exploring the possibilty of developing a MSMQ
  application in which we intend to have the clients assessing a Server using
Dial-up Access on Internet thru the local ISP instead of dialing up the Server
  direcltly thru RAS.

Is it possible to access remote queues(Server Queues) thru independent clients?

Is this scenario supported by MSMQ?

If not, Are there any other alternatives to accomplish the same?

This problem has arisen coz the IP addresses are dynamically assigned by the
local ISP's.

Regards

Sandeep Sharma

------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#23 From: rbendele@...
Date: Mon Feb 1, 1999 4:56 pm
Subject: Re: ReceiveTimeout parameter in Msg.Receive
rbendele@...
Send Email Send Email
 
Original Article: http://www.egroups.com/list/msmq/?start=22
> I have set the ReceiveTimeout parameter to 1 and the call to Msg.Receive
> just hangs the computer until the message is put into the queue.  In other
> words it appears to NOT be working.
>
> I am programming in Delphi 4 on an NT 4.0 workstation and our PEC is on
> an NT 4.0 Enterprise Server.  Everything else is working great.  Anybody
> have any ideas?
>

I found that I was compiling OK, but actually running the old registered object.
I had moved my source code from one location to another, which kind of 'setup'
the problem.  Msg.Receive works as advertised.  Do I look good with egg on my
face? :)  Thank you to the two people who responded.  I appreciated your help.

------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#22 From: rbendele@...
Date: Thu Jan 28, 1999 11:48 am
Subject: ReceiveTimeout parameter in Msg.Receive
rbendele@...
Send Email Send Email
 
I have set the ReceiveTimeout parameter to 1 and the call to Msg.Receive
just hangs the computer until the message is put into the queue.  In other
words it appears to NOT be working.

I am programming in Delphi 4 on an NT 4.0 workstation and our PEC is on
an NT 4.0 Enterprise Server.  Everything else is working great.  Anybody
have any ideas?

------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/list/msmq
Free Web-based e-mail groups by eGroups.com

#21 From: Keith Schaab <keithsc@...>
Date: Sun Dec 6, 1998 11:30 pm
Subject: Re: MSMQ and J++
keithsc@...
Send Email Send Email
 
Serializable implements IPersistStreamInit.  This functionality is fixed in
MSMQ for SP4.

Ta,

Keith Schaab
Microsoft Developer Support - Microsoft Message Queue Server
(425) 704-2454 6am - 3pm Pacific Time
Manager: Vince Hampton
Pager: 1-800-759-8888 PIN #: 1642235

Your satisfaction is important to us. Please email tell_us@...
and let us know how we did.


-----Original Message-----
From: Stan Berkovich [mailto:stan@...]
Sent: Friday, December 04, 1998 5:07 PM
To: Keith Schaab; msmq@egroups.com
Subject: [msmq] Re: MSMQ and J++


This is exactly the sort of code I was using before, and it didn't work back
then.  That was circa SDK 2.01.  I also seem to remember having to use some
proxy-ref method.  Has this functionality changed recently (with SDK 3.1 or
NT4SP4)?

I'll try it again soon to confirm.

Thanks,

	 Stan Berkovich
	 stan@...

> -----Original Message-----
> From: Keith Schaab [mailto:keithsc@...]
> Sent: Friday, December 04, 1998 6:45 PM
> To: 'stan@...'; msmq@egroups.com; 'JT Klopcic'
> Subject: RE: [msmq] Re: MSMQ and J++
>
>
> If you define your class as implements Serializable then you
> can send your
> components via MSMQ.
>
> import java.io.*;
>
> class x implements Serializable
> {
> //...
> }
>
> source:
>
> //...
> public void SendObject(x comObject, MSMQQueue mqQueue) {
>  MSMQMessage mqMessage = new MSMQMessage;
>  Variant varObject = new Variant(comObject);
>
>  //...
>  mqMessage.setBody(varObject);
>  //...
> }
>
> public void ReceiveObject(MSMQQueue mqQueue) {
>  Variant varObject = new Variant();
>
>  //...
>  mqMessage.getBody(varObject);
>  x comObject = varObject.getObject();
>  //...
> }
>
> Ta,
>
> Keith Schaab
> Microsoft Developer Support - Microsoft Message Queue Server
> (425) 704-2454 6am - 3pm Pacific Time
> Manager: Vince Hampton
> Pager: 1-800-759-8888 PIN #: 1642235
>
> Your satisfaction is important to us. Please email
> tell_us@...
> and let us know how we did.
>
>

------------------------------------------------------------------------
FREE  Broderbund's "Ages of Myst" from NextCard Visa!
Go get it!
http://ads.egroups.com/click/137/7



Free Web-based e-mail groups -- http://www.eGroups.com
------------------------------------------------------------------------
Free Web-based e-mail groups -- http://www.eGroups.com

#20 From: "Stan Berkovich" <stan@...>
Date: Sat Dec 5, 1998 1:06 am
Subject: Re: MSMQ and J++
stan@...
Send Email Send Email
 
This is exactly the sort of code I was using before, and it didn't work back
then.  That was circa SDK 2.01.  I also seem to remember having to use some
proxy-ref method.  Has this functionality changed recently (with SDK 3.1 or
NT4SP4)?

I'll try it again soon to confirm.

Thanks,

	 Stan Berkovich
	 stan@...

> -----Original Message-----
> From: Keith Schaab [mailto:keithsc@...]
> Sent: Friday, December 04, 1998 6:45 PM
> To: 'stan@...'; msmq@egroups.com; 'JT Klopcic'
> Subject: RE: [msmq] Re: MSMQ and J++
>
>
> If you define your class as implements Serializable then you
> can send your
> components via MSMQ.
>
> import java.io.*;
>
> class x implements Serializable
> {
> //...
> }
>
> source:
>
> //...
> public void SendObject(x comObject, MSMQQueue mqQueue) {
>  MSMQMessage mqMessage = new MSMQMessage;
>  Variant varObject = new Variant(comObject);
>
>  //...
>  mqMessage.setBody(varObject);
>  //...
> }
>
> public void ReceiveObject(MSMQQueue mqQueue) {
>  Variant varObject = new Variant();
>
>  //...
>  mqMessage.getBody(varObject);
>  x comObject = varObject.getObject();
>  //...
> }
>
> Ta,
>
> Keith Schaab
> Microsoft Developer Support - Microsoft Message Queue Server
> (425) 704-2454 6am - 3pm Pacific Time
> Manager: Vince Hampton
> Pager: 1-800-759-8888 PIN #: 1642235
>
> Your satisfaction is important to us. Please email
> tell_us@...
> and let us know how we did.
>
>

------------------------------------------------------------------------
Free Web-based e-mail groups -- http://www.eGroups.com

#19 From: Keith Schaab <keithsc@...>
Date: Sat Dec 5, 1998 12:45 am
Subject: Re: MSMQ and J++
keithsc@...
Send Email Send Email
 
If you define your class as implements Serializable then you can send your
components via MSMQ.

import java.io.*;

class x implements Serializable
{
//...
}

source:

//...
public void SendObject(x comObject, MSMQQueue mqQueue) {
	 MSMQMessage mqMessage = new MSMQMessage;
	 Variant varObject = new Variant(comObject);

	 //...
	 mqMessage.setBody(varObject);
	 //...
}

public void ReceiveObject(MSMQQueue mqQueue) {
	 Variant varObject = new Variant();

	 //...
	 mqMessage.getBody(varObject);
	 x comObject = varObject.getObject();
	 //...
}

Ta,

Keith Schaab
Microsoft Developer Support - Microsoft Message Queue Server
(425) 704-2454 6am - 3pm Pacific Time
Manager: Vince Hampton
Pager: 1-800-759-8888 PIN #: 1642235

Your satisfaction is important to us. Please email tell_us@...
and let us know how we did.


-----Original Message-----
From: Stan Berkovich [mailto:stan@...]
Sent: Friday, December 04, 1998 8:41 AM
To: msmq@egroups.com
Subject: [msmq] Re: MSMQ and J++


I fell back to using Java serialization and safe-arrays after many attempts
at using the method you described below.  There was also some discussion of
this on the Java-COM mailing list, but I don't think anyone actually
succeeded in using the built-in IPersist* interfaces with Java objects being
sent and received from Java.

I have heard that people have had success in using the built-in interface
approach for sending Java-implemented objects from VB and the like (I think
some parts of wfc depend on some of this working).  The problem seems to be
getting the objects back out within Java, and casting them as Java objects
of the original class (as you've discovered).

It would be nice if someone at the MSMQ group could provide some definitive
advice in this area...

	 Stan Berkovich
	 stan@...
	 Bedouin, Inc.

> -----Original Message-----
> From: JT Klopcic [mailto:jtk_1997@...]
> Sent: Friday, December 04, 1998 10:20 AM
> To: msmq@egroups.com
> Subject: [msmq] MSMQ and J++
>
>
>
> I'm trying to serialize a Java Object in J++ and then send it
> via MSMQ.  I can get the object into a Variant using
> putObject, but when I receive the message (on the same
> machine), I get a "Class Not Registered" exception.  However,
> the object class has been registered using javareg, and the
> .class file is in the Java/TrustLib directory.
>
> Is it possible to easily send Java objects via MSMQ?  I'm
> thinking that an alternative would be to serialize the object
> to a byte array and send it that way, bypassing the whole COM mess.
>
> Thoughts?
>
>      - JTK
> --------------------------------------------------------------
> ----------
> Don't lose your email when you move, change jobs, or switch ISP's.
> Click here to get free and permanent email from NET@DDRESS!
> http://ads.egroups.com/click/152/0
>
> Free Web-based e-mail groups -- http://www.eGroups.com
>

------------------------------------------------------------------------
Don't lose your email when you move, change jobs, or switch ISP's.
Click here to get free and permanent email from NET@DDRESS!
http://ads.egroups.com/click/154/0

Free Web-based e-mail groups -- http://www.eGroups.com
------------------------------------------------------------------------
Free Web-based e-mail groups -- http://www.eGroups.com

#18 From: "Stan Berkovich" <stan@...>
Date: Fri Dec 4, 1998 4:40 pm
Subject: Re: MSMQ and J++
stan@...
Send Email Send Email
 
I fell back to using Java serialization and safe-arrays after many attempts
at using the method you described below.  There was also some discussion of
this on the Java-COM mailing list, but I don't think anyone actually
succeeded in using the built-in IPersist* interfaces with Java objects being
sent and received from Java.

I have heard that people have had success in using the built-in interface
approach for sending Java-implemented objects from VB and the like (I think
some parts of wfc depend on some of this working).  The problem seems to be
getting the objects back out within Java, and casting them as Java objects
of the original class (as you've discovered).

It would be nice if someone at the MSMQ group could provide some definitive
advice in this area...

	 Stan Berkovich
	 stan@...
	 Bedouin, Inc.

> -----Original Message-----
> From: JT Klopcic [mailto:jtk_1997@...]
> Sent: Friday, December 04, 1998 10:20 AM
> To: msmq@egroups.com
> Subject: [msmq] MSMQ and J++
>
>
>
> I'm trying to serialize a Java Object in J++ and then send it
> via MSMQ.  I can get the object into a Variant using
> putObject, but when I receive the message (on the same
> machine), I get a "Class Not Registered" exception.  However,
> the object class has been registered using javareg, and the
> .class file is in the Java/TrustLib directory.
>
> Is it possible to easily send Java objects via MSMQ?  I'm
> thinking that an alternative would be to serialize the object
> to a byte array and send it that way, bypassing the whole COM mess.
>
> Thoughts?
>
>      - JTK
> --------------------------------------------------------------
> ----------
> Don't lose your email when you move, change jobs, or switch ISP's.
> Click here to get free and permanent email from NET@DDRESS!
> http://ads.egroups.com/click/152/0
>
> Free Web-based e-mail groups -- http://www.eGroups.com
>

------------------------------------------------------------------------
Free Web-based e-mail groups -- http://www.eGroups.com

#17 From: "JT Klopcic" <jtk_1997@...>
Date: Fri Dec 4, 1998 4:20 pm
Subject: MSMQ and J++
jtk_1997@...
Send Email Send Email
 
I'm trying to serialize a Java Object in J++ and then send it via MSMQ.  I can
get the object into a Variant using putObject, but when I receive the message
(on the same machine), I get a "Class Not Registered" exception.  However, the
object class has been registered using javareg, and the .class file is in the
Java/TrustLib directory.

Is it possible to easily send Java objects via MSMQ?  I'm thinking that an
alternative would be to serialize the object to a byte array and send it that
way, bypassing the whole COM mess.

Thoughts?

      - JTK
------------------------------------------------------------------------
Free Web-based e-mail groups -- http://www.eGroups.com

#16 From: Jason Dawes <jdawes@...>
Date: Mon Sep 14, 1998 9:15 pm
Subject: Re: RE: Using Formatname
jdawes@...
Send Email Send Email
 
At 07:56 AM 9/14/98 -0600, Alan Dickman wrote:
>You can only open a queue to send messages with a Direct Format Name.
>This is documented in the Reference entry for MQOpenQueue()
>

Alan's phrasing is maybe a little bit confusing.  When you have opened a
queue using a direct format name, you may only send messages to it.  If you
open a queue using public or private format, you may send and/or (receive
xor peek)

(There is an exception, the dead letter queues may only be opened for
receive using a direct format name.  Do not use SHARE_DENY_RECEIVE unless
you are amused by blue screens)

Jason Dawes


______________________________________________________________________

Subscribe, unsubscribe, opt for a daily digest, or start a new e-group
at http://www.eGroups.com -- Free Web-based e-mail groups.

#15 From: Alan Dickman <alan@...>
Date: Mon Sep 14, 1998 1:56 pm
Subject: Re: RE: Using Formatname
alan@...
Send Email Send Email
 
You can only open a queue to send messages with a Direct Format Name.
This is documented in the Reference entry for MQOpenQueue()

Ramacciotti Andrea wrote:

> First of all I would like to thank you for the support gave me so far.
>
> Unfortunatelly the problem still persists.
> In both way, either using the name SRVMARINA or the IP address I've the
> same error message:
>
> -------------------------------------------------------
> MSMQQueueInfo error 'c00e0020'
>
> The requested operation for the specified format name is not supported
> (e.g., delete a direct queue format name).
>
> //global.asa, line 101
> -------------------------------------------------------
>
> That happens only when I open the queue in RECEIVE or PEEK mode, but if
> I open the queue in SEND mode everything goes well.
>
> I'll be waiting for other support from you.
> Thank you for now.
>
> ______________________________________________________________________
>
> Subscribe, unsubscribe, opt for a daily digest, or start a new e-group
> at http://www.eGroups.com -- Free Web-based e-mail groups.



--
Alan Dickman, Chief Technologist, alan@...
-- Designing Applications With MSMQ :: Now Available From Addison Wesley
---- Providing distributed object, transaction processing, deployment,
---- and operational preparedness consulting to customers world-wide
-- Home Office: 1537 Coyote Court, Golden, CO 80403, +1 303 273 5688
-- Headquarters: http://www.psw.com/, +1 800 933 2876, ext. 3113



______________________________________________________________________

Subscribe, unsubscribe, opt for a daily digest, or start a new e-group
at http://www.eGroups.com -- Free Web-based e-mail groups.

#14 From: Ramacciotti Andrea <a.ramacciotti@...>
Date: Mon Sep 14, 1998 12:47 pm
Subject: RE: Using Formatname
a.ramacciotti@...
Send Email Send Email
 
First of all I would like to thank you for the support gave me so far.

Unfortunatelly the problem still persists.
In both way, either using the name SRVMARINA or the IP address I've the
same error message:

-------------------------------------------------------
MSMQQueueInfo error 'c00e0020'

The requested operation for the specified format name is not supported
(e.g., delete a direct queue format name).

//global.asa, line 101
-------------------------------------------------------

That happens only when I open the queue in RECEIVE or PEEK mode, but if
I open the queue in SEND mode everything goes well.

I'll be waiting for other support from you.
Thank you for now.

______________________________________________________________________

Subscribe, unsubscribe, opt for a daily digest, or start a new e-group
at http://www.eGroups.com -- Free Web-based e-mail groups.

#13 From: Alan Dickman <alan@...>
Date: Thu Sep 10, 1998 4:33 am
Subject: Re: Using Formatname
alan@...
Send Email Send Email
 
You address specifier is wrong.  For TCP, MSMQ expects

    DIRECT=TCP:target_machine_IP_address\coda_out1

Ramacciotti Andrea wrote:

> About using the Direct format name to open a queue, I've tried to use
> the following code, running on a Microsoft IIS Web Server, to open a
> queue that was created by another application (with the PathName
> "SRVMARINA\coda_out1"):

--
Alan Dickman, Chief Technologist, alan@...
-- Designing Applications With MSMQ :: Now Available From Addison Wesley
---- Providing distributed object, transaction processing, deployment,
---- and operational preparedness consulting to customers world-wide
-- Home Office: 1537 Coyote Court, Golden, CO 80403, +1 303 273 5688
-- Headquarters: http://www.psw.com/, +1 800 933 2876, ext. 3113



____________________________________________________________________

List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#12 From: Ramacciotti Andrea <a.ramacciotti@...>
Date: Thu Sep 10, 1998 7:07 am
Subject: Using Formatname
a.ramacciotti@...
Send Email Send Email
 
About using the Direct format name to open a queue, I've tried to use
the following code, running on a Microsoft IIS Web Server, to open a
queue that was created by another application (with the PathName
"SRVMARINA\coda_out1"):
------------------------------------------------------------------------
------------------------------------
Sub Session_OnStart

Set msmqinfo = Server.CreateObject("MSMQ.MSMQQueueInfo")
msmqinfo.Formatname = "DIRECT=TCP:SRVMARINA\coda_out1"
Set Session("RecvQueue") = msmqinfo.Open(32, 0)

End Sub
------------------------------------------------------------------------
------------------------------------
The result is the following error message:
------------------------------------------------------------------------
------------------------------------
MSMQQueueInfo error 'c00e0020'

The requested operation for the specified format name is not supported
(e.g., delete a direct queue format name).

//global.asa, line 101
------------------------------------------------------------------------
------------------------------------
Did I do anything wrong or do you thing something is missing?

Thanks in advance.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ing. Andrea Ramacciotti

TSF S.p.A.
via V.G. Galati, 71

*:a.ramacciotti@...
*:+39 (6) 4362.4269
* +39 (6) 4362.4170
__________________________________________
,_____                          .      .                          |>>
          \\                   .                  .                     |
       0 //            .                            .                  |
        \-\         .                                 .                 |
         | |     .                                      .    .  .
|
        /  |  .                                          . .    .
|
       / . |                                              .      .....o |



____________________________________________________________________

List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#11 From: Alan Dickman <alan@...>
Date: Wed Sep 9, 1998 5:17 am
Subject: Re: MSMQ performance
alan@...
Send Email Send Email
 
FOLLEREAU wrote:

> I am a beginner with MSMQ
> and What we have to know about MSMQ performance ?
> does MSMQ have a bad respond time ?
> we will plan to use MSMQ, with Intranet project, and with MTS 2.0 to do
asynchronous programming.
> but if we have to wait ??? ms  to send data to a MTS component, it is not
thinkable.
> perhaps someone have some numbers, about performance...

Microsoft offers a white paper on MSMQ entitled Optimizing Performance
in a Microsoft Message Queue Server Environment. In that paper, Microsoft
talks about some of the optimizations that they have put into MSMQ and some
things developers can do to optimize their use of MSMQ.  The paper also
reports performance statistics.

I also ran some performance tests on standard desktop systems for an appendix
of my book. Response time is excellent when TCP/IP is set up properly. I was
able to send nearly 20,000 express messages per second on a local system.
Your performance will depend on a lot of factors including:
- whether you use express or recoverable messages
- are you sending/receiving messages within a transaction
- are you sending locally or remotely
- is your application single or multi-threaded

Reponse time is slowed by the DTC which appears to include a synchronous
wait time while transactions commit. I was able to send 5 transactional messages
per second in a single-threaded program. Multi-threaded programs can do up to
100 transactional messages per second.
--
Alan Dickman, Chief Technologist, alan@...
-- Designing Applications With MSMQ :: Now Available From Addison Wesley
---- Providing distributed object, transaction processing, deployment,
---- and operational preparedness consulting to customers world-wide
-- Home Office: 1537 Coyote Court, Golden, CO 80403, +1 303 273 5688
-- Headquarters: http://www.psw.com/, +1 800 933 2876, ext. 3113



____________________________________________________________________

List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#10 From: "Dehmani, Hassan" <Hassan.Dehmani@...>
Date: Wed Sep 9, 1998 1:37 pm
Subject: RE: MSMQ performance
Hassan.Dehmani@...
Send Email Send Email
 
Use multiple-threads to send and receive messages from the queues.  We have
done extensive testing sending to the queues and receiving from the queues
and inserting to SQL Server, threads made a huge difference (we used C++
CreateThread() to dedicate each thread to handle a msmq RECEIVE OR SEND).
Remember that the send and receive API calls are thread safe.  Note also
that if you have multiple CPUs the performance go way up.  Make sure to do
some tests with Transaction messages.  The performance will be affected
since these kind of messages are written to the file system (I/O) before the
next destination is allowed to take place!!

Good luck!!

Hassan Dehmani
Lexis-Nexis
www.dehmani.com
"What do you want to learn?"


> -----Original Message-----
> From: FOLLEREAU [SMTP:dfollereau@...]
> Sent: Wednesday, September 09, 1998 5:59 AM
> To: msmq@...
> Subject: [msmq] MSMQ performance
>
> Hello everyone,
>
> I am a beginner with MSMQ
> and What we have to know about MSMQ performance ?
> does MSMQ have a bad respond time ?
> we will plan to use MSMQ, with Intranet project, and with MTS 2.0 to do
> asynchronous programming.
> but if we have to wait ??? ms  to send data to a MTS component, it is not
> thinkable.
> perhaps someone have some numbers, about performance...
>
> thanks and best regards.
> Denis.
>
> ____________________________________________________________________
>
> List Site: http://www.findmail.com/list/msmq/
> To unsubscribe, send to msmq-unsubscribe@...
>
> FREE group e-mail lists at http://www.findmail.com

____________________________________________________________________

List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#9 From: "FOLLEREAU" <dfollereau@...>
Date: Wed Sep 9, 1998 9:58 am
Subject: MSMQ performance
dfollereau@...
Send Email Send Email
 
Hello everyone,

I am a beginner with MSMQ
and What we have to know about MSMQ performance ?
does MSMQ have a bad respond time ?
we will plan to use MSMQ, with Intranet project, and with MTS 2.0 to do
asynchronous programming.
but if we have to wait ??? ms  to send data to a MTS component, it is not
thinkable.
perhaps someone have some numbers, about performance...

thanks and best regards.
Denis.

____________________________________________________________________

List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#8 From: "Kenneth Wiley" <Ken.Wiley@...>
Date: Thu Aug 20, 1998 9:54 pm
Subject: Re: Problem with Open
Ken.Wiley@...
Send Email Send Email
 
I've taken a look through the configuration and I didn't have anything set for
the routing. It allows me to set the In Routing Server to my PEC but when I try
to set the Out Routing Server, it comes back and says "Computer kwserver is not
running Windows NT Server, Enterprise Edition."

I have been checking the settings through the MQ Explorer. Is there something
that needs to be set on the Independant Client end? I looked at the MSMQ Object
in the Control Panel, but there doesn't seem to be anything that would pertain
to this problem...

-----
Original Message: http://www.findmail.com/list/msmq/?start=4
Start a FREE email list at http://www.FindMail.com/

____________________________________________________________
List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#7 From: "Willi Berger" <willi.berger@...>
Date: Thu Aug 20, 1998 8:26 pm
Subject: Re: Problem with Open
willi.berger@...
Send Email Send Email
 
If it is a network problem, you can try a doing a tracert which will show
what machines TCP/IP packets are going through and the amount of time it
takes to make the hop.\

Willi


____________________________________________________________
List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#6 From: Alan Dickman <alan@...>
Date: Thu Aug 20, 1998 8:15 pm
Subject: Re: Problem with Open
alan@...
Send Email Send Email
 
Kenneth Wiley wrote:

> I have created a simple app in VB5 to try out MSMQ. It creates and opens a
> queue and listens for messages using enableNotification. It also looks for
> any queues with "Messaging Queue" as a label and posts messages to them. This
> works great when I run instances of the apps on the PEC, which happens to be
> my development machine.
>
> The problem that I am having is when I move a copy of the app onto another
> machine which is set up as an Independant Client within the same domain. It
> takes over a minute to perform the Open of the queue! When it eventually does
> it, it then takes almost exactly 4 seconds to send a message.
>

Willi Berger wrote:

> I seem to recall that there were some examples for specifying the target
> machine that would allow you to by pass the PEC.   Have you tried this?

You can use a DIRECT= format name, but you shouldn't have to. This
sounds like some kind of configuration problem unrelated to MSMQ.
Why? Well... I haven't seen this problem reported previously.  What is
going on the network or system? Do you have Intra-site routing
configured?

I only operate MSMQ servers, but an open and a send are instantaneous.

If you'd like send some email with more details. If you want, I can have a
look at your code.
--
Alan Dickman, Chief Technologist, alan@...
-- Designing Applications With MSMQ :: From Addison Wesley in September
---- Providing distributed object, transaction processing, deployment,
---- and operational preparedness consulting to customers world-wide
-- Home Office: 1537 Coyote Court, Golden, CO 80403, +1 303 273 5688
-- Headquarters: http://www.psw.com/, +1 800 933 2876, ext. 3113



____________________________________________________________
List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#5 From: "Kenneth Wiley" <Ken.Wiley@...>
Date: Thu Aug 20, 1998 8:18 pm
Subject: Re: Problem with Open
Ken.Wiley@...
Send Email Send Email
 
Are you refering to the "direct" form of address that I have seen mentioned (but
don't know a lot about)?



>I seem to recall that there were some examples for specifying the target
> machine that would allow you to by pass the PEC.   Have you tried this?
>
> Willi
>
>



-----
Original Message: http://www.findmail.com/list/msmq/?start=2
Start a FREE email list at http://www.FindMail.com/

____________________________________________________________
List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#4 From: "Willi Berger" <willi.berger@...>
Date: Thu Aug 20, 1998 7:57 pm
Subject: Re: Problem with Open
willi.berger@...
Send Email Send Email
 
I seem to recall that there were some examples for specifying the target
machine that would allow you to by pass the PEC.   Have you tried this?

Willi


-----Original Message-----
From: Kenneth Wiley <Ken.Wiley@...>
To: msmq@... <msmq@...>
Date: Thursday, August 20, 1998 3:49 PM
Subject: [msmq] Problem with Open


>If there is anybody out there...
>
>I have created a simple app in VB5 to try out MSMQ. It creates and opens a
queue and listens for messages using enableNotification. It also looks for
any queues with "Messaging Queue" as a label and posts messages to them.
This works great when I run instances of the apps on the PEC, which happens
to be my development machine.
>
>The problem that I am having is when I move a copy of the app onto another
machine which is set up as an Independant Client within the same domain. It
takes over a minute to perform the Open of the queue! When it eventually
does it, it then takes almost exactly 4 seconds to send a message.
>
>I've gone over the security setup but cn't see anything to adjust...
>
>Any suggestions?
>
>____________________________________________________________
>List Site: http://www.findmail.com/list/msmq/
>To unsubscribe, send to msmq-unsubscribe@...
>
>FREE group e-mail lists at http://www.findmail.com


____________________________________________________________
List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#3 From: "Kenneth Wiley" <Ken.Wiley@...>
Date: Thu Aug 20, 1998 7:49 pm
Subject: Problem with Open
Ken.Wiley@...
Send Email Send Email
 
If there is anybody out there...

I have created a simple app in VB5 to try out MSMQ. It creates and opens a queue
and listens for messages using enableNotification. It also looks for any queues
with "Messaging Queue" as a label and posts messages to them. This works great
when I run instances of the apps on the PEC, which happens to be my development
machine.

The problem that I am having is when I move a copy of the app onto another
machine which is set up as an Independant Client within the same domain. It
takes over a minute to perform the Open of the queue! When it eventually does
it, it then takes almost exactly 4 seconds to send a message.

I've gone over the security setup but cn't see anything to adjust...

Any suggestions?

____________________________________________________________
List Site: http://www.findmail.com/list/msmq/
To unsubscribe, send to msmq-unsubscribe@...

FREE group e-mail lists at http://www.findmail.com

#2 From: "Jason Brome" <jason.brome@...>
Date: Thu Aug 6, 1998 7:05 pm
Subject: Testing. Please Ignore.
jason.brome@...
Send Email Send Email
 
Testing the MSMQ mailing list.  Please Ignore :)

Jason

-* Jason Brome - jason.brome@...



----
Read this list on the Web at http://www.makelist.com/list/msmq/
To unsubscribe, email to msmq-unsubscribe@...
To subscribe, email to msmq-subscribe@...
--
Start a FREE E-Mail List at http://www.makelist.com !

#1 From: "Jason Brome" <jason.brome@...>
Date: Thu Aug 6, 1998 6:50 pm
Subject: Welcome to the msmq Mailing List
jason.brome@...
Send Email Send Email
 
This lists encourages the discussion of MSMQ.  Topics include system
administration and application development using this service.

Messages 1 - 30 of 4356   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help