Nothing being written to http access log.

I added a custom field for extended logging, turned extended logging on and I know that the class is being invoked and the log method is being called. However my access.log is empty.
what gives ?! I dont quite know how to debug this one. short of crawling through thedebugger

Hi,
What you can do is to set the buffer-size-kb parameter value to "0" in config.xml so that it can start logging once the server starts coming up rather then waiting for the default size which is 8kb to pass.
Something like below:
<web-server-log>
<buffer-size-kb>0</buffer-size-kb>
<web-server-log>
For more details check the below link:
Search for: CR302493
http://download.oracle.com/docs/cd/E11035_01/wls100/issues/known_resolved.html
Hope this helps you.
Regards,
Ravish Mody

Similar Messages

  • WLS http access logs not written to when starting WLS instance using nodemanager

    When starting managed WLS instances using node manager the HTTP access logs are
    not written to (the WLS log in the same directory is written to). All other functionality
    of the WLS instances seem to operate just fine when started using node manager.
    When we start the same managed WLS instances using a start-up script the HTTP
    access logs are written to.
    ===
    How can we get HTTP access logs to be written to when starting a WLS instance
    using node manager?

    I think I know the answer to this one!
    I got bitten by the same bug (at least I think it is a bug). Check the location
    specified for the HTTP-access log for your server instance. It is probably a relative
    location, right?
    According to the docs, relative paths should start from the Root Directory (see
    your Remote Start config), but it seems like the BEA-programmers forgot to retrieve
    the Root Directory and instead blindly writes to the process' current working
    directory (CWD).
    And when started by the Node Managet, the CWD = WL_HOME/common/nodemanager.
    If you are as paronoid as I am (and you should be too), that directory should
    not be writeable by anyone. Because my BEA installation was owned by 'bin', and
    the processes run by 'beawls', I got an error message in my NM-logs pointing to
    the problem. In your case, you are probably running NM as a user that has write-access
    to your NM-home, and all your missing HTTP-access logs are deep, down there.
    Jan Bruun Andersen

  • Extending HTTP access log file

    I am trying to extend the HTTP access log file using the information given at http://e-docs.bea.com/wls/docs81/adminguide/web_server.html#113868
    However, I havent been able to succeed in doing that. I have written my own class
    authType.java to display that information in the log file. I compiled the class
    and placed it under the lib directory thereby guaranteeing that it will be loaded.
    However, the log file only seems to place a '-' at the location where it should
    have actually placed the contents of the method getMethod().
    Help will be appreciated.
    [authType.java]

    Not at the moment. We are working on adding a property in an upcoming
    release.
    This is documented at:
    http://www.weblogic.com/docs51/adminhelp/AdminPropertyHelp.html
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    Sean Scott <[email protected]> wrote in message
    news:8fhpl1$50t$[email protected]..
    Is there a property to set the max size of the http access.log file?

  • How to configure WLS to send HTTP access log to syslog under Solaris?

    I understand there is a way configuring WLS to use syslog via log4j. Is it possible only to direct HTTP access logs to syslog and keep the rest of logs in normal log files? Thanks!

    I've been following the "How to do UD Document" https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58f4db47-0501-0010-a2bf-ff01b150fdff and more specifically the document for Sybase  https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0d70315-958f-2a10-bc88-eb91e36f4037
    I am using the latest .jar file from Sybase http://www.sybase.com/detail?id=1002257
    When I navigate to http://<hostname>:50000//TestJDBC_Web/TestJDBCPage.jsp and Select connection name SDK_JDBC I get the following error message:
    Could not connect to database. Connection is inactive or does not support JDBC
    com.sap.ip.bi.sdk.exception.BIConnectionFailedException: Cannot open the connection
    Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Class DriverName is not found
    Caused by: java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDataSource
    Found in negative cache
    Loader Info -
    ClassLoader name: [connector:default]
    Parent loader name: [Frame ClassLoader]
    library:SYBASE
    Resources:
       /usr/sap/BWD/JC02/j2ee/cluster/server0/apps/sap.com/com.sap.ip.bi.sdk.dac.connector.sapq/connector/connectors/bi_sdk_sapq.rar/bi_sdk_sapq.jar
       /usr/sap/BWD/JC02/j2ee/cluster/server0/apps/sap.com/com.sap.ip.bi.sdk.dac.connector.jdbc/connector/connectors/bi_sdk_jdbc.rar/bi_sdk_jdbc.jar
       /usr/sap/BWD/JC02/j2ee/cluster/server0/apps/sap.com/cafbwadapterassembly/connector/connectors/cafbwadapterassembly.rar/sap.comcafbwadaptercaf.bw.adapter.jar
       /usr/sap/BWD/JC02/j2ee/cluster/server0/apps/sap.com/com.sap.ip.bi.sdk.dac.connector.xmla/connector/connectors/bi_sdk_xmla.rar/bi_sdk_xmla.jar
    Loading model: {parent,references,local}
    Any thoughts/insites?
    Thanks, Steve

  • HTTP Access logs

    Hi!
              Has anyone created custom field identifiers?
              I created a class for my custom field to access.log file and I changed the
              file
              so that it's in Extended Log Format.
              I placed the class file to classpath what the server uses when it starts up.
              Put it still do not work!!
              And the documents are useless...
              -Jussi Pöri
              

    Change "X-<class_of_extended_field>" to "x-<class_of_extended_field>".
    Andrzej Derlacki
    [email protected]

  • Parsing access log in 6.0 SP2

    I want to exclude a html page from being written to the access log i iPlanet6 SP2. Is this possible?

    You didn't give the specs on the boxes but 300 threads is probably way too
    high. Here's a good rule of thumb:
    NT/1CPU = 14 free exec threads when idle (use ctrl-break to verify)
    NT/2CPU = 28 free exec threads when idle
    SolSparc/2CPU = 48 free exec threads when idle (use kill -3 to verify)
    SolSparc/4CPU = 96 free exec threads when idle
    Note that some exec threads get gobbled by WL itself so after setting the
    value you need to figure out how many you actually have available. For
    example, if you set it to 15 you may end up with only 10 which means your
    expectation is 33% off reality.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Kirk Everett" <[email protected]> wrote in message
    news:[email protected]..
    We are getting out-of-memory errors on solaris using 6.0 SP2. We are
    seeing the heap size just grow and grow at a steady pace as the
    application is stressed tested using load runner. The tests simulate
    only about 30-60 users with a fairly light workload. We've run basically
    the same tests on NT without the memory problems so I'm wondering if it
    has anything to do with our env. We've basically trimed the script to
    do just login/logout and the heap grows to over 600MB in about 2 hours.
    We've poured over our login/logout code and can't find any places where
    we are holding onto memory. Just before the process runs out of memory
    we get a log of full gc messages that take about 30 seconds with no
    significant change in the heap size. Their are 4 instances running with
    a 1GB heap and 300 execute threads each (2 weblogic instances on a
    box). Could the heap size/execute thread be causing problems? I think
    the heap and execute thread size is a bit excessive given there are only
    50 db connections. I'd like to hear anyone's opinion on this problem
    and our settings. Thanks.
    Kirk

  • Opmn logs not being written

    Hi All,
    We are facing an issue.
    No logs are being written to the opmn/logs directory. It was being written correctly till 4th December and then stopped all of a sudden.
    Are there any configuration files which may have been affected.
    Best regards,
    Brinda

    To clarify.
    We are now rotating the logfiles with the linux/unix command logrotate. I suspect that this is what is causing the issue that the logs are note being filled after rotation and we need to restart opmn for the logs to start getting populated.
    So I think we need to configure rotating logs in opmn.xml.
    The Application server version is 10.1.3. This is the log line in our opmn.xml.
    <log path="$ORACLE_HOME/opmn/logs/opmn.log" comp="internal;ons;pm" rotation-size="1500000"/>
    So the question is how do we activate opmn to rotate the log so that we do not need to use logrotate.
    In this document it says that you have to activate ODL for log rotation to work:
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b14432/logadmin.htm#sthref370
    Is this true or can we rotate text logs as well. This is what we would prefer.
    Best regards,
    Gustav

  • Authenticated user name not written to access log file

    Our users are authenticated with certificates to an LDAP directory server. The Access log file is using the Extended-2 format.
    The name of the authenticated user is now written in the Access log.
    10.4.57.44 - - [19/May/2004:14:07:21 -0400] "GET /somepage HTTP/1.1" 200 10382
    Anybody know why?

    I've got the same problem with Sun Java System Web Proxy Server 4.02 for Linux.
    When I installed it, authenticated users were visible in the access log. Then I tryied to change format and since that moment, this information is disappeared.
    Any news about this bug?
    Thanx.
    G.

  • Weblogic HTTP access extended log

    Hi all
    I need to analyze response time of HTTP requests in weblogic app server.
    Please someone answer my question given below.
    In the Weblogic HTTP extended log, does the taken-time takes in account the Network time?
    Thanks in advance.
    Edited by: SK_85 on Nov 26, 2012 11:11 AM
    Edited by: SK_85 on Nov 26, 2012 11:27 AM

    Not at the moment. We are working on adding a property in an upcoming
    release.
    This is documented at:
    http://www.weblogic.com/docs51/adminhelp/AdminPropertyHelp.html
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    Sean Scott <[email protected]> wrote in message
    news:8fhpl1$50t$[email protected]..
    Is there a property to set the max size of the http access.log file?

  • Getting Client IP address in Webcenter access log files

    In addition to Understanding Webcenter Spaces Access Log File
    I want to trace the IP address of the client machine from where webcenter spaces is being accessed.
    How to capture this?
    Please help.
    -- Navin K

    You can access one of two server logs:
    If you embedded an HTTP Server in front of WebLogic (which is what Oracle recommends), then you have access information in OHS (which is just like Apace).
    If you are using a managed server (or even the admin server) in WebLogic, same thing, different name/place (the http access log).
    same discussions are going on in other thread -
    How to get the IP adress of the user who have accessed Webcenter Spaces ?

  • File name format of rotated access log

    Hi,
    I'm using wls5.1sp9 on Solaris.
    Is it possible to specify a different file name format of the rotated http access
    logs?
    Instead of getting files named access.log0001 and so on, I would prefer access.log.<date>
    or some other custom format.
    Best regards,
    Torleif Galteland

    Hi,
    Thanks for your response. But I have another query. The name of the file as per your reply is like UsageReport.xls correct? Now my query is, should it contain some date,account id/orgid etc associated for that usage. The reason for my query is that if MSP
    downloads the usage for different orgs having same bill date then it would conflict with the different usage files.
    Thanks And Regards,
    Sumanta Saha

  • Where is HTTP access and error log when using Embedded PL/SQL Gateway?

    Hello,
    I am using Embedded PL/SQL Gateway to run stored procedures.
    I can't find access log and error log (something like Oracle HTTP Server has).
    In listener.log are only simple data and there are no usernames and procedure names...
    Thanks.
    Marian

    You might be better off asking this on the Apex forum: Oracle Application Express (APEX)

  • Malformed HTTP request in access.log

    Hi,
    we're running a quite standard web application on a weblogic server 9.1, clients are using Internet Explorer 6, and lately, I checked the access.log, and sometimes, logged HTTP requests look malformed, for example:
    access.log00575:xxx.xxx.xxx.xxx - - [25/Aug/2006:13:47:01 +0200] "ntent-Type: application/x-www-form-urlencoded HTTP/0.9" 501 990
    access.log00568:xxx.xxx.xxx.xxx - - [25/Aug/2006:10:32:30 +0200] "&GET /img/console/entete.gif HTTP/1.1" 501 990
    access.log00639:xxx.xxx.xxx.xxx - - [27/Nov/2006:12:38:00 +0100] "&POST /ajax/heartbeat HTTP/1.1" 501 80
    access.log00460:xxx.xxx.xxx.xxx - - [21/Aug/2006:16:51:01 +0200] "OST /ajax/daily_commission HTTP/1.1" 501 78
    I once was successful in reproducing the problem, and during this test, I was sniffing the network, and apparently, the sent HTTP requests looked fine, whereas it appeared as a corrupted request in access.log.
    Have anyone seen something like this before ?
    Thanks.

    I wish that were true. I've disconnected Server Admin from the server and then quit the application. The log entries are still comin'.
    localhost - - [15/Jul/2009:13:05:11 -0500] "GET /server-status?auto HTTP/1.1" 200 2222 "-" "servermgrd (unknown version) CFNetwork/438.12 Darwin/9.7.0 (i386) (MacPro4%2C1)"
    localhost - - [15/Jul/2009:13:05:11 -0500] "GET /server-status?auto HTTP/1.1" 200 2222 "-" "servermgrd (unknown version) CFNetwork/438.12 Darwin/9.7.0 (i386) (MacPro4%2C1)"
    localhost - - [15/Jul/2009:13:06:11 -0500] "GET /server-status?auto HTTP/1.1" 200 2223 "-" "servermgrd (unknown version) CFNetwork/438.12 Darwin/9.7.0 (i386) (MacPro4%2C1)"
    localhost - - [15/Jul/2009:13:06:11 -0500] "GET /server-status?auto HTTP/1.1" 200 2223 "-" "servermgrd (unknown version) CFNetwork/438.12 Darwin/9.7.0 (i386) (MacPro4%2C1)"
    Thanks for trying.
    B. Bodger

  • Continous HTTP access error logged when using Weblogic Cluster

    I am not sure if this is the right forum for this discussion, but here we go anyways.
    We have created a Weblogic Cluster with one Administration Server and up to 12 Managed Servers. Our Weblogic version is 9.2.
    SSL has been enabled for all Servers and the HTTP Listen Ports are all turned off. The cluster and all applications are working fine and communicating over HTTP as expected, however the logs grow 3MB+ per hour due to an error that repeatedly logged. This error appears to be an attempt by an internal Weblogic process to access some resource over HTTP.
    Here are the various messages received in the logs. There are 3 messages logged per error occurred.
    This first log message is from the domain log (I replaced the hostname/IP info with <PEER>):
    ####<Aug 11, 2008 12:08:46 PM GMT+00:00> <Warning> <Security> <PEER> <ManagedServer7> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1218456526962> <BEA-090475> <Plaintext data for protocol HTTP was received from peer <PEER> instead of an SSL handshake.>
    This second log message is from the ".out" log from the Administration Server:
    ####<Aug 11, 2008 12:08:58 PM GMT+00:00> <Info> <ServletContext-/bea_wls_internal> <PEER> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1218456538658> <000000> <HTTPClntLogin: Login rejected with code: 'Failed', reason: java.net.ProtocolException: HTTP tunneling is disabled
    at weblogic.rjvm.http.HTTPServerJVMConnection.acceptJVMConnection(HTTPServerJVMConnection.java:88)
    at weblogic.rjvm.http.TunnelLoginServlet.service(TunnelLoginServlet.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3231)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    This last message is from the access.log for the Admin Server:
    <PEER> - - [11/Aug/2008:12:08:58 +0000] "GET /bea_wls_internal/HTTPClntLogin/a.tun?wl-login=https+dummy+WLREQS+9.2.2.0+dummy+%0A&rand=8038349418070109915&AS=2048&HL=19 HTTP/1.1" 200 1337
    I have searched all over trying to find a solution but with no luck thus far. I have seen some posts about turning on HTTPTunneling and this does seem to prevent the error from occurring, but this is not a solution for us.
    I could really use some help in understanding whats going on and trying to resolve this issue. Our client will make a big deal out of this and will want a solution. Any help would be greatly appreciated.
    Message was edited by:
    user651444

    Hi,
    We had this problem with WebLogic Platform 9.2 MP2, running on Solaris. The patch CR344429 worked fine. The corresponding patch for 9.2 MP3 is CR370091. You can get these patches through Oracle Support.
    A couple of points:
    1. We did not have to set StartScriptEnabled=true for the patch to work. We use the SSL Niode manager.
    2. Using the t3: protocol (-Dweblogic.management.server=t3://<admin server listen address>:<admin server listen port) does stop these exceptions, but causes these warning messages to appear in the administration server log file:
    <Warning> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <...> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef ......>
    <Warning>  <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <...> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef ......>
    Hope these comments help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Logging HTTP access protocol

    Is there any way to log the HTTP access protocol in the access.log file (HTTP vs
    HTTPS). I tried the extended format using the following format:
    #Fields: c-ip date time cs-method cs-uri status bytes
    The log entries I get are of the format:
    169.254.114.81 2003-09-12 06:31:50 GET /test/HelloWorld.jsp - 459
    Note that the URI is relative to the document root and does not include the protocol
    (HTTP vs HTTPS). Also the status is showing up as a dash, which is surprising.
    Thanks.
    Naresh

    For getting the status use, sc-status in the field header.
    The whole URL can be logged by using a custom Java Class that can be added
    to the 'Fields' header.
    Thanks,
    Selva-
    [email protected]
    "Naresh Bhatia" <[email protected]> wrote in message
    news:3f61d993$[email protected]..
    >
    Is there any way to log the HTTP access protocol in the access.log file(HTTP vs
    HTTPS). I tried the extended format using the following format:
    #Fields: c-ip date time cs-method cs-uri status bytes
    The log entries I get are of the format:
    169.254.114.81 2003-09-12 06:31:50 GET /test/HelloWorld.jsp -459
    >
    Note that the URI is relative to the document root and does not includethe protocol
    (HTTP vs HTTPS). Also the status is showing up as a dash, which issurprising.
    >
    Thanks.
    Naresh

Maybe you are looking for

  • How to clear all open GRIRs in the year end and maintained as provision  ?

    Hi Friends, I would like to clear all open GRIRs in the year end and maintained as provision. in the next year next day i would like to show as open items. How can do it ? I have tried to clear it. I have maintained OBYP settings also. But i am unabl

  • Keep receiving error when trying to use a new Apple ID

    "Please sign in again. For added security, we need to reconfirm your Apple ID." I am beyond frustrated and have been working on this for about 2 hours. I don't understand how something so simple is becoming such a nusance. I created a new Apple ID ho

  • Event applied to control references

    Hello! I built a VI that can run on its own or controlled by a superordinated VI. If there are valid references comming into the subordinated Vi these are used exclusivly, otherwise references to the controls of the superordinated VI are used. So ins

  • Inbound Idoc function module  for Cycle count with msg type WVINVE

    Can any one tell me which is the standard function Module which processes Cycle count for message type WVINVE. My requirement is to setup Inbound Idoc for cycle processing with message type WVINVE.

  • Substitution systax for multiple proposals.

    Hi Expets I wiah to substitute the corresponding profit center for the plant. Please suggest the systax for prerequisite and substitution, in case of having multiple plants. Ex: Plant   -  Prof center 1000   - PF1000 1100   - PF1100 1200   - PF1200 W