InitialContext: How, exactly, does a server application create one

I'd appreciate somebody clarifying as to how exactly does a server application (specifically,
weblogic) get the default InitialContext(). One can write a new application and "drop"
it into an already running instance of weblogic server. This application should be
able to get the right InitialContext by using the IntialContext(). Is the PROVIDER_URL
set in the JVM by whatever class starts the application going, or does it use "localhost"
and default port - in which case what if there are more than one servers running
on a machine?
Thanks

new InitialContext() gets initial context factory class name from the
Context.INITIAL_CONTEXT_FACTORY System property (which is set by WebLogic to
'weblogic.jndi.WLInitialContextFactory' when it starts) and PROVIDER_URL is null,
which I guess for WebLogic implementation means local JVM.
You can take a look at the javax.naming.InitialContext JavaDoc to see where it gets
it's parameters from:
http://java.sun.com/j2se/1.4/docs/api/javax/naming/InitialContext.html
Satish Gupta <[email protected]> wrote:
I'd appreciate somebody clarifying as to how exactly does a server application (specifically,
weblogic) get the default InitialContext(). One can write a new application and "drop"
it into an already running instance of weblogic server. This application should be
able to get the right InitialContext by using the IntialContext(). Is the PROVIDER_URL
set in the JVM by whatever class starts the application going, or does it use "localhost"
and default port - in which case what if there are more than one servers running
on a machine?
Thanks--
Dimitri

