Application Log - error in header
Hi,
I have created application log using BAL* FM's.
Now in header part i am filing below columns:
as_log-context-tabname = 'YCONTEXT'.
as_log-context-value = ls_extnumber.
When log is displayed, in header i am getting information:
Interface type(custom field), Numb, date, Time, User, Tran, Program,Mode, Log number.
Below Inrterface type there is a folder 'Inbound'(again name is as per requiernment). Now this folder is a tree like structure.
When this tree is expanded, fields Bumb, date,time,User.. gets there values.
Now the problem is:
below folder 'Inbound', there is a symbol indicating error messages. I want with this error message, some text should also come.
How to do this?
If someone can provide his/her email id, i can send the screen shots, which will be easier to understand.
regards,
Ashish
Hi Sai,
Is there any recent Kernal upgrade has happened in your project? the issue is happening in the VMC call as per the dump detail. I would suggest just ask the basis guys to check the VMC server wether it is up or down and also in case of any upgrade happen basis need to restart the VMC server may be they have forgotten to do so.please check the same and revert with your finding.
Thanks
Prem
Similar Messages
-
Sending Inbound application log error in inbound processing through email
Hello all,
My client wants application log for failed idoc through E-mail.(The application log found in we05 for failed idocs).
Please guide me how to get/fetch the error log in inbound processing.
Thank you.
Edited by: Sanjay_lnt on Feb 9, 2010 5:32 AMHi,
Query EDIDS table with the relevant selection criteria like date.
Here field STATXT will give you the message text. REPLACE the place holders(&) with STAPA1, STAPA2, STAPA3 and STAPA4 to build the complete message.
Make sure that you read the message for the latest counter(Check Max counter in field COUNTER). Because same IDOC can have multiple messages.
Once you get the message, you can use normal mail sending code for sendingout the mails.
Thanks,
Vinod.
Edited by: Vinod Vemuru on Feb 9, 2010 11:21 AM -
Poor Forms performance - application.log errors
Hi
We have an environment that is supporting over 3000 users. The application servers are Win2K using Forms 10.1.2.3.0.
Users are constantly experiencing poor performance, taking an age to switch from one form to another.
Ignoring all the other possibilities like network etc the only information I can find is in the $ORACLE_HOME\j2ee\applications-deployments\formsapp\OC4J_BI_Forms_default_island_1\application.log
The following is a typical error message:
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
at oracle.forms.servlet.RunformProcess.dataToRunform(Unknown Source)
at oracle.forms.servlet.RunformSession.dataToRunform(Unknown Source)
at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
The following config details are important:
1. httpd.conf - ThreadsPerChild=150 MaxRequestsPerChild=0
2. formsweb.cfg - heartBeat=2 FORMS_TIMEOUT=15
Has anyone come across a similar situation? Does this error message suggest any Oracle configuration issues I could look at?
Regards
AndyI don't see that parameter.
Here is my web.zml file:
/* ***** begin web.xml ***** */
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<!-- $Id: web.xml 19-may-2005.09:25:21 supadhya Exp $
Name
web.xml
Purpose
Forms web application (WAR) configuration file
-->
<web-app>
<display-name>Forms Services</display-name>
<description>Oracle AS: Forms Services</description>
<welcome-file-list>
<welcome-file>lservlet</welcome-file>
</welcome-file-list>
<!-- Forms page generator servlet -->
<servlet>
<servlet-name>frmservlet</servlet-name>
<servlet-class>oracle.forms.servlet.FormsServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<!-- During product installation the configFileName parameter is
specified in the orion-web.xml file as a context parameter
override (in iDS), or as a Java system property (in iAS).
It is set to <oracle_home>/forms/server/formsweb.cfg.
You can override that value here by editing and uncommenting the
following servlet parameter setting: -->
<!--
<init-param>
<param-name>configFileName</param-name>
<param-value><your configuration file name goes here></param-value>
</init-param>
-->
<init-param>
<!-- Turn on or off sensitive options on the frmservlet/admin page.
For security reasons this should be set to false for
production sites.
-->
<param-name>testMode</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
<!-- Forms listener servlet -->
<servlet>
<servlet-name>lservlet</servlet-name>
<servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
</servlet>
<!-- Forms servlet mappings. Allow these paths to the servlets:
/forms/frmservlet or /forms/frmservlet/*: FormsServlet
/forms/lservlet or /forms/lservlet/*: ListenerServlet
-->
<servlet-mapping>
<servlet-name>frmservlet</servlet-name>
<url-pattern>/frmservlet*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>lservlet</servlet-name>
<url-pattern>/lservlet*</url-pattern>
</servlet-mapping>
<!-- Define application specific security roles
-->
<security-role>
<role-name>administrators</role-name>
</security-role>
<!-- Define security constraints to limit access to defined url to a
particular role -->
<security-constraint>
<web-resource-collection>
<web-resource-name>TraceLog</web-resource-name>
<url-pattern>/frmservlet/trace</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>administrators</role-name>
</auth-constraint>
</security-constraint>
<!-- The following context parameter is only defined here so it can be
overriden by the (site-specific) value in the orion-web.xml file.
-->
<context-param>
<param-name>configFileName</param-name>
<param-value></param-value>
</context-param>
</web-app>
/* ***** end web.xml ***** */ -
Hi,
I need the community's help to solve my problem.
A brief history is that I have clone the production instance from to another server. the clone was successful.
After which I applied a patch SCM 12.1.3 (9245674) then the patch was successfully applied. After bouncing the Appstier
I could not login to appsLogin.jsp. I have reviewed the application log and I have found this error:
12/09/10 14:54:42.668 html: chain failed
javax.servlet.ServletException: REST
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:899)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
at RF.jspService(_RF.java:275)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
tried to serach the net but to no avail.
Please need your help!
Thank You!
chrisI am seeing this error very frequently in oacore application.log file Do you get any errors from the application?
Is this a generic error if so can we ignore it.
If this is not a generic error what s the reason behind this error Please see these docs.
Cannot Login: mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context. [ID 563940.1]
R12 Forms Slow performance / Freezes / Hangs for large # Record details using View -> Last -> Record [ID 1369830.1]
When does this error appear in the log file?
Thanks,
Hussein -
UMgrProveder Application log Error!!!
I have a Solaris 10 on the Intel computer.
In the Application log I received next message:
Source: UMgrProvider
Category: Application log
Type: Error!!!
User root was partially modified. See the error log for further details.
What's the problem&
Michael S. AndrosovHI,
I have the same error and I have no idea on where or how to fix it.
Please, if you got the solution e-mail it to me.
Thanks all -
Hi
I follow FAXS_2_0_Quickstart and start tomcat. The check
http://centos:8080/flashaccessserver/flashaccess/license/v1
is ok. But the log file say
2011-04-21 15:57:59,122 FATAL [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer][] - Could not open server properties
java.io.FileNotFoundException
at com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer.packagerSetup(RefImplPackage rServer.java:98)
at com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer.run(RefImplPackagerServer.ja va:165)
at java.lang.Thread.run(Thread.java:636)
2011-04-21 15:57:59,125 INFO [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer][] - Exiting Packager thread.
Which file is it refer to ?
Where is the propert file to set this?Hello,
It looks like at one time or another, you tried setting up the Flash Access Reference Implementation License Server. Part of that package is a packaging server (which interfaces with a Graphical UI to package content). The error you're seeing below suggests something from the Reference Implementation is left behind.
I suggest doing the following:
1. Shut down your Flash Access license server
2. Remove the following from your <tomcat installation directory>/webapps
2a. (file) flashaccess-packager.war
2b. (directory) flashaccess-packager
3. Remove the directory <tomcat installation directory>/work/Catalina
4. Remove the directory <tomcat installation directory>/conf/Catalina
5. Start your server
Also - something to note is that your logfile seems to indicate only an issue was found with the packager deployment. If there are no issues around the flashaccessserver, then your license server should still work, as those 2 different services (packager server & license server) are independent of each other.
cheers,
/Eric. -
System-application.log error
Hai all,
We are facing this error in application_log of the oc4j
dms: Broken pipe
dms: Servlet error
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
at java.nio.channels.Channels.write(Channels.java:60)
at java.nio.channels.Channels.access$000(Channels.java:47)
at java.nio.channels.Channels$1.write(Channels.java:134)
at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:309)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Any idea what could be the issue ?
KaiBroken pipe IOExceptions indicate a communication problem between a client and server. For whatever reason the socket from the server back to the client is dead. Among many other things, these communication errors can happen because:
1. The browser (client) breaks the socket connection to the server due to the user either hitting the stop button, or the user issuing another HTTP request prior to the first request.
2. Network congestion, latency, etc.
3. Firewalls, timeouts, congestion, etc.
These errors can be indicative of user generated errors beyond your control, network - internet problems beyond your control, or your own network configuration that is causing problems. I don't think there is a real 'easy' way to determine the actual cause other than going down the list one by one.
If you don't know how to diagnose any of these areas, I would suggest to have your network administrator take a look at your network topology and also call Oracle Support to help you further.
Thanks
Shail -
Error records written to application log
Hi,
Issue when uploading data from source system as data not even arriving into PSA and failing with below message like
Error records written to application log
Error in an arithmetic operation in record 793
Record 793 :Contents 0 0 from field ANZZL cannot be converted in type INT1 ->longtext
Record 793:Contents 0 0.00 from field PREIS cannot be converted in type CUR
analysis:
1).There were no issues in source system with filed data types.
2). Re generated the data source and replicated into BW and reloaded, still same issue as mentioned above.
3). In PSA data packets unable to find records which are issue. as data not arrived in PSA.
Urgently needed to get the data into system.
Thanks in advance.
MaheshHi.
May I recommend you to post such question in [BI General forum |Business Intelligence Old Forum (Read Only Archive) ;?
There you can get an answer from our colleagues.
Regards. -
Custom error message in SAP application log
Is there a way to add a custom error message to the SAP application log without passing the message variables MSGV1, MSGV2, MSGV3, MSGV4 and the Message class and number.
We want to pass a custom message from the BAPIRET2-MESSAGE without giving it a Message class and number. The reason for this is that we are using class based exceptions instead of the traditional message class with errors. When we catch the class based exception, we take the error text of the exception and put in in the BAPIRET2-message and set the BAPIRET2-TYPE as 'E'. Now we want to add this to the SAP application log.
The call to 'BAL_LOG_MSG_ADD' takes a structure BAL_S_MSG which is just like BAPIRET2. However this function builds the entry to the application log use the message variables MSGV1, MSGV2, MSGV3, MSGV4. There is no provision to pass in the BAPIRET2 message.
Add message to application log
CALL FUNCTION 'BAL_LOG_MSG_ADD'
EXPORTING
i_log_handle = app_log_handle
i_s_msg = log_message
Thanks,
JayHi Jay,
Did you see <b>BAL_LOG_EXCEPTION_ADD</b>?
This FM is represented by the structure <b>BAL_S_EXC</b>. This can have various versions as described below:
<b>Data of BAL_S_EXC Structure / Use</b>
<b>EXCEPTION</b> / Exception class from which an exception text
is added to the log. This field must be filled.
<b>MSGTY</b> / Message type (MSGTY) of a T100 message.
This field must also be filled for exceptions.
<b>PROBCLASS,
DETLEVEL,
ALSORT, TIME_STMP</b> / Message or exception attributes, such as
problem class (PROBCLASS, for
example, "very important"), level of detail
(DETLEVEL, from 1 to 9), sort criterion
(ALSORT, unrestricted) and timestamp
(TIME_STMP). These fields can be displayed
in the log (except TIME_STMP).
<b>MSG_COUNT</b> / This attribute is not used for exceptions.
Follow the link below for more details:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm">SAP Help DOc</a>
Hope this helps.
Thanks
Sanjeev -
Had this error msg in my application log:
Had this error msg in my application log:
[21/Feb/2002 10:16:20:7] info: REQ-012: thread add
[21/Feb/2002 10:16:20:7] info: REQ-012: thread add
[21/Feb/2002 10:16:20:7] info: ENGINE-ready: ready: 10820
BASEURL: https://ssunp03.company.com:8081
strURL: https://ssunp03.company.com:8081/cgi-bin/gx.cgi/AppLogic+EventServerManager
EventServerHttpInvocation > java.net.MalformedURLException: unknown protocol: https
**Out of memory, exiting**
ld.so.1: /pimcreg5/imc/nas/40sp3/nas/usr/java/bin/sparc/native_threads/jre: fatal: /pimcreg5/imc/nas/40sp3/nas/us
r/java/lib/sparc/native_threads/libjava.so: mprotect failed: Resource temporarily unavailable
Killed
Connected to LDAP server on ssunp03.company.com port 1390
[21/Feb/2002 02:42:49:1] info: ENGINE-class_loader_created: New class loader com.kivasoft.engine.EngineClassLoade
rNonVersionable@1c14d67f has just been created
Can anyone share with me his experience about ld.so.1?? What is it and why does it cause my apps server to reboot?It looks like you might simply have run out of memory. It just looks like the JRE tried to adjust its memory map and run out space. When mprotect fails the problem probably isn't with the .so itself.
What are the memory characteristics of your machine? Including the heap and stack space that you allocate for your JVM, as well as the actual physical and swap space available on the server. -
Error Message in portal application.log
Hi all,
There are error messages continually been written to application.log.
Here is the path.
$ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/OC4J_Portal_default_island_1/application.log
We couldn't find out what's wrong.
Portal Version is 10.1.2.2.0.
application.log
07/01/31 16:54:54 portal: [module=RepositoryServlet, ecid=103102642203,1] ERROR: Repository Gateway error: Request Processing Error:
maxlength.htc: PROCEDURE DOESN'T EXIST
07/01/31 17:23:44 portal: [module=RepositoryServlet, ecid=133169185626,1] ERROR: Repository Gateway error: Request Processing Error:
maxlength.htc: PROCEDURE DOESN'T EXIST
07/01/31 17:23:58 portal: Broken pipe
07/01/31 17:23:58 portal: Broken pipe
07/01/31 17:23:58 portal: id=146054097151,1 Exception processing portlet response
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:216)
at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:151)
at oracle.webdb.repository.service.RepositoryHttpResponseWrapper$RepositoryOutputStreamWrapper.write(Unknown Source)
at oracle.webdb.page.CharConvertingOutputStream.write(Unknown Source)
at oracle.webdb.page.v2.BaseDataProcessor.addToOutputStream(Unknown Source)
at oracle.webdb.page.v2.BaseDataProcessor.includePortlet(Unknown Source)
at oracle.webdb.page.v2.BaseDataProcessor.parseLayout(Unknown Source)
at oracle.webdb.page.v2.BaseDataProcessor.assemblePage(Unknown Source)
at oracle.webdb.page.v2.BaseDataProcessor.process(Unknown Source)
at oracle.webdb.page.PageBuilder.process(Unknown Source)
at oracle.webdb.page.Main.doRequest(Unknown Source)
at oracle.webdb.page.ParallelServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:260)
at oracle.webdb.portal.servlet.PortalServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
----------------------$ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/OC4J_Portal_default_island_1/application.log
os the log of the "parent application". This is rather high level in the container. The message in the logfiles tells you that a procedure doesn't exist.
This can mean 3 things:
1. The procedure really doesn't exist
2. The procedure expects different parameters then passed
3. In the procedure a specific array member is called (but not found). (don't know how to explain this better in English, sorry for that).
It has been a while since I touched portal. In the past portal used a DAD (located in your HTTP-Server configuration). By changing the error style of the dad, you might find a more comprohensive error message. -
How to add custom error message in standard application log of change doc.
Hi,
While saving chnage document I need to add raise an error on specific condition. As Error messages is being shown in application log I added custom message in include LCRM_1O_UIF15 by using BAL_LOG_MSG_ADD FM however it is not showing in the screen. What could be the reason? Can anybody please explain?
Rgds
SudhanshuMuhammed,
Have you tried throwing a JboException in your AM code?
John -
Domain user no longer exists but getting errors in application log
Hi,
We had a domin user with which SQL service and SQL agent is configured to start. But this account does not have access to that server in which SQL is installed now. I can see the follwing message in application log:
Log Name: Application
Source: MSSQLSERVER
Date: 3/10/2014 2:00:00 PM
Event ID: 18456
Task Category: Logon
Level: Information
Keywords: Classic,Audit Failure
User: Domain \username
Computer: XXXX
Description:
Login failed for user 'Domain \username'. Reason: Failed to open the explicitly specified database. [CLIENT: <local machine>]
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSSQLSERVER" />
<EventID Qualifiers="49152">18456</EventID>
<Level>0</Level>
<Task>4</Task>
<Keywords>0x90000000000000</Keywords>
<TimeCreated SystemTime="2014-10-03T04:00:00.000000000Z" />
<EventRecordID>20420597</EventRecordID>
<Channel>Application</Channel>
<Computer>XXXXXXX</Computer>
<Security UserID="S-1-5-21-2091904384-3689332406-323980668-6522" />
</System>
<EventData>
<Data>domain\usernamer</Data>
<Data> Reason: Failed to open the explicitly specified database.</Data>
<Data> [CLIENT: <local machine>]</Data>
<Binary>184800000E000000100000004100550030003400550041005000300036003800510041004E00380032000000070000006D00610073007400650072000000</Binary>
</EventData>
</Event>
How come this message is coming in the application log, since no one has tried to log in to the application?Hi Both are 2008R2 version. My doubt is I can see that login failed message in application log but how to find out which process is trying to use that login?
First observe that this is something that runs on the same machine as SQL Server. (The error message says "CLIENT: <local machine>".) That may be a clue enough.
If not, set up a includes Audit: Login Failed and no other event. Of interest are the columns ApplicationNmae and the the column ClientProcessID. ApplicationName may be sufficient, but if not you can use ClientProcessID and match this against the PIDs you
see in Task Manager or Process Explorer. There is a risk it is a short-lived process and then you will have to look at Process Explorer and Profiler in parallel.
Erland Sommarskog, SQL Server MVP, [email protected] -
Urgent help needed on writing errors in to windows events application logs
Hi all,
we have web based application. Whenever there is critical errors encounters in our application we need to write that errors in to windows
event viewer, application logs. Please help me on how to do this.
do we have any specific API for this ?
thanks in advance
ShivakumarYou should use WinAPI to do so. Asking in JNI forum (or specialized WinAPI forum) for more details is good idea I think.
-
Urgent help needed on writing errors in to windows application logs
Hi all,
we have web based application. Whenever there is critical errors encounters in our application we need to write that errors in to windows
event viewer, application logs. Please help me on how to do this.
do we have any specific API for this ?
thanks in advance
ShivakumarYou should use WinAPI and followed functions: RegisterEventSource(), ReportEvent() and may be some more. It was some time ago as I deal with...
Maybe you are looking for
-
OSX Mountain LION 10.8 Epson CX7400 and Windows 7
I have troubles with my printer via Network: I installed first the epson CX7400 via USB on the OSX and let OSX download the latest drivers automatic then I made a print and all ok then I return the printer to the machine with windows 7 that share tha
-
How do I change the settings for signing a document back to the standard settings?
I want to sign documents with an image, but I cannot choose this option. I can only sign with a digital ID.
-
Get the Print Status of Reports - D2k/Reports Ver.6
Dear sir, We are developing all the systems with oracle products. We are facing following technical problem in reports version 6. 1. During continuous cheque printing and pay slip printing in a pre-printed paper, kindly suggest what is the command/pr
-
Just like the tite says. I am investigating why my Macbook Pro (3,1) running Mountain Lion will not assign an IP address to a computer connected via Ethernet when Internet Sharing is turned on (laptop receiving WiFi connection, supposed to be sharing
-
How to attach a security policy to separate webservice?
If i have a WebService with a lot of operations. Is it possible to attach any security not to whole Webservice, but to separate operations only? EM shows Policies->Attach to -> Webservice. So, is it means - that security may be attached only to all w