aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Fixing Port Number to be used by Weblogic JMS Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Fixing Port Number to be used by Weblogic JMS Client" Watch "Fixing Port Number to be used by Weblogic JMS Client" New topic
Author

Fixing Port Number to be used by Weblogic JMS Client

btech abhishek
Greenhorn

Joined: Nov 29, 2007
Posts: 3
Hi,

We are using JMS client in our project where we have used classes given weblogic.jar to implement it. Our problem is that we want to fix the port from which the client sends request to the server. Is there any way of doing this.

Any help will be extremely appreciated. Thnx in advance.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Port number will be the same as the port in which the JMS server is running.If you fix the JMS server port number to say 4089 , your client can always use the same port number.


Groovy
btech abhishek
Greenhorn

Joined: Nov 29, 2007
Posts: 3
Thanks for your time. But in our case the client is not always using the same port number. its using a different port number everytime. that is why we need to know if there is any way we can fix the port number used by the client.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by btech abhishek:
Thanks for your time. But in our case the client is not always using the same port number. its using a different port number everytime. that is why we need to know if there is any way we can fix the port number used by the client.


I dont understand what you mean by client uses differnt port number ?

You could have the port number of the server passed as argument to the client.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Fixing Port Number to be used by Weblogic JMS Client