Similar Messages

  • How exactly does the new iCloud accessing feature work?

    I have heard that the new firmware allows access to any hard drives connected to an AirPort through iCloud.
    How exactly does this feature work? Will the files be accessible on the web? Will I be able to mount the hard drive remotely if my computer is logged in with the same iCloud account?
    Please clarify, as I am considering buying now.

    The "magic" behind iCloud for accessing either your AirPort Extreme/Time Capsule or your Mac from the Internet is Back to My Mac (BtMM). For reference, iCloud replaced MobileMe.
    Here are a few links for more details around BtMM:
    Back to My Mac User Guide
    Apple Support Article

  • How exactly does flex decide if the dataprovider in a lineseries has missing data.

    How exactly does flex decide if the dataprovider in a
    lineseries has missing data? It seems like a fairly abitary
    concept.

    "nikos101" <[email protected]> wrote in
    message
    news:gidae1$k00$[email protected]..
    > How exactly does flex decide if the dataprovider in a
    lineseries has
    > missing data? It seems like a fairly abitary concept.
    If there's an object in the collection that doesn't have the
    associated
    data, I would think.

  • I am new to pages and want to know how to link elements together to create one unified element that I can then duplicate several times on the same page?

    I am new to pages and want to know how to link elements together to create one unified element that I can then duplicate several times on the same page?

    I think you are talking about grouping objects.
    1. They must all be floating objects
    2. Command click on each in turn
    Menu > Arrange > Group
    Peter

  • How long does it take to create a recovery disc?

    Hi!!!
    I have just bought a Toshiba Portege T110.
    I tried the first time round and cancelled at disc 4 bec i was out of writeable disc.
    Today i am on my 2nd try.  I have mgt disc 1-3.  When at disc 4~~it says is creating Windon Recovery Environment (64bit) and recording.  But the progress bar has been hanging there for the abt 1-2hrs and still not done yet~~
    I tried to cancel the program, but it says is recording and advise me not to cancel as it will take a long time.
    Can some kind soul advise if this is normal?  How long does it takes?  If not, what could be the problem?
    Thank you in advance!!!

    Hi all~~
    i have the answer to my question alrdy~~
    i accidentatly canceled the copying after waiting over 2 hr on disc 4~~
    I restarted the process this morning~~~as i have alrdy done disc 1-3~~i am able to start at disc 4 straight away!!!
    Disc 4 took less then 10 mins to complete. 
    So guys~~ the whole process from disc 1 to 4 takes less than 1 hr.
    All the best to you guys!!
    And Merry Christmas!!

  • How to call webservice server application in jsp

    Hi Friends
    I followed this link http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html and run the server and client web service application successfully. How to call the Webservice server application in JSP instead of using client (java main method) java appliaction. Is there any tutorial or code for accessing the webservice server application in jsp.
    Thanks and Regards
    Sherin Pooja

    797526 wrote:
    Hi
    I feel that JSP is just a view page.Not a feeling, it actually is :)
    So it is not good practise to write the scriplet code in JSP page. Absolutely right.
    Is there any other way to call the webservice server application in my client(JSP) page?
    What is it that you want to do? If despite all you have said, you still wish to call the webservice from a jsp, read my response above.
    You would do well to rephrase your question if there's something else that you are asking.
    ram.
    Edited by: ramp on Dec 27, 2010 12:35 PM

  • How to cummulate sales orders for creating one planned order.

    Hello friends,
    My scenario is make to stock. I use sales orders for creating plan only. I want to cummulate all sales orders of one finish material and create one planned order  for that material when i run mrp. How can i do this?
    Thanks

    Kiran,
    What is the planning strategy you are using?
    Does all the sales order requirment same? If it is same then it is possible. Please explain more in details. If not you need to look at using some perodic lotsize procedure to combine requirments. Like "Daily", Weekly" "Month" etc..
    Regards,
    Prasobh

  • How can I install an Application on one of my other Hard Drives?

    I would like to know how I can install Applications on one of my other hard drives. I find that when I go to install an Application, the main hard drive shows up allowing me to install it. The other hard drives show as unable to install Application. What am I missing? Thanks.

    A system is what is missing as the installer looks for a valid folder, and may need to install support files in /Library as well.

  • How exactly does the shotlist feature work?

    I have finished my script and would now like to create a shotlist. I have noticed in the film script mode, the possibility to add a SHOT. however when I do this it wants to change the formatting of the entire script. I am not sure what is going on here. Does anyone already know how this feature works?
    Any help would be greatly appreciated.
    cheers
    Angus

    > Bavo.
    >
    > Would supporting versioning be enough to handle your production
    > workflow issue? We can implement locked pages, locked scene, colored
    > pages, etc but I'm not sure if it’s a must have considering that folks
    > are freewheeling more than in the past.
    That might be the case but there are still plenty of 'traditional' workflows,
    so if you need to conform to their way of working you'll need it.
    For me it's a mix between freewheeling (can also end in a really big mess) and
    more controlled traditional way of doing things (usually when money/time
    situation is a little easier and depending on production company).
    So maybe a feature for 2.0?
    > Thanks for sharing the shotlist information:
    No thanks.
    > I've seen the vertical lines. they make the script really hard to read
    > and I also think it is really a paper based workflow more than a
    > digital workflow. However, have you seen a lot of editors use a
    > physical script marked up this way?
    Avid has the workflow, don't know how many really use it in that integrated
    way but I do know on long form projects the editor usually asks for the
    continuity notes.
    > Wouldn't it be better if this
    > information flowed through digitally with the files captured from
    > camera, at the time of logging at the end of the day's shoot?
    Yes in an ideal situation.
    However, how does it work when a tool like On Location is not available?
    In that case I still like the lined script metaphor...
    If it's too cluttered could you not implement a feature to optionally turn
    on/off the lines once you constructed the shot list?
    I'm also referring to prep when a director does a shot list before the
    shoot (not merely the lining traditionally done by the continuity supervisor).
    I also realize that the lining method only works when your script is more
    or less finished (there we go again)... So flexibility is the key :-).
    > The BBC uses horizontal cut lines instead of the vertical lines used by
    > scripty's. They serve the same purpose and these shots (demarcated by
    > cut lines) can be exported to create a shot list and camera cards for
    > each camera person.
    Nice if it works for them. 
    I've also seen this used where the wide shots were laid out at the bottom
    and the closer shots near the top and that was supposed to correspond to
    the emotional high points in the story.  Whatever works.
    > You can try exporting the shot list from Story using the production-
    > breakdown reports menu. Let us know how it works for you.
    Will test.

  • How long does it take to create material master data from PO lines?

    Hi ,
    I was wondering if I could use an expert's opinion on the time and effort (FTEs) that goes into cleaning 50,000 PO lines that contain item descriptions to create a clean item master and a (basic) catalog.
    The idea is:
    To remove duplicates, invalid, non recurring/ redudant items
    To create categories and sub categories (Standard - no coding)
    Is there any defined tool and process-steps, not only for SAP but in general? Do consultants do this manually (with Excel spreadsheets) or some other means.
    Any references will be very useful.
    Thanks and regards.

    could be any time from a day to some months, just depends how big the mess is and how detailed the wishlist is and how well you want become.
    Most consultants will do this probably with Excel as they are used to it.
    Mixed tools can speed the process up if the people are used to those tools, or slow it down if they are not and need training before they can start.
    Is it really only the description which will finally be different for some thousand materials that finally need to be created?
    I would start with TAANA transaction, this would give me already an aggregated view on the items, as it can be used to group and count the items by description (and other parameters such as year) so it is  down in seconds  to the number of variations. Means the duplicates are eliminated.
    Then you identify the one-time buys from previous years and remove them from the list (the output of TAANA can be worked on with Excel inplace)
    Now starts the hard work to remove the garbage. This is usually a manual work, looking for typos which made this different from the same item with the correct description. And even identifying duplicates that are totally different written "Elbow - stainless steel" and "Stainless steel elbow" and far apart from each other in your list.
    For this I use Excel with the Fuzzy Lookup Add-in
    Watch some videos on youtube to see how it works, it's great.
    And finally you load the materials with LSMW. If you are experienced with SAP material masters then you know which fields this materials need, they all could be defined as constants and your input file could only have the description, if that is really the only difference, which I actually don't believe. There might be differences in material group, in the unit of measure and usually in the purchasing group too (probably even more fields). And exact those differences in the other fields have to be considered in the cleanup too.
    So, just technically eliminating duplicates and the worst garbage and all the one-time buys and finally load uniformed NLAG materials with just different descriptions could be done in a day. But the experience tells me that this can quickly evolve to a bigger long term project with harmonizing the way how the description will be written, harmonizing units and material groups.

  • How exactly does this work? (Java 2D)

    http://www.dgp.toronto.edu/~mjmcguff/learn/java/01-drawingLines/It draws green lines... I know where it starts drawing them at but I don't get how it's doing it...
        import java.applet.*;
        import java.awt.*;
        // The applet's class name must be identical to the filename.
        public class DrawingLines extends Applet {
           // Declare two variables of type "int" (integer).
           int width, height;
           // This gets executed when the applet starts.
           public void init() {
              // Store the height and width of the applet for future reference.
              width = getSize().width;
              height = getSize().height;
              // Make the default background color black.
              setBackground( Color.black );
           // This gets executed whenever the applet is asked to redraw itself.
           public void paint( Graphics g ) {
              // Set the current drawing color to green.
              g.setColor( Color.green );
              // Draw ten lines using a loop.
              // We declare a temporary variable, i, of type "int".
              // Note that "++i" is simply shorthand for "i=i+1"
              for ( int i = 0; i < 10; ++i ) {
                 // The "drawLine" routine requires 4 numbers:
                 // the x and y coordinates of the starting point,
                 // and the x and y coordinates of the ending point,
                 // in that order.  Note that the cartesian plane,
                 // in this case, is upside down (as it often is
                 // in 2D graphics programming): the origin is at the
                 // upper left corner, the x-axis increases to the right,
                 // and the y-axis increases downward.
                 g.drawLine( width, height, i * width / 10, 0 );
        }the g.drawLine(width, height, i * width / 10, 0);width/height is the location... So now the i * width / 10. Every time the i increments a new 'sum' for this is created and it draws itself a new line? then the 0... what is that doing just a filler?

    The last 0 means the "y" position of zero, i.e., the top of the screen, the i * width / 10 is a 1/10th slice of the width of the applet, so each time i increments the x ending position will move 1/10 th of the applet's width over. Yes, you should study the API. This prog is even better (try running both and resizing both):
    import java.applet.*;
    import java.awt.*;
    public class DrawingLines extends Applet
        int width, height;
        public void init()
            setBackground(Color.black);
        public void paint(Graphics g)
            width = getSize().width;
            height = getSize().height;
            g.setColor(Color.green);
            for (int i = 0; i < 10; ++i)
                g.drawLine(width, height, i * width / 10, 0);
    }Edited by: Encephalopathic on Mar 31, 2008 3:47 PM

  • How exactly does graph.performInference() work?

    So as far as I understand, if a rules index does not exist, calling this function will call a SEM_APIS.CREATE_ENTAILMENT using whatever info it gets from the attachment. I noticed however that when the rulebase specified by the attachment already exists (e.g. it is created manually via SEM_APIS.CREATE_ENTAILMENT in SQLPLUS) the the function will still run. What does it do in the latter case? Does it update the rules index like graph.commitTransaction() or does it do nothing?
    -Alexi

    Hi,
    Answer to 1) is yes.
    For your second question, "Is there a way to do something like graph.performInference() via the SEM_APIS? Or do I have to call SEM_APIS.CREATE_ENTILMENT every time I add/delete a triple from the model?"
    SEM_APIS.create_entailment is the API you want to call from SQL to run inference. Whether you need to call that API every time you add/delete a triple
    is application dependent. You may want to run create_entailment periodically. Note that, Oracle Database release 11.2 has a cool feature called incremental inference maintenance. It can efficiently update the inference closure after a few triples are added. Please see the user manual for details.
    Hope it helps,
    Zhe Wu

  • How exactly does the soft-knee work?

    How to calculate soft-knee time/ratio? How do I know exactly how early and with what intensity the soft-knee is compressing the signal before it reaches the threshold in relation to the ratio and threshold value. By this I mean is there a mathematical formula that says: "a threshold of -__dB with a soft-knee setting at __ compresses a signal __dB below the threshold with a __:1 ratio __ms before the threshold"?

    The knee determines how a certain change in dB of the input will translate to a certain change in dB of the output.
    Think of it this way: You have a graph of output level vs input level. If the graph is a straight line with a slope of 1 then an increase of 1dB in the input will result in an increase in 1 db of the output. In other words - no compression is happening. This is what happens below the Threshold
    If the slope of the line is less then 1 (let's say it's 0.5) then a change in 1dB of the input signal results in only 0.5 dB increase in the output signal. That's a compression ratio of 2 to 1 or 1 to 2 depending on how you look at it. This is what happens above the threshold.
    Now for the knee: If the compressor is a hard knee compressor then the transition from the line with a slope of 1 to the line with a slope of 0.5 is abrupt and occurs at the threshold. Immediately below the threshold there is no compression, it's 1to1 - input to output. Immediately above the threshold it's 2to1 - input to output.
    If the compressor is a softknee comp then the transition from no compression to full compression is gradual. The line doesn't change slope instantly but is instead "rounded." The threshold, although, still dialed in as an exact value, becomes more of a range during which compression sets in.
    Many famous compressors (LA's included) don't offer control over this knee parameter. It's hardwired into the device as either soft or hard. Of course software compressors usually offer control over the knee.
    As for the LA-type clones - well I've never thought about selling one since doing so would, I'm sure, would cause Universal Audio to take legal action against me. Detailed parts lists and schematics are available free on the web for anyone who wants to try building one. Start here
    http://www.conditionedresponse.com/DIY/LA2/index.html
    The hardest thing is ordering all the parts - if you like soldering, that is.

  • Dual Processors -- How Exactly Does Logic Use Them?

    I've searched this forum but haven't found any definitive, exacting information that would answer this question: How does Logic utilize both processors of a Dual Processor G5?
    Real information -- not guesses -- would be really appreciated. Thanks.

    Rohan, thanks for your detailed reply.
    Actually, I hadn't surmised anything about how the dual processor architecture was implemented, except for the one idea that, perhaps, the second processor would be used to accellerate screen graphic drawing while the first one ("primary processor"??) dealt with audio matters. But I have the feeling this ain't happenin'.
    I haven't yet put Logic through any serious paces yet with my new G5/Logic system, so I've yet to see the System Performance meter read on anything but the left side of the Audio Meter.
    But back to the graphics drawing situation, compared to my G4 dual 450 (with dual head Radeon graphics accellerator card) running an older version of Logic, the response of Logic 7 running on my new "whoop-tee-doo" G5 dual 2.7 is deathly slow in certain respects...
    For example, I recorded 8 simultaneous audio tracks. When I hit stop, the spinning pizza wheeled about for at least 30 seconds before rendering the waveform display for each track. And while the pizza is spinning, you're locked out of performing other operations. But on my G4, I could record audio and immediately start doing other things while the waveforms rendered.
    Enough whining for now...
    Tommy, exactly. It's nice to know how your tools work. When buying a computer or software, I don't think that anything concerning their operation should be left unexplained. But that's a lamentation for another day. In the meantime, it's great that this forum exists so Logic users can help each other out.

  • How exactly does the memory in Labview Fpga work

    I am using a PXI 7853 and I for the past few days I have been playing around with using Memory blocks in the FPGA .
    Now I am relatively new to Labview FPGA programming and hence I would be grateful if someone could provide me with clarifications on teh following :
    a) Since I am working on the development host computer when I initialize the Memory with the option of using a Memory initialization VI then how does it exactly happen in the backend .What I mean to ask is , when i change values of memory in the development computer and then compile the FPGA VI into the board ,is it that the Memory information is ported into the FPGA .If this is the case then in what form are the details initially saved in the development computer .
    b) Is it possible for me to use the initialization VI method to change the valuesi n memory while the FPGA VI is running .If not ,then would it make a difference if I stop the VI and then change the values using initialization method .Would that actually reflect on the FPGA or should I have to re compile the FPGA VI every time I change the memory values in the development computer using the 'Initialization VI method ( that is available as an option when we right click on the memory block in the project explorer window )
    I tried testing with simulation for FPGA VI and found that when i try to change the memory values by running the initialization VI . a pop up comes that says that it is not possible as the FPGA VI is still in use .
    Any light on this or guidance with links would be highly appreciated 
    Cheers 
    sbkr
    Solved!
    Go to Solution.

    sbkr wrote:
    a) Since I am working on the development host computer when I initialize the Memory with the option of using a Memory initialization VI then how does it exactly happen in the backend .What I mean to ask is , when i change values of memory in the development computer and then compile the FPGA VI into the board ,is it that the Memory information is ported into the FPGA .If this is the case then in what form are the details initially saved in the development computer .
    When you compile the FPGA VI, it will include the values used to initialize the memory.
    Are you asking what happens if you run the FPGA VI on your development computer, and your FPGA VI writes to the memory block, will the new values be included when you compile the FPGA VI? No, those values will be lost. The values that are included in the bitfile are the values that you used to initialize the memory block, as defined in the memory properties dialog box. The initial values are saved in the LabVIEW project file along with the memory block definition.
    sbkr wrote:
    b) Is it possible for me to use the initialization VI method to change the valuesi n memory while the FPGA VI is running .If not ,then would it make a difference if I stop the VI and then change the values using initialization method .Would that actually reflect on the FPGA or should I have to re compile the FPGA VI every time I change the memory values in the development computer using the 'Initialization VI method ( that is available as an option when we right click on the memory block in the project explorer window )
    You need to recompile the FPGA in order to use new initialization values, because those values are part of the FPGA bitfile.

Maybe you are looking for

  • No Longer Quiet since 10.4.8

    I was fine after the firmware update, but with 10.4.8 update yesterday I now have constant fan noise vs CPU whine. REALLY annoying. Anyone have suggestions?

  • Named Queries and Finders

    Hi, I would like to know if is there a way (in JDev 10.1.3 or in standalone TopLink Workbench) to generate, during mapping, automatic Named Queries that are finders for the table. In example if I have a table with id, name, surname I would like to ha

  • E7 sent folder is empty

    Has anyone experiencing such an issue whereby their pop/imap sent mail folder is empty dispite having sent numerous emails out ? any solutions out there ?

  • Firefox will disable my HP L7680( error message " turn power off then on again") when using either the printer icon or print in file pull down. .

    This happens for em & other print request in my online brokerage account. It has no problem printing PDF files. When the message appears, four lights start blinking at the same time on the auto answer button, on off button, lower SD slot, and the lig

  • Little help on Network Settings

    Can someone help me understand the real differences between Reset All Settings and Reset Network Settings under Settings > General > Reset? I read the User's Guide but it did not give much detail. Any examples on why I would reset either of the above