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
Similar Messages
-
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 -
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? -
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 AMNot 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? -
Sharepoint HTTPS access stopped working suddenly
Hi,
we have a single server sharepoint 2013 server.
HTTP and HTTPS access are enabled for sharepoint site collection. The bindings and aam are set correctly.
The HTTPS access suddenly stopped working. Might be related to updates installation.
HTTP access is working properly.
When I create a new non sharepoint site in IIS the HTTPS access works.
When I create a new sharepoint site in IIS the HTTPS access does not work only HTTP access is possible. There is no response from the server.
Following event log error message might be related to this problem:
Schanel 36888 Error: A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 10. The Windows SChannel
error state is 1203.
I checked the ULS, Event logs, changed bindings, tried creating new sharepoint web applications to find the source,
Any ideas?
Thanks,
AndrejHi Andrej,
I think unless the issue for Schanel 36888 error is fixed,the HTTPS issue may not get resolve.
Please refer the below link which was resolved in different OS.
http://social.technet.microsoft.com/Forums/en-US/9dfb4d09-8096-40c9-ac75-1e23f75417c9/frequent-event-id-36888-windows-schannel-errors-in-the-event-viewer?forum=W8ITProPreRel
TLS and HTTPS:
TLS (Transport Layer Security) and SSL (Secure Sockets Layer) are protocols that provide data encryption and authentication between applications and servers in scenarios where that data is being sent across an insecure network, such as checking your email
(How does the Secure Socket Layer work?).
http://luxsci.com/blog/ssl-versus-tls-whats-the-difference.html
http://searchsecurity.techtarget.com/definition/Transport-Layer-Security-TLS
Please remember to mark your question as answered & Vote helpful,if this solves/helps your problem.
s p kumar -
Web Service using HTTP-XML Protocol
Can anyone provide an example of a web service in WebLogic 8.1 using the http-xml protocol (i.e., not using SOAP)? I am trying to understand how to gain access to the xml within the http post using WebLogic's web service paradigm within WebLogic Workshop.
Hi Ananth,
thank you, but this document does not help at all.
We are using Crystal Reports 2008 SP2.
We want to use the Web Service Connector.
What I need is more informationen about the Web service connect. For example - the connection in Microsoft InfoPath is much easier - there I don't have to enter a port and can choose the methods from a list.
Is it possible to use the Crystal web service connector for MS SharePoint Webservices?
Or must I use the Crystal SDK to carry out a connection?
Best regards,
Sebastian -
Log file (access.log) of the internal ITS
Hello,
anybody know how to access the logfiles of the internal ITS. In particularly im looking for the log file access.log which you had for the external ITS accessable over the ITS admin page http://<servername>/scripts/wgate/admin/!
The log file loged all users and the transaction they accessed over the time in the format
2006/10/21 18:39:16.093, 0 #197349: IP ???.???.???.???, -its_ping
Thanks in advance,
Kai Matternhi
good
go through these links, i hope these ll help you to solve your problem.
http://www.hp.com/hpbooks/prentice/chapters/0130280844.pdf
http://help.sap.com/saphelp_46c/helpdata/en/5d/ca5237943a1e64e10000009b38f8cf/content.htm
thanks
mrutyun^ -
Problem Accessing Protocol Classes in INBOUND PROXY
Hi guys.
Im having problems accessing Protocol Classes in a inbound proxy.
I have this code that is copied from:
http://help.sap.com/saphelp_nw04/helpdata/en/a7/3b2a2d45a34a23b75e3b18745c63bc/frameset.htm
DATA: lo_server_context TYPE REF TO if_ws_server_context,
lo_payload_protocol TYPE REF TO if_wsprotocol_payload.
lo_server_context = cl_proxy_access=>get_server_context( ).
lo_payload_protocol =
lo_server_context->get_protocol( if_wsprotocol=>payload ).
But Im getting this error:
The result type of the function method cannot be converted into the type lo_payload_protocol
If I try to get the attachment protocol with this code:
DATA: lo_server_context TYPE REF TO if_ws_server_context,
lo_attachment_prtcl TYPE REF TO IF_WSPROTOCOL_ATTACHMENTS.
lo_server_context = cl_proxy_access=>get_server_context( ).
lo_attachment_prtcl = lo_server_context->get_protocol( if_wsprotocol=>ATTACHMENTS ).
Im getting the same error.
What am I doing wrong? It' s code copied fror SAP Library!!!
Thanks a lot.hi,
you are choosing wrong type for lo_payload_protocol.
you must change like this
lo_payload_protocol TYPE REF TO IF_WSPROTOCOL.
regards,
orhan -
I have an ASA5510 configured for remote access VPN (standard and clientless). It uses LDAP to authenticate against domain controllers in my environment.
Is there a way to configure syslog to log user access to the VPN (date & time, etc.), without turning on "logging trap informational" and filling up my syslog server with loads of other information (conduits opening, teardowns, etc.)?
I am syslogging to SolarWinds using udpHi Colin,
For this, you need to first know what message IDs you want syslog to receive. Say you want to receive the below message id 713059 (tunnel reject -user group-lock check failed) to syslog server...
logging list TEST message 713059
logging list TEST message 713070-713080 --> For range of messages
configure syslog server on ASA and issue the command 'logging trap TEST'.
Check the below link for more info...
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a00805a2e04.shtml
hth
MS -
I am using 3 AP but I can not access to all AP AIR-LAP521G-E-K9 via HTTP.Do I need some configration to use HTTP access?
However I can edit some configration from WLC526.yes, but I could not find that configration
(Cisco Controller) >?
clear Clear selected configuration elements.
config Configure switch options and settings.
debug Manages system debug options.
help Help
linktest Perform a link test to a specified MAC address.
logout Exit this session. Any unsaved changes are lost.
ping Send ICMP echo packets to a specified IP address.
mping Send Mobility echo packets to a specified mobility peer IP address.
eping Send Ethernet-over-IP echo packets to a specified mobility peer IP address.
reset Reset options.
save Save switch configurations.
show Display switch options and settings.
test Test trigger commands
(Cisco Controller) >config ?
advanced Advanced Configuration.
(Cisco Controller) >config advanced ?
802.11a 802.11a parameters.
802.11b 802.11b parameters.
client-handoff Auto handoff the clients on excessive retires.
dot11-padding Configure over-the-air frame padding
eap EAP (Extensible Authentication Protocol) Settings
macfiltering Configure advanced macfilter settings.
max-1x-sessions Maximum 802.1x session initiation per AP at a time.
probe-limit Limit number of probes sent to switch per AP slot per client in a given interval.
rate Enable/Disable switch control path rate limiting.
statistics Enable/Disable switch port statistics.
timers Configures system timers. -
Sharepoint foundation 2010 externel https access problems
I have a very strange problem with my sharepoint foundation 2010 site.
I have a site which is accessible from outside on https (we have a valid certificate). I configured IIS for http and https.
Also I configured internal and externel access for this site on sharepoint.
But sometimes, the site is not accessible from outside on https with (externe.site.fr), BUT it will be accessible with public ip !!!
And also accessible from inside. (with interne.intranet.site.fr)
Any Idea ?
thanksHi,
According to your post, my understanding is that your site is not accessible from outside using external host name with https sometimes.
As your site can be accessible with public IP, however it can’t be accessible from outside using external host name with https sometimes, the issue could be caused by the gateway server in your environment.
I suggest that you need to check the gateway server configuration.
For more information, you can refer to:
http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/12/05/how-to-set-up-microsoft-forefront-unified-access-gateway-environment-for-sharepoint-2013.aspx
http://nhutcmos.wordpress.com/2013/07/26/configure-ssl-certificate-for-sharepoint-external-https-access/
http://sharepointdotnetwiki.iblogger.org/2009/12/dns-setup-in-sharepoint/
http://underthehood.ironworks.com/2010/06/making-a-sharepoint-2010-site-externally-available-alternate-access-mappings-host-header-bindings.html
Best Regards,
Yumi Fu -
Ftp and http access over XDB repository is not allowed...
When I try to execute the following command on a reasonably fresh Oracle 11 installation:
insert into "XMLTEST" ( "name", "xmlfof" ) values ( 'small', DBMS_XDB.GETCONTENTXMLTYPE('/public/small.xml') );
-- The schema is correctly registered, the file "small.xml" is in the /public repository folder, the user has every conceivable role and priviledge
-- http access works fine from a remote location, tried to execute the command on the server and from remote system...
I get the following error message:
ORA-31020: Der Vorgang ist nicht zulässig, Ursache: For security reasons, ftp and http access over XDB repository is not allowed on server side ORA-06512: in "XDB.DBMS_XDB", Zeile 1915
Searching for an answer on the forum didn't produce any concreate explanation... Does anyone have any idea how to solve this problem?As it turns out, the XML file contained a reference to a DTD at an external web-site, which caused the problem - it was identical to that described here:
Re: ORA-31020 when using XML with external DTD or entities
After removing the reference, everything works perfectly... -
Hello Experts,
i am deploying edq on weblogic.
After deployment, when lauching the edq url getting below error on firefox.
**Creating default directory in failed: \logging.properties (Access is denied)**
by default, it took the path as:
C:\oraclesw\oracle\middleware\user_projects\domains\oedq_dev_domain\servers\edqdev_server1\tmp\_WL_user\dndirector\1i3bzo\war\WEB-INF\config
i have unzipped the config.zip into above mentioned config folder.When we restart the application server up and start the managed server, the deployment is in the failed status with the following message:
We have the Memory settings on the managed server set as : -Xmx5024M –XX:MaxPermSize=256M
<Jul 11, 2013 4:45:13 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application 'dndirector'.>
<Jul 11, 2013 4:45:13 PM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: com.datanomic.utils.transport.TransportSignature
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Truncated. see log file for complete stacktrace
>
<Jul 11, 2013 4:49:42 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Ddndirector%2CType%3DAppDeployment%22%29.> -
Server.log and access file previous record are overwrite
Hi,
I am having problem that my server.log and access file in all instance have been overwrite by latest record. Suppose all the system.out.print will append to the server.log. However, my problem is the log which has been written to server.log in earlier time (mayb morning till afternoon) is replaced. From the server.log, I am only able to view the log which start from 11 pm. The same case happen to access file as well. This incident is not happen everyday but sometimes.
I am wondering what is happen and how i can solve the problem.
Any help/guidance is highly appreaciate.
Thanks.Hi,
Did anyone know the solution for this issues..
Thanks.
Maybe you are looking for
-
Deleting an empty blank space?
I've used the milano template on pages to create my CV, however the text at the top (i think is classed as a header) is seperated from the main text by a blank space which i can't seem to delete... I've tryed pressing backspace in case there's any sp
-
Hi, We use a java application that implements the JMS MessageListener interface to process messages received in a WMQ queue. In order to improve performance we decided to start 2 instances of the consumer processes, so 2 Message Listeners on the same
-
Thread safety in XMLParserv2 for java
Hello, I've just posted something about this on the forum, but I have a few more precise questions: 1/ If I instanciate a DOMParser in a singleton class, can I have multiple threads use this single instance to produce XMLDocument objects (e.g. by par
-
Strange thing happens when smplayer use xv-intel video overlay
i started to notice some strange thing happens when i turn on the desktop composting effect on kde,smplayer's video show blue colors,and smplayer menu has a thick blue line surrounding it. whatever other windows i dragged over the smplayer show the
-
App Store crashes immediately after opening
App Store crashes every time I open it. Also having a problem with iPhoto crashing as well. Initially tried reinstalling OSX 10.9.4, but that didn't fix it either. Model: iMac12,1, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.7 GHz, 4 GB,