JMS Port and Cluster
I assume that in a cluster with multiple VMs on the same physical hardware server that the JMS port number needs to be different for each VM. However, the VMs in the cluster all share config/jms.xml. How do we set a unique port number for each JMS provider? Our current setup is: "OracleAS JMS Server Distributed Destinations"
Thanks in advance.
If you are starting OC4J manually, you can use the port.jms system property to assign the JMS server a port. If you are using OPMN, you can set a port range in opmn.xml and OPMN will allocate different ports to the different JVMs. Both of these methods override any server port setting in the jms.xml file.
Similar Messages
-
Can JMS topics and queues be clustered in a WLS 7.0 Cluster?
We are installing a weblogic 7.0 cluster with 1 admin server and 2 managed
node servers. Two nodes have been clustered. We are at the point where we
need to configure JMS. Has any one implemented JMS in WLS 7 clustered
environment? What are the things to watch out when clustering JMS? Can JMS
topics and queues be clustered?
TIA for any helpful hints and comments.
Regards
"Karim Ali" <[email protected]> wrote:
>> Has any one implemented JMS in WLS 7 clustered
>> environment?
I'm currently working on a project with WLS 7 here at work, involving
the implementation of BEA's JMS Cluster. So far, I really haven't had
many hiccups.
"Karim Ali" <[email protected]> wrote:
>> What are the things to watch out when clustering JMS?
At least in WLS 7, the biggest thing that stands out is the lack of
automatic failover. Also, Message Paging -- make sure you configure
paging high/low thresholds. Or, if you don't wish for it to occur but
can't stop the server (very common these days with SLAs), set that
byte/message high threshold to a very large number (correct me if I'm
wrong, but I believe BEA recommends 2^63 -1).
"Karim Ali" <[email protected]> wrote:
>> Can JMS topics and queues be clustered?
Well, since Topics and Queues are extensions of the
javax.jms.Destination interface, the answer is: Yes!
(SIDE NOTE: most people usually refer to them as a [JMS] "destination"
-- it avoids a lot of conceptual baggage and plus, less typing!)
You'll probably want to see this section of BEA's e-docs:
http://edocs.bea.com/wls/docs70/adminguide/jms.html#config_distributed_destinations
later,
Brian J. Mitchell
BEA Systems Administrator
TRX
Atlanta, GA
email: [email protected]
office: 404-327-7238
mobile: 678-283-6530
-
1 "simple" JMS topic and 2 cluster elements with OSB
Hi,
I have 1 simple jms topic (not distributed, not on migratable target) and cluster with 2 members - OSB as main application. My OSB proxy service reads from this topic and saves data to file.
The problem is that reading from topic appears twice - once by each cluster member. How to configure topic or proxy service for only one reading?FYI - At this year's Oracle OpenWorld, which is being held in conjunction with this year's JavaOne, Oracle will be announcing a set of enhancements that are designed to cover this exact use case.
Tom Barnes
Session ID: S317469
Title: New Service-Oriented Architecture Patterns with Enterprise Grid Messaging
Abstract: Messaging systems are essential in enabling the flexibility and loosely coupled nature of a service-oriented architecture (SOA). Oracle WebLogic Java Message Service (JMS) includes new pub-sub capabilities that make architectures more adaptable, allowing message producers to be ignorant of who is the consumer of a message or how many consumers there are. It also enables easy scale out and dynamic adaptability through clustering and message-driven bean (MDB) enhancements, all while still guaranteeing strict message ordering. This session will outline new JMS capabilities and show how they enable new designs with Oracle WebLogic Server and Oracle Service Bus.
Speaker(s): Dongbo Xiao, Oracle, Principal Member of Technical Staff
Biography not available.
David Cabelus, Oracle USA, Senior Principal Product Manager
Dave Cabelus is a Senior Principal Product Manager in the WebLogic Server group at Oracle. Dave's responsibilities include product strategy and direction for various pieces of WebLogic Server, including Java Messaging, Operations and Management, Diagnostics, and various other initiatives, and previously included database connectivity, transactions, and Web tier integration. In the industry since 1996 and involved in Java since 1999, Dave worked at various software companies including Logic Works, Platinum Software, Kana, and a few startups before coming to Oracle (BEA) in 2001.
Event: JavaOne and Oracle Develop
Stream(s): ORACLE DEVELOP, DEVELOP
Track(s): Application Grid and Oracle WebLogic
Tags: Add
Session Type: Conference Session
Session Category: Features
Duration: 60 min.
Schedule: Thursday, September 23, 11:00AM | Hotel Nikko, Nikko Ballroom II Available
Edited by: TomB on Aug 12, 2010 1:21 PM -
JMS system module between Admin and Cluster
Hi,
In my application, I have JMS servers,queues and Uniform distributed Queue to be assigned to Cluster and some other queues to be assigned to Admin server.
Can I have assign resources for both Cluster and Admin servers in single JMS system module and assign its target to both Cluster and Admin? or Should I create seperate JMS system module for admin and Cluster? Which is best and efficient way? PLease clarify.
Thanks in advance.Hi,
Can I have assign resources for both Cluster and Admin servers in single JMS system module and assign its target to both Cluster and Admin?Yes
Should I create seperate JMS system module for admin and Cluster? Which is best and efficient way?This depends on how much you are going to stress the queue, and your box. This is, you should try to have a queue persistent store that somehow matches what the box can handle. Also keep in mind that local queues tent to be more efficient than remote queues, at the cost of adding cycles to the box where you have your app installed.
Regards,
LG -
Aggregates, VLAN's, Jumbo-Frames and cluster interconnect opinions
Hi All,
I'm reviewing my options for a new cluster configuration and would like the opinions of people with more expertise than myself out there.
What I have in mind as follows:
2 x X4170 servers with 8 x NIC's in each.
On each 4170 I was going to configure 2 aggregates with 3 nics in each aggregate as follows
igb0 device in aggr1
igb1 device in aggr1
igb2 device in aggr1
igb3 stand-alone device for iSCSI network
e1000g0 device in aggr2
e1000g1 device in aggr2
e1000g2 device in aggr3
e1000g3 stand-alone device of iSCSI network
Now, on top of these aggregates, I was planning on creating VLAN interfaces which will allow me to connect to our two "public" network segments and for the cluster heartbeat network.
I was then going to configure the vlan's in an IPMP group for failover. I know there are some questions around that configuration in the sense that IPMP will not detect a nic failure if a NIC goes offline in the aggregate, but I could monitor that in a different manner.
At this point, my questions are:
[1] Are vlan's, on top of aggregates, supported withing Solaris Cluster? I've not seen anything in the documentation to mention that it is, or is not for that matter. I see that vlan's are supported, inluding support for cluster interconnects over vlan's.
Now with the standalone interface I want to enable jumbo frames, but I've noticed that the igb.conf file has a global setting for all nic ports, whereas I can enable it for a single nic port in the e1000g.conf kernel driver. My questions are as follows:
[2] What is the general feeling with mixing mtu sizes on the same lan/vlan? Ive seen some comments that this is not a good idea, and some say that it doesnt cause a problem.
[3] If the underlying nic, igb0-2 (aggr1) for example, has 9k mtu enabled, I can force the mtu size (1500) for "normal" networks on the vlan interfaces pointing to my "public" network and cluster interconnect vlan. Does anyone have experience of this causing any issues?
Thanks in advance for all comments/suggestions.For 1) the question is really "Do I need to enable Jumbo Frames if I don't want to use them (neither public nore private network)" - the answer is no.
For 2) each cluster needs to have its own seperate set of VLANs.
Greets
Thorsten -
I have a project that I'm working on that I could use some help on.
Some background on it is I'm taking data from a balance via RS-232 (can be a selectable list of balances), and then communicating with them on their own separate COM port. I need these to then run in parallel to then take masses in regular increments and then output them to a graph and/or TDMS file.
What I'm trying to have is that a subVI prompts the user to how many simultaneous runs will be going.
Then I will want multiple pop prompts (one for each simultaneous run) which will have initial data input (data cluster) and then associate these with the COM port and the specified balance.
I initially thought of utilizing a For Loop this way but I can't get these windows to pop up multiple times while storing their own values in say a cluster array. Can anyone give me any ideas to get me a little further?Cameron,
I've created a prompt for the user to select the number or runs to be run simultaneously.
This then should trigger the amount of prompts the user needs to input - ie VISA resource, and headers to label the "samples".
I want this to be done in multiples (somewhere around 1-10 simultaneous runs - bounded by the program) so that data points from multiple sources can be taken and graphed/saved to file. I just am having issues with the loop situation to be able to keep prompting the user X times and also output the data to the front panel. Originally i thought I could somehow manipulate a tab control container but I'm getting roadblocked.
Does that help you understand what I'm trying to do?
I've attached an image of what I want the user to input for each sampling.
Attachments:
Capture11.JPG 24 KB -
JMS Bridge from WLS to OAS not working; automatic redirection to JMS Port
We have setup a JMS Bridge inbetween Weblogic Server 10.3.0 and Oracle App Server 10.1.3. In our test environment it is working fine. But, in LIVE, we are facing a problem. Firewall is there inbetween OAS and WLS.
1. OAS Admin port 6003, is blocked by firewall. So, from outside environment we can't connect to this port.
2. OAS Port 12401 (RMI Port) is not-blocked
3. OAS Port 12601 (JMS Port) is blocked by firewall
4. We created credential "JMS_USER" while configuring QueueConnFactory at OAS end and used it while setting up WLS JMS Bridge
We are using ormi://172.24.255.59:12401/default as Provider URL from Weblogic while creating JMS Bridge.
Problem
========
While connecting from WLS we are getting the following error from WLS end:
javax.jms.JMSException: Unable to create a connection to "apgst366/172.24.255.59:12,601" as user "JMS_USER".
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1050)
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1130)
at com.evermind.server.jms.EvermindConnection.<init>(EvermindConnection.java:132)
at com.evermind.server.jms.EvermindQueueConnection.<init>(EvermindQueueConnection.java:71)
Question
=========
1) We are requesting for 12401; then why the JMS Port 12601 is being referred?
2) Is there any automatic redirection from OAS end?
3) Will unblocking the 12601 port by Firewall help?
Please help me, as this has become a burning issue for us.
Thanks in advance.Can anybody please help me?
-
Problem in JMS congiuration in cluster
Hi,
I am facing a big problem in cluster.
I am using weblogic server8.1 with SP5.
Created a cluster with 2 managed servers. Two JMS servers and deployed them on managed servers i.e. JMSServers1 is deployed on ManagedServer1 (migratable) and JMSServer2 is deployed on ManagedServer2 (migratable). There are 4 distributed JMS Topics are created for each server. My program uses these JMS topics and picks up the data and inserts them into the Database. The problem here is it is inserting 2 times each record. If I use single server without cluster it is inserting one time. Some times it is not JMS clients not at all invoked when even a message is published into the topic.
What might be the problem? I am very new to this clustering. Its very urgent please.Hi,
thanks a lot for your replies.
our driver settings are correct (as I can see).
I removed value 819 from CCSID, but we have the same effect.
The messages in the local queue manager are TextMessages in XML.
Does anybody know, if we need the standard modules (ConvertJMSMessageToBinary and ConvertBinaryToXMBMessage) in this case?
Is it possible to set the CCSID for the message payload anywhere in the configuration?
The CCSID in the Source tab doesn't have any influence to the encoding of the payload message, only to the header data.
Regards
Thorsten -
How to revert p4 port and telnet port from 50204 to default?
Hi,
i changed the p4 port and telenet port to 50204 using Visual Administrator. Now Visual Administrator and the J2EE server are both down. Is there some way I could revert back my ports to the default ports?
Also, my J2EE dispatcher process is down with an exit code of -11113. Could someone let me know how to change the port settings for telnet and p4 please?Hi,
You can do this through "ConfigTool". It is a offline tool and comes handy when JAVA system is down. It requires only database up.
Start configtool.ba from the directory "<Drive>:\usr\sap\<SID>/JC01\j2ee\configtool.
Then select the node Cluster Data->Instance_<No.>->Dispatcher_ID<No.>->
1). P4->Local Properties
In the port you have to mention 5<instance no.>04
if you instance number is 01 then it should be 50104
2). telnet->Local Properties
in the port you have to mention 5<instance no.>08
if your instance number is 01 then you have to mention 50108.
Then try to restart the JAVA system.
Best regards,
sheo -
Configure the ADMIN and CLUSTER service connections to be SSL
Can you configure the ADMIN and CLUSTER service connections to be SSL
rather than tcp?
I was wondering about the present or future ability to secure other
connection services with SSL. Can you now or are there future plans
to configure the ADMIN and CLUSTER service connections to be SSL
rather than tcp? I suppose I should add the PORTMAPPER to that list.
My primary interest is for an SSLCLUSTER service in the case where
two brokers are connected over a non-trusted network. It may
not be too difficult to secure all the services the same way, but
perhaps that is on the TODO list.
A related question is if there are plans to add SSL with client
authentication as a stronger authentication mechanism than 'simple'
username and password. I believe you could get the username from
the client certificate's DN and continue to use the same LDAP user
repository for access control. I think this is similar to the way
that BEA's Weblogic server does it.
Finally should it be possible to deploy the HTTP tunnel servlet to
a webserver (such as iPlanet Web Server) configured to do SSL with
client authentication as a work-around to get stronger authentication
with the current release of the product? Or am I perhaps missing some
obvious and important detail? :) I guess I would like to know it's been
done already or is at least possible before I try and do it myself.3 scenarios involving SSL are:
1: JMS client <------- SSL -------> iMQ broker
2: iMQ admin <------- SSL -------> iMQ broker
3: iMQ broker <------- SSL -------> iMQ broker (i.e clusters)
(1) is currently supported in iMQ 2.0
(2) and (3) is not supported in iMQ 2.0. No concrete plans yet to support
it in the near future but we'll definitely consider doing it if we
hear a lot of demand for it.
]A related question is if there are plans to add SSL with client
]authentication as a stronger authentication mechanism than 'simple'
]username and password. I believe you could get the username from
]the client certificate's DN and continue to use the same LDAP user
]repository for access control. I think this is similar to the way
]that BEA's Weblogic server does it.
This is on our todo list, but due to other more pressing issues we
have not been able to address it. We will continue to keep it
on our potential list of new features.
Sorry if I sound pretty wishy-washy in my responses above, but the fact
is that the things you mentioned above had to take a backseat
to other more critical features. That and the usual time/resource
constraints caused them not to be implemented.
]Finally should it be possible to deploy the HTTP tunnel servlet to
]a webserver (such as iPlanet Web Server) configured to do SSL with
]client authentication as a work-around to get stronger authentication
]with the current release of the product? Or am I perhaps missing some
]obvious and important detail? :) I guess I would like to know it's been
]done already or is at least possible before I try and do it myself.
Yes, this should be possible (although I don't believe we've tried it here).
The client authentication here is really only between the JMS client and the
web server (not between the tunnel servlet and the iMQ broker) and should
be similar in setup to any other java application talking to iPlanet Web
Server. -
What is the association between JMS Server and JMS Module in weblogic 10?
Hi,
I have a created a ConnectionFactory, Queue, Topic under JMS Modules in Weblogic Server 10 using admin console.
And I have created a JMS Server and Targetted to the current running server (Admin Server).
But when I run the Queue Sender program it is unable to LookUP the jndi which I gave for Queue.
queue = (Queue) initialContext.lookup("jndi_queue");
Exception:
javax.naming.NameNotFoundException: Unable to resolve 'jndi_queue'.
But I configured this jndi name when I create the Queue in JMS Module in Weblogic Server 10.
How JMS Module and JMS server are associated.
My Doubt is if i have several JMS Modules and only one JMS Server created then how does the JMS Server identifies which Queue/Topic belongs to which JMS Module????
Please advice.
Thanks....Hi,
Once you have JMS servers configured:
Step 1: Target the JMS configuration module to the cluster that will host the destination, or, if not using clustering, target the module to the individual WL server that will host the JMS server.
Step 2: Configure a "subdeployment" for the module and set it to reference the exact JMS server(s) that will host the destination. If you're using a distributed desitnation, you can specify multiple JMS servers, if you're using a regular destination, only specify a single destination.
Step 3: Create a destination resource in the module, and set its subdeployment to the subdeployment you specified in step 1 (the console calls this "advanced targeting"). As a best practice avoid the "default targeting" option for the resource - always choose subdeployment (advanced) targeting.
For more information, reference the "best practices" chapter of the JMS configuration guide:
http://download.oracle.com/docs/cd/E14571_01/web.1111/e13738/best_practice.htm#CACJCGHG
I also I highly recommend the JMS chapter of the book "Professional Oracle WebLogic".
Hope this helps,
Tom -
I'm involved with a project that needs to support users both inside and outside a
firewall and have been asked to determine which ports are used by the WebLogic implementation
of JMS (hereafter simply JMS).
Nowhere have I found any information on how ports are mapped to connections/sessions/subscriptions/listeners/etc.,
which ports are actually used, or how one would be able to configure which ports
are used.
Is it the case that JMS uses the same port as the other server requests?
Any information or pointers to information on this subject would be greatly appreciated,
thanks.
Elias
Elias wrote:
> Okay, so the JMS messages can be 'wrapped' within HTTP methods provided that I
> set up the initial context to do so? Currently I am using an environment hashtable
> to set Context.PROVIDER_URL to t3://some.host.name:port. If I understand your
> response correctly, all I need to do is set Context.PROVIDER_URL to http[s]://some.host.name:port
> and WL will transparently use HTTP methods as the transport for JMS?
>
> Elias
Yes, but there is one more step: The server disables HTTP tunneling by default. You can either
enable it on the
console or manually add this attribute to your WL server in your config.xml:
TunnelingEnabled="true".
Tom
>
> "Shean-Guang Chang" <[email protected]> wrote:
> >its/JMS is just its protocol and http/JMS is just http protocol.
> >If you are using firewall to block any none http traffic then you need
> >to
> >setup the protocol on your url to be http (e.g. http[s]://localhost:7001)
> >when you create the initialContext.
-
Cannot use comparisons with column column references in pool and cluste
Hi Experts,
I am facing an issue in a select statement written in 4.6 version and in that the table is a transparent table but when porting it to ECC6.0, it gives the follwing error:
You cannot use comparisons with column column references in pool and cluster tables:'A~MATNR'. refe
The select statement is as below:
SELECT akschl alifnr amatnr aekorg awerks aesokz
aknumh adatbi a~datab
bmtart bmatkl
b~yybcezndr " Commented as not required(IDE)
cwerks cmmsta c~herkl
INTO CORRESPONDING FIELDS OF TABLE gt_a017
FROM a017 AS a
INNER JOIN mara AS b
ON bmatnr = amatnr
INNER JOIN marc AS c
ON cmatnr = bmatnr
AND cwerks = awerks
INNER JOIN lfa1 AS d
ON dlifnr = alifnr
WHERE a~kappl = 'M' AND
a~lifnr IN s_lifnr AND
a~matnr IN s_matnr AND
a~ekorg IN s_ekorg AND
a~kschl = v_kschl AND
a~kschl = gv_kschl .
Kindly help me out in this as A017 is a pooled table in ECC 6.0 . Thanks in advance!!!
Thanks and Best Regards,
SahilHi Sahil,
Refer below code
SELECT KSCHL LIFNR MATNR EKORG WERKS ESOKZ
KNUMH DATBI DATAB
FROM A017
INTO IT_A017 " internal Table
WHERE KAPPL = 'M' AND
LIFNR IN S_LIFNR AND
MATNR IN S_MATNR AND
EKORG IN S_EKORG AND
* kschl = v_kschl AND
KSCHL = GV_KSCHL .
IF IT_A017[] IS NOT INITIAL.
SELECT MATNR MTART MATKL
FROM MARA
INTO TABLE IT_MARA" internal Table
FOR ALL ENTRIES IN IT_A017
WHERE MATNR = IT_A017-MATNR.
SELECT MATNR WERKS MMSTA HERKL
FROM MARC
INTO TABLE IT_MARC" internal Table
FOR ALL ENTRIES IN IT_A017
WHERE MATNR = IT_A017-MATNR AND
WERKS = IT_A017-WERKS.
SELECT LIFNR
FROM LFA1
INTO IT_LFA1" internal Table
FOR ALL ENTRIES IN IT_A017
WHERE LIFNR = IT_A017-LIFNR.
ENDIF.
After this use READ statement and fill the data in final internal table..
Please search on SCN for more information about how to use FOR ALL ENTRIES..
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
Weblogic Service Migration - JMS Servers and JTA
We are having 2 node managed server Custer - active- active configuration. We are planning to use Weblogic Service Migration to migrate JMS servers and JTA in case of Failure to the available node in the cluster.
===> There is a problem in node1; Due to the failure of node1, JMS servers and JTA do get migrated to Node2.
===> Problem in node 1 is resolved and is available.
===> How to revert the migrated JMS servers and JTA back to node 1?
ThanksIf I have a 2-node cluster, that means I have to take an outage ? There is no elegant solution to this ?
Thank you ! -
Using MySQL DB on Weblogic 10.3.2 for JMS Store and etc.
Hi,
I am planning to use MySQL DB w Weblogic 10.3.2 server.
I am planning to use Persistent JMS Destinations and planning to use MySQL Datasource for JMS store.
Can anyone please help me understand any serious issues or considerations of this combination?
Thanks
SagarHi,
I am planning to use MySQL DB w Weblogic 10.3.2 server.
I am planning to use Persistent JMS Destinations and planning to use MySQL Datasource for JMS store.
Can anyone please help me understand any serious issues or considerations of this combination?
Thanks
Sagar
Maybe you are looking for
-
Issue - Deleted Items 2lis_02_itm
Hi All, Im working with 2lis_02_itm and i noticed the following issue. Situation 1 : Everything is OK I delete a line item of a Purchase Order, then a tested trough RSA3 and that line items appears with the Deleted Indicador = R. Situation 2: Everyth
-
How to open an PDF file from Java Application
Hi I am developing a GUI application in java swing. on clicking one button, I want to open PDF file from my swing application. Is there any API through which I can achieve this? Tapan Maru Sun Certified Java Programmer
-
When using the up/down buttons in the Inspector, how do I get them to move by .01, instead of default, which is always too much.
-
Key date based reporting on DSO
Hello Gurus, Scenario: DSO has valid to and valid from fields. Doesnt have any other time periods. I want to run a report, where in user enters a certain date and data relevant to the range in which the date lies should be reported. I am trying some
-
Crystal Report 9, Supported MS SQL-Server 2000 versions
Hi, we are using Crystal Report 9 with SQL-Server 2000 SP3 as APS/CMS database. I want to upgrade the SQL-Server with SP4, Do you know, if MS SQL-Server 2000 SP4 is supported for Crystal Report 9? Thanks Regards Horst Becker