Multiple connections for the same user.

I have EJB A and EJB B. A and B use a JCA connector that
          I have written. I have matchManagedConnections set so that if user U has not used EJB A or EJB B, then a new ManagedConnection is created. If user U has used A or B then that user is given a new virtual connection created from an existing ManagedConnection. Now the problem is that if user U access' A for the first time and then access' B BEFORE A has closed the connection, then a new ManagedConnection is created for user U. Therefore in this case user U gets 2 ManagedConnections to the EIS that we are using. Eventually one of the ManagedConnections is distroyed but I would like to eliminate this in the first place. How do a get Weblogic to see that a user has a ManagedConnection before that user is done with the connection.

You can't have multiple roles on multiple connection, as you are connecting to the same website (different sub directories) ultimately.
Here is the workaround:-
You can create a new user account on your machine and can manage different roles.
Hope it helps.

Similar Messages

  • Multiple sessions for the same user

    Hi,
    The scenario is like this. The user is logged into the system using JAAS and
    has a session object created. I want to create a new session for the same user
    with the already available credentials. This is to provide the same user the access
    to the application in another window with different session object. How can do
    that in Weblogic 8.1 server ?
    thanks in advance,
    Krishna.

    Hi
    I think it would be easier to enable session time out settings using GPO considering you work in a domain environment..
    Having session timeouts settings you could say... hey after 15 min of inactivity disconnect the user and then after 15 min of disconnected session log him off
    Take a look at this URL: http://technet.microsoft.com/en-us/library/cc754272.aspx
    Hope this helps
    Best regards
    Joaquin Camarero Muñoz

  • Multiple layouts for the same user in the same portal

    Hello.
    I have a challenge.
    Currently there is a portal (6.40) running as a frontend for an application. So the portal is used for only this purpose. The content is a changed masthead and a number of WebDynpros and UWL's all accessing the same backend.
    Now there is a wish to use the same portal to execute a transaction iView for the same backend. Simple. BUT when a user uses the portal for the product he/she shall not see the transaction iView and also when the user sees the transaction iView, the WDs and UWL's should not be shown in the navigation. And also the masthead should be different on the two views.
    Putting in another portal is not anoption, this should be done on the same portal. The way I expect it to work is by accessing the same portal og two different URL's.
    Companies cannot be used since some of the users should be able to access poth views.
    I know that in a prefect world it would simply be a matter of creating two different roles and assign them as needed and if the user has both roles hen they would both be available in the navigation. But to the user the portal should look like different portals.
    Any suggestions on how to achieve this functionality?
    Br,
    Thomas Mouritsen

    Hi Thomas,
    you have several options with the portal standard:
    1.) If the user only has one role assigned at a time you can attach the portal layout to the roles. So depending on the role the user has he sees the respective layout - BUT: how to asign the two roles to the user!? This can only be done by admins and I assume that it is no intended to call the admins every time the user needs the other role?
    2.) The entry to the portal is realized with different urls like http://yourportal.com/VIEW1 and http://yourportal.com/VIEW2.
    VIEW1 and VIEW2 are so called portal aliases and you can attach the different layouts to those aliases.
    BUT: the two roles have nothing to do with the aliases so you still have the problem of role assignment.
    3.) Each person gets two users with each user assigned to one role and one layout assigned to the user or group or role...
    Anyhow: I would ask the people who brought up the idea of two different layouts - WHY?? A portal is ONE single point of entry for EVERY application and information a user needs. So why two different layouts? And what, if five others are coming each bringing their own layouts, too?
    4.) If you really want to have different layouts each time a different top-level navigation point is active you have to program your own portal component. That would fit your needs but is besides standard.
    Hth,
    Michael

  • Multiple mailboxes for the same user

    I have configured mail to work with virtual domains so I can create a different mailbox for each email address but how do only allow the mail to that specific address to come through. As I don't want the local and virtual in the same mailbox.

    User A can have one mailbox associated with his ID.  You can create other "User A" mailboxes with different names and e-mail addresses as shared mailboxes and grant User A full mailbox rights and send as right.  User A can
    then connect to each one of them separately.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Logoff remote sessions to multiple servers for the same user

    Hi,
    I'm after some advice, I have a junior DBA working with me who has a tendancy to leave remote connections on various production servers, we have a large estate about 300 servers and trying to identify the servers is a difficult task.
    I was hoping to use SQL Server Management Studio / Registered servers and issue one simple command against all servers to logoff the account which has been left connected. I normally log into each server start Task Manager/Users and log off the account,
    this then stops the account locking but only when I have identified all servers he is still connected to. I have tried the comand prompt Logoff and session ID, this works great but the session ID on each server can be different.
    Any help or advice would be great! Thanks in advance.

    Hi
    I think it would be easier to enable session time out settings using GPO considering you work in a domain environment..
    Having session timeouts settings you could say... hey after 15 min of inactivity disconnect the user and then after 15 min of disconnected session log him off
    Take a look at this URL: http://technet.microsoft.com/en-us/library/cc754272.aspx
    Hope this helps
    Best regards
    Joaquin Camarero Muñoz

  • C;\Windows default share session increased for the same user

    in win 2k8 server I seem some strange things, that for the same user, shared folder sessions are increasing. Support is appreciated
    Regards Prabhu

    It might be connecting from multiple devices.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Under Options , Applications There are multiple entries for the same item (Acrobat Document). how can I delete the duplicates?

    Under Options, Applications there are multiple entries for the same item. (Adobe Acrobat) . Three show Adobe Acrobat Reader 9.3 and the other shows (ask) or (save file) with no ability to select Acrobat Reader . Is there a way to edit this list to remove the duplicates and
    the incorrect entry? Adobe installed a very quick update today.

    They are all different. Hover your mouse pointer over each of the "Content Type" descriptions and you should see a "tooltip" to see that each has a different description.
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Adobe Shockwave for Director Netscape plug-in, version 11.5 (you '''<u>may</u>''' need to update)
    * Shockwave Flash 10.1 r53
    * Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from the link in article below
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download link and other information</u>''': https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox

  • How to avoid multiple session for the same username

    I need suggestions on implementing single user login , like My system has a user with a username jdavid and my application should not allow two different sessions for the same username jdavid , can one session peep into all other session
    to see if the any has a usernaem jdavid, I am basically looking for some pattern if any available for restricting multiple session for the same username . like jaas or any other security api provides this ?

    Store a Map<User, HttpSession> in application scope and let your application intercept on that. On login, just check if the User is already there, then get the associated HttpSession, invalidate it and replace it by the current HttpSession, else just store the current User-HttpSession pair in the map. On logout obviously remove the User-HttpSession pair from the map.

  • Multiple address for the same customer code

    Hi,
    Suppose we have a customer name XYZ LTD whose sap code is 123.
    Now user want to maintain multiple addresses for the same customer in the same code.So that during billing he can have option to chose one of the address in which he want to sent the invoice.
    Is it posible if yes then let me know.
    Thanks in advance.
    Regards,
    SATYA

    Hi Satya,
    you can define for a vendor/customer several partner functions with different        
    adresses. You can create certain partner roles several times.               
    If you create a purchase order, than you can choose the wanted              
    address and partnerrole on the header level. In the standard system you     
    can use the patner role 'OA' ordering address and for the finance           
    the 'IP' Invoice presented by.
    I hope I was able to help you.
    Kind regards,
    Zsuzsanna

  • How open multiple responsibilities in the same user login session in R12 ?

    Dear All,
    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?
    Thanks..
    Edited by: G-oracle on Sep 18, 2011 11:22 AM

    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?What do you mean by open multiple responsibilities in the same session? You can only see the menu of one responsibility at a time, so how to do you expect the application to let you see multiple responsibilities/menus in one session?
    You could open another session and this way you can access more than one responsibility at the same time.
    Thanks,
    Hussein

  • Multiple DEVL_PROJECT_ID for the same model in CZ_DEVL_PROJECTS Table.

    Hi,
    Did anyone came across this issue!! I am triggering the config engine from back and and trying to pick up a model but it has multiple devl_project_id's. :(
    I could see multiple DEVL_PROJECT_ID for the same model in CZ_DEVL_PROJECTS Table. Apart from DEVL_PROJECT_ID and created_by_date every thing looks the same.
    Below are the 2 records the data from the table
    select * from CZ.CZ_DEVL_PROJECTS where product_key = '122:17056' and DEVL_PROJECT_ID in (12943,15321)
    DEVL_PROJECT_ID     NAME     ORIG_SYS_REF     CREATION_DATE     LAST_UPDATE_DATE     PERSISTENT_PROJECT_ID     MODEL_TYPE
    12943     ASI XXX MODEL(122 17056)     OPTIONAL:122:17056     12/18/2012 10:01     12/18/2012 10:01     11100     A
    PRODUCT_KEY     ORGANIZATION_ID     INVENTORY_ITEM_ID     BOM_CAPTION_RULE_ID     NONBOM_CAPTION_RULE_ID
    122:17056     122     17056     802     801
    15321     ASI XXX MODEL(122 17056)     OPTIONAL:122:17056     12/26/2012 23:10     12/26/2012 23:10     11100     A     
    122:17056     122     17056     802     801
    Thanks in advance,
    -vijay

    It can be possible to have multiple devl_project_id for the same model in cz_devl_projects Table.
    Case -1 : When you delete the existing model and re-import again.
    case 2:
    When you publish the model locally, it will create the same copy of the record with different devl_project_id, creation_date, last update_date etc..\
    You can see that for published records the last_updat_login, checkout_user will be null and for the original model, last_update_login,checkout_user (if model is locked) will not be null.
    -Murali
    Edited by: 907569 on Jan 8, 2013 10:55 AM

  • Multiple alerts for the same Message ID

    Hi
    I have configured outbound ftp adapter. I have configured alerts inorder to capture any error in the adapter engine.
    Now,alert is triggered showing an error in the ftp adapter ( say incorrect ftp details). But i get multiple alerts for the same message ID several times. I have also set the parameter Max No od Delvs to 1 in the ALRTCATDEF transaction.
    I keep getting the same alert number of times a day. How can i restrict the number of alerts to 1 for 1 message ID.
    Regards,
    Vani

    Hello Andreas,
    Thanks for your reply.
    In my scenario i would need an alert per Message. That is the reason why I have not checked the option "Supress Multiple Alerts" since it would allow only alert per rule.
    Is there is any way we can get one alert per message.
    Also, after correcting the eror in the file adapter will the file which was not placed due to error in the adapter be placed automatically. I wanted to know what would happen to the lost file or unprocessed file since it dint reach the destination due to error.
    Regards,
    Vani

  • Multiple HighlightPainters for the same JEditorPane

    Hey Everyone,
    I'm having a problem having highligts of multiple colors for the same text component.
    Basically I have a set of results in a separate panel for a search on the text in a JEditorPane. I want the text corresponding to all the search results to be highlighted one color as soon as the search is done, and when one specific search result is clicked on, have the highlight for that result's text change to a different color.
    My current implementation is trying to do this by setting highlights for all the search results, and then when a result is clicked on, setting another highlight with another highlight painter of a different color. Unfortunately, this causes only the second higlight color to be displayed, even though when I look at the editorpane's highlights i can see all of them are being stored.
    Is there something I'm misunderstanding about Highlights?
    Thanks for any help,
    Phil.

    This example shows some ways of playing with attributes and highlights:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    public class TextPaneAttributes extends JFrame
         JTextPane textPane;
         JScrollPane scrollPane;
         Highlighter.HighlightPainter cyanPainter;
         Highlighter.HighlightPainter redPainter;
         public TextPaneAttributes()
              textPane = new JTextPane();
              textPane.setMargin( new Insets(20, 20, 20, 20) );
              StyledDocument doc = textPane.getStyledDocument();
              DefaultHighlighter highlighter = (DefaultHighlighter)textPane.getHighlighter();
              cyanPainter = new DefaultHighlighter.DefaultHighlightPainter( Color.cyan );
              redPainter = new DefaultHighlighter.DefaultHighlightPainter( Color.red );
              //  Set alignment to be centered for all paragraphs
              MutableAttributeSet standard = new SimpleAttributeSet();
              StyleConstants.setAlignment(standard, StyleConstants.ALIGN_CENTER);
              doc.setParagraphAttributes(0, 0, standard, true);
              //  Define a keyword attribute
              MutableAttributeSet keyWord = new SimpleAttributeSet();
              StyleConstants.setForeground(keyWord, Color.red);
              StyleConstants.setFontSize(keyWord, 24);
              StyleConstants.setStrikeThrough(keyWord, true);
              //  Define superscript attribute
              MutableAttributeSet superscript = new SimpleAttributeSet();
              StyleConstants.setSuperscript(superscript, true);
              //  Add initial text
              textPane.setText( "one\ntwo\nthree \nfour\nfive\nsix\nseven\neight\n" );
              //  Change attributes on some keywords
              doc.setCharacterAttributes(0, 3, keyWord, false);
              doc.setCharacterAttributes(20, 4, keyWord, false);
              //  Highlight some text
              try
                   textPane.getHighlighter().addHighlight( 4, 7, cyanPainter );
                   textPane.getHighlighter().addHighlight( 25, 28, cyanPainter );
                   textPane.getHighlighter().addHighlight( 35, 40, cyanPainter );
                   textPane.getHighlighter().addHighlight( 15, 20, redPainter );
              catch(BadLocationException ble) {}
              //  Add some text
              try
                   doc.insertString(0, "Start of text\n", null );
                   doc.insertString(doc.getLength(), "End of text\n", keyWord );
                   doc.insertString(doc.getLength(), "2", null );
                   doc.insertString(doc.getLength(), "1", superscript );
              catch(Exception e) {}
              //  Add text pane to frame
              scrollPane = new JScrollPane( textPane );
              scrollPane.setPreferredSize( new Dimension( 200, 200 ) );
    //          scrollPane.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
              getContentPane().add( scrollPane );
              //  Create a Button panel
              JPanel buttons = new JPanel();
              getContentPane().add(buttons, BorderLayout.SOUTH);
              //  Add a Bold button
              JButton bold = new JButton( new StyledEditorKit.BoldAction() );
              buttons.add( bold );
              //  Add Right Alignment button
              JButton right = new JButton( new StyledEditorKit.AlignmentAction("Align Right", StyleConstants.ALIGN_RIGHT) );
              buttons.add( right );
              //  Add Remove Highlight button
              JButton remove = new JButton("Remove Highlight");
              buttons.add( remove );
              remove.addActionListener( new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        int offset = textPane.getSelectionStart();
                        Highlighter.Highlight[] highlights = textPane.getHighlighter().getHighlights();
                        for (int i = 0; i < highlights.length; i++)
                             Highlighter.Highlight h = highlights;
                             DefaultHighlighter.DefaultHighlightPainter thePainter =
                                  (DefaultHighlighter.DefaultHighlightPainter)h.getPainter();
                             if (offset >= h.getStartOffset()
                             && offset <= h.getEndOffset())
                                  textPane.getHighlighter().removeHighlight(h);
         public static void main(String[] args)
              TextPaneAttributes frame = new TextPaneAttributes();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible(true);

  • Multiple Faces for the same person

    I found this unanswered archived post, which is expressing exactly the same problem I'm having...
    http://discussions.apple.com/thread.jspa?threadID=2099862
    When tagging photos there are multiple entries for the same person listed. In particular for three people (my kids) who have a lot of photos for each person. On the Cork board there is only one entry per person, so this is not a multiple face entry there.
    I was living with this for a while, but now I have my iPhone and can sync faces photos with it, I can see again there are multiple entries listed for these three people, yet there's nothing I can do in iPhoto to consolidate them.
    Has anyone else come across this (like the person in the above thread - which didn't get answered) and found a solution to fix up iPhoto? Clearly it's something odd going on in the Faces database thinking there are different entries tagged, but is still showing them together in the Cork Board.

    I would like to know how you got the multiple entries to appear. I'm having the same problem with my daughter. The only issue is, she is two and does not have any address book entries. I think I may have typed her name out several times when adding her name to a face instead of associating the photo with the existing entry. iPhoto recognizes they are the same places in some places, but not in others. I started a new post...
    http://discussions.apple.com/thread.jspa?threadID=2319735&tstart=0

  • Multiple Partners for the same customer in Message tracking of SEEBURGER

    Hi,
    This is for third party customers which use EDI messages. We have for one customer multiple partner numbers configured in Partner profile. I would like to know while configuring the trading partners in SEEBURGER Message Tracking, can we have multiple keys for the same customer for multiple partners for an INVOIC02. Like the following keys:
    12345_INVOIC02
    34567_INVOIC02
    45678_INVOIC02

    Hi Satya,
    you can define for a vendor/customer several partner functions with different        
    adresses. You can create certain partner roles several times.               
    If you create a purchase order, than you can choose the wanted              
    address and partnerrole on the header level. In the standard system you     
    can use the patner role 'OA' ordering address and for the finance           
    the 'IP' Invoice presented by.
    I hope I was able to help you.
    Kind regards,
    Zsuzsanna

Maybe you are looking for

  • Password requiere on HP LaserJet M1536dnf MFP

    Hello  My name is Ciprian and i am from romania. I have a  HP LaserJet M1536dnf MFP and i want to make a change to the next settings: Device Configuration                                              Copy Optimize: Picture Light/Dark: <-----*-----> P

  • HP 3520 not printing black ink

    My HP deskjet 3520 is not printing black even though the cartridge is brand new.  I've tried the clean printhead tool, plugging printer and turning back on, re-seating the cartridge, checked the vent, did a partial reset of the printer, reinstalled d

  • Itunes in Asian language - not English

    I upgraded to itunes8 and now there is no words, just boxes (except itune words such as podcast etc) and if I go into the help section, it is all in an Asian language. I have uninstalled, reinstalled old and new versions and seem to come up with the

  • Job finished successfully but Spool not generated(no spool icon)

    I am generating a report which . When the program in scheduled, the job completed successfully but spool icon is not available. Could any one suggest us the reason why spool has not generated. Thanks in advance!

  • OBIEE 11G Splitting Catalog between Analytics and BI Publisher

    Hi, How to split and have seperate catalogs between Analytics and BI Publisher? Thanks for your time and help.