Application level logging in OC4J_SECURITY

Hi,
Runing Oracle App Server 10.1.4. Attempting to debug some application issues with a custom login jsp app deployed to our sso home's OC4J_SECURITY container. I am not finding expected error stacks from my app or system.out messages in the plethora of logs available. There is nothing that my app is throwing or writing in $OH/opmn/logs/OC4J~OC4J_SECURITY~default_island~1. What the log repository shows as my application's log only seems to hold start up and shut down info. Unfortunately the global log repository search has never worked properly on this install and I'm pretty clueless about where else to look manually. The Apache logs didn't seem to have any I was looking for.
So where o where did my little .out go?
Thanks,
Steve

Hi,
there are different logs for different purpose.There is another important location *$ORACLE_HOME/j2ee/OC4J_SECURITY/log/OC4J_SECURITY_DEFAULT_ISLANT_?*
But I believe what you need here is at *$ORACLE_HOME/sso/log*...especially ssoServer.log

Similar Messages

  • Is application level logging possible in weblogic server 10.3.3

    Hi,
    I wanted to know whether application logging is possible or not. i.e. customer deploys an application, a log should be created that would contain the name of the application, size of it, timestamp etc.
    Thanks
    Edited by: user10196088 on Mar 24, 2011 6:17 AM

    Hi Yesha,
    Yes, you can do application level logging in weblogic server 10.3.3 using log4j . To get the steps how to do it do have a look at the below link.
    Topic: Log4j At Application Level in WebLogic
    http://middlewaremagic.com/weblogic/?p=633
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic
    Come, Join Us and Experience The Magic…

  • Setting application level item during authentication

    We’re having an issue with an application level item that we set during our custom authentication function to store a role list for authorization. The issue is that the application level item, which should be set using htmldb_util.set_session_state(‘ITEM_NAME’, p_item_value), is not being set.
    On further investigation we realised that this issue was only affecting developers, not users of the application. This seems to be because the home page link, set in Shared Components > Edit Security Attributes, is set to “f?p=&APP_ID.:1:&SESSION.”, which means that the developers session was being passed to the application when the “Run Application” button was pressed. What then happens is that following the successful execution of the authentication function, a new session id is generated and visible on the URL and the Application Level Items are not set correctly.
    Examples:
    I’m developing an application on Apex that has the home page link set to “f?p=&APP_ID.:1:&SESSION.”, here’s the first part of my URL at the Application home page:
    http://apex.oracle.com/pls/otn/f?p=4000:1:1065658352862710::
    I hit “Run Application” and get to this URL (note the session id is the same)
    http://apex.oracle.com/pls/otn/f?p=16033:1:1065658352862710:::::
    I log in using any old username and password (the auth scheme on this demo app always returns true) and I get to this URL (note the session id is different):
    http://apex.oracle.com/pls/otn/f?p=16033:1:1403999736046638
    My application level item is not set and I start to cry. When I recover from my tearful episode I try to log in again, I hit logout and get taken to this URL:
    http://apex.oracle.com/pls/otn/f?p=16033:1
    I log in again (with the same username or different, it doesn’t matter) and low and behold, my application level item is set ok. This is the URL I can see (note another new session id):
    http://apex.oracle.com/pls/otn/f?p=16033:1:4917752800353335
    In despair, I close my browser window and go to my other application, this one has got the home page link set to “f?p=&APP_ID.:1” (no session id passed).
    I log back into Apex as a developer and go to the application home page at this URL:
    http://apex.oracle.com/pls/otn/f?p=4000:1:131988631742187::
    I hit “Run Application” and get to this URL (note the session id is missing):
    http://apex.oracle.com/pls/otn/f?p=19114:1::::::
    I log in using any old username and password (same deal as before) and I get to this URL (new session id):
    http://apex.oracle.com/pls/otn/f?p=19114:1:4320851658879093:::::
    Amazingly, this time the application level items are set first time.
    What I’d like to know (there is a purpose to this) is:
    - Why is a different session allocated to the application after login, when a “developer’s” session id is passed to the application?
    - If I remove the session id from the home page url what is the impact? I can’t think of anywhere within the application that this is used (other than between page 101 and the home page), but our thoughts are that this could mean that users end up generating more sessions on the server.
    - Is there any other way around this, perhaps using a different method of setting the application level item? The authentication procedure which sets the item reads as follows and mimics our authentication procedure (which you can assume does a little bit more than just returning true):
    function test_login 
      (p_username in varchar2 default null, 
      p_password in varchar2 default null) return boolean is 
    begin 
      htmldb_util.set_session_state('F16929_SYSDATE', to_char(sysdate, 'DAY')); 
      return true; 
    end;- Has anyone else encountered difficulties with the setting of application level items during login or has anyone come up with a more ingenious plan for passing something back from authentication that can later be used for authorisation?
    Thanks
    matt

    Scott,
    Many thanks for the response.
    We've found a way around this now, by changing the developer's usernames to the same as their NT/ Active Directory signon, which fools APEX into maintaining the session id from their builder session even though when logging into the application they get authenticated by LDAP.
    Using a post authentication process would be ok but I can't see any way of passing a variable retrieved in the authentication process under the first session to the post authentication process so that it can be set in the second session. We'd either therefore have to insert the data into a table and read it back or add an extra LDAP call to retrieve the user role/ group list during the post authentication process.
    Thanks again,
    Matt

  • Tuxedo calls procedure and Application Level Service Failure

    hello ,professors all!
    My Tuxedo Service just call an procedure exists in oracle9i, i am sure that the procedure runs ok in oracle9i individually, when it was called by my tuxedo service , it is not ok by first time ,and runs out tp application level Service failure error .But strangely it is ok by second time!
    who can explan it to me and show me a way to solve the difficult problem?
    i spend a lot time wondering the answer!
    Edited by: user9086437 on 2010-9-29 下午9:57

    There are many possible reasons why a database procedure might fail the first time it is executed and succeed after that.
    You should check the Tuxedo ULOG and Oracle database logs for any messages that may point to the problem.
    If there is a LIBTUX_CAT:6205 or LIBTUX_CAT:6206 message in the userlog file then you need to add a tx_open() call to your server's tpsvrinit() or tpsvrthrinit() function.
    If there is an OPENINFO string for the group where your server is running then you are using XA transaction management and should not be connecting to the database in your application code; if there is not an OPENINFO string for the group where your server is running then you need to connect to the database in your application.
    If you set the environment variable
    TMTRACE=*:ulog:dye
    for the server where the failure is happening then Tuxedo will write a trace record of each Tuxedo call and each XA call to the ULOG file. This can be helpful in determining why the failure is happening on the first call, especially if Tuxedo is handling transaction management using XA.
    I hope some of this is of help in debugging the problem.
    Ed

  • Can't access  Application level item

    Hi,
    I have set an Application level item. I have tried to assign it as a default value on a Page Item but nothing is being shown.
    Application Level Item: APP_USER_ID
    On New Instance computation:
    select user_id
    from isp_user
    where login_id=:APP_USER
    Page Item: P57_CREATED_BY
    Default Value: &APP_USER_ID.
    Default Type: Static Text with Session State Substitutions
    No value is displayed, but if I replace &APP_USER_ID. with &APP_USER a value is displayed.
    Thanks for any assistance.

    OK, I've simplified the scenario to avoid any confusion. I'll give you a step by step of what I think you are telling me and see how we go. Believe I feel like I've tried everything...sure it's just my inexperience with the tool.
    Via Shared Components/Items created....
    Application Level Item: APP_USER_ID
    On Page 57 of my Application I created a Before Header computation:
    Item Name: APP_USER_ID
    Type: SQL Query
    Computation Point: Before Header
    Computation: select 21 from dual
    I assigned this to be the default value for a database field on Page 57, defined as follows:
    Page Item: P57_CREATED_BY
    Display As: Text Field
    Source Used: Always,replacing any existing value in session state
    Source Type: Database Column
    Default Value: &APP_USER_ID.
    Default Value Type: Static Text with Session State Substitutions
    I logged out and logged back in. I checked Session State and saw that the APP_USER_ID Application Item exists but has not value.
    I navigated to Page 57... no value is displayed in the P57_CREATED_BY field... If I review the Session State I can see that APP_USER_ID Application Item has a value of 21.
    Changing &APP_USER_ID. to &APP_USER. displays a value which seems to indicate it is not an issue with the field definition.
    Hope that is a little clearer.
    Thanks, appreciate your help.
    Jona

  • Warning:Low-level logging is currently enabled in 12.0.6

    Hi All,
    DB:10.2.04.0
    Oracle Apps:12.0.6
    OS:AIX
    We are seeing the message : Warning:Low-level logging is currently enabled.Your application will not perform as well while Low-level logging is on.
    On investigation, found the following:
    NAME USER_PROFILE_OPTION_NAME LEV CONTEXT VALUE
    AFLOG_ENABLED FND: Debug Log Enabled SITE N
    AFLOG_ENABLED FND: Debug Log Enabled APP XX Y
    AFLOG_ENABLED FND: Debug Log Enabled RESP XXXX Y
    AFLOG_ENABLED FND: Debug Log Enabled RESP XYZ Y
    AFLOG_ENABLED FND: Debug Log Enabled RESP ABC Y
    AFLOG_ENABLED FND: Debug Log Enabled USER XXX N
    AFLOG_ENABLED FND: Debug Log Enabled USER XXX N
    AFLOG_ENABLED FND: Debug Log Enabled USER XXX Y
    AFLOG_ENABLED FND: Debug Log Enabled USER XXXX Y
    Should the value be simply set to 'N' at APP,RESP and USER level to disable the message:Warning:Low-level logging is currently enabled.
    Additionally, should the apache be bounced too?
    Please advise.
    Thanks for your time!
    Regards,

    Hi,
    Should the value be simply set to 'N' at APP,RESP and USER level to disable the message:Warning:Low-level logging is currently enabled.Correct.
    Additionally, should the apache be bounced too?Yes.
    Problem with 11.5.10.2
    Re: Problem with 11.5.10.2
    Regards,
    Hussein

  • Network monitoring on application level

    Hi all, is there an app that allows to monitor and log the network traffic on an iphone 4s (6.0.1) on the application level? Cheers, Kay

    There is an app called "Airport Utility" in the App Store that allows you to manage the network. you have to have an Apple router or Apple Airport to manage the network. I don't think it monitors it though. From what you're saying, you want to monitor traffic. Airport Utility can let you know how many devices are on your network and how fast the network speed is for each device.

  • My Application logs "The description of Event ID 0 from MyApp cannot be found" event to application event log

    Hello,
    This is regarding the following event logged by my application (MyApp.exe) to the application event log:
    Log Name:      Application
    Source:        MyApp
    Date:          03/2/2015 12:00:09 PM
    Event ID:      0
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Rajesh
    Description:
    The description for Event ID 0 from source MyApp cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    I have confirmed that the key "EventMessageFile" in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\MyApp correctly specifies the "dll" responsible for displaying events.
    I would appreciate suggestions on the above.
    Best Regards,
    Rajesh K Singh

    Hi All,
    can you provide solution on below error.
    The description for Event ID 17052 from source MSSQLSERVER cannot be found
    Severity: 16 Error:0, OS: 0 [Microsoft][SQL Server Native Client 10.0]Unable to complete login process due to delay in opening server connection
    Thanks in advance.
    Vijay
     Check below thread, information is not complete to actually comment what were you doing when you got this message.refer errorlog for more details
    http://social.msdn.microsoft.com/Forums/en-US/9a41ced9-19ad-4c4f-83ac-7e877b699a8f/login-failure-error-in-event-log-daily
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Setting Application level Transaction Timeout

    Hi,
    I have seen option in weblogic to set jta transaction time out. Is there a way I specify application level timeout.
    Thanks,
    Bhargav.

    Scott,
    Many thanks for the response.
    We've found a way around this now, by changing the developer's usernames to the same as their NT/ Active Directory signon, which fools APEX into maintaining the session id from their builder session even though when logging into the application they get authenticated by LDAP.
    Using a post authentication process would be ok but I can't see any way of passing a variable retrieved in the authentication process under the first session to the post authentication process so that it can be set in the second session. We'd either therefore have to insert the data into a table and read it back or add an extra LDAP call to retrieve the user role/ group list during the post authentication process.
    Thanks again,
    Matt

  • Low-level logging is currently enabled

    Hi,
    I just noticed a warning sign today, when I login to my EBS 11i (11.5.10.2).
    WARNING :Low-level logging is currently enabled. Your application will not perform as well while low-level logging is on.
    I did not remember setting it on, how do i set it off please?
    Thanks a lot

    Check the following profile options (at the Site/User level):
    FND: Debug Log Enabled
    FND: Debug Log Filename
    FND: Debug Log Level
    FND: Debug Log Module
    If the value of "FND: Debug Log Enabled" is set to "Yes", change it to "No" and bounce Apache then.
    Also, make sure that "AFLOG_ENABLED" is set to "FALSE" in (oc4j.properties -- R12) and (jserv.properties -- 11i).

  • Maintaining Application level values

    Hi all,
         I have a doubt regarding maintaining Application level data in webdynpro application. If two concurrent users accessing the same webdynpro application if one user changes some data it should be reflected to other user also. This is my requirement. For this Context attribute is not helping me becoz it is maintaining data per user. <b>The changes made to the context is applicable to that user only.</b>
              If i want it to maintain for all users , is there any way to achieve it?  Using Static variables i can achieve this , but without that is there any way to do it??
    Thanks in advance,
    Regards,
    VJR.
    null

    Hi Amit,
        Thank you very much for your reply.
        I will explain my application scope. I have a webdynpro application which has two views in it. First view is login view. The user enters his userid and password and logs in. In the second view there is a table, the data in the table will pulled by calling a webservice for that userid. Let it be some salesOrders of that particular user who logs in.
                       And there is a list of items(Products)  table in the same view. And there is a functionality of adding the some more items to that table. And one thing is that let us suppose we are not storing it in the Database. If i store the newly added item in the database then there is no problem. I can fetch it from the DB.I want it to store at application level.
                        And when User2 logs in and add an item i want the same to be reflect in the User1 View also. To achieve this where i have to maintain the Data.  (I think controller context also User Specific).
                 I think you have understand my problem. If you want any thing more clear please reply.
    Thanks in advance,
    VJR.

  • Application specific logging with Log4j on weblogic 8.1

    Hi,
    For a few days now, I have been trying to implement application specific logging using Log4j (1.2.x) for my 3 applications running on the same server (8.1.6). All three application war files are generated from same source. I followed the example of Jboss in setting up the Hierarchy for logging using RepositorySelector. In my case Java class which implements RepositorySelector is loaded through ServletContextListener from jar file placed in WEB_INF/lib folder and log4j.properties file is in WEB-INF folder of each application.
    Independent logging of each application takes place correctly, if the applications are deployed from console. However logging fails if weblogic is shutdown and restarted, in this case logging takes place from 2 classes only implementing filters of each application. Logging from other classes is not taking place. I am spinning my wheels on this and can't seem to figure out what the issue is.
    Thanks for any help...below is the snippet of code
    Sohan
    public static synchronized void init(ServletContext config, String strLogProperties, String webAppName)
    throws ServletException {
    if( !initialized ) // set the global RepositorySelector
    defaultRepository = LogManager.getLoggerRepository();
    RepositorySelector theSelector = new MyRepositorySelector();
    LogManager.setRepositorySelector(theSelector, guard);
    initialized = true;
    Hierarchy hierarchy = new Hierarchy(new RootCategory(Level.DEBUG));
    loadLog4JConfig(config, hierarchy, strLogProperties, webAppName);
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    repositories.put(loader, hierarchy);
    config.setAttribute("hierarchy", hierarchy );
    public LoggerRepository getLoggerRepository() {
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    LoggerRepository repository = (LoggerRepository)repositories.get(loader);
    if (repository == null) {
    return defaultRepository;
    } else {
    return repository;
    public void LogInit(ServletContext ctx) throws ServletException {
    System.out.println("\n\n---------------Log4jInit---------------\n\n");
    String strLogProperties = ctx.getInitParameter("Log4JProperties");
    System.out.println("Log4j properties " + strLogProperties);
    String webAppName = ctx.getInitParameter("LogFileName");
    System.out.println("App log File name " + webAppName);
    if (webAppName == null ) {
    webAppName = getWebAppName(ctx);
    System.out.println("Application name = " + webAppName);
    MyRepositorySelector.init(ctx, strLogProperties, webAppName);
    LOG = Logger.getLogger(this.getClass());
    LOG.info("Log message from Log4jInit ServletContextListener");
    System.out.println("\n\n---------------Log4jInit: Complete---------------\n\n");
    }

    Has anyone been able to get around the "Export of object xxx barred" error when
    trying to access the object?
    Thanks,
    Kevin
    "Koua" <[email protected]> wrote:
    >
    I have the same problem when adding listener for COM events. I think
    it's a bug
    in Weblogic. It seems that no one can help.
    Teresa Canales <[email protected]> wrote:
    Hi,
    I am getting the following error. I am not sure how to fix this. I
    looked in everywhere on the admin console and couldn't find anything.
    The following is what I am getting....
    BEA-210000 Apr 14, 2004 11:05:42 AM EDT servicelayertrain
    Error COM Export of object: com.symphonyhealth.user.facade.ejb.User_eecm3e_HomeImpl@2ba3e4
    barred
    Any help would be greatly appreciated.
    Teresa

  • Redundancy at Java application level

    Dear All,
    Just wanted to know that how can we implement redundancy at Java application level in case of one database gets failed?
    Please let me know for the same
    Waiting for the reply
    Regards
    Jignesh

    If you have a read-only database (you only do selects from it), simply retry the operation in another database if the first one fails. You could do a minimal select first to check if the db responds. E.g. in Oracle the idiom is "select sysdate from dual", in Postgres you can do "select 1", etc. But the server could fail between the test select and the real select, so you need to retry anyway, so the test select is redundant.
    Perhaps retry, sleep a while, retry again, sleep, and after a few rounds give up. This gets around short network breaks, but doesn't busy loop forever if the program has a bug and the SQL statement is broken.
    If you have a database where you also do inserts and updates, a backup database becomes ...problematic. If one server fails, and you start updating the other, you now have two conflicting data sets. Perhaps this could work if you have some kind of an append-only database - you add rows, like some kind of event logging; then you can merge the two data sets later. This gets somewhat specialized.
    In the general case redundancy needs to be implemented as clustering at the db server level, not at the application level.

  • Enabling ALSB debug level logging

    Within my proxy services I have added some DEBUG level log statements, however, these do not seem to get logged to either my standard out log or my application log. If I switch them to WARN or ERROR, I get them logged.
    I verified in Operational Settings on my proxy service logging is enabled at level DEBUG or above.
    I think something maybe within WLS itself might be preventing the logs. If within the WLS console I switch debug logging on for everything (Debug tab on the server screen), I do see my log statements, among other things. Unfortunately I cannot figure out which one of the hundred or so items actually enables the debug logging just for ALSB's debug statements.
    Has anybody else figured out the right combination of things to get ALSB to log the proxy service debug statements?

    Thanks. That was already enabled but checking it made me think of another thing. I have been watching the console you get when you start up your server from the automatically created shortcuts. Instead, I checked the actual log file for the server and the debug statements do in fact get written there. The console that comes up must be standard error, hence, only the warnings and errors.
    Thanks for leading me to the answer.

  • System-level logging

    Hi All,
    Is there a way to get a handle on what Flex is doing under
    the hood? When the WebService control is actually hitting a WS
    endpoint, for example... or what the SOAP envelope looks like. I am
    looking for system level logging... something like a -verbose or
    -debug flag in Apache Ant.
    Thanks,
    Rob

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - Using WebService components:
    The Flex application in the following example calls a web
    service that queries a SQL database table called users and returns
    data to the Flex application,
    Link:
    http://livedocs.adobe.com/flex/3/html/data_access_3.html
    Webservice example:
    Jan 03, 2007 - Webservice example ... <mx:Panel
    title='WebService Example' height='75%' ... Flex Versions: 2.0.
    Category: General
    Link:
    http://www.cflex.net/showFileDetails.cfm?ObjectID=582
    Flex 3 - Automatically generating web service proxies:
    For each web service operation, Flex Builder generates a
    strongly typed ... You can call a web service operation directly,
    as the following example shows:
    Link:
    http://livedocs.adobe.com/flex/3/html/data_4.html
    Bruce Phillips' Blog: Using XML in Flex - Tutorial Part 4 -
    WebService:
    Bruce Phillips Flex and ColdFusion Tutorials: Using XML in
    Flex - Tutorial Part 4 - WebService.
    Link:
    http://www.brucephillips.name/blog/index.cfm/2006/10/22/Using-XML-in-Flex--Tutorial-Part-4 --WebService
    mx.rpc.soap.mxml.WebService (Flex 2 Language Reference):
    Simple example to demonstrate the WebService tag. -->
    <mx:Application xmlns:mx='
    http://www.adobe.com/2006/mxml'>
    <!-- Make sure the Flex Data Services
    Link:
    http://livedocs.adobe.com/flex/2/langref/mx/rpc/soap/mxml/WebService.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

Maybe you are looking for

  • Wireless keyboard and magic mouse

    Getting these two peripherals, plus an M-Stand (all bought at the A store) were great purchases. This is my one year report. The reason I got this set up (which can get burdensome to carry when you go on long trips) was because upon getting my mbp I

  • FM8 -- Acrobat7 Error: A number is out of range

    When PDFing a FM8 doc, I got an Acrobat error message: "A number is out of range." Acrobat produced a PDF, but the first page was page Zero! and the Properties of the Acrobat doc were not accessible. Not good. Searched and searched for answers, but d

  • Processing of aquired signal during aquisition (arrays?)

    Hello, I'm aquiring a voltage signal from a thermistor using DAQ and Labview. I'm using "for-loop" in Labview for that. Is it possible to take my previous readings of the voltage signal (through A/D channel), say, V(i-1), compare it to its current va

  • Duplicate Copies of Files

    Whenever I try to import files into lightroom from drive C:, LR seems to go into a loop making duplicate copies of all the files in the directory I'm trying to import from. This behavior seems to extend to trying to delete files from the directory wh

  • Removing white frame border around screenshots

    When I take a screen capture using CommandShift+4Space, the outputted image has a white background and drop shadow around the captured window. While that looks nice at first, after a while, it gets annoying. Is there a way to turn the effect off?