Multiple Apps and Multiple Queues/Topics
In WL7, is it possible to have two applications both do the same JNDI lookup and get
different queues? This is possible with EJB's because Weblogic has its own local
JNDI lookup that the java:comp/env/ejb/XXX references, however you cannot do the
local lookup with JMS queues/topics. My situation is that I may have more than one
client on a given box, and the messages going into a queue are destined for specific
clients, but the programs are both looking up the same queue (e.g., jms/UpdateCache).
Is the only way to do this through using filters? I don't want to make any code changes
from one client app to the next.
You can configure same queue/topic on multiple servers by using
JNDINameReplicated=false on the queue/topic so each queue/topic is only
known locally. Then you can use dedicated connection Factory for each
server and you can use different url to connect to different server.
e.g.
# two connection factories deployed on two different WLS servers
# myserver1 has url like this: 192.0.0.1:7001
# myserver2 has url like this: 192.0.0.2:7001
# two JMS Servers deployed on two different WLS servers
# each JMS server has an identical queue
# you do not need to specify JNDIName for the queue if you can use
createQueue
# queueSession.createQueue("./exampleQueue1");
# client (sender/consumer) using 192.0.0.1:7001 to get initialContext
will use "cf1" and
# lookup queue on myserver1
# client (sender/consumer) using 192.0.0.2:7002 to get initialContext
will use "cf2" and
# lookup queue on myserver2
# port of config.xml
<JMSConnectionFactory
JNDIName="jms.connection.exampleFactoryFormyServer1"
Name="cf1" Targets="myserver1"/>
<JMSConnectionFactory
JNDIName="jms.connection.exampleFactoryFormyServer2"
Name="cf2" Targets="myserver2"/>
<JMSServer Name="exampleJMSServer1" Targets="myserver1">
<JMSQueue
JNDIName="jms.queue.exampleQueue1"
JNDINameReplicated="false"
Name="exampleQueue1"/>
</JMSServer>
<JMSServer Name="exampleJMSServer2" Targets="myserver2">
<JMSQueue
JNDIName="jms.queue.exampleQueue1"
JNDINameReplicated="false"
Name="exampleQueue1"/>
</JMSServer>
"David Cherryhomes" <[email protected]> wrote in message
news:[email protected]...
>
> In WL7, is it possible to have two applications both do the same JNDI
lookup and get
> different queues? This is possible with EJB's because Weblogic has its own
local
> JNDI lookup that the java:comp/env/ejb/XXX references, however you cannot
do the
> local lookup with JMS queues/topics. My situation is that I may have more
than one
> client on a given box, and the messages going into a queue are destined
for specific
> clients, but the programs are both looking up the same queue (e.g.,
jms/UpdateCache).
> Is the only way to do this through using filters? I don't want to make any
code changes
> from one client app to the next.
Similar Messages
-
Best Practice in maintaining multiple apps and user logins
Hi,
My company is just starting to use APEX, and none of us (the developers) have worked on this before either. It is greatly appreciated if we can get some help here.
We have developed quite a few applications in the same workspace. Now, we are going to setup UAT and PRD environments and also trying to understand what the best practice is to maintain multiple apps and user logins.
Many of you have already worked on APEX environment for sometime, can you please provide some input?
Should we create multiple apps(projects) for one department or should we create one app for one department?
Currently we have created multiple apps for one department, but, we are not sure if a user can login once and be able to access to all the authenticated apps.
Thank you,
LCLC,
I am not sure how much of this applies to your situation - but I will share what I have done.
I built a single 700+ page application for my department - other areas create separate smaller applications.
The approach I chose is flexible enough to accomdate both.
I built a separate access control application(Control) in its own schema.
We use database authenication fo this app - an oracle account is required.
We prefer to use LDAP for authentication for the user applications.
For users that LDAP is not option - an encrypted password is stored - reset via email.
We use position based security - priviliges are based on job functions.
We have applications, appilcations have roles , roles have access to components(tabs,buttons,unmasked card numbers,etc.)
We have positions that are granted application roles - they inherit access to the role components.
Users have a name, a login, a position, and a site.
We have users on both the East Coast and the West Coast, we use the site in a sys_context
and views to emulate VPD. We also use the role components,sys_contexts and views to mask/unmask
card numbers without rewriting the dependent objects(querys,reports,views,etc.)
The position based security has worked well, when someone moves,
we change the position they are assigned to and they immediately have the privileges they need.
If you are interested I can rpovide more detail.
Bill -
Can I use one itunes account for multiple users and multiple devices
Can I use one itunes account for multiple users and multiple devices?
The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....
-
Planning for product using multiple bom and multiple recipe involving SOP
Hi friends,
The problem. Currently we have maintained single BOM and single recipe (The BOM and Recipe used for MRP) for long term planning run. The FMCG sector of Client requested to have multiple BOMs and multiple recipes in the long term planning run. I.e. The planning is done quarterly and they wanted to use different BOMs and Different recipes for each quarter. But since the existing system has configured to use a single BOM and a single recipe we have a problem to use the long term planning run with the current setups.The problem we have is in this 001 planning scenario.
appreciate if you can help me how to accommodate multiple BOMs and recepis in the long term planning run.
thanks and regards
omHI Mr. Ready,
We create PIR though a submit Job and in this case how to mention the production version while creating PIRs . Also if I am creating PIR through MD61 how to record the version.
Please advice.
Thanks and Regards,
Om -
Posting an Idoc with Multiple Headers and Multiple Lines
Hi all,
I have a scenario like this fileXIIdoc
Invoice file comes in text file with multiple header and multiple lines like this
111 aaa 13214234 US (header)
09082010 ABC 9999 A (Line)
222 ccc 43454543 US (header)
09082010 XYZ 7777 B (Line)
09082010 PQR 8888 C (Line)
I need to post single Idoc with all the headers and lines
we are planning to use Custom Idoc,Is this possible by having the header segment as unbounded??
Regards
Edited by: Vamsi Krishna on Sep 8, 2010 8:05 PMhi,
lets go again.
you have to edit the custom IDoc and change the ocurrance on the header segment. also modify the details segment adding an addtional field that identify which header that this detail belong.
for this case you cannot change the occurrance in SAP PI because you wont identify what i have told you before. in PI apply to change the occurrance if you could send ONE Idoc Per Header.
now is better clear???
Let us know.
Thanks
Rodrigo P-. -
Does anyone have a recommended network, hardware and software configuration guide for a Portal installation running with multiple gateways load balanced (ie one URL) that talk to multiple servers?
David,
We've used Resonate (software) to load balance the gateways. It allows
you to group all the gateways under 1 virtual URL and load balance the
incoming connections over each gateway depending on the rules that you
define in Resonate. Look in the SUN portal whitepapers there is one that
talks about it specifically.
As far as load balancing the calls to the portals, the gateways will
automatically load balance across all the portals that they know about
using a simple round-robin rotation. You may be able to use Resonate in
front of the portals but you may need to activate persistance within
Resonate to ensure that the user always ends up on the portal that he
established his initial connection on (if you want that), check with Sun
on this one.
David Broeren wrote:
Recommended configuration for load balanced Portal with load balancer,
multiple gateways and multiple servers.
Does anyone have a recommended network, hardware and software
configuration guide for a Portal installation running with multiple
gateways load balanced (ie one URL) that talk to multiple servers?
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
Partial-credit scoring in multiple response and multiple hot-spot questions
Hello everyone,
I'm calling on your generosity in the spirit of the holidays to help out a noob. I would like to create matching, multiple-response and multiple-hot spot questions where the user receives credit based on the number of correct answers within the question. For example, in a matching question where there are four items; if the user gets 2 out of the four items matched correctly, I would like for him to receive 2 out of 4 points.
I understand that Captivate doesn't support partial-credit scoring of this type, but a few posts have implied that it can be done with variables. Is there anyone who can walk me through this process, or send me to a link that will walk me through it? (I've scoured these forums and tried the Cp tutorials, to no avail.) And if it's not asking too much, please make it understandable to someone who has very little experience with variables.
Thanks, and Merry Christmas.
JR
(Running CP 5 on Windows Vista)Hello,
I did publish an article more specific on partial scoring, perhaps this could help you:
Partial scores and customized feedback
And since you are asking for more basic information, on my blog I point to some other articles to explain the meaning of variables with/without advanced actions. Feel free to have a look (there are more postings about advanced actions and links to articles over there):
Curious about variables ?
Unleash the power of variables with advanced actions
Lilybiri -
Diff between Multiple Threading and Multiple instance.
Hi ,
what is the main diff between Multiple Threading and Multiple instance?
Please give me the answerSatti4Java wrote:
Hi ,
what is the main diff between Multiple Threading and Multiple instance?The main difference (not "diff") is that the first one ends with the word "Threading" and the second one ends with the word "instance".
Really. Seriously. Now if you had some industry standard phrases you were comparing, there might be a useful discussion. But those are just words strung together. If that's a homework question, I recommend you find a different teacher. -
Oracle HR restrictions based on multiple assignments and multiple GRE's.
In oracle HR, with multiple assignments and multiple GRE. How can we restrict to having 1 assignment per GRE. I do not want more than 1 assignments per GRE. Has anyone done this before?
Hi,
If the requirement is to prevent the creation of multiple assignments, you can achieve that by personalizing the assignment form.
Thanks
Satheesh -
Multiple rows and multiple cols inone report
Hi
All
I have a req where i need to build a report with multiple rows and multiple columns
.... ....................... 2009 jan , 2009 feb , 2009 march , 2009 april...........................
............................ dim3 mem1 , dim3 mem1 , dim3 mem1, dim3 mem1..........................
dim1 mem1
dim2 mem1
calc value
dim1 mem2
dim2 mem1
calc value
dim1 mem3
dim2 mem1
calc value
please advice if i can use the colkey range and rowkeyranges for this type of expansion and how?
thanks
Edited by: bpc_now on Oct 21, 2010 6:40 AMHi,
If you need multiple dimensions, then the first thing is to specify EVDRE("mXn")
where m = number of dimensions in column
n = number of dimensions in the row.
If the EVDRE has already been built and you wnat to change it, then you need to change the rowkeyrange and colkeyrange. And accordingly, you should have 4 expansions - 2 for rows and 2 for columns.
Hope it helps. -
Multiple sizes and multiple quantities of an item
How do I create a shirt order form where someone can order multiple sizes and multiple quantities of an item?
Hi,
There’re some order templates, Shirt(Clothing) Order Form, that might be meet your request. Or you can design a custom form according your requirement if you’re a form author or coauthor. For your case, when you design the form, you can choose the multiple choices, single choice, or other fields, etc. And you have to enable the payment under options tab, and assign fields as a purchase fields. At the same time, you can share the web form to the form filler to make an order.
Thanks,
Guanshuai -
[iPhone SDK] Multiple Apps and App ID nightmare
Maybe I don't understand this quite well or there's something wrong with Apple's Documentation.
I've setup a single App ID using an asterisk for all my apps: "com.me.*" and the resulting App ID is something like: "##########.com.me.*"
I've used this on two of my projects. When I try installing the two projects onto my iPhone, it uninstalls the previous app before installing the other! How can I have both Apps on my iPhone at the same time?
The "Organizer" window conveniently uninstalls the first app and always only shows a single app in the list.
What am I doing wrong?I would make sure that you did not set this app id in XCode. On the Developer Portal --> App IDs --> Manage tab it says:
"You are not required to enter your App ID into your Xcode project. Xcode will incorporate the App ID automatically."
I think you need a * at the end of your app id as well in the App ID configuration in the Developer Portal. You should have something like: 9AK2T6Z3YE.com.somecompanyorname.*
I believe you would enter in "com.somecompanyorname.*" in the second input box when creating an app id. -
Synchronize multiple tasks and multiple boards with X-series USB devices
Hi all,
I am trying to figure out how to synchronize multiple tasks across multiple X-series USB boards (6353, to be precise).
I have to run a digital output task AND an analog output task on each board. All four tasks (the DO and AO on Board 1, and the DO and AO on Board 2) must be synchronized.
I know how to synchronize multiple tasks on a single board. I've been doing that for years. That works fine.
I know how to synchronize a single task across multiple boards (say, a DO task across 2 different boards). That works fine too.
For the life of me, I can't figure out how to marry the two. Everything I've seen, all of the examples, etc. assume you want to do one or the other, or that you have a RTSI cable available. Are there any examples out there that synchronize multiple tasks across multiple USB boards?
I tried exporting the AO clock signal from my master AO task to PFI12, and then using the signal on PFI12 to as the clock source for the remaining tasks (Dev1/PFI12 physically connected to Dev2/PFI12, and Dev1/PFI12 set as the clock source for Dev1's DO task).
I have also tried setting Dev1/aoSampClock as the source for Dev1's DO task.
Under both configurations, I invariably get error -89137 when I try to start the tasks -- required resources (PFI12) in use by Dev1/do/SampClock. I understand what the error is telling me. What I don't understand is why I'm receiving this error when I don't have any of my tasks configured to use the DO Sample Clock. It seems as though it is not possible to export a clock signal to a PFI line and simultaneously run a clocked digital task, even if the clock source for that task is specified as something other than the DO Sample Clock?
So, my question is, is it possible to do what I want to do? And if so, how do I do it? How do I configure a common clock source across multiple tasks running on multiple USB boards?
Hoping for insight from those wiser than I...
Diane
Solved!
Go to Solution.Update: I decided to try using a counter as the source clock. One cannot use counter 0 to accomplish this, but it does appear to work with counter 1.
I'll take what I can get. Fortunately I have two spare counters. (Yes, I'm running counter tasks too -- 6 of them -- but they don't have to be synchronized.)
I have to add both digital and analog input tasks as well -- all synchronous with each other, but not with the output tasks since they'll be running at different sample rates. I hope I'm able to use a counter as the source clock for those as well.
My head aches. -
TO DRAW A TABLE WITH MULTIPLE ROWS AND MULTIPLE COLOUMNS IN FORM
Hi,
How to draw a table with multiple rows and columns seperated by lines in form printing?check this
http://sap-img.com/ts003.htm
Regards
Prabhu -
Dear All,
My database is 11gR1 and Linux is the platform.
I have more then 50 very important tables and around 15 database users.
I want to implement fine grained auditing on these important tables.
This is how I am going to implement it:
SQL>BEGIN
DBMS_FGA.add_policy(
object_schema => 'Scott',
object_name => 'SAL',
policy_name => 'SALARY_CHK_AUDIT',
audit_condition => NULL,
handler_schema => 'imran',
statement_types => 'SELECT,INSERT,UPDATE,DELETE',
audit_column => NULL);
END;
what is i have to pass multiple tables in object_schema and multiple users in handler_schema.
I hope i am able to clear my question, any doubts please let me know.
Regards, ImranHi,
object_schema - The schema of the object to be audited. (If NULL, the current log-on user schema is assumed.)
in case if you like to audit for multiple users - then try to test by holding a null value and test access the important tables -where the relevant auditing records are generated as per your requirement or not. i have not tested.. try it
- Pavan Kumar N
Maybe you are looking for
-
QUERY FOR CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE
Hi Friends, I need query for CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE for selection criteria from date and to date. I know the Trial Balance Report will sort out this issue... but i need routeday wise report 1. Business Partner Mast
-
Hi Guys, i am receiving this error since last 3 days please help me resolve this. i am already using XCode 5.1.1 and iOS 7 SDK i have regenerated my app store provisioning profile twice after this issue. my app gets validated by Xcode and also gets u
-
How do i get icloud widget to appear on my mac?
How do i get icloud widget to appear on my mac?
-
Hi All,What is the concept of table control in bdc
Hi All,What is the concept of table control in bdc .Can u please explain in brief.How we have to handle the logic for va01 transaction . Thanks®ards. Bharat
-
Can I insert a page break but carry on on the same page?
I need to insert a section break in order to have the footnoting restart again, but I don't want any blank space. I want to insert a single footnote using an asterix that relates to the first footnote entry but then restart the footnoting using numbe