Where to put "jbo.debugoutput=console" in WLS?

Hi gang
I'd like to turn the ADF BC debug output on via the "jbo.debugoutput=console" flag, for a standalone WebLogic Server (WLS) 10.3 ADF 11g application install.
Section 6.3.7 of the Fusion 11g guide shows how to turn this on via JDeveloper (http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcqueryresults.htm#CHDBBEEB), but how do I turn it on for an application deployed to WLS? Is there a WLS console feature available for doing this?
Cheers,
CM.

They normally are written into the tmp directory. You should get a message like Diagnostics: (Properties (re)loaded) Routing diagnostics to File: /tmp/bc4j61464.log in your server log file.
The files are all names bc4jnnnn.log at some points in the application live cycle new files are generated automatically. So you have to check the log to find the actual one.
Timo

Similar Messages

  • Where to put EM db console startup script?

    I have 2-node RAC on Linux servers. All the services including database/listeners come up automatically after the Node reboot.
    Oracle support confirmed that "db console" is not a part of auto-start script.
    So I have to put together a script basically to do "emctl start dbconsole".
    Need to know what is the best place/file to call this script, keeping in mind the CRS/database take sometime to comeup.
    Thanks

    Oh sorry. No, RAC don't use dbstart.
    You probably have to come up with a simple script that just do emctl start.
    For example, call this file oraem
    modify based on the sample dbora script from Oracle doc.
    #! /bin/sh  -x
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    ORACLE=oracle
    PATH=${PATH}:$ORACLE_HOME/bin
    HOST=`hostname`
    PLATFORM=`uname`
    export ORACLE_HOME PATH
    case $1 in
    'start')
            $ORACLE_HOME/bin/emctl start dbconsole &
    'stop')
            $ORACLE_HOME/bin/emctl stop dbconsole &
            echo "usage: $0 {start|stop}"
            exit
    esac
    exit# chgrp dba oraem
    # chmod 750 oraem
    Test run it manually a couple of time make sure it works.
    then link,
    # ln -s /etc/init.d/oraem /etc/rc.d/rc3.d/K01dbora
    # ln -s /etc/init.d/oraem /etc/rc.d/rc3.d/S99dbora

  • JBO DebugOutput Question

    We're having some trouble with our views auto-querying when we attempt to add a new row. It's a JClient app that doesn't initially query any rows. We turned on jbo.debugoutput=console to get more information on the problem. Now we have a couple of questions on what some of the debug messages mean. The entries below were generated when we brought the form up and went into Find mode. Here is a snippet from the console:
    [751] Changing iterator range size from :1 to :1000
    [752] Column count: 13
    [753] ViewObject: PaymentTermsView Created new QUERY statement
    [754] PaymentTermsView>#q computed SQLStmtBufLen: 999, actual=982, storing=1012
    [755] SELECT * FROM (SELECT PaymentTerms.PAYMENT_TERM,
           PaymentTerms.LAWSON_TERM_CODE,
           PaymentTerms.DESCRIPTION,
           PaymentTerms.IP_TERM_CODE,
           PaymentTerms.DISCOUNT_PCT,
           PaymentTerms.DISCOUNT_DAYS,
           PaymentTerms.NET_DAYS,
           PaymentTerms.ACTIVE_FLAG,
           PaymentTerms.CREATE_SOURCE,
           PaymentTerms.CREATE_DATE,
           PaymentTerms.LAST_UPDATE_SOURCE,
           PaymentTerms.LAST_UPDATE_DATE,
            PaymentTerms.PAYMENT_TERM as SORTED
    FROM PAYMENT_TERMS PaymentTerms
    WHERE PaymentTerms.ACTIVE_FLAG = 1
    union all
    SELECT null as PAYMENT_TERM,
           null as LAWSON_TERM_CODE,
           null as DESCRIPTION,
           null as IP_TERM_CODE,
           null as DISCOUNT_PCT,
           null as DISCOUNT_DAYS,
           null as NET_DAYS,
           null as ACTIVE_FLAG,
           null as CREATE_SOURCE,
           null as CREATE_DATE,
           null as LAST_UPDATE_SOURCE,
           null as LAST_UPDATE_DATE,
            -1 as SORTED
    FROM dual) QRSLT  ORDER BY SORTED asc
    [757] Bind params for ViewObject: PaymentTermsView
    [758] EntityCache:add WARNING - ignoring row with no primary key
    [759] $$added root$$ id=-2
    [760] EntityRowSetImpl's jbo.assoc.consistent = true (1) This query is used as the lookup for a Combobox binding and we need a blank row to provide a null selection, so that is the reason for the union.
    What we are most curious about is what the meaning of lines 758, 759, and 760 is.
    I suspect that line 758 is caused by the unioned null row since it wouldn't have a valid primary key.
    Also, I would expect that line 759 might be ADF creating a row in the Entity cache for the null row and attempting to generate a temp id if the primary key was an attribute type of DbSequence, but that isn't the case here.
    Line 760 seems to be enforcing/setting the association consistency property for the view, but most of the other views don't have this entry. Seems like it might have been due to the Entity the view is based on having a Composition Association to another Entity, but that isn't the case for this view.
    Any help understanding these entries would be greatly appreciated.
    Thanks
    Erik

    After further review, I have discovered that line 760 does indeed correlate to the Composition setting of the Association. It also appears to come in the beginning when setting up the view's query, so it actually goes with the next view in our log, which does have a Composition Association.
    Also, I believe my assessment of line 758 is correct in that it is caused by the null row. This could explain why we have noticed that the trick of including a queried null row doesn't always work for some comboboxes. In some cases the null row still doesn't show in the list. Now, I believe that this is because those Views are based on an Entity. The Entity most contain the primary key for a row in order to cache it. For the null row, there is no valid primary key, so the cache ignores it. This would mean that the combobox wouldn't show the null row, because it doesn't get it back from the Entity cache. For the comboboxes based on Views that are ViewOnly, they would show the null row because the View cache has no requirement for a valid primary key. This is only speculation at this point. I'll try and confirm.
    If the above answers are correct, then we really only need clarification on what line 759 means.
    Erik

  • JSP--where to put my client keystore?

    I have my webservice working. I also have my java client working. Now i'm trying
    to create a web client using JSP to access the web service. This will need the
    message-based security. The java client works fine because I can specify the directory
    of the keystore. But I don't know where to put the keystore in my JSP client.
    Anybody has some suggestions? BTW i'm using tomcat 4.1.
    many thanks.

    Hi,
    Here's a pointer to the doc on how to setup a keystore using WLS 8.1
    http://e-docs.bea.com/wls/docs81/webserv/security.html
    For Tomcat, I don't know...
    Bruce
    BTW, you might take a quick look at this, it may be of some value.
    http://dev2dev.bea.com/resourcelibrary/whitepapers/whitepaper_tomcat_migration.jsp
    Yan wrote:
    >
    I have my webservice working. I also have my java client working. Now i'm trying
    to create a web client using JSP to access the web service. This will need the
    message-based security. The java client works fine because I can specify the directory
    of the keystore. But I don't know where to put the keystore in my JSP client.
    Anybody has some suggestions? BTW i'm using tomcat 4.1.
    many thanks.

  • How to use jbo.debugoutput=file

    Using debugoutput=console has as a disadvantage that ik makes the application very slow. There is an option to write debug to file by using jbo.debugoutput=file. Might this reduce the slowing down of the application?
    Problem is that I couldn't test it, because I don't know how to set the file to write the debug output to.
    Greets,
    Maurice

    I am not sure if the file type is implemented...
    We use Apache Log4J and used the org.apache.log4j.Logger to implement the oracle.jbo.common.IDiagnostic interface.
    Then you can set the jbo.debugoutput to the FQN of your IDiagnostic implementation.
    Markus

  • Where i Put my swing application jar file in jboss

    Hi experts...
    I develope swing application and convert it into jar file....I know jnlp deployment using tomcat..In tomcat i
    put my appcation.jar in webapps/root folder...This is not similar in jboss..I dont know where i put my applcation.jar in jboss.If any body know the idea please let me know..

    Hi
    You have to put your jar file in
    server/default/deploy
    Regards
    M Fazal Ur Rehman

  • I changed my iPhone lately but i can't restore my last backup since it keeps saying "itunes could not restore backup because the password was incorrect" but I don't know where to put the password to make it happen... Any suggestions?

    Hey guys,
    I just bought a new iPhone but i can't restore my backup files beacuse it keeps saying "itunes could not restore backup because the password was incorrect" but I really don't know where to put the password to restore it. I really have some files that are meaningful for me so I really need help. Any suggestions anyone?

    Select your iDevice in the iTunes.
    Choose the Summary screen (tab) and scroll to the bottom of the screen.
    Then un-select Encrypt iPhone backup.
    iTunes will then prompt you to “Enter the password to unlock your iPhone backup”, enter the password you set originally.

  • My computer screen keeps going blank and then going back to the box where I put my password in to start my comp. Why is this happening?

    My computer (Macbook) was working fine this am. I left it for an hour and then came back and the screen was black (always does that as the screensaver hardly ever works). I moved the mouse to wake it up and everything was normal. I went to adjust the volume and the screen went blank and the main page with the box where I put my password in when I first start my comp appeared. I put my password in and everything was normal again. I opened a window in Safari and before it loaded completely the same thing happened, the screen went blank and went back to the password box. Does anyone know why this is happening? I don't have an external hard drive or any blank flash drives so I can't back anything up right now and am afraid I'm going to lose everything. Thank you

    Sounds like hardware failure, called boot loop. Call Apple and or go on apple.com and make Genius Bar appointment to have your iphone reviewed by a Tech. Provided you iphone shows no physical or liquid damage they will take care of you, or if you have Apple Care Plus
    Genius Bar Rerservation :  http://www.apple.com/retail/geniusbar/

  • I am trying to organize a zip file with a bunch of links and files. But when I drag an image file to a folder, it always "Snaps to grid" instead of just landing where I put it.

    I am trying to organize a zip file with a bunch of links and files. But when I drag an image file to a folder, it always "Snaps to grid" instead of just landing where I put it. All of the files are going into the same zip file but I want them visually in the space that I put them and not at the bottom of the snap to grid folder location they are looking like.  I am trying to  drag and drop files in groups so that I can group them for now, but image files always do their own "sort by" when I drag them from my web pages. Links don't do it though.  I tried resetting the folder, and deleting the DS files. No luck.

    You keep asking variants on this same question. You've had replies in all your other threads. If you can't find them, go here and click where it says Activity:
    Thomas Cannon Jr.

  • Where to put javascript code?

    Hello,
    I am trying to set some columns in a list as "read-only" and is using the following code:
    <script type=”text/javascript”>
    function SetReadOnly()
    var elements=document.getElementById(’4_ctl00_ctl00_TextField’);
    elements.readOnly=true;
    _spBodyOnLoadFunctionNames.push(“SetReadOnly()”);
    </script>
    But I am not sure where to put the code in. Should I put it in the space in Content Editor Web Part,
    or through a link to a txt file, or in "Edit HTML"? I've tried them but none works.
    Thanks a lot!
    Patrick

    You can try this:
    1) Open your Sharepoint List. Go to List edit view.
    2) On right side of Ribbon you will find "Form Web Parts" option as shown in figure.
    3) Choose your List form which you want to edit.
    4) Now you can add web part in new window.
    5) Add Content Editor Web part.
    6) In content editor web part add the path of your "txt" file in which you have written your script, for eg.
    <!DOCTYPE html>
    <html>
    <body>
    <script type=”text/javascript”>
    function SetReadOnly()
    var elements=document.getElementById('4_ctl00_ctl00_TextField');
    elements.readOnly=true;
    _spBodyOnLoadFunctionNames.push("SetReadOnly()");
    </script>
    </body>
    </html>
    I haven't tried this method so I am not sure but hope it works...:D
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

  • This is less a question and more of a suggestion and I am not sure where to put it..... I would like an update that would allow you to have a tone for each individual email account

    I am not sure where to put this but I would like individual tones for all my email accounts

    Wonderful suggestion.
    You can give Apple feedback here > http://www.apple.com/feedback/
    Hop that helps

  • Why are many of my toolbar bookmarks suddenly missing, & why can't I designate where to put bookmarks now? Star won't accept double-clicks anymore.

    All of a sudden yesterday I can no longer click the star twice to tell it where to put the bookmark, and even when I click it once it doesn't save the bookmark anywhere. Also many of my toolbar bookmarks are now suddenly missing. I've tried to restore bookmarks and it says it's unable to perform that function. Help!

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • Where to put the commit in the FORALL BULK COLLECT LOOP

    Hi,
    Have the following LOOP code using FORALL and bulk collect, but didnt know where to put the
    'commit' :
    open f_viewed;
    LOOP
    fetch f_viewed bulk collect into f_viewed_rec LIMIT 2000;
    forall i in 1..f_viewed_rec.count
    insert into jwoodman.jw_job_history_112300
    values f_viewed_rec(i);
    --commit; [Can I put this 'commit' here? - Jenny]
    EXIT when f_viewed%NOTFOUND;
    END LOOP;
    commit;
    Thanks,
    - Jenny

    mc**** wrote:
    Bulk collect normally used with large data sets. If you have less dataset such as 1000-2000 records then you canot get such a performance improvent using bulk collect.(Please see oracle documents for this)
    When you update records Oracle acquire exclusive lock for that. So if you use commit inside the loop then it will process number of records defined by limit parameter at ones and then commit those changes.
    That will release all locks acquired by Oracle and also teh memory used to keep those uncommited transactions.
    If you use commit outside the loop,
    Just assume that you insert 100,000 records, all those records will store in oracle memory and it will affect all other users performance as well.
    Further more if you update 100,000 records then it will hold exclusive lock for all 100,000 records addtion to the usage of the oracle memory.
    I am using this for telco application which we process over 30 million complex records (one row has 234 columns).
    When we work with large data sets we do not depends with the oracle basic rollback function. because when you keep records without commit itb uses oracle memory and badly slowdown all other processes.Hi mc****,
    What a load of dangerous and inaccurate rubbish to be telling a new Oracle developer. Commit processing should be driven by the logical unit of a transaction. This should hold true whether that transaction involves a few rows or millions. If, and only if, the transaction is so large that it affects the size constraints of the database resources, in particular, rollback or redo space, then you can consider breaking that transaction up to smaller transactions.
    Why is frequent committing undesirable I hear you ask?
    First of all it is hugely wasteful of rollback or redo space. This is because while the database is capable of locking at a row level, redo is written at a block level, which means that if you update, delete or insert a million rows and commit after each individual statement, then that is a million blocks that need to go into redo. As many of these rows will be in the same block, if you instead do these as one transaction, then the same block in redo can be transacted upon, making the operation more efficient. True, locks will be held for longer, but if this is new data being done in batches then users will rarely be inconvenienced. If locking is a problem then I would suggest that you should be looking at how you are doing your processing.
    Secondly, committing brings into play one of the major serialization points in the database, log sync. When a transaction is committed, the log buffer needs to be written to disc. This occurs serially for multiple commits. Each commit has to wait until the commit before has completed. This becomes even more of a bottleneck if you are using Data Guard in SYNC mode, as the commit cycle does not complete until the remote log is notified as written.
    This then brings us two rules of thumb that will always lead a developer in the right direction.
    1. Commit as infrequently as possible, usually at the logical unit of a transaction
    2. When building transactions, first of all seek to do it using straight SQL (CTAS, insert select, update where etc). If this can't be easily achieved, then use PL/SQL bulk operations.
    Regards
    Andre

  • 10g UIX Where to put ResourceBundle?

    I'm looking at putting all my Strings in a ResourceBundle for my UIX pages. I've read the documentation for Internationalization, but I think the piece that I'm missing is where to put the properties file. Say I've got a file called 'strings.properties', and my provider looks like this:
    <provider>
         <data name="bundle" >
              <bundle class="strings.properties" />
         </data>
    </provider>Then where in the JDev project do I need to have the file in order for it to get deployed properly and found by the UIX framework at runtime?
    Also, just to be sure I'm not going crazy, I know that the documentation and even the bundle tag say to specify a Class, and I just noticed that the ResourceBundle javadoc also says that the 'baseName' parameter to the static 'getBundle' method should be a 'fully qualified class name', but I've always just given it a filename of a properties file before. So I'm assuming that the 'class' parameter to the bundle tag can be a properties filename -- is this correct?

    Whoops! Of course, the argument to the bundle class attribute should just be 'strings'.
    After some experimentation, I discovered that if I put the properties file at the root of the 'src' directory in my JDev project, then it gets transferred to the 'classes' output directory when I compile. This works for running my project in the Embedded OC4J. I haven't tried deploying it to any other app server yet. Is this the right place?

  • JUnit, where to put my unit test

    Hi all,
    I have a question regarding unit test.
    I am working on a project which has multiple packages. I need to unit test every package using JUnit. One question I have is where to put my unit test. The options are:
    1. Write unit test as a separate package. This makes the code clear but only the public functions get tested or I have to make all functions public.
    2. Write unit test in the same package of the code to be tested. This makes writing test easier but putting test and code together makes the structure dirty.
    Please let me know your opinion and tell me how do you normally do this?
    Many thanks,
    Regards,
    Kevin

    It sounds like you're probably a beginner, so this might be overkill, but here goes anyway: You might want to investigate Maven, which defines a standard directory structure that includes a test tree separate from the production tree, but yet still in the same overall folder. The beauty of this design is that you can keep both production & test code together in source control, IDE projects, etc. but they don't interfere with each other.
    Even if you don't use Maven now, you might want to consider using their standard directory structure, as it is has stood the test of time, & would facilitate using Maven if you ever decide to in the future.

Maybe you are looking for