Is there any way to pass in JVM tunable params to OC4J containers?Ex: -Xmx256 ...

Is there any way to pass in JVM tunable params to OC4J containers?
1. Switch to -server rather than -classic
2. Min/Max Memory configuration
3. pass in tunable GC params
Passing parameters to the JVM when executing dcmctl does not pass these variables to the exec-ed java process(OC4J Containers).
Any help is appreciated.
Thanks,
Vamsi Nukala

Hello
say I like to pass object I created in one page say :
MyObject obj = new MyObject("1","2","3");
via http params (supmit or post ) to other page . and
use it there can it be done ?No. You can however place them as attributes in scope (application/session/request) and retrieve these attributes in the next page.
example
in one page,
session.setAttribute("obj", obj);
in another page
MyObject obj = (MyObject)session.getAttribute("obj");
ram.

Similar Messages

  • Is there any way to pass value from one SWF to another ?

    I am doing project using flash, now I cant pass a value from one SWF to another, is there any way to pass value from one SWF to another.
    thanks

    Hi,
    Just to confirm here do you simply want to communicate between two SWFs without involving Flash Media Server. If this is the case one good way of doing it is to use a local connection. It can be used for direct communication between two separate instances of the flash player. However if you want to involve multiple clients sharing a common variable then you may have to use Shared Object for this. Please let me know what is the actual use case, is it multiple clients sharing a common variable or different player instances communicating between themselves.
    Thanks,
    Abhishek

  • Is there any way to pass a webapp item ID number to the input form of another webapp?

    Context:
    I'm working with a group of members who are collaborating on research.  The idea is for one person to post information, and then have others build on it, including attaching files, images and hyperlinks (so a simple forum doesn't work...).
    If I could have the item ID from the main webapp be passed to the "child" webapp, all would be well.  I tried {tag_itemid} but of course, this didn't work.  I can display the item ID and have the users retype it into a form, but this isn't very streamlined...   Is there any way to pass the information directly to the form?
    Thanks!!
    Linda

    Simply make the child web app form part of one of the main web app's layout(s)/template. That way, when you use {tag_itemid}, it will be that of the main web app.

  • IS there any way to pass a value in the view as a variable

    Hi
    I have 2 views and 1 view on top of them that calls the 2 views e.g.
    View1
    select ename, deptno, date from emp;
    View2
    select sal, date from salary;
    view3
    select v1.ename, v1.deptno, v2.sal from view1, view2 where date = SOME VARIABLE;
    sql query
    Select * from v3 where date='10-AUG-2007'';
    ITs taking a while is there any way that I can define the V3 as follows
    view3
    select v1.ename, v1.deptno, v2.sal from view1, view2 where v1.date = SOME VARIABLE and v2.date=SOME VARIABLE;
    and then at the sql plus level can i use it like
    I have 2 views and 1 view on top of them that calls the 2 views e.g.
    View1
    select ename, deptno, date from emp;
    View2
    select sal, date from salary;
    view3
    select v1.ename, v1.deptno, v2.sal from view1, view2 where date = SOME VARIABLE;
    sql query
    Select * from v3 where date='10-AUG-2007''; can this date be passes as a variable in side the view definition.

    Setting up a view which contains a substiutution variable

  • Is there any way to pass through PIPELINED function

    Hello,
    For clarity of my code I would like to move some part of my PIPELINED function out to sub-function. It there any way to call one PIPELINED function from other PIPELINED function a way to union their results?
    I can try to use temporary table to emulate such behavior, but it won't be exactly the same...
    Regards

    Yes, you can. The only thing you need to remember is pipelined function can be salled from SQL only. So your functions will look like:
    Pipelined function 1:
    create or replace
      function pipelined_function1(...)
        return ...
        pipelined
        is
        begin
            pipe row(...);
    end;
    /Pipelined function 2:
    create or replace
      function pipelined_function2(...)
        return ...
        pipelined
        is
        begin
            for v_rec in (select * from table(pipelined_function1(...))) loop
              pipe row(...);
            end loop;
            pipe row(...);
    end;
    /SY.

  • How to increase the heap space size -is there any parameter to pass to JVM

    I created a memory buffering module which can be use to buffer log records and write to hard disk.disk writing is done by a separate thread so the main application won't be delayed. and memory for new errors are allocated dynamically. when i test this it gave this exception Exception in thread "Thread-62" java.lang.OutOfMemoryError: Java heap space then I test 100,000 of log records at a time and sleep the thread for 1 second to let the garbage collector do its job this works fine. but when i increase the log records count further it gave the above error. so i want to know whether is there a way to give the heap memory size to the VM as a parameter before running it.

    I created a memory buffering module which can be use to buffer log records and write to hard disk.disk writing is done by a separate thread so the main application won't be delayed. and memory for new errors are allocated dynamically. when i test this it gave this exception Exception in thread "Thread-62" java.lang.OutOfMemoryError: Java heap space then I test 100,000 of log records at a time and sleep the thread for 1 second to let the garbage collector do its job this works fine. but when i increase the log records count further it gave the above error. so i want to know whether is there a way to give the heap memory size to the VM as a parameter before running it.

  • Is there any way to pass SOAP Headers ?

    I have created a Web Service based on a Portal Service using the project wizard. I find that SOAP headers (<SOAP-ENV:Header>) are not passed in the SOAP Envelope while calling the Web service. Is it possible to do this ?
    Thanks in advance. Any suggestion is appreciated.

    I would like to know this as well.
    I am trying to pass username and password to a target web-service that requires this information to be in the Header section of the SOAP request.
    I am using EP 6.0.   Does anyone know if this can be done in  EP 7.0?

  • Is there any way to pass Mail.app rules to Outlook?

    Hello, I want to use the same rules i use in Mail app from OS X in Outlook. Can you help me find the way to do it, because I have tons of rules and don't want to copy them one by one.

    How much fuss is too much?
    You can easily change your home directory to the other drive. That would certainly take care of it. Copy your home directory to the other volume. Then, in System Preferences > Users & Accounts, select your account, right/command click and choose Advanced. Change your home directory. Log out and back in.
    You could also try to hack around with symbolic links, but that is more fuss.

  • Is there any way to pass value  to a trigger

    while deleting a record by procedure .. with help of trigger i m inserting that deleted record in another table , but i need user_id wihch is passed to procedure

    Your deleting procedure can set a global variable in a package, and your trigger can access that variable. Here is a rough outline:
    CREATE OR REPLACE PACKAGE SESSION_GLOBALS_PKG AS
    TRANSACTION_USER_NAME VARCHAR2(30);
    END  SESSION_GLOBALS_PKG ;
    CREATE OR REPLACE PROCEDURE ROW_DELETE_PROCEDURE (IN_ROW_KEY IN MY_TABLE.KEY_COLUMN%TYPE, IN_TRANSACTION_USER IN VARCHAR2(30))
    AS
    BEGIN
      SESSION_GLOBALS_PKG.TRANSACTION_USER_NAME := IN_TRANSACTION_USER;
      DELETE FROM MY_TABLE WHERE KEY_COLUMN = IN_ROW_KEY;
    END ROW_DELETE_PROCEDURE ;
    CREATE OR REPLACE TRIGGER MY_TABLE_TRIGGER
    BEFORE DELETE ON MY_TABLE FOR EACH ROW
    WHO_DELETED_ME := SESSION_GLOBALS_PKG.TRANSACTION_USER_NAME;
    END MY_TABLE_TRIGGER;
    /

  • Is there any way to limit the number of Threads running in Application(JVM)

    Hello all,
    is there any way to limit the number of Threads running in Application(JVM)?
    how to ensure that only 100 Threads are running in an Application?
    Thanks
    Mohamed Javeed

    You should definitely use a thread pool for this. You can specify maximum number of threads that can be run. Be note that the thread pool will only limit the number of threads that are submitted to it. So donot call "Thread"s start() method to start thread on your own. Submit it to the pool. To know more, study about executor service and thread pool creation. Actually it will not be more than 20 line code for a class and you might need maximum of 2 such classes, one for threadPool and other one for rejection handler (if you want).
    Just choose the queue used carefully, you just have to pass it as a parameter to the pool.
    You should use "Bounded" queue for limiting threads, but also be careful in using queues like SynchronizedQueue as the queue will execute immediately the threads submitted to it if maximum number of threads have not been running. Otherwise it will reject it and you should use rejection handler. So if your pool has a synchronized queue of size 100, if you submit 101th thread, it will be rejected and is not executed.
    If you want some kind of waiting mechanism, use something like LinkedBlockingQueue. What this will do is even if you want 100 threads, you can specify the queue's size to be 1000, so that you can submit 1000 threads, only 100 will run at a time and the remaining will wait in the queue. They will be executed when each thread already executing will complete. Rejection occurs only when the queue oveflows.

  • HT1212 my phone screen is broken and I bought a new phone but I want to get everything off my old phone. It will not sync to i tunes because it has a passlock on it. Is there any way to get passed this?

    My iphone screen and lock button are broken, I bought a new phone and want to get all the information off my old phone. My old phone will not sync with itunes because it has a pass code on it. I have no way to enter the pass code. Is there any way to get around this so I can still retrieve my information from it?

    If you are using the computer that you normally sync with, it should sync without entering the passcode. However, if this is not the computer you normally sync with, you cannot get past the passcode, it has to be entered.

  • A very good friend of mine dropped her iphone into water and now it is not working.Her husband recently passed away and text messages from him and from well wishers after his decease are feared lost. Is there any way to retrieve them?

    A very good friend of mine dropped her iphone into water and now it is not working.Her husband recently passed away and text messages from him and from well wishers after his decease are feared lost. Is there any way to retrieve them?
    I suggested contacting Compub in Nassau St as the info is priceless and worth the trouble of trying to regain?
    Any thoughts? The poor lady is very distress

    If she has backed up her iPhone she can replace that iPhone and set up the new iPhone from her backup.
    You can put the iPhone that went into water into a plastic baggie with either new silica gel packets (preferred) or raw rice and let it sit for  4 - 5 days. After that time remove the phone and connect it to power for at least a half hour. While it is still connected to power reset it by holding down the power and hold button, wait for the Apple logo then let go of the buttons. Might take several tries. If it revives immediately back it up.

  • HT203977 is there any way to restore factory settings on an Iphone 5s that will not connect to Itunes because the phone is locked with a pass code.  Problem is that the screen is completely shattered.

    is there any way to restore factory settings on an Iphone 5s that will not connect to Itunes because the phone is locked with a pass code.  Problem is that the screen is completely shattered.

    If the screen is completely shattered why bother to try and restore the phone?
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support

  • Hi everyone! ive been stolen my ipad mini 15 days ago, i did set up pass code but ididnt turn on Find my Iphone, are there any ways to track my ipad mini locate?thanks 4 ur help?

    hi everyone! ive been stolen my ipad mini 15 days ago, i did set up pass code but ididnt turn on Find my Iphone, are there any ways to track my ipad mini locate?thanks 4 ur help?

    No.
    What To Do If Your iDevice or Computer Is Lost Or Stolen
    iPhone, iPod Touch, and iPad
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Mac Computer
           Find My Mac can be used from Find My Phone at iCloud.com and via Find
           My Phone on your iDevice.
          The following is third-party anti-theft software:
               1.  STEM 2.1
               2.  MacPhoneHome 3.5
               3.  MacTrack 7.5.0
               4.  VUWER 1.7
               5.  Sneaky Bastar* 0.2.0
               6.  Undercover 5.1.1
               7.  LoJack for Laptops
               8. Hidden 2.0
               9. Prey 0.6.2

  • I messed up when I bought the second season of Game of Thrones recently. I wanted to buy the season pass but it seems I bought the first four episodes instead. Is there any way of upgrading to the season pass, without having to download those I have?

    I messed up when I bought the second season of Game of Thrones recently. I wanted to buy the season pass, but it seems I bought the first four episodes instead. Is there any way of upgrading to the Season Pass now, without having to download those first four episodes again? Don't think my download limit will cope! Thanks for your advice.

    Not that I am aware.

Maybe you are looking for

  • Palm Z22 frozen touch screen

    Hi -- I can turn on my Palm Z22, I can reset it, i can use the buttons, but the touch screen doesn't work at all.  Does anyone know a fix for this? Thanks, Betsy Post relates to: Palm Z22

  • Add resources to Outlook calendar item

    We use Office 365 for small businesses and have a common problem when creating calendar items and inviting attendees. Whenever an appointment is created and attendees invited, the attendees themselves cannot add further resources to the appointment.

  • Cost Code problem in Contract Manager 12.0

    Has anyone encountered problem creating a Cost Code? When we tried to create one with the "Planned to Commit" value greater than 999, it simply refuse to work. It states that the field would not accept comma, but Contract Manager automatically puts a

  • String analyser help!

    hi all.... am new to java and new to the forum as well... i am having a slite problem with a string analyser class.. its supposed to obtain string input from user; as a sentence and count... 1. number of alphabetic characters in the entire sentence.

  • Notification callback via proxy failed

    I access database through a proxy, because my PC and database PC stay in different network, we can't see each other directly. I tried to write a 'notification call back' application through Subscription class, it failed to get notified. Could the net