HttpSession and Model Controller

I have login information in a httpsession. How i can pass this value to model controller from my uix page/data action?. I use custom dml operations (doDML/doSelect).
IDE Jdev 9.0.5 - DB Oracle 9i

Ramon,
In my situation; I am implementing the Dynamic JDBC Credentials that require subclassing the HttpSessionCookieImpl. See if the following helps....
I created an instance variable in the class that overrides the HttpSessionCookieImpl. Then in the second constructor:
public DynamicJDBCHttpSessionCookieImpl(java.lang.String applicationId,         // line 2                               java.lang.String sessionId,                               ApplicationPool pool,                               java.security.Principal userPrincipal,                               javax.servlet.http.HttpServletRequest request)   {    super(applicationId, sessionId, pool, userPrincipal, request);
classVar = request.getSession();  }, I pull the HttpSession from the request and store it to the class variable. I now have a handle to the instantiated session from anywhere in the model during that user's session.
--Connie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • G3 Modem and ATA Controller Card

    I am upgrading a B&W G3 350 MHz Yosemite running Tiger for some friends. They use dial-up (pooh) and the B&W did not ship with an internal modem. I found an Apple OEM on welovemacs.com for $60 ($10 more than the Apple USB). I am not sure which route to go (internal or USB). I am in a timed situation, so I am also considering a PCI modem. Any suggestions on the PCI modem (brand and model)? I know Tiger will not support some PCI modems.
    Also, the G3 will not support larger HDDs. It currently has a 40 Gig drive in it. I tried installing an 80 Gig, but the ATA controller chip (Rev 1 logic board) did not recognize it. Any suggestions on a PCI based ATA controller card (brand and model)? Also, do these ATA controller cards usually ship with the power and data cables, or do I need to buy them separately? If so, any suggestions on which ones to buy and where?
    I would appreciate any help as quickly as possible.
    Thanks,
    Thomas

    Grant,
    "Only when you start to use them do you begin to notice more than a casual amount of crashes, lock-ups, and eventually, data corruption. An 80 GB hard drive should be recognized immediately if it is correctly cabled and the straps are set correctly. Both 80 GB and 40 GB drives may be encountering corruption problems on the built-in controller."
    The 40 GB drive has been in this machine for at least 4 years. It was originally my machine given me by a Mac Genius buddy. I used it for over a year before I bought my G4. I then loaned the B&W to my cousin who used it for over 2 years before HE bought a G4 and returned the G3 to me.
    When I installed the 80 Gig drive (which already had 10.3 installed), the machine would not boot from it. I booted from the Tiger install DVD and tried to install Tiger. The installation got all the way to the end, then the installation seemed to stop. I left the machine sit for about an hour, then heard the boot tone of the machine re-starting. It never booted, though. I got the gray Apple screen and could actually hear the "Welcome to Tiger" music coming from the speaker, but the gray Apple screen never went away.
    I tried re-jumpering the drive, thinking I had gotten the jumper opposite of what it should be, but that didn't do any good either. I tried putting the drive in my Granite Digital external Firewire HDD casing, but the drive would never mount on my G4. So, I re-re-jumpered the drive back to the way I originally had it jumpered. It mounted on my G4 just fine at that point. So, I then installed Tiger via the external Firewire casing using my G4 tower. Tiger installed successfully, and I put the HDD back into the G3, but it STILL would not boot. It would never get past the gray Apple screen, or the machine would kernel panic if it did.
    So finally, in desparation, I put the old 40 Gig that was in the machine when my cousin shipped it back to me, back into the G3 and it booted from it just fine. I later did a clean install of Tiger, and the machine still boots fine.
    So, as you can see, it really seems that the ATA controller chip does not like the 80 Gig drive.
    "Why not broaden your options with an external modem?"
    I may indeed decide to go with the Apple external USB, but was told by a Specialist at the Apple Store that the new Apple USB modem might not work with the G3. My friend, whose parents I am setting the G3 up for, owns a MacBook Pro, so he can use the Apple USB if it does not work with the G3 and when and if his parents get broadband.
    I still would like to know if a PCI based modem will work with the the G3. I found a post on this board late last night (after I posted this thread) where a user had a question similar to mine. He/she was trying to swap a PCI modem between a PC and a B&W. Whoever responded to the post stated that the B&W will not support ANY PCI based modems. It will only support the OEM Apple modem that plugs into the logic board near the USB and Firewire ports or an external USB modem (similar to, but not specifially the Apple USB modem).
    Thanks,
    Thomas

  • Unable to install lan realtek rtl8101 and network controller driver on windows server 2008

    Hi Guys,
    i am trying to install realtek rtl 8101 f amily driver and network controller driver on windows server 2008 but unable to install.
    Hp device Model.:- hp pavilion g4 1303au
    Model no.:- 5c03213jsh
    network controller Device ID: PCI\VEN_168C&DEV_0032&SUBSYS_1785103C&REV_01\4&211965BF&0&0020
    Name: PCI Device
    Device ID: PCI\VEN_10EC&DEV_5209&SUBSYS_3564103C&REV_01\4&34BC5A71&0&0030
    Name: SM Bus Controller
    Device ID: PCI\VEN_1022&DEV_780B&SUBSYS_3564103C&REV_13\3&2411E6FE&0&A0
    thanks,
    Amit Rai

    Hi:
    SMBus controller:
    Here is what I have done...I have zipped up and attached below under Attachments, the raw smbus controller driver files for you to unzip and manually install. 
    Download and unzip the file.
    Go to the device manager and click on the smbus controller needing drivers.  Click on the driver tab.  Click on Update Driver.
    Select the Browse my computer for driver software option and browse to the driver folder that you unzipped.
    Make sure the Include Subfolders box is checked and the driver should install.  Then reboot.
    Ethernet:  Download and install the 1st driver on the list.
    http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=7&Level=5&Conn=4&DownTy...
    Card reader (PCI dev.):  Download and install the first driver on the list.
    http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=15&PFid=25&Level=4&Conn=3&DownT...
    Wireless:  You will have to try the Vista driver for the Atheros wireless card...
    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5060882&sp...
    Attachments:
    sp66185.zip ‏7 KB

  • PCI Device and Network Controller uninstalle​d

    Having problems with downloading a pci device and network controller driver for presario cq57? Need help. my hardware id is PCI\VEN_10EC&DEV_5209&SUBSYS_3577103C&REV_01 

    Hi:
    You need to install the Realtek Card Reader driver from your notebook's support and driver page for the PCI device.
    Please  do the following so I can find out what model wireless card your model uses...
    Go to the device manager, find the Other Devices category, and click on the Network Controller needing drivers.
    Then click on the Details tab at the top of the network controller window.
    Now you see a Property drop down list and it is defaulted to Device Description.
    Drop down on that and select the second item on the list (Hardware ID's).
    Post the top string of characters that begin with PCI\VEN.

  • Model-Controller-View tutorial movies?

      
    In looking for Xcode tutorials I Googled with “Xcode tutorial movie.” As a result I came across this EXCELLENT set of movie tutorials on Apple's developer site. They cover: Core Data, Model-Controller-View, and Interface Builder:
        http://developer.apple.com/macosx/coredata.html
    ... but I’m that I need Core Data to effectively employ a Model-Controller-View design in my audio projects and music education projects.
    Does anybody know of similar quality (movie) tutorials that focus primarily on Model-Controller-View and Interface Builder with Xcode projects? I think I just need a few simple examples that demonstrate instantiating controller objects, setting key bindings and outlets. Any suggestions?
    Also encountered an interesting example at:
        http://macromates.com/screencast/introto_tmdialog.mov
    Looking for something of this ilk that shows an enlightened approach to constructing a project.
    Thanks!
    John

    Understanding ADF's architecture is an essential step to understanding how to use it with Oracle BPM.
    I added a new blog post (http://www.avioconsulting.com/blog/datwood/2012/11/26/oracle-bpm-and-oracle-application-development-framework-adf) that describes the different layers of ADF's architecture and how they tie to Oracle BPM.
    Hope this helps,
    Dan

  • Tell me the driver for audio for series c500 and model c505tu

    Tell me the driver for audio for series c500 and model c505tu

    Hi: I already gave you the driver above for the PCI simple comms controller. Here is the driver you need for the wireless card... This package contains the Broadcom Wireless LAN Drivers that are required to enable the integrated Broadcom Wireless LAN Adapter in supported notebook models that are running a supported operating system. File name: sp48591.exe You will also need this bluetooth driver for that model wireless card... This package contains software and a driver to support the Broadcom 2070 Bluetooth for supported notebook models that are running a supported operating system. The Broadcom 2070 Bluetooth Driver works together with the Broadcom WLAN Driver that supports the NIC in your notebook to enable Bluetooth connections. This package also provides additional Bluetooth Profiles. File name: sp50180.exe

  • T42 Ethernet and Network controller problems

    I am fairly new to computers and obtained a T42 for my grandson. Please bear with me as I am rather Techno challenged and battled now for 2 days getting internet connection. Had to do a clean XP SP2 installation and landed up with a host of Other devices issues with Yellow Question marks. Have downloaded most drivers from http://support.lenovo.com/en_US/downloads with various success. Need serious help here please.
    In Device manager I am sitting with two unresolved issues under Other Devices
    Ethernet Controller PCI\VEN_14E4&DEV_167D&SUBSYS_05771014&REV11\4&111A1FD8&0&00E0
    AND
    Network Controller PCI\VEN_8086&DEV_4224&SUSYS_1011808&REV_05\4&AD1B67F&0&10F0
     I have downloaded various drivers but still cannot get them to work. Not sure which of the drivers to use.
    In another forum somebody replied
    The Intel PRO/1000 is an ethernet controller. Once you get that installed and establish a network connection, you can download and install MS dotnetfx and Lenovo System Update which will download and install all the other drivers automatically. Or just download them yourself and manually install them.
    Not very helpful as I could not figure ou thow to install as the drivers that I downloaded did not fix this and no further help from them when I questioned this
    Please if someone here will give us some step by step directions. The model is 2373-L77 if that will help
    Solved!
    Go to Solution.

    raycomp schrieb:.
    Ethernet Controller PCI\VEN_14E4&DEV_167D&SUBSYS_05771014&REV11\4&111A1FD8&0&00E0
    AND
    Network Controller PCI\VEN_8086&DEV_4224&SUSYS_1011808&REV_05\4&AD1B67F&0&10F0
     I have downloaded various drivers but still cannot get them to work. Not sure which of the drivers to use.
    Checked the "DEV_" # on www.pcidatabase.com
    upper: Broadcom NetXtreme Gigabit Ethernet driver (it seems, you have a T43-System Board in your T42 or you have a T43).
    lower: 802.11a/b/g WLan adapter driver (Intel 2915 Wireless LAN adapter)
    Please find the installation instructions on the linked pages. Executing the downloaded packages extracts them only to C:\DRIVERS\WIN\xxx.
    Starting there you'll need to execute the setup as described on the download page.
    My home-forum: http://www.thinkpad-forum.de
    Wiki: Deutsches ThinkPad-Wiki English ThinkWiki
    My ThinkPad-Collection

  • PCI devices and network controller

    Hi there can anybody tell on hoe to install the PCI device driver and the network controller please as these two devices is marked with an ? in the devices managers windows
    Thanks

    Subject: Re: PCI devices and network controller (Satellite SM 30 X-165)
    Good morning
    I have a problem i bougt a laptop in china but to translate it thay reprogramed everything and my modem was desinstaled, i dont exactly know which model it is, its a toshiba satellite and the mothem comes whit a ? (yellow question marc) and the name it apears is modem PCI
    could you help me
    Message was edited by: andres_pedroza

  • Invalidate concept for value node and model node

    Hello everybody,
    We have invalidate method for value node and model node.
    I want to know basic concept behind this method.
    What this method acually does?
    Regards,
    Bhavik

    Hi Pran and all,
    I figured out the problem. Input parameters are going multple times. So, depending upon that it gives multiple values.
    My scenario is:
    Root Node
    |_ Input_node1
         |_Attr1
    |_ Input_Node2
         |_Attr2
    |_Output_node
         |_Result
    I am passing values in Attr1 and Attr2 attributes.
    For this, first of all, i wrote following code.
    In controller, i have initialized Root node:
    Root_Node model = new Root_Node();
    wdcontext.nodeRoot_Node().bind(model);
    In view, I set values for attr1 and attr2 using following code:
    Ipublic<View>.IInput_node1Element ele = wdcontext.createInput_node1Element();
    ele.setAttr1("<value>");
    wdcontext.nodeInput_node1().addElement(ele);
    Ipublic<View>.IInput_node2Element ele1 = wdcontext.createInput_node2Element();
    ele1.setAttr2("<value>");
    wdcontext.nodeInput_node2().addElement(ele);
    But this code didnt work. Model was executed without data in this case.
    So, i thought that these elements were created at view level only. And corresponding model objects were not created.
    So, I have changed code like following way:
    I have removed initialization code for Input_Node1 and Input_Node2 from view. Now, I am getting input values in two different value nodes. And before calling custom controller's method to execute model, I am making two ArrayLists and filling data in it. Now, i am passing these ArrayList objects as parameters to controller's method.
    In this method, i am setting both values as follows:
    wdcontext.currentRoot_NodeElement().modelObject().setInput_Node1(List1); 
    wdcontext.currentRoot_NodeElement().modelObject().setInput_Node2(List2); 
    Then i am executing my model.
    But, When i am setting values for Input_Node1 and Input_Node2 as shown above, values are appended instead of overwritting the value. Because of this appended values, it gives mupltiple results.
    Means, Both ways are not proper. What should be the proper and best way to pass values in this case?
    Thanks,
    Bhavik

  • Significant Load Issues (CF8 and Model Glue 2)

    I'm running an enterprise-level application running CF8 and Model Glue 2 that has seen a recent spike in users.  Several hundred users are submitting complex forms at any one time, which then trigger e-mails.
    During our peaks, we're seeing the following error messages pour in:
    Either there are no methods with the specified method name and argument types, or the getUserID method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
    Has anybody run into these types of errors before.  I'd really appreciate your guidance.

    Sounds like you have an issue with the var scope.
    Model Glue controllers are singletons and this means one single instance of
    the controller is shared among all requests. While this is a great way to
    increase performance, it does mean you must be careful to use the ColdFusion
    var keyword properly.
    Since this is showing up under load, I am going to bet this is the issue. *Here
    is what you need to do:*
    Short Version:
       1. Download this: http://varscoper.riaforge.org/
       2. Run it against your application and fix everything it finds.
    Long Version:
       1. Read this:
       http://www.nodans.com/index.cfm/2007/9/27/Is-your-code-Thread-Safe-How-do-you-know
       2. Watch this:
       http://www.schierberl.com/blog/thread-safety-and-the-var-scope-live-example/
       3. Download this: http://varscoper.riaforge.org/
       4. Run it against your application and fix everything it finds.
    Dan Wilson

  • Difference between custom controller and component controller

    Hi All,
    I am a beginner in CRM SAP .
    Please can anyone tell me whats the difference between custom controller and component controller with some scenario.
    I am totally baffled.
    Thanks in advance.
    Regards
    Shilpi

    Hi Shilpi,
    The main difference between custom and component controller is the role which they play during data transfer.
    a) Custom controller is used for data transfer across two views within a component. For that you need to bind view context nodes to custom controller either through wizard or manually by adding the code in CTXT class create_contextnode method:
    initial setting for depandant model node
        coll_wrapper =
          BTADMINH->get_collection_wrapper( ).
        TRY.
            entity ?= coll_wrapper->get_current( ).
          CATCH cx_sy_move_cast_error.
        ENDTRY.
        IF entity IS BOUND.
          BTOpportH->on_new_focus(
                       focus_bo = entity ).
        ENDIF.
    b)Component controller is used for data transfer across two views in two different components. For this, we need to define the component usage first and then bind the context nodes in the method-WD_USAGE_INITIALIZE of the Component Controller impl class.
        WHEN 'ComponentUsageName'.
          iv_usage->bind_context_node(
                      iv_controller_type  = cl_bsp_wd_controller=>co_type_custom
                      iv_target_node_name = 'ContextNodeName'  "#EC NOTEXT
                      iv_node_2_bind      = 'ContextNodeName' ).  "#EC NOTEXT
    Hope this clears some of your doubts!
    Thanks and Regards,
    Rohit
    P.S-This is valid for CRM 2007.Raghu is also right because Interaction Center is made up of different different components combined together.You have put your question in wrong forum.

  • What is the difference between Custom controller and context controller?

    Hi Gurus,
    What is the difference between Custom and context controller?
    In which occasion we should prefer to use Custom Controller?
    Thanks in Advance,
    Dharani

    You mean difference between custom controller and component controller???
    if yes...
    its been discussed many times.... just go through these threads, you will be clear
    custom controller vs component controller
    Component Controller and Custom comtroller
    [ why we need Custom controllers in Model Applications |why we need Custom controllers in Model Applications;
    [CONTROLLER AND CONTEXT|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/944ea9e5-0601-0010-65b3-b49a56eb6385]
    Pradeep
    Edited by: pradeep bondla on Jul 22, 2008 12:42 PM

  • Problem with NEO2 and sata controller card

    1.Product Type: MSI K8N Neo2 Platinum (MS-7025)
    and the controller card is a InnoVision DM-8301 and the hard drive is a Seagate ST3320620AS
    2.BIOS version: The newest one, 1C0 or something.
    3.External VGA Type: Geforce 6800 GT
    4.CPU Type: AMD 64 3500+
    5.Memory Type: G Skill ZX 2048mb.
    6.Power Supply Type:
    7.Operating System: Xp Pro
    8.Problem Description:
    Hello. I have a strange problem with my controllercard. I wrote this text to InnoVision suport and they send me files and bios updates for a whole week and it was still the same problem. And then i tried the card in an older computer and everything worked fine.
    I wrote
    "Hello. I got some problems with my new controller card. I can find my new harddrive ,that's conected to the controller card, when iam inside windows and it's seems to be no problem. I can look on every seting on it and everywhere i look i can read "No problem". I Also did some test with the seatools programe and everything was fine. But when i schould copy files to it the coumputer start lagging after a few seconds and i cant do anything. After a while i can move the mouse around but the it laggs again. My computer is overclocked at the time but i have tried to use the harddrive when it's not clocked also. Also when im goin in to teh controlpanel and starts the setings for Sillicon Images sata controll and have music on my computer, the music laggs for a very very short moment. Something must be wrong and i can not find it."
    It's still the same problem in my computer. The older computer had a MSI moderboard with a VIA chip and i have a nForce 3. InnoVison said i should talk to you about this problem. I have 3 harddrives but i use this controllercard because i want to have my computer overclocked and then i can't use 2 of the sata ports as i think you know.
    I would be very thankful if you could help me with this problem.
    //Martin

    I've used a noname SATA pci card (non raid) with SIL3112 on my neo2 without problems with 1C bios.
    Think you may try with a disk lower than 48bitLBA need (137GB barrier), eg a 120GB disk
    Quote:
     have the InnoVision EIO DM-8301 and had alot of problems using it with WD 160MB SATA drive.
    I am using Intel 865 based MB with 2 original SATA channels. The original SATA channels are bootable.
    I could not used the EIO card with 160G HDD. The whole setup is working only after I connected oine of my 120G Segate SATA HDD to the EIO Sata card.
    I think this card do not properly support HDD above 120G.
    Please respond to: [email protected]
    http://www.devhardware.com/forums/storage-devices-80/sata-as-boot-20080-2.html
    Btw: you have xp sp2 ?
    48bitLBA is not enabled in the first version.
    http://www.48bitlba.com/winxp.htm
    Edit:
    Here's another with complete different setup and same problems
    http://forum.tweakxp.com/forum/Topic212148-4-1.aspx
    I doubt it has anything to do with your motherboard and/or bios.
    Btw: I looked at innovision and their drivers in download area are very old.
    Get the latest SIL3112 drivers for XP here:
    http://www.siliconimage.com/support/supportsearchresults.aspx?pid=63&cid=3&ctid=2&osid=4&
    And remember 3112 is sata150 only , so it's not sure it will work with your drive at all .
    Anyway it should be set to fixed sata1.5G with jumper - not certain the controller can autonegotiate
    without trouble. You cannot have command queing enabled either , disk support only NCQ and controller TCQ
    so having command queing set ON will cause major conflicts in data transfers.

  • Inventory report for the selection of requisitioner and MRP controller

    Hello Experts,
                           Can someone please help me with a standard  Inventory report in which we can give input thr requistioner and MRP controller
    regards,
    YK

    Hi,
    You will get the requisition no. from EKKO (provided PO has been created otherwise you won't get any record). Find out PO & item no. for the requisition item. Then you can check EKBE table whether GR has been posted or not. If GR has not been posted then there won't be entry in EKBE for that PO & item.
    Regards,
    Rakesh

  • Communication between : AP and WLAN controller

    Hi,
    The communication between AP and WLAN Controller is ( Data and Control ) UDP.
    Source port 1024 and destination port 12222 and 12223. Actually which device listen to which port or both should listen as control and data can be generated from both the devices.
    How does the user ( wireless client) traffic is switched - if user traffic is a TCP traffic. It will be sent to WLANC and then WLANC forwards it to respective VLAN or default gateway ( depending upon the destination in the packet ).
    Please explain / share the experience.
    any link on cisco.com
    Thanka in advance
    Subodh

    "the LWAPP Control and Data messages are encapsulated in UDP packets that are carried over the IP network. The only requirement is established IP connectivity between the access points and the WLC. The LWAPP tunnel uses the access point's IP address and the WLC's AP Manager interface IP address as endpoints. The AP Manager interface is explained in further detail in the
    implementation section. On the access point side, both LWAPP Control and Data messages use an ephemeral port that is derived from a hash of the access point MAC address as the UDP port. On the WLC side, LWAPP Data messages always use UDP port 12222. On the WLC side, LWAPP Control messages always use UDP port 12223.
    The mechanics and sequencing of Layer 3 LWAPP are similar to Layer 2 LWAPP except that the packets are carried in UDP packets instead of being encapsulated in Ethernet frames."
    Taken from "Cisco 440X Series Wireless LAN Controllers Deployment Guide"

Maybe you are looking for