RE: (repost) FW: A word of warning: SwiftMQ and Resource providers.

2002-02-20 Thread Ray Harrison

I am using 1.3.1_02 and SwiftMQ 3.0 beta.

--- Geoff Soutter [EMAIL PROTECTED] wrote:
 Hmm. Strange. 
 
 I'm definitely using 1.5.4, you can see it in the console output I
 included below. I tried doing an autoupdate and trying it again, made no
 difference. I even did a recursive diff against the .zip version and the
 autoupdate version and they are identical (despite the fact autoupdate
 claimed it was overwriting most of the files).
 
 There must be a logical explanation ... but I can't see it ...
 
 I'm using jdk 1.3.1_02 and SwiftMQ 2.1.3. Is that the versions you guys
 are using?
 
 geoff
 
 PS, I'm not using Topics myself, I was only providing a FYI for those
 that cared... 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Ray Harrison
 Sent: Wednesday, 20 February 2002 10:04 AM
 To: Orion-Interest
 Cc: [EMAIL PROTECTED]
 Subject: Re: (repost) FW: A word of warning: SwiftMQ and Resource
 providers.
 
 
 Interesting - I *don't* get that error any longer with 1.5.4, though I
 did with 1.5.3.
 --- Geoff Soutter [EMAIL PROTECTED] wrote:
  Argh. Mailing lists that are not reliable annoy the  out of me.
  
  -Original Message-
  From: Geoff Soutter [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, 19 February 2002 9:32 AM
  To: 'Orion-Interest'
  Subject: RE: A word of warning: SwiftMQ and Resource providers.
  
  
  Hi Magnus,
  
  All I did was follow the instructions in the resource providers 
  document 
 
 (http://www.orionserver.com/docs/resource-providers/resource-providers.x
  ml)
  
  As soon as I added the resource-provider tag you quoted below, and 
  restarted orion, I got:
  
  C:\apps\orion\154java -jar orion.jar
  Error deploying file:/C:/temp/newsfeed/build/newsfeed/newsfeed-ejb.jar
  homes: JMS Error: Queue 'testtopic' is not local! Can't create a 
  Consumer on it!
  2002-02-19 09:23:14,435 INFO   StartupServlet - startup completed
  Orion/1.5.4 initialized
  
  Which is exactly the same error as originally reported below.
  
  Cheers,
  
  Geoff
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of Magnus 
  Rydin
  Sent: Monday, 18 February 2002 7:35 PM
  To: Orion-Interest
  Subject: RE: A word of warning: SwiftMQ and Resource providers.
  
  
  Geoff,
  
  It IS fixed in 1.5.4, so please let us know what fails for you. Here 
  is a sample setup:
  
  1. Set up and start SwiftMQ.
  
  2. In your /config/application.xml have a setup like the following: 
  resource-provider 
  class=com.evermind.server.deployment.ContextScanningResourceProvider
  display-name=SwiftMQ resource name=SwiftMQ 
  description 
  SwiftMQ resource provider. 
  /description 
  property name=java.naming.factory.initial
  value=com.swiftmq.jndi.InitialContextFactoryImpl / 
  property name=java.naming.provider.url
 value=smqp://localhost:4001
  / 
  property name=resource.names
  value=testtopic,testqueue@router1,plainsocket@router1 / 
  /resource-provider
  
  3. Start Orion, deploy the ATM sample (it uses a MDB with a topic)
  
  4. Configure the ATM sample to use your resource provider with 
  something like the following in your orion-ejb-jar.xml: 
  message-driven-deployment name=mainLogger 
  destination-location=java:comp/resource/SwiftMQ/testtopic
  connection-factory-location=java:comp/resource/SwiftMQ/plainsocket@ro
  ut
  er1
  ejb-ref-mapping name=ejb/mainLog /
  /message-driven-deployment
  
  Could you please let me know where/how this fails for you?
  
  WR
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of Geoff 
  Soutter
  Sent: den 18 februari 2002 02:50
  To: Orion-Interest
  Subject: RE: A word of warning: SwiftMQ and Resource providers.
  
  FYI, this was not fixed in 1.5.4.
  
  Naughty Magnus! :-)
  
  Geoff
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of Ray 
  Harrison
  Sent: Monday, 14 January 2002 8:50 AM
  To: Orion-Interest
  Subject: Re: A word of warning: SwiftMQ and Resource providers.
  
  
  According to Magnus R, the problem will be fixed in the next release. 
  I don't know if you can use SwiftMQ / Topics with the Oracle code base
 
  (OC4J), but maybe worth a shot. Hopefully soon from the good folks at 
  Orion!
  --- Graham Bennett [EMAIL PROTECTED] wrote:
   On Tue, Nov 20, 2001 at 12:29:54PM +0200, Lachezar Dobrev wrote:
   Recently looking at the Resource-Providers docs, and EAGER to
 use
   an external JMS for my MDBs I and a colleague decided to run
 the
   demos.  As quite a surprise the demo run ok. The MDB did
  everything
   when a message was sent to the Queue.

   The BIG disappointment was, when we tried to do the same with
 the
   topic.  In short: It does not work.
   
