"Share over Wan" - passworded but log files say differently?

In a desperate attempt to get backup features to work on my TC, I enabled "Share over Wan". Thinking that I've got more than enough security with disk passwords, I didn't automatically think there'd be a problem.
I then looked at my log files on my TC a day later and saw successful logins from IP's other than mine - but all within the same subdomain.
Does "Share over Wan" supersede the disk passwords? I've tried accessing from other subdomains (my work) and always get prompted for passwords. Should I be worried about these successful logins or ignore them as successful pings (or the like?)
I've, of coarse, now turned off "Share over Wan".

awkwood wrote:
Cheers omp!
I have one suggestion: your count_lines method will be quite slow on large log files.
Rather than use readlines you can optimize the read operations like so:
line_count = 0
File.open(identifier.to_cache_path) do |f|
while block = f.read(1024)
line_count += block.count("\n")
end
end
The speed boost makes it comparable to shelling out to wc.
Thanks for the suggestion; I just committed it.

Similar Messages

  • When trying to update my apps on my phone, after logging in it says my account has been disabled for security reasons. I've updated my password but it still says its disabled. Any thoughts?!

    When trying to update my apps on my phone, after logging in it says my account has been disabled for security reasons. I've updated my password but it still says its disabled. Any thoughts?!

    Hi,
    If you have followed everything in the link below, and still have the problem, click on one of the links at the very bottom under "Additional Information". That's all we can do for you here:
    http://support.apple.com/kb/TS2446
    Cheers,
    GB

  • Im trying to reset my apple id password but it keeps saying session timed out

    im trying to reset my password but it keeps saying session timed out

    And in case you need to know what the "time-out" error means, it means that either (1) your internet connection is not strong enough to allow your computer to load the page within the browser's time-out time-limit or (2) the server on which the website is located is too bogged down to send the necessary info to your computer within the browser's set time-out time-limit.
    I just thought I would share in case the context helps solve the same problem in other scenarios.
    Best!

  • My apple id was disabled, and i reset the password but it still says its disabled. Has anyone solved this problem?

         my apple id was disabled, and i reset the password but it still says its disabled. Has anyone solved this problem?

    I solved that particular problem for myself (although I am running iTunes 11 under Snow Leopard on an iMac) by deselecting one of my Users Admin. privs. You see, I had two users w/admin privs & iTunes now plays nicely when there is only one admin.
    Otherwise, I would keep getting stuck in an "infinite loop" of resetting passwords over & over and still iTunes was a mess - albeit on an intermittent basis which was absolutely driving me nuts!
    I also think that firing up Safari and signing into my account @ apple first seems to help; providing that an apple cookie gets placed in my machine before I go to the iTunes store and enjoy surfing around there.
    Anyways, good luck~

  • I have reset my password but my iphone says my id is still disabled. why?

    i have reset my password but my iphone says my id is still disabled. why?

    Contact Apple for assistance by going to https://expresslane.apple.com, then click More Produces & Services>Apple ID>iTunes Store, App Store or Mac App Store>Disabled Apple ID.

  • I can't access my gmail or hotmail on my phone. I had to change the passwords on the computer today. I went in through settings on my phone and changed the passwords but it still says they are incorrect. How can I fix this???

    I can't access my gmail or hotmail on my phone. I had to change the passwords on the computer today. I went in through settings on my phone and changed the passwords but it still says they are incorrect. How can I fix this???

    For gmail you could try unlocking your account here: https://accounts.google.com/b/0/DisplayUnlockCaptcha.  Don't know about hotmail.

  • Time Capsule - Share over WAN

    My Time Capsule is connected to another router through Ethernet as bridge mode and wireless. Therefor the option to Share disc over WAN and i can't access it over the internet. Is it possible to set up the same Share over WAN feature on my routers web interence?

    Ok, lets get down and dirty.
    What modem router are you running?
    Does it have a DMZ and have you tried placing the TC in the DMZ?
    Many routers do not allow a connection to be made even after you have port forwarded because the firewall is turned on. Turn off the firewall in the router. Turn off the firewall in the router on the wan connection. Check that the computer firewall is also not preventing the connection.
    *Firewall is a key issue for failure to connect over WAN connections*
    Sometimes upnp in the router can mess up with manual port forwarding. Try turning off upnp.
    I would also try reset of the modem and if possible see if you can get something to ping respond to you. If the modem has a ping responder in it, turn it on to ensure you can actually get packets to the router and back again.
    I also have to ask you are actually testing from a different internet connection?? You cannot test wan port opening from LAN.. well not without nat loopback or remote proxy setup.

  • Thanx for replly lllaass,but when i authorized it,,computer ask for apple id and password,i put id and password,,but again it says,you cannot authorized more than 5 computer"

    thanx for replly lllaass,but when i authorized it,,computer ask for apple id and password,i put id and password,,but again it says,you have already authorized more than 5 computer,to authorized this computer you ahve to deauthorized othe computer"what does this actually mean,replly plz?

    You can only have five computers authorized for one iTunes account.  You need to deauthorize another computer and then authorize this computer.  If yu do not have access to the other computers you can deauthorthize all computer and then authorize the one you want.  You can only deauthorize all once a year.  See the following for how to deauthorize all.
    About iTunes Store authorization and deauthorization

  • 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();
    }

  • Struggling to find Share over WAN

    I have set up my time capslue and MBP to share the disk and enabled it in my Back to my Mac using iCloud but i am unsure if i can access it from university. do i need to enable it over WAN if so how do i go about doing it as the option is not there for me tick check the box to comfirm i can access it over the internet.
    All help is much appriciated.

    LaPastenague wrote:
    iCloud does now support BTMM
    This seems to be a changing situation.  The electronic book Take Control of iCloud v1.1 (from December 2011) says "An earlier version of this book incorrectly stated that Back to My Mac also lets you access files on an AirPort Disk or Time Capsule using your iCloud credentials. Although that was true with MobileMe, it’s no longer supported in iCloud."  However, this Apple document (last modified 23 March 2012) says "If you update your Time Capsule or AirPort Extreme Base Station to firmware 7.6.1 or later, you can access your Time Capsule volume or the shared storage connected to your AirPort Extreme Base Stations when your computers are on different local networks."  Apparently an update to that electronic book is being prepared.
    (I have no relationship with Take Control Books other than that of a customer.)

  • OMBPlus: masking usernames / passwords in log files with ********?

    Hi all,
    Subjects says it: how to hide username and password in OMBPlus logs.
    Any ideas...?
    Br: Ykspisto

    I don't use default OMB+ logging for this reason, plus I often want more robust logging. I also built a wrapper for executing OMB+ statements to simplify my exception handling in my main scripts. By catching both the return string from a statement as well as the exception strings, I keep full control over what gets logged.
    HEre is the meat of my main library file:
    # PVCS Version Information
    #/* $Workfile:   omb_library.tcl  $ $Revision:   2.9  $ */
    #/* $Author:   michael.broughton  $
    #/* $Date:   10 Mar 2009 11:04:50  $ */
    # Default logging function.
    #  Accepts inputs: LOGMSG - a text string to output
    proc log_msg {LOGTYPE LOGMSG} {
       #logs to screen and file
       global SPOOLFILE
       if {![info exists SPOOLFILE]} {
           puts "LOGFILE UNDEFINED! :-> $LOGTYPE:-> $LOGMSG"
       } else {
           set fout [open "$SPOOLFILE" a+]     
           puts $fout "$LOGTYPE:-> $LOGMSG"
           puts "$LOGTYPE:-> $LOGMSG"
           close $fout
    proc log_msg_file_only {LOGTYPE LOGMSG} {
        #logs to file only
        global SPOOLFILE
        if {![info exists SPOOLFILE]} {
           puts "LOGFILE UNDEFINED! :-> $LOGTYPE:-> $LOGMSG"
        } else {
           set fout [open "$SPOOLFILE" a+]     
           puts $fout "$LOGTYPE:-> $LOGMSG"
           close $fout
    proc exit_failure { msg } {
       log_msg ERROR "$msg"
       log_msg ERROR "Rolling Back....."
       exec_omb OMBROLLBACK
       log_msg ERROR "Exiting....."
       # return and also bail from calling function
       return -code 2
    proc exec_omb { args } {
       # Uncomment if you want all source commands spooled out to log
       # disabled in production to avoid logging passwords.
       # log_msg_file_only OMBCMD "$args"
       # the point of this is simply to return errorMsg or return string, whichever is applicable,
       # to simplify error checking using omb_error{}
       if [catch { set retstr [eval $args] } errmsg] {
          log_msg OMB_ERROR "$errmsg"
          log_msg "" ""
          return $errmsg
       } else {
          log_msg OMB_SUCCESS "$retstr"
          log_msg "" ""
          return $retstr
    proc omb_error { retstr } {
       # OMB and Oracle errors may have caused a failure.
       if [string match OMB0* $retstr] {
          return 1
       } elseif [string match ORA-* $retstr] {
          return 1
       } elseif [string match java.* $retstr] {
          return 1
       } elseif [string match Error* $retstr] {
          return 1
       } else {
          return 0
    proc ers_omb_connect { OWB_USER OWB_PASS OWB_HOST OWB_PORT OWB_SRVC OWB_REPOS } {
       # Commit anything from previous work, otherwise OMBDISCONNECT will fail out.
       catch { set retstr [ OMBSAVE ] } errmsg
       log_msg LOG "Checking current connection status...."
       #Ensure that we are not already connected.
       if [catch { set discstr [ OMBDISCONNECT ] } errmsg ] {
          set discstr $errmsg
       # Test if message is "OMB01001: Not connected to repository." or "Disconnected."
       # any other message is a showstopper!
       if [string match Disconn* $discstr ]  {
          log_msg LOG "Success Disconnecting from previous repository...."
       } else {
          # We expect an OMB01001 error for trying to disconnect when not connected
          if [string match OMB01001* $discstr ] {
              log_msg LOG "Disconnect unneccessary. Not currently connected...."
          } else {
              log_msg ERROR "Error Disconnecting from previous repository....Exiting process."
              exit_failure "$discstr"
       set print [exec_omb OMBCONNECT $OWB_USER/$OWB_PASS@$OWB_HOST:$OWB_PORT:$OWB_SRVC USE REPOSITORY '$OWB_REPOS']
       if [string match *Connected* $print] {
          return $print
       } else {
          return "OMB0-Unknown Error connecting. Validate connection settings and try again"
    }and I handle setting up the log file with a standard header at the top of each script, as illustrated here in a script I use to set up and register a location and control centers for when we build a new dev environment. Most of the referenced variables are held in a config script that we use to define our current working environment, which I am not attaching as the names are pretty descriptive I think.
    # PVCS Version Information
    #/* $Workfile:   setup_dev_location.tcl  $ $Revision:   2.1  $ */
    #/* $Author:   michael.broughton  $
    #/* $Date:   27 Nov 2008 10:00:00  $ */
    #  Get Current Directory and time
    # supporting config and library files must be in the same directory as this script
    set dtstmp     [ clock format [clock seconds] -format {%Y%m%d_%H%M}]
    set scrpt      [ file split [file root [info script]]]
    set scriptDir  [ file dirname [info script]]
    set scriptName [ lindex $scrpt [expr [llength $scrpt]-1]]
    set cnfg_lib "$scriptDir/ombplus_config.tcl"
    set owb_lib  "$scriptDir/omb_library.tcl"
    set sql_lib  "$scriptDir/omb_sql_library.tcl"
    #  Import Lbraries
    #get config file
    source $cnfg_lib
    #get standard library
    source $owb_lib
    #get SQL library
    source $sql_lib
    #  Set Logfile
    #    This will overwrite anything set in the config file.
    set LOG_PATH "$scriptDir/logs"
    file mkdir $LOG_PATH
    set    SPOOLFILE  ""
    append SPOOLFILE $LOG_PATH "/log_"  $scriptName "_" $dtstmp ".txt"
    #  Connect to repos
    set print [ers_omb_connect $OWB_DEG_USER $OWB_DEG_PASS $OWB_DEG_HOST $OWB_DEG_PORT $OWB_DEG_SRVC $OWB_DEG_REPOS]
    if [omb_error $print] {
        log_msg ERROR "Unable to connect to repository."
        log_msg ERROR "$print"
        log_msg ERROR "Exiting Script.............."
        return
    } else {
        log_msg LOG "Connected to Repository"   
    # Connect to project
    set print [exec_omb OMBCC '$PROJECT_NAME']
    if [omb_error $print] {
       exit_Failure "Project $PROJECT_NAME does not exist. Exiting...."
    } else {
       log_msg LOG "Switched context to project $PROJECT_NAME"
    # Check Existance of Oracle Module
    set print [exec_omb OMBCC '$ORA_MODULE_NAME']
    if [omb_error $print] {
       exit_Failure "Module $ORA_MODULE_NAME does not exist. Creating...."
    } else {
       log_msg LOG "Confirmed existance of module $ORA_MODULE_NAME"
    #switch back up to project level. You cannot attach locations to a module if you are in it.
    exec_omb OMBCC '..'
    log_msg LOG "Switched context back up to project $PROJECT_NAME"
    # Force Re-registration of OWB User
    log_msg LOG "(Re-)Registering user $DATA_LOCATION_USER"
    log_msg LOG "Disconnecting from Corporate Design Repository"
    exec_omb OMBCOMMIT
    exec_omb OMBDISCONNECT
    log_msg LOG "Connecting to Runtime Repository"
    set print [ers_omb_connect $CONTROL_CENTER_SCHEMA $CONTROL_CENTER_PASS $DATA_LOCATION_HOST $DATA_LOCATION_PORT $DATA_LOCATION_SRVC $CONTROL_CENTER_SCHEMA]
    set print [ exec_omb OMBUNREGISTER USER '$DATA_LOCATION_USER' IDENTIFIED BY '$DATA_LOCATION_PASS' ]
    set print [ exec_omb OMBREGISTER USER '$DATA_LOCATION_USER' SET PROPERTIES (DESCRIPTION, ISTARGETSCHEMA, TARGETSCHEMAPWD) VALUES ('$DATA_LOCATION_USER', 'true', '$DATA_LOCATION_PASS')]
    if [omb_error $print] {
       exit_failure "Unable to register user '$DATA_LOCATION_USER'"
    log_msg LOG "Disconnecting from Runtime Repository"
    exec_omb OMBCOMMIT
    exec_omb OMBDISCONNECT
    log_msg LOG "Re-Connecting to Corporate Design Repository"
    set print [ers_omb_connect $OWB_DEG_USER $OWB_DEG_PASS $OWB_DEG_HOST $OWB_DEG_PORT $OWB_DEG_SRVC $OWB_DEG_REPOS]
    log_msg LOG "Changing context back to project $PROJECT_NAME"
    set print [exec_omb OMBCC '$PROJECT_NAME']
    # Validate to Control Center
    set lst [OMBLIST CONTROL_CENTERS]
    if [string match *$CONTROL_CENTER_NAME* $lst] {
       log_msg LOG "Verified Control Center $CONTROL_CENTER_NAME Exists."
       set lst [OMBLIST LOCATIONS]
       if [string match *$DATA_LOCATION_NAME* $lst] {
           log_msg LOG "Verified Location $DATA_LOCATION_NAME Exists."
           log_msg LOG "Setting Control Center as default control center for project"
           exec_omb OMBCC 'DEFAULT_CONFIGURATION'
           set print [exec_omb OMBALTER DEPLOYMENT 'DEFAULT_DEPLOYMENT' SET REF CONTROL_CENTER '$CONTROL_CENTER_NAME' ]
           if [omb_error $print] {
              exit_failure "Unable to set Control Center $CONTROL_CENTER_NAME in default configuration"
           exec_omb OMBCOMMIT
           exec_omb OMBCC '..'
           log_msg LOG "Setting Passwords to enable import and deploy"
           set print [exec_omb OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS')]
           if [omb_error $print] {
              exit_failure "Unable to log onto location '$DATA_LOCATION_NAME' with password $DATA_LOCATION_PASS"
           exec_omb OMBCOMMIT
           log_msg LOG "Connecting to Control Center $CONTROL_CENTER_NAME"
           set print [exec_omb OMBCONNECT CONTROL_CENTER USE '$DATA_LOCATION_PASS' ]
           if [omb_error $print] {
              exit_failure "Unable to connect to Control Center $CONTROL_CENTER_NAME"
           exec_omb OMBCOMMIT
           log_msg LOG "Connected.............."
       } else {
           log_msg LOG "Control Center Exists, but Location Does Not."
           log_msg LOG "Creating Code Location."
           log_msg LOG "Checking Global_names...."
           set dbGlobalNames FALSE
           set oraConn [oracleConnect $OWB_DEG_HOST $OWB_DEG_SRVC $OWB_DEG_PORT $OWB_DEG_USER $OWB_DEG_PASS ]
           set oraRs [oracleQuery $oraConn "select value pvalue FROM V\$PARAMETER where name = 'global_names'"]
           while {[$oraRs next]} {
               set dbGlobalNames [$oraRs getString pvalue]
           $oraRs close
           $oraConn close
           log_msg LOG "Global_names are $dbGlobalNames...."
           if [string match TRUE $dbGlobalNames] {
               set print [exec_omb OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD, DATABASE_NAME) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS','$DATA_LOCATION_SRVC' ) ] 
           } else {
               set print [exec_omb OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS') ] 
           if [omb_error $print] {
              exit_failure "Unable to create location '$DATA_LOCATION_NAME'"
           exec_omb OMBSAVE
           log_msg LOG "Adding Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
           set print [exec_omb OMBALTER CONTROL_CENTER '$CONTROL_CENTER_NAME' ADD REF LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (IS_TARGET, IS_SOURCE) VALUES ('true', 'true') ]
           if [omb_error $print] {
               exit_failure "Unable to add Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
           exec_omb OMBCOMMIT
           log_msg LOG "Setting Control Center as default control center for project"
           exec_omb OMBCC 'DEFAULT_CONFIGURATION'
           set print [exec_omb OMBALTER DEPLOYMENT 'DEFAULT_DEPLOYMENT' SET REF CONTROL_CENTER '$CONTROL_CENTER_NAME' ]
           if [omb_error $print] {
              exit_failure "Unable to set Control Center $CONTROL_CENTER_NAME in default configuration"
           exec_omb OMBCOMMIT
           exec_omb OMBCC '..'
           log_msg LOG "Connecting to Control Center $CONTROL_CENTER_NAME"
           set print [exec_omb OMBCONNECT CONTROL_CENTER USE '$DATA_LOCATION_PASS' ]
           if [omb_error $print] {
              exit_failure "Unable to connect to Control Center $CONTROL_CENTER_NAME"
           exec_omb OMBCOMMIT
           log_msg LOG "Registering Code Location."
           set print [exec_omb OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS')]
           exec_omb OMBCOMMIT
           set print [exec_omb OMBREGISTER LOCATION '$DATA_LOCATION_NAME']
           if [omb_error $print] {
              exit_failure "Unable to register Location $DATA_LOCATION_NAME"
           exec_omb OMBCOMMIT
    } else {
       log_msg LOG "Need to create Control Center $CONTROL_CENTER_NAME."
       log_msg LOG "Creating Code Location."
       log_msg LOG "Checking Global_names...."
       set dbGlobalNames FALSE
       set oraConn [oracleConnect $DATA_LOCATION_HOST $DATA_LOCATION_SRVC $DATA_LOCATION_PORT $CONTROL_CENTER_SCHEMA $CONTROL_CENTER_PASS ]
       set oraRs [oracleQuery $oraConn "select value pvalue FROM V\$PARAMETER where name = 'global_names'"]
       while {[$oraRs next]} {
         set dbGlobalNames [$oraRs getString pvalue]
       $oraRs close
       $oraConn close
       log_msg LOG "Global_names are $dbGlobalNames...."
       if [string match TRUE $dbGlobalNames] {
           set print [exec_omb OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD, DATABASE_NAME) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS','$DATA_LOCATION_SRVC' ) ] 
       } else {
           set print [exec_omb OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS') ] 
       if [omb_error $print] {
          exit_failure "Unable to create location '$DATA_LOCATION_NAME'"
       exec_omb OMBCOMMIT
       log_msg LOG "Creating Control Center"
       set print [exec_omb OMBCREATE CONTROL_CENTER '$CONTROL_CENTER_NAME' SET PROPERTIES (DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE_NAME, USER, SCHEMA, PASSWORD) VALUES ('ERS Datamart Control Center','$CONTROL_CENTER_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER', '$CONTROL_CENTER_SCHEMA','$DATA_LOCATION_PASS') ]
       if [omb_error $print] {
          exit_failure "Unable to create control center '$CONTROL_CENTER_NAME'"
       exec_omb OMBCOMMIT
       log_msg LOG "Adding Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
       set print [exec_omb OMBALTER CONTROL_CENTER '$CONTROL_CENTER_NAME' ADD REF LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (IS_TARGET, IS_SOURCE) VALUES ('true', 'true') ]
       if [omb_error $print] {
          exit_failure "Unable to add Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
       exec_omb OMBCOMMIT
       log_msg LOG "Setting Control Center as default control center for project"
       exec_omb OMBCC 'DEFAULT_CONFIGURATION'
       set print [exec_omb OMBALTER DEPLOYMENT 'DEFAULT_DEPLOYMENT' SET REF CONTROL_CENTER '$CONTROL_CENTER_NAME' ]
       if [omb_error $print] {
          exit_failure "Unable to set Control Center $CONTROL_CENTER_NAME in default configuration"
       exec_omb OMBCOMMIT
       exec_omb OMBCC '..'
       log_msg LOG "Connecting to Control Center $CONTROL_CENTER_NAME"
       set print [exec_omb OMBCONNECT CONTROL_CENTER USE '$DATA_LOCATION_PASS' ]
       if [omb_error $print] {
          exit_failure "Unable to add Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
       exec_omb OMBCOMMIT
       log_msg LOG "Registering Code Location."
       set print [exec_omb OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS')]
       exec_omb OMBCOMMIT
       set print [exec_omb OMBREGISTER LOCATION '$DATA_LOCATION_NAME']
       if [omb_error $print] {
          exit_failure "Unable to register Location $DATA_LOCATION_NAME"
       exec_omb OMBCOMMIT
    # Assign location to Oracle Module
    log_msg LOG "Assigning Code Location to Oracle Module."
    set print [ exec_omb OMBALTER ORACLE_MODULE '$ORA_MODULE_NAME' ADD REFERENCE LOCATION '$DATA_LOCATION_NAME' SET AS DEFAULT ]
    if [omb_error $print] {
       exit_failure "Unable to add reference location '$DATA_LOCATION_NAME' to module '$ORA_MODULE_NAME' "
    set print [ exec_omb OMBALTER ORACLE_MODULE '$ORA_MODULE_NAME' SET REFERENCE METADATA_LOCATION '$DATA_LOCATION_NAME' ]
    if [omb_error $print] {
       exit_failure "Unable to set metadata location '$DATA_LOCATION_NAME' on module '$ORA_MODULE_NAME' "
    set print [ exec_omb OMBALTER ORACLE_MODULE '$ORA_MODULE_NAME' SET PROPERTIES (DB_LOCATION) VALUES ('$DATA_LOCATION_NAME') ]
    if [omb_error $print] {
       lexit_failure "Unable to add db_location '$DATA_LOCATION_NAME' to module '$ORA_MODULE_NAME' "
    exec_omb OMBCOMMIT
    exec_omb OMBDISCONNECT

  • I have entered my password but it is saying not recognised and now I cannot access my ipod! Help please

    I turned my Ipod touch on and it asked me for my password which I entered but it is saying it is the wrong password - I always use the same.  I now cannot access my ipod.  Not sure what to do??

    I'm sorry but the only way to enter your iPod again Is to restore it to factory settings. go to iTunes and click on your iPod then click the Restore button. This will restore your iPod to factory settings. So back up your Music, Videos, and purchases before restoring. This will work trust me

  • 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

  • How to create different log files for different users in log4j

    I want to create different logs for different users, using different appenders for each user so that logs are created in his file only.
    Confusion:How to direct them to different files in my logger class

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • Moving the online redo log files to different location

    We just installed few more drives into our sandbox system and I want to move the online redo log files for better performance.  We've got the SAPARCH directory moved to a different location. 
    Does anyone know how/where I can change the parameters so redo log files are pointed at different drives?  It's not in the <b>init<SID>.ora</b> file...
    Regards,
    Sumit

    Hi Sumit,
    The following link contains information about moving the redo logs:
    http://www.stanford.edu/dept/itss/docs/oracle/9i/server.920/a96521/onlineredo.htm
    Best regards,
    Alwin

Maybe you are looking for

  • Is there a good app for erasing moving objects when taking a picture like the Galaxy does.

    Someone I work with just got the Galaxy and is all about proving it is better than my iPhone.  The camera eraser thing is pretty sweet.  I told her I was sure apple had something like it.  Have downloaded a couple of apps but they are no good..lasso,

  • How to display the file status in the status bar?

    Hi all, Can anyone tell me how to display the file status in the status bar? The file status can consists: the type of the file, the size of the file etc.. thanx alot..

  • Firefox continually suggests me to download imcompatible java plugin

    about one time a week, ff asks me to download this version of java plugin that is not even supported. if i go through with the process, it downloads, starts fox, notifies me that the plugin is not compatible and will ask to restart or remove at close

  • UPDATE Syntax Error

    Hi, I keep getting a java update syntax error and can't for the life of me figure out where it is. Help?                 criteria = "UPDATE Customer SET CustomerID = '" + txtCustomerID.getText() + "', " +                         "CompanyName = '" + t

  • Redistrubutable versions of flash player, reader and shockwave

    I have computers in remote areas with no internet access, they cant download these products. Can I download redistributable versions and post them on CD? Where can I find these redistributabls? I can apply for a license to get them but I have to live