[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem deploying MDB when running server on different p

2005-05-10 Thread schrouf
Hm, are you using a clustered (e.g. all) or unclustered (e.g. default) jboss 
server configuration ?

The unclustered jms-ds.xml defines a JMSProviderLoader with name JMSProvider


  |  
  | Check your sample-bindings
  | 

while the clustered  hajndi-jms-ds.xml defines a JMSProviderLoader with name 
HAJNDIJMSProvider (at least in my configuration :-)


  |   
  | 

Now check your sample-bindings.xml file if there is an  port 
binding override entry that exactly matches your configured JMSProviderLoader 
name (e.g. for my clustered configuration there is an entry for 
HAJNDIJMSProvider) !

sample-bindings.xml




  |   
  | 
  |   
  |  
  |  
  | 
  |
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |java.naming.provider.url=localhost:1400
  | 
  |  
  |  
  |   
  | 
  |   
...



Maybe this will do the job ?!?

Regards 
Ulf

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877171#3877171

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877171


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem deploying MDB when running server on different p

2005-05-10 Thread cingram
Thanks for the reply Ulf.  It does seem to be a port problem. However the 
problem is not showing it self until deploy. Checking the logs I found a 
communication exception

javax.naming.CommunicationException: Failed to connect to server localhost:1099.

This is confusing because I have uncommented the following section in the 
jms-ds.xml file.


   java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
   java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
   java.naming.provider.url=localhost:1199


Looking at the JMX-Console the org.jboss.mq.il.uil2.UILServerILService is 
pointing to the correct port.

Cameron


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877160#3877160

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877160


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem deploying MDB when running server on different p

2005-05-09 Thread schrouf
First of all have a look into to boot.log file an check propper port address 
substitution especially for all JMS related service MBeans referenced in the 
sample-bindings.xml file

e.g.


  | 
  | 
  |  
  | 
  |   
  |  
  |  
  |   
  | 
  | 
  |   
  | 
  |   
  |  
  |  
  | 
  |
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |java.naming.provider.url=localhost:1400
  | 
  |  
  |  
  |   
  | 
  | ...
  | 
  | 
  | Regards 
  | Ulf
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877078#3877078

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877078


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user