Error deploying
file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar
homes: JMS Error: Queue 'testtopic' is 

RE: (repost) FW: A word of warning: SwiftMQ and Resource providers.

2002-02-20 Thread Ray Harrison

Also, I just tested the ATM as per Magnus' suggestion and it worked there as well. 
Have you tried
it with SwiftMQ 3.0 (I know they just got rid of their free licenses)? I will try it 
later with
version 2.x.
Cheers
Ray
--- Ray Harrison [EMAIL PROTECTED] wrote:
 I am using 1.3.1_02 and SwiftMQ 3.0 beta.
 
 --- Geoff Soutter [EMAIL PROTECTED] wrote:
  Hmm. Strange. 
  
  I'm definitely using 1.5.4, you can see it in the console output I
  included below. I tried doing an autoupdate and trying it again, made no
  difference. I even did a recursive diff against the .zip version and the
  autoupdate version and they are identical (despite the fact autoupdate
  claimed it was overwriting most of the files).
  
  There must be a logical explanation ... but I can't see it ...
  
  I'm using jdk 1.3.1_02 and SwiftMQ 2.1.3. Is that the versions you guys
  are using?
  
  geoff
  
  PS, I'm not using Topics myself, I was only providing a FYI for those
  that cared... 
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of Ray Harrison
  Sent: Wednesday, 20 February 2002 10:04 AM
  To: Orion-Interest
  Cc: [EMAIL PROTECTED]
  Subject: Re: (repost) FW: A word of warning: SwiftMQ and Resource
  providers.
  
  
  Interesting - I *don't* get that error any longer with 1.5.4, though I
  did with 1.5.3.
  --- Geoff Soutter [EMAIL PROTECTED] wrote:
   Argh. Mailing lists that are not reliable annoy the  out of me.
   
   -Original Message-
   From: Geoff Soutter [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, 19 February 2002 9:32 AM
   To: 'Orion-Interest'
   Subject: RE: A word of warning: SwiftMQ and Resource providers.
   
   
   Hi Magnus,
   
   All I did was follow the instructions in the resource providers 
   document 
  
  (http://www.orionserver.com/docs/resource-providers/resource-providers.x
   ml)
   
   As soon as I added the resource-provider tag you quoted below, and 
   restarted orion, I got:
   
   C:\apps\orion\154java -jar orion.jar
   Error deploying file:/C:/temp/newsfeed/build/newsfeed/newsfeed-ejb.jar
   homes: JMS Error: Queue 'testtopic' is not local! Can't create a 
   Consumer on it!
   2002-02-19 09:23:14,435 INFO   StartupServlet - startup completed
   Orion/1.5.4 initialized
   
   Which is exactly the same error as originally reported below.
   
   Cheers,
   
   Geoff
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] On Behalf Of Magnus 
   Rydin
   Sent: Monday, 18 February 2002 7:35 PM
   To: Orion-Interest
   Subject: RE: A word of warning: SwiftMQ and Resource providers.
   
   
   Geoff,
   
   It IS fixed in 1.5.4, so please let us know what fails for you. Here 
   is a sample setup:
   
   1. Set up and start SwiftMQ.
   
   2. In your /config/application.xml have a setup like the following: 
   resource-provider 
   class=com.evermind.server.deployment.ContextScanningResourceProvider
   display-name=SwiftMQ resource name=SwiftMQ 
   description 
   SwiftMQ resource provider. 
   /description 
   property name=java.naming.factory.initial
   value=com.swiftmq.jndi.InitialContextFactoryImpl / 
   property name=java.naming.provider.url
  value=smqp://localhost:4001
   / 
   property name=resource.names
   value=testtopic,testqueue@router1,plainsocket@router1 / 
   /resource-provider
   
   3. Start Orion, deploy the ATM sample (it uses a MDB with a topic)
   
   4. Configure the ATM sample to use your resource provider with 
   something like the following in your orion-ejb-jar.xml: 
   message-driven-deployment name=mainLogger 
   destination-location=java:comp/resource/SwiftMQ/testtopic
   connection-factory-location=java:comp/resource/SwiftMQ/plainsocket@ro
   ut
   er1
 ejb-ref-mapping name=ejb/mainLog /
 /message-driven-deployment
   
   Could you please let me know where/how this fails for you?
   
   WR
   
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] On Behalf Of Geoff 
   Soutter
   Sent: den 18 februari 2002 02:50
   To: Orion-Interest
   Subject: RE: A word of warning: SwiftMQ and Resource providers.
   
   FYI, this was not fixed in 1.5.4.
   
   Naughty Magnus! :-)
   
   Geoff
   
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] On Behalf Of Ray 
   Harrison
   Sent: Monday, 14 January 2002 8:50 AM
   To: Orion-Interest
   Subject: Re: A word of warning: SwiftMQ and Resource providers.
   
   
   According to Magnus R, the problem will be fixed in the next release. 
   I don't know if you can use SwiftMQ / Topics with the Oracle code base
  
   (OC4J), but maybe worth a shot. Hopefully soon from the good folks at 
   Orion!
   --- Graham Bennett [EMAIL PROTECTED] wrote:
