• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Jboss Remote Connection JMS

 
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am Confused how to make remote connection in jboss even tutorials are not able to help me out.
I am using jboss v4.2 and netbeans.

i kept server publishing program at one PC say : 192.122.1.1 and it's code is here under:
package com;




I am able to send the message.

Now on remote side i have written following MDB, in an EJB Module :




Following XML's i have written on beans side:
for destination



jboss.xml



1) MDB Deployed Fine
2) Message is moving fine

does more settings required in any xml? please tell
Thankyou
 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
3 Weeks over no improvement
no connection with JMS using Jboss 4.2,

i am fired!!!

voh!!!

the baddest server i have ever seen.
the baddest tutorials i have ever seen on line.

Use Glassfish!!!
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, after looking at your post carefully, I have no idea what it is that you are asking. You said that the MDB deployed just fine and that the messages are moving just fine, so I wasn't quite sure what was not working for you.

Also, your post might be an instance of way too much information. The people who help on this forum are very busy (at least I know I am), and I am not about to dig through many lines of code that may of may not have anything to do with the problem. At times is is best to just state exactly what the issue is (that is, you expected one behavior and instead you got something different) and provide the minimum amount of code to illustrate the code that you think is not working correctly.
 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Already said ----> ""how to make remote connection"""???

MDB working fine for stand alone application but
what more settings required for remote communication in Jboss 4.2.2.

but one thing is sure that JBOSS is not user friendly admin and settings. BAD Server
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Azrael Noor wrote:Already said ----> ""how to make remote connection"""???


Remote connection to what?

Azrael Noor wrote:
MDB working fine for stand alone application but
what more settings required for remote communication in Jboss 4.2.2.


You'll have to explain what you mean by remote communication. What exactly are you trying?

 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you asking how does a standalone client application send a message to a message queue so that the MDB can read it? If so, the answer is: pretty much the same way as an application deployed to JBoss AS would do it (which you say you already have working). The key steps are:

1) Look up the messaging server and queues via JNDI (config JNDI to look things up in JBoss AS)
2) Create a message and send it to the queue you looked up in step 1.


Here is an example:
http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/JMS_Examples-A_Point_To_Point_Example.html
 
reply
    Bookmark Topic Watch Topic
  • New Topic