Connection string in listener log file for loading balance/failover

Hi Experts,
I have 4 node RAC for oracle 10g2 in rad hate 5.0
We creaed service dbsale ( sale1,2 as pr imary and sale3/4 as available) with loading balance/failover.
The remote user created a local TNS as
localmarket =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 155.206.xxx.xx)(PORT = 1521))
(LOAD_BALANCE = OFF)
(CONNECT_DATA = (SERVICE_NAME = dbsale))
From server side, I saw that user send two request connection string. one fail and another is OK.
It seems that fail connecting come from failover/loading balance from dbsale3?
Why do we get two connection string in listener log file?
Which difference is between two connection string?
Where does system change these connection string?
Thanks for your explaining.
Jim
==============listener.log message
[oracle@sale log]$ cat listener_sale.log|grep pmason
15-SEP-2009 13:52:24 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54326)) * establish * dbsale * 0
15-SEP-2009 13:52:25 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))(SERVER=dedicated)(INSTANCE_NAME=sale3)) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54327)) * establish * dbsale * 12520
15-SEP-2009 13:52:30 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54329)) * establish * dbsale* 0
15-SEP-2009 13:52:47 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54332)) * establish * dbsale * 0
15-SEP-2009 13:52:47 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))(SERVER=dedicated)(INSTANCE_NAME=sale3)) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54333)) * establish dbsale 12520
15-SEP-2009 13:52:49 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54334)) * establish * dbsale * 0
Edited by: user589812 on Sep 16, 2009 7:21 AM

Hi Jim,
I think the best way on this case is create one service with one instance as primary and another 3 as available.
Or use the connect string with two vip addresses, cause the service has two instances and the tnsnames.ora entry has only one.
Cheers,
Rodrigo Mufalani
http://mufalani.blogspot.com