On Tue, Nov 20, 2001 at 12:29:54PM +0200, Lachezar Dobrev wrote:
Recently looking at the Resource-Providers docs, and EAGER to
  use
an external JMS for my MDBs I and a 

Re: (repost) FW: A word of warning: SwiftMQ and Resource providers.

2002-02-19 Thread Ray Harrison

Interesting - I *don't* get that error any longer with 1.5.4, though I did with 1.5.3.
--- Geoff Soutter [EMAIL PROTECTED] wrote:
 Argh. Mailing lists that are not reliable annoy the  out of me.
 
 -Original Message-
 From: Geoff Soutter [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, 19 February 2002 9:32 AM
 To: 'Orion-Interest'
 Subject: RE: A word of warning: SwiftMQ and Resource providers.
 
 
 Hi Magnus,
 
 All I did was follow the instructions in the resource providers document
 (http://www.orionserver.com/docs/resource-providers/resource-providers.x
 ml)
 
 As soon as I added the resource-provider tag you quoted below, and
 restarted orion, I got:
 
 C:\apps\orion\154java -jar orion.jar
 Error deploying file:/C:/temp/newsfeed/build/newsfeed/newsfeed-ejb.jar
 homes: JMS Error: Queue 'testtopic' is not local! Can't create a
 Consumer on it!
 2002-02-19 09:23:14,435 INFO   StartupServlet - startup completed
 Orion/1.5.4 initialized
 
 Which is exactly the same error as originally reported below.
 
 Cheers,
 
 Geoff
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Magnus Rydin
 Sent: Monday, 18 February 2002 7:35 PM
 To: Orion-Interest
 Subject: RE: A word of warning: SwiftMQ and Resource providers.
 
 
 Geoff,
 
 It IS fixed in 1.5.4, so please let us know what fails for you. Here is
 a sample setup:
 
 1. Set up and start SwiftMQ.
 
 2. In your /config/application.xml have a setup like the following:
 resource-provider
 class=com.evermind.server.deployment.ContextScanningResourceProvider
 display-name=SwiftMQ resource name=SwiftMQ  
 description 
 SwiftMQ resource provider. 
 /description 
 property name=java.naming.factory.initial
 value=com.swiftmq.jndi.InitialContextFactoryImpl / 
 property name=java.naming.provider.url value=smqp://localhost:4001
 / 
 property name=resource.names
 value=testtopic,testqueue@router1,plainsocket@router1 / 
 /resource-provider
 
 3. Start Orion, deploy the ATM sample (it uses a MDB with a topic)
 
 4. Configure the ATM sample to use your resource provider with something
 like the following in your orion-ejb-jar.xml: message-driven-deployment
 name=mainLogger
 destination-location=java:comp/resource/SwiftMQ/testtopic
 connection-factory-location=java:comp/resource/SwiftMQ/plainsocket@rout
 er1
   ejb-ref-mapping name=ejb/mainLog /
   /message-driven-deployment
 
 Could you please let me know where/how this fails for you?
 
 WR
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Geoff Soutter
 Sent: den 18 februari 2002 02:50
 To: Orion-Interest
 Subject: RE: A word of warning: SwiftMQ and Resource providers.
 
 FYI, this was not fixed in 1.5.4. 
 
 Naughty Magnus! :-)
 
 Geoff
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Ray Harrison
 Sent: Monday, 14 January 2002 8:50 AM
 To: Orion-Interest
 Subject: Re: A word of warning: SwiftMQ and Resource providers.
 
 
 According to Magnus R, the problem will be fixed in the next release. I
 don't know if you can use SwiftMQ / Topics with the Oracle code base
 (OC4J), but maybe worth a shot. Hopefully soon from the good folks at
 Orion!
 --- Graham Bennett [EMAIL PROTECTED] wrote:
  On Tue, Nov 20, 2001 at 12:29:54PM +0200, Lachezar Dobrev wrote:
  Recently looking at the Resource-Providers docs, and EAGER to use
  an external JMS for my MDBs I and a colleague decided to run the
  demos.  As quite a surprise the demo run ok. The MDB did
 everything
  when a message was sent to the Queue.
   
  The BIG disappointment was, when we tried to do the same with the
  topic.  In short: It does not work.
  
   Error deploying 
   file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar
   homes: JMS Error: Queue 'testtopic' is not local! Can't create a
   Consumer on it!
  
  has this now been fixed?  I'm getting the same error with SwiftMQ and 
  the latest build.
  
  cheers,
  
  --
  Graham Bennett
  [EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
 
 
 
 


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com




RE: (repost) FW: A word of warning: SwiftMQ and Resource providers.

2002-02-19 Thread Geoff Soutter

Hmm. Strange. 

I'm definitely using 1.5.4, you can see it in the console output I
included below. I tried doing an autoupdate and trying it again, made no
difference. I even did a recursive diff against the .zip version and the
autoupdate version and they are identical (despite the fact autoupdate
claimed it was overwriting most of the files).

There must be a logical explanation ... but I can't see it ...

I'm using jdk 1.3.1_02 and SwiftMQ 2.1.3. Is that the versions you guys
are using?

geoff

PS, I'm not using Topics myself, I was only providing a FYI for those
that cared... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ray Harrison
Sent: Wednesday, 20 February 2002 10:04 AM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Re: (repost) FW: A word of warning: SwiftMQ and Resource
providers.


Interesting - I *don't* get that error any longer with 1.5.4, though I
did with 1.5.3.
--- Geoff Soutter [EMAIL PROTECTED] wrote:
 Argh. Mailing lists that are not reliable annoy the  out of me.
 
 -Original Message-
 From: Geoff Soutter [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 19 February 2002 9:32 AM
 To: 'Orion-Interest'
 Subject: RE: A word of warning: SwiftMQ and Resource providers.
 
 
 Hi Magnus,
 
 All I did was follow the instructions in the resource providers 
 document 

(http://www.orionserver.com/docs/resource-providers/resource-providers.x
 ml)
 
 As soon as I added the resource-provider tag you quoted below, and 
 restarted orion, I got:
 
 C:\apps\orion\154java -jar orion.jar
 Error deploying file:/C:/temp/newsfeed/build/newsfeed/newsfeed-ejb.jar
 homes: JMS Error: Queue 'testtopic' is not local! Can't create a 
 Consumer on it!
 2002-02-19 09:23:14,435 INFO   StartupServlet - startup completed
 Orion/1.5.4 initialized
 
 Which is exactly the same error as originally reported below.
 
 Cheers,
 
 Geoff
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Magnus 
 Rydin
 Sent: Monday, 18 February 2002 7:35 PM
 To: Orion-Interest
 Subject: RE: A word of warning: SwiftMQ and Resource providers.
 
 
 Geoff,
 
 It IS fixed in 1.5.4, so please let us know what fails for you. Here 
 is a sample setup:
 
 1. Set up and start SwiftMQ.
 
 2. In your /config/application.xml have a setup like the following: 
 resource-provider 
 class=com.evermind.server.deployment.ContextScanningResourceProvider
 display-name=SwiftMQ resource name=SwiftMQ 
 description 
 SwiftMQ resource provider. 
 /description 
 property name=java.naming.factory.initial
 value=com.swiftmq.jndi.InitialContextFactoryImpl / 
 property name=java.naming.provider.url
value=smqp://localhost:4001
 / 
 property name=resource.names
 value=testtopic,testqueue@router1,plainsocket@router1 / 
 /resource-provider
 
 3. Start Orion, deploy the ATM sample (it uses a MDB with a topic)
 
 4. Configure the ATM sample to use your resource provider with 
 something like the following in your orion-ejb-jar.xml: 
 message-driven-deployment name=mainLogger 
 destination-location=java:comp/resource/SwiftMQ/testtopic
 connection-factory-location=java:comp/resource/SwiftMQ/plainsocket@ro
 ut
 er1
   ejb-ref-mapping name=ejb/mainLog /
   /message-driven-deployment
 
 Could you please let me know where/how this fails for you?
 
 WR
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Geoff 
 Soutter
 Sent: den 18 februari 2002 02:50
 To: Orion-Interest
 Subject: RE: A word of warning: SwiftMQ and Resource providers.
 
 FYI, this was not fixed in 1.5.4.
 
 Naughty Magnus! :-)
 
 Geoff
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Ray 
 Harrison
 Sent: Monday, 14 January 2002 8:50 AM
 To: Orion-Interest
 Subject: Re: A word of warning: SwiftMQ and Resource providers.
 
 
 According to Magnus R, the problem will be fixed in the next release. 
 I don't know if you can use SwiftMQ / Topics with the Oracle code base

 (OC4J), but maybe worth a shot. Hopefully soon from the good folks at 
 Orion!
 --- Graham Bennett [EMAIL PROTECTED] wrote:
  On Tue, Nov 20, 2001 at 12:29:54PM +0200, Lachezar Dobrev wrote:
  Recently looking at the Resource-Providers docs, and EAGER to
use
  an external JMS for my MDBs I and a colleague decided to run
the
  demos.  As quite a surprise the demo run ok. The MDB did
 everything
  when a message was sent to the Queue.
   
  The BIG disappointment was, when we tried to do the same with
the
  topic.  In short: It does not work.
  
   Error deploying
   file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar
   homes: JMS Error: Queue 'testtopic' is not local! Can't create a
   Consumer on it!
  
  has this now been fixed?  I'm getting the same error with SwiftMQ 
  and
  the latest build.
  
  cheers,
  
  --
  Graham Bennett
  [EMAIL PROTECTED]