Similar Messages

  • (Cisco Historical Reporting / HRC ) All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054

    Hi All,
    I am getting an error message "All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054"  when trying to log into HRC (This user has the reporting capabilities) . I checked the log files this is what i found out 
    The log file stated that there were ongoing connections of HRC with the CCX  (I am sure there isn't any active login to HRC)
    || When you tried to login the following error was being displayed because the maximum number of connections were reached for the server .  We can see that a total number of 5 connections have been configured . ||
    1: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Current number of connections (5) from historical Clients/Scheduler to 'CRA_DATABASE' database exceeded the maximum number of possible connections (5).Check with your administrator about changing this limit on server (wfengine.properties), however this might impact server performance.
    || Below we can see all 5 connections being used up . ||
    2: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:[DB Connections From Clients (count=5)]|[(#1) 'username'='uccxhrc','hostname'='3SK5FS1.ucsfmedicalcenter.org']|[(#2) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#3) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#4) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#5) 'username'='uccxhrc','hostname'='47BMMM1.ucsfmedicalcenter.org']
    || Once the maximum number of connection was reached it threw an error . ||
    3: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Number of max connection to 'CRA_DATABASE' database was reached! Connection could not be established.
    4: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Database connection to 'CRA_DATABASE' failed due to (All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054.)
    Current exact UCCX Version 9.0.2.11001-24
    Current CUCM Version 8.6.2.23900-10
    Business impact  Not Critical
    Exact error message  All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
    What is the OS version of the PC you are running  and is it physical machine or virtual machine that is running the HRC client ..
    OS Version Windows 7 Home Premium  64 bit and it’s a physical machine.
    . The Max DB Connections for Report Client Sessions is set to 5 for each servers (There are two servers). The no of HR Sessions is set to 10.
    I wanted to know if there is a way to find the HRC sessions active now and terminate the one or more or all of that sessions from the server end ? 

    We have had this "PRX5" problem with Exchange 2013 since the RTM version.  We recently applied CU3, and it did not correct the problem.  We have seen this problem on every Exchange 2013 we manage.  They are all installations where all roles
    are installed on the same Windows server, and in our case, they are all Windows virtual machines using Windows 2012 Hyper-V.
    We have tried all the "this fixed it for me" solutions regarding DNS, network cards, host file entries and so forth.  None of those "solutions" made any difference whatsoever.  The occurrence of the temporary error PRX5 seems totally random. 
    About 2 out of 20 incoming mail test by Microsoft Connectivity Analyzer fail with this PRX5 error.
    Most people don't ever notice the issue because remote mail servers retry the connection later.  However, telephone voice mail systems that forward voice message files to email, or other such applications such as your scanner, often don't retry and
    simply fail.  Our phone system actually disables all further attempts to send voice mail to a particular user if the PRX5 error is returned when the email is sent by the phone system.
    Is Microsoft totally oblivious to this problem?
    PRX5 is a serious issue that needs an Exchange team resolution, or at least an acknowledgement that the problem actually does exist and has negative consequences for proper mail flow.
    JSB

  • Listener.log file message

    Hi Gurus
    I am using oracle 10g 10.2.0.1 database.
    In my listener log file frequently getting message '* service_update * ' .
    Is it indicating any error ?
    Please update me.
    Regards
    Rabi

    Hi;
    PMON is responsible for updating the listener with information about a particular instance such as load and dispatcher information. Maximum load for dedicated connections is determined by the PROCESSES parameter. The frequency at which PMON provides SERVICE_UPDATE information varies according to the workload of the instance.
    The maximum interval between these service updates is 10 minutes.
    The listener counts the number of connections it has established to the instance but does not immediately get information about connections that have terminated.
    Only when PMON updates the listener via SERVICE_UPDATE is the listener informed of current load. Since this can take as long as 10 minutes, there can be a difference between the current instance load according to the listener and the actual instance load.
    Source:
    DBconsole Initialization Fails Due To Error ORA-12516 [ID 458308.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Configuring RFC connections for load balancing.

    Hi ,
    We have the following landscape for our systems.
    The database is installed on z/os , db2 (mainframe). The central services( SCS and ASCS) are also on the mainframe. So the message server is on mainframe.
    The CI is on AIX and The DI is on AIX.
    We have Logon groups configured and load balancing Configured and is RFC enabled.
    1) When we connect to SAP using the SAPGUI and  the portal connection is made to either CI or DI depending upon the best response times.  Now recently we are running the mercury load testing, all the users are connecting to DI. Why are the users connecting to DI even though we have load balancing?
    2) I have a system with SID BP0, with one CI and one DI. The logon group is BP0 and the message server name is cyrix. Now I have other another system EP0. I have created a RFC connection from EP0 to BP0. In SM59 I have selected the load balancing option, and provide the message server name, SID and logon group name. The connection does not work. If I connect directly to the CI or DI the connection works. Please tell me how can I configure load balancing for RFC connections.
    Thanks
    Manmath.

    Dear 917996,
    There are two types of load balancing:
    - Client-side load balancing (setting up the tnsnames.ora on client side). More information here (http://ggsig.blogspot.co.uk/2012/04/client-side-
    load-balancing-in-oracle.html). Very good video produced my friend Igor Melnikov is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/client/clientloadbalance_viewlet_swf.html)
    -Server-side load balancing (remote_listener and setting service parameter clb_goal). Very good Igor Melnikov's video is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/server/serverloadbalance_viewlet_swf.html).
    I have read about client side and server side load balancing. By editing tnsnames.ora I have enabled client side load balancing which is suppose to select listeners at random. then why does it only go to second node?Could you please show your tnsnames.ora on client?
    Please can anyone help me to configure server side load balancing with SCAN. I have read many many post but couldn't find a clear answer.Based on your output (remote_listener string cmbtrnrac-scan:1521) you have already configured the server side load balancing.
    SQL> show parameter listener
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=10.1
    7.67.214)(PORT=1521))))
    remote_listener string cmbtrnrac-scan:1521How many SCANs do you use? Do you use DNS?
    regards,
    Gennady

  • Error in compiling Flex application (1). Consult log file for details.

    Dear All,
    when i deploy the application from VC i am facing the below issue.
    Error in compiling Flex application (1). Consult log file for details.
    Please help us.
    Regards,
    Suman

    Hi Juan,
    Please look into the below issue.
    Error in compiling Flex application: java.lang.InternalError: Can't connect to X11 window server using '172.16.12.41:0.0' as the value of the DISPLAY variable.
       at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
       at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:175)
       at java.lang.J9VMInternals.initializeImpl(Native Method)
       at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
       at java.lang.Class.forNameImpl(Native Method)
       at java.lang.Class.forName(Class.java:119)
       at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
       at macromedia.fonts.JREFontManager.initializeSystemFonts(JREFontManager.java:242)
       at macromedia.fonts.JREFontManager.createSetForSystemFont(JREFontManager.java:58)
       at macromedia.fonts.CachedFontManager$FontCache.fetch(CachedFontManager.java:109)
       at macromedia.util.LRUCache.get(LRUCache.java:114)
       at macromedia.fonts.JREFontManager.getEntryFromSystem(JREFontManager.java:186)
       at macromedia.swf.builder.tags.FontBuilder.<init>(FontBuilder.java:52)
       at macromedia.css.FontFaceRule.initialize(FontFaceRule.java:82)
       at macromedia.css.StyleDocumentHandler.endFontFace(StyleDocumentHandler.java:36)
       at org.apache.batik.css.parser.Parser.parseFontFaceRule(Unknown Source)
       at org.apache.batik.css.parser.Parser.parseStyleSheet(Unknown Source)
       at macromedia.css.StyleParser.init(StyleParser.java:165)
       at macromedia.css.StyleParser.<init>(StyleParser.java:89)
       at macromedia.css.StyleSheet.parse(StyleSheet.java:71)
       at flex.compiler.parser.MxmlParser$4.end(MxmlParser.java:1123)
       at flex.compiler.parser.MxmlParser.endElement(MxmlParser.java:402)
       at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
       at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
       at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at javax.xml.parsers.SAXParser.parse(Unknown Source)
       at javax.xml.parsers.SAXParser.parse(Unknown Source)
       at flex.compiler.parser.MxmlParser.parseDocument(MxmlParser.java:4363)
       at flex.compiler.MxmlLoader.parse(MxmlLoader.java:277)
       at flex.compiler.MxmlLoader.loadComponentType(MxmlLoader.java:178)
       at flex.compiler.MxmlLoader.loadComponent(MxmlLoader.java:204)
       at flex.compiler.CachedComponentLoader.getComponent(CachedComponentLoader.java:197)
       at flex.compiler.CachedComponentLoader.loadDefinition(CachedComponentLoader.java:101)
       at flex.compiler.CachedComponentLoader.getDefinition(CachedComponentLoader.java:263)
       at flex.compiler.CompositeLoader.getDefinition(CompositeLoader.java:54)
       at flex.compiler.linker.Loader.getType(Loader.java:266)
       at flex.compiler.linker.Loader.findType(Loader.java:248)
       at flex.compiler.CompilerPackageManager.loadType(CompilerPackageManager.java:629)
       at flex.compiler.MxmlCompiler.openDocument(MxmlCompiler.java:61)
       at flex.compiler.MxmlCompiler.compile(MxmlCompiler.java:234)
       at flex.tools.Mxmlc.main(Mxmlc.java:166)
    Regards,
    Suman

  • Regarding listener.log file

    Hi,
    The listener.log file is showing the following code snippet.But when I put this code to my source file (Automation Plugin), it is giving error as 'FullPathToAlias' unrecognised symbol.
    // Move this to the top of the routine!
    Handle aliasValue = NULL;
    FullPathToAlias("C:\Test.jpg", aliasValue);
    Do I have to include any header file? Does any one have any idea? I am just wanting to dispaly an image preview on dialog box(Automation plugin).
    Please give any idea how can I get the image referrence for the first time from the Hard Disk?
    Can anyone help me out.....................?
    Thanks and Regards

    Mmh, so you're trying to do something like a file-preview?
    I don't know if this is possible, mainly because at the moment
    I can see no way getting any image data before you've loaded
    the image in photosphop (with just using the sdk and not any
    mac/win api)
    If you're developing only for windows targets, you might want to
    try to develop a mfc type plugin like the "mfcplugin" from the filter-
    plugin examples. It does give a preview of the result of an filter
    applied to an image, so I'd guess you can change this with the help of the win-api to preview some picture file. For MFC there are also some
    nice solutions on codeproject you could easily integrate in your plugin:
    a thumbnail control:
    http://www.codeproject.com/miscctrl/thumbnailctrl.asp
    and a picture control:
    http://www.codeproject.com/cs/miscctrl/ScalablePictureBox.asp
    Otherwise the "dissolve"-plugin from the filters example is for mac and win os's and offers also a preview (of a filter application), maybe this will give you some more insight.

  • Internal Error has occurred .  Check the log file for details 11g r2 on windows 8 64bit

    Hi Friends,
    I Have just installed on my laptop
    Database : oracle 11g 64bit , on windows 8 64bit
    I was successfully able to install the Database without any problem... I am able to connect from command prompt both as sys and hr user....
    But when I tried to connect through EM by sys credentials...
    https//localhost:1521/em
    I am getting Error Internal Error has occurred .  Check the log file for details....
    When I checked the emoms.trc this the last few lines...
    https://localhost:3938/emd/main:A००००००००३३.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 32 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    2013-09-02 22:22:35,544 [MetadataLoad https://localhost:3938/emd/main:A००००००००३४.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 33 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    2013-09-02 22:22:36,275 [MetadataLoad https://localhost:3938/emd/main:A००००००००३५.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 34 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    2013-09-02 22:22:57,105 [MetadataLoad https://localhost:3938/emd/main:A००००००००३६.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 35 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    2013-09-02 22:22:57,832 [MetadataLoad https://localhost:3938/emd/main:A००००००००३७.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 36 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    2013-09-02 22:22:58,625 [MetadataLoad https://localhost:3938/emd/main:A००००००००३८.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 37 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    2013-09-02 22:23:02,529 [MetadataLoad https://localhost:3938/emd/main:A००००००००३९.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 38 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    2013-09-02 22:23:03,307 [MetadataLoad https://localhost:3938/emd/main:A००००००००४०.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 39 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    2013-09-02 22:23:04,107 [MetadataLoad https://localhost:3938/emd/main:A००००००००४१.xml] ERROR eml.XMLLoader markFileAsError.858 - Error repeated 40 times: ERROR-400|ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "SYSMAN.EMD_LOADER", line 1779
    ORA-06512: at line 1
    Thanks and Regards

    You could try reading what I said: change the port in the URL to 1158.
    My release of windows is this,
    c:\Users\John>ver
    Microsoft Windows [Version 6.2.9200]
    c:\Users\John>
    You can ignore that junk about editions.
    And by the way, there is a problem with your keyboard, it keeps inserting multiple "...." character strings.

  • LOG FILE for batch scripting in MAXL

    Hello,
    I just wanted to know how to create a LOG FILE for batch scripting.
    essmsh E:\Batch\Apps\TOG_DET\Scripts\unload_App.msh
    copy e:\batch\apps\tog_det\loadfile\gldetail.otl e:\hyperion\analyticservices\app\tog_det\gldetail /Y
    essmsh E:\Batch\Apps\TOG_DET\Scripts\Build_Hier_Data.msh
    REM
    ECHO OFF
    ECHO Loading GL actuals into WFS \ Combined......
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    Drop object d:\NDM\Data\StampFiles\STAMPLOADBKUP.csv of type outline force;
    Alter object d:\NDM\Data\StampFiles\STAMPLOAD_cwoo.csv of type outline rename to d:\NDM\Data\StampFiles\STAMPLOADBKUP.CSV;
    SET LogFile=E:\Batch\Apps\TOG_DET\Logs.log
    This file does not generate log file can any help me what might be the problem? Even though some of the steps above are not correct it should generate me log file atleast. I need syntax or whatever it is to generate Log file.
    Regards
    Soma

    I wanted to have a logfile of the following batch script regardless of whether the script is running or not.
    essmsh E:\Batch\Apps\TOG_DET\Scripts\unload_App.msh
    copy e:\batch\apps\tog_det\loadfile\gldetail.otl e:\hyperion\analyticservices\app\tog_det\gldetail /Y
    essmsh E:\Batch\Apps\TOG_DET\Scripts\Build_Hier_Data.msh
    REM
    ECHO OFF
    ECHO Loading GL actuals into WFS \ Combined......
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    Drop object d:\NDM\Data\StampFiles\STAMPLOADBKUP.csv of type outline force;
    Alter object d:\NDM\Data\StampFiles\STAMPLOAD_cwoo.csv of type outline rename to d:\NDM\Data\StampFiles\STAMPLOADBKUP.CSV;
    What I really want is I need a log file of the above batch script, how the above scripts are running. I do not care whether they are giving me positive results but I need to know what is happening in logfile. HOw will the log file be generated.
    Regards
    SOma

  • How to create different log files for different levels

    Hi,
    Can some one please help me with my problem I have here?
    I want to send log data to two diffrent files depending on the logging level such as DEBUG and WARN using the same logger instance.
    How can you configure this in log4j.properties.
    Please post sample code for log4j.properties to achieve this.
    Thanks in advance.
    Anurag SIngh

    Hi,
    I have tried your code. the issue is other log file for error is blank. its not writting log to that file.
    following is the code of my log4j.properties
    Please read the code first
    # Set root logger level to DEBUG and its only appender to A1.
    log4j.rootCategory=DEBUG,A1
    #Appender and its layout for A1
    log4j.appender.A1=org.apache.log4j.FileAppender
    log4j.appender.A1.layout=org.apache.log4j.PatternLayout
    log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %log4j.appender.A1.Threshold=DEBUG
    log4j.appender.A1.File=./LogonApplication_Debug.log
    log4j.appender.A1.Append=true
    #Appender and its layout for A2
    log4j.appender.A2=org.apache.log4j.FileAppender
    log4j.appender.A2.layout=org.apache.log4j.PatternLayout
    log4j.appender.A2.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %
    log4j.appender.A2.Threshold=ERROR
    log4j.appender.A2.File=./LogonApplication_Error.log
    log4j.appender.A2.Append=true
    In my logger class i have written something like this:
    public static Logger myLogger = Logger.getLogger (LoggerTest.class.getName());
         public static void main(String args[]){
              myLogger.debug("I have logged a debug message");
              myLogger.error("I have logged an error message");
    Issue:
    Now the problem is that it is creating two files specified in the configuration but it is logging messages both the messages debug and error in only ./LogonApplication_Debug.log file.
    Though it is creating the ./LogonApplication_Error.log file, but it is only blank.
    Can you please trace whats missing/wrong.
    Thanks a lot.
    Shanu

  • Different listener log file  in RAC system

    we have 4 nodes 11.1.0.7 RAC at redhat 5.1 linux system.
    I just find there are two listener log file (listener.log; listener_nodename.log ) in each node.
    I want to know which difference function is in both listener.log and listener_nodename.log?
    When or which condition does node run( record data) in listener.log?
    When or which condition does node run( record data) in listener_nodename.log
    I saw the 3 node3 listener_nodename.log is wroking on and one node listener.log is workig on.
    why?
    Does some experts explain this point for me?
    Thanks

    I make some clears for this requirements.
    we have a schedule backup and stores in ASM diskgroup in SAN.
    As system admin and policy of SAN disaster recovery, we need to generate backup in a local file system.
    in this case, we only backup database plus archival files in external file system. but I still saw snapshot control file is still put into default linux location.
    I am not able to see this snapshot in external file system.
    For SAN disaster recovery, do we need to save a control file snapshot in external file?
    Can I apply BACKUP CURRENT CONTROLFILE TO DESTINATION "external file path" for SAN disaster recovery?
    Thanks in advance!
    Jin

  • Java.util.logging - different log files for different loggers

    I'm having trouble configuring Java logging to use different log files for different loggers.
    In log4j, I would do this by configuring multiple loggers each with a different appender. But how can I do this with Java (java.util.logging) logging?
    This is the basic idea of what I'd like to do:
    com.mycompany.app1.level = FINEST
    com.mycompany.app1.<log file> = logfile1.log
    com.mycompany.app2.level = ALL
    com.mycompany.app2.<log file> = logfile2.log
    Any suggestions?

    This kind of thing?
    import java.io.IOException;
    import java.util.logging.FileHandler;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.util.logging.SimpleFormatter;
    public class LogTest {
        private Logger app1;
        private Logger app2;
        public LogTest() {
            // setup loggers
            try {
                // first logger
                app1 = Logger.getLogger("com.mycompany.app1");
                FileHandler filehandler = new FileHandler( "logfile1.log" );
                filehandler.setFormatter(new SimpleFormatter());
                app1.addHandler(filehandler);  
                // second logger       
                app2 = Logger.getLogger("com.mycompany.app2");
                filehandler = new FileHandler( "logfile2.log" );
                filehandler.setFormatter(new SimpleFormatter());
                app2.addHandler(filehandler);  
            } catch(IOException ioex) {
                ioex.printStackTrace();
        private void logStuff() {
            app1.log(Level.SEVERE, "a message for log 1");
            app2.log(Level.SEVERE, "a message for log 2");
            app2.log(Level.WARNING, "another message for log 2");
         * @param args
        public static void main(String[] args) {
            new LogTest().logStuff();
    }

  • File system log files for SOA Gateway

    Hi All,
    I need to get log files for my integration repository/SOA Gateway since I'm not able to generate any WSDL or to deploy a web service. In the SOA trouble shoot document, it says:
    Log on to Oracle E-Business Suite with the username that has the System Administrator responsibility access privilege.
    Select the System Administrator responsibility from the Navigator and choose Oracle Applications Manager > Logs.
    Click Log Setup to open the Java System Property Settings page.
    Click the Site link and enable log for
    Midtier Log File Name: Enter the file name that you would like on the middletier, for example, '/tmp/SOA /tmp/SOALog.log'.
    Module=Enter an appropriate module name, for example, 'fnd.soa%'.
    Ask your System Administrator to bounce oafm container.
    Perform any SOA specific action, such as generate a WSDL file for an PL/SQL API.
    Look for logs in the file specified in the Midtier Log File Name field.
    My problem is, that my EBS installation is running on windows, so '/tmp/SOA /tmp/SOALog.log' will not work, right? I tried something like /temp/... or c:/temp/... or c:\temp\... but I did not get a logfile called SOALog.log.
    What do I have to provide as path here?
    Many thanks,
    Konrad

    Hi!
    Did you encounter any error?Yes!
    >
    try givng C:\temp remember temp should have read and write permissions for the oracle applications o/s user(applmgr)Using c:\temp\test.log results in the following error while saving the log setting:
    An error has occurred!
    For input string: "10001:\temp\test.log"
    I can use whatever string I want, but as long as a ":" is included, I get that error.
    As for the user permissions. I installed the EBS using the standard Administrator account and this account is a member of Administrators and ora_dba.
    Best,
    Konrad

  • Listener log file trimming

    Hi all,
    I have a production database on HP-UX server. and in my /oracle directory, i have the listener.log and sqlnet.log files.
    as the size of the the oracle directory increased, i have trimmed the listener.log and sqlnet.log files. those are trimmed but,
    the percent used in the oracle drive has increased instead of decrease.
    i used this command to trim
    listener.log
    sqlnet.logtotal used free
    /dev/vgdb/lvol1 76808192 19619397 53615115 27% /oracle -- before trimming
    /dev/vgdb/lvol1 76808192 22306731 51095739 30% /oracle -- after trimming
    pls. advice me in this regard.

    hi,
    thanks for the reply.
    i trim the listener.log file, after trimming it is writing in the file. but, my used space in mount point is increased. what would be the possible reason for increase ?? . I checked the other files, but i didnot see any increase in size.
    pls. suggest me in this regard.
    thanks and regards.

  • Error: License File Exception (check the log file for details): ENT_PE_NODE not found in datastore

    Hi;
    i have install 2 MCS 7816 (publisher and suscriber) with call manager version 6.1, i have load the files licenses for the publisher and the phones, but when i load the file license for the suscriber in publisher server i had the error messeage :
    Error : License File Exception (check the log file for details): ENT_PE_NODE not found in datastore
    what s the solution.
    Thanks for your help

    Hello,
    I seen this issue before, all you have to do is Contact Cisco Licensing team. In order to generate new licenses for your server.
    Thanks,

  • Need to Create a New Listener Log file 9i

    Hi, I have a issue with a oracle 9i database.
    First the listener.log file is 1.2G not good on a 25G server..
    How do you create and delete the listener file? Windows 2000 OS...
    Second I also have an issue with the archive log files... I have about 150 file 102M each...Again Not good...
    Need HELP drowning in a sea of oracle... Given the Shrink command....
    At least the Listener issue first then the archive log problem..
    Thank you...

    carlo_sc wrote:
    yes, we normally do a full daily backup and the archive logs are then deleted..But the Job didn't finish
    last night. Also we had big Network issue yesterday and I believe that caused the issue with this server
    causing an excessive amount of log files to be created...
    So with simply thing with lister is just too:
    1) stop listener service
    2) delete Log file.... (that won't mess anything up on restart ) I'm very skittish about manually deleting stuff from oracle..
    Got burned in Sept of last year big timeIt's just a log file. It's for your own use if needed. oracle doesn't use it or require it. You even have an option in the listener to not even write to it in the first place.
    3) restart listener service
    The archive logs : What if I move some of the files to another location then perform the a full daily backup will the that
    solve my archive log issues....
    Thanks for all the quick responses
    Edited by: carlo_sc on Jan 15, 2010 10:09 AMYou say you already have a backup job that gets the archivelogs and deletes them after backup? And the only real problem here is that it failed? Fix the failure and run it again. You can, in a pinch, manually move the archivelogs, but then YOU are responsible for keeping up with them.
    Edited by: EdStevens on Jan 15, 2010 9:32 AM

Maybe you are looking for

  • Missing Adobe Bridge 5

    I just upgraded to a new iMac. I was running Photoshop CS5 and Adobe Bridge CS5. I have redownloaded and installed Photoshop 5, but I no longer have Bridge. I can't seem to find a way to download and install it. I must own it, because I had it before

  • Why isn't my podcast feed on iTunes?

    Hello, we have had a podcat feed posting to iTunes for over a year now. Recently however, when I went to check that the feed was updating properly it is not longer even showin in the itunes store. I went through a Feed Checker to see if there were an

  • Aspect ratio of pictures in BOOK for iphoto8- square

    I seem to be getting a strange aspect ratio in the new iphoto book. it seems to be cropping my landscape pictures into more of a 4x3 or box format. This did not used to happen in the old iphoto. It is extremely annoying as all pictures get cropped ou

  • Dataload - evaluate two fields for a condition

    Hi, I need to evaluate two different fields in a dataload rule and apply condition if true. for instance if field 1 is 600 and field 2 is 30 the change field 1 to 650.

  • When switching to FireFox While Learning PS_CS5  CS5 Disappears from veiw!

    I am currently using Lynda .Com which I have open on my 2nd Monitor  to learn PS CS5 While running PS CS5 on my main monitor. To follow the video and try things out I need to constantly be swaping from one monto to the othe in order to progress throu