Can I append to IIS log files with jsp?

When we added a load balancer, our IIS logs started using its IP address in the logfile and not the client's real IP address.
I need to add the client's real address back into the IIS logs, so our
reports can restart having the correct session numbers.
Does anyone know how to do this in JSP?
I've found snippets of code that says it does this, but I'm not sure where to put the code.
<% Response.AppendToLog "client_IP" %>
I tried putting this in my .jsp file and it doesn't know about Response.
I find reference to Response in the asp API, but not in the jsp API.
AppendToLog appends this data to the URI Query field of the IIS Log.
We are using IIS5.0.
Sue Damitz

Hi Jonny,
I don't think it can be done the way you've suggested, however you can accomplish the same thing in a different way.
Go to System Preferences > Security > General and select 'Require Password Immediately after sleep or screensaver begins'
Then go into Energy Saver and set your Display sleep to 1 min OR go to Desktop and Screensaver and set the screensaver time to 3 mins.
That way, once your display goes to sleep or into screen saver it will require a password to resume. This will keep the music playing in the background and also has the added benefit of displaying iTunes album artwork as the screensaver (if that's the screensaver you have selected!)

Similar Messages

  • CR2008  Cannot report on IIS Log file data source

    I have CR2008 (SP0) and CRXIR2 installed on a Vista desktop.   I can create reports against IIS Log files using XIR2.   When I attempt to make the data connection using CR2008, I go through the same dialog to select log files and dates but at the end it displays "no items found" and I have no table connection that I can add to the report.
    My primary source is IIS 6 log files on a server using a mapped drive.  I have also tried the same using local IIS 7 on the same Vista pc that Crystal is installed on and neither work using CR2008;  both work fine from CRXIR2.
    I also opened from CR2008 an IIS log report created in CRXIR2 and oddly the report runs from 2008 but I cannot modify the data connection as I again just receive "no items found" if I attempt to establish another connection.
    I've tried a re-install and I've confirmed in Crystal setup that I have installed Web Activity Logs as Data source.

    Hi there,
    Try the following:
    1.  Connect to directory of where your IIS server that contains the log file.  It should be in C:\Windows\system32\LogFiles\W3SVC1
    (Or alternatively, I should suggest copying one of these files over locally to your workstation to test.  The file should be in the format of ex*.log)
    2.  Open up CR2008, and do a "Create New Connection"
    3.  Then choose "More Data Sources" -> "MS IIS/Proxy Log Files"
    4.  Point to where your logfile is, whether locally or remotely on the server. 
    5.  A "Select Log Files and Dates" window should appear
    6.  Under "Enter Log File Format and Location" panel (at the top), choose "Extend (ex*.log)" format
    7.  Browse to the file that you would to report off.

  • Can't create log file with java.util.logging

    Hi,
    I have created a class to create a log file with java.util.logging
    This class works correctly as standalone (without jdev/weblogic)
    import java.io.IOException;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.logging.*;
    public class LogDemo
         private static final Logger logger = Logger.getLogger( "Logging" );
         public static void main( String[] args ) throws IOException
             Date date = new Date();
             DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
             String dateStr = dateFormat.format(date);
             String logFileName = dateStr + "SEC" + ".log";
             Handler fh;          
             try
               fh = new FileHandler(logFileName);
               //fh.setFormatter(new XMLFormatter());
               fh.setFormatter(new SimpleFormatter());
               logger.addHandler(fh);
               logger.setLevel(Level.ALL);
               logger.log(Level.INFO, "Initialization log");
               // force a bug
               ((Object)null).toString();
             catch (IOException e)
                  logger.log( Level.WARNING, e.getMessage(), e );
             catch (Exception e)
                  logger.log( Level.WARNING, "Exception", e);
    }But when I use this class...
    import java.io.File;
    import java.io.IOException;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.logging.FileHandler;
    import java.util.logging.Handler;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.util.logging.XMLFormatter;
    public class TraceUtils
      public static Logger logger = Logger.getLogger("log");
      public static void initLogger(String ApplicationName) {
        Date date = new Date();
        DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
        String dateStr = dateFormat.format(date);
        String logFileName = dateStr + ApplicationName + ".log";
        Handler fh;
        try
          fh = new FileHandler(logFileName);
          fh.setFormatter(new XMLFormatter());
          logger.addHandler(fh);
          logger.setLevel(Level.ALL);
          logger.log(Level.INFO, "Initialization log");
        catch (IOException e)
          System.out.println(e.getMessage());
    }and I call it in a backingBean, I have the message in console but the log file is not created.
    TraceUtils.initLogger("SEC");why?
    Thanks for your help.

    I have uncommented this line in logging.properties and it works.
    # To also add the FileHandler, use the following line instead.
    handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandlerBut I have another problem:
    jdev ignore the parameters of the FileHandler method .
    And it creates a general log file with anothers log files created each time I call the method logp.
    So I play with these parameters
    fh = new FileHandler(logFileName,true);
    fh = new FileHandler(logFileName,0,1,true);
    fh = new FileHandler(logFileName,10000000,1,true);without succes.
    I want only one log file, how to do that?

  • Changing IIS log file rollover period

    Hi,
    I have a question that I hope that someone could help me with.
    I have an Azure Cloud service running a web role. I want to change the IIS access log file rollover from hourly to daily. The way I approach this is to create a Startup task in this way:
    <Startup>
    <Task commandLine="Startup\Startup.cmd" executionContext="elevated">
    <Environment>
    <Variable name="CurrentInstanceId">
    <RoleInstanceValue xpath="/RoleEnvironment/CurrentInstance/@id" />
    </Variable>
    </Environment>
    </Task>
    </Startup>
    In Startup.cmd, I then have the following code:
    setlocal
    rem Set IIS Log File Rollover to daily
    %systemroot%\system32\inetsrv\appcmd.exe set config -section:system.applicationHost/sites /[name='%CurrentInstanceId%_Web'].logFile.period:"Daily"
    This seems like a fairly straightforward approach, but it doesn't work. The cloud services will not start when published with this command in Startup.cmd. My guess is that the web site isn't properly set up in IIS when the script is run, or that changing
    this setting restarts the site, triggering the script to run again.
    If anyone has any smart ideas about how I should solve my issue?
    BR,
    Per

    Hi,
    From my experience, we can RDP to one cloud service instance to check the iis to ensure the web site and the iis configuration, about how to use startup Configure IIS Components in Windows Azure, please refer to
    http://msdn.microsoft.com/en-us/library/gg433059.aspx for more information.
    Hope this helps
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Getting empty log files with log4j and WebLogic 10.0

    Hi!
    I get empty log files with log4j 1.2.13 and WebLogic 10.0. If I don't run the application in the application server, then the logging works fine.
    The properties file is located in a jar in the LIB folder of the deployed project. If I change the name of the log file name in the properties file, it just creates a new empty file.
    What could be wrong?
    Thanks!

    I assume that when you change the name of the expected log file in the properties file, the new empty file is that name, correct?
    That means you're at least getting that properties file loaded by log4j, which is a good sign.
    As the file ends up empty, it appears that no logger statements are being executed at a debug level high enough for the current debug level. Can you throw in a logger.error() call at a point you're certain is executed?

  • 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

  • How on can get the plaback of .mov files with Redcode Codecs?

    Hi folks,
    I am not able to play the .mov files created by Red camera so..
    how one can get the playback of .mov files with Redcode Codecs?

    Well, one typically doesn't edit with any of the proxy-files the RED camera produces.  You need to convert the RED footage to ProRes.  Log and Transfer can do this, if you download and install the RED Log and Transfer plugin.  Or you might need to use RED software to convert the footage to ProRes.  But those Red proxy files won't import via log and transfer, and are NOT editable in FCP.  Gotta convert to ProRes.

  • How can I get a single jar file with NetBeans?

    How can I get a single jar file with NetBeans?
    When I create the project I get these files:
    dist/lib/libreria1.jar
    dist/lib/libreria2.jar
    dist/software.jar
    The libraries that have been imported to create the project are in separate folders:
    libreria1/libreria1.jar
    libreria2/libreria2.jar
    libreria1, libreria2, dist folders are all located inside the project folder.
    I added the following code to the build.xml:
    <target name="-post-jar">
    <jar jarfile="dist/software.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
    <manifest>
    <attribute name="Main-Class" value="pacco.classeprincipale"/>
    </manifest>
    </jar>
    </target>
    Of course there is also the project folder:
    src/pacco/classeprincipale.form
    src/pacco/classeprincipale.java
    Can you tell me what is wrong? The error message I get is as follows:
    C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)

    This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java

  • Can't import RAW and psd file with same name different extension

    Trying to import a folder of images from desktop that I have been working with in Bridge CS3.
    LR won't import a RAW file that has a PSD file by the same name. Tried renaming the PSD and deleting the one with the same name, but says it is still there and won't import the RAW file - What is the correct workaround on this? Why can't it import same name files with different extensions?

    A forum search for 'RAW + JPEG' will give you more posts on this than you care to read. This will change. For now, import the RAW and PSD's from separate folders and then move them together for within LR.
    LR is seeing the RAW as a sidecar to the PSD. It is an unforseen effect of the RAW + JPEG thing where they decided to not import the JPEG, seeing it as basically a preview image for the RAW.
    LOL
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Do we need to format data and log files with 64k cluster size for sql server 2012?

    Do we need to format data and log files with 64k cluster size for sql server 2012?
    Does this best practice still applies to sql server 2012 & 2014?

    Yes.  The extent size of SQL Server data files, and the max log block size have not changed with the new versions, so the guidance should remain the same.
    Microsoft SQL Server Storage Engine PM

  • What application can you use to open a file with the .acc extension?

    What application can you use to open a file with the .acc extension?

    http://www.fileinfo.com/extension/acc

  • HT3775 I can't open MPEG 4 -movie files with Quick time or VLC

    I can't open MPEG 4 -movie files with Quick time or VLC

    VideoLAN - Download official VLC media player for Mac OS X

  • Merging Log Files with same name

    Hello,
    I have log files with same name 00000000.jdb (because created at different machines). I would like to merge data stored in these two files.
    I tried below approaches which do not work:
    1. rename one of the files -> doesn't work as file header has file name info which doesn't match with renamed value
    2. db dump/load -> dump and load works without error. (i have to dump Entity related Database and Format related Database -- from -l option) However when i try to read the file, it gives error.
    Exception in thread "main" com.sleepycat.je.EnvironmentFailureException: (JE 5.0.103) Catalog could not be refreshed, may indicate corruption, errorFormatId=52 nFormats=51, . UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects.
    I am using EntityStore and thus Annotated Entities.
    Does any one has any insights?
    Thanks.

    Yuvaraj,
    As you discovered, it is not possible to use .jdb files from one environment in a different environment.  The .jdb files use an internal format with relationships between files that form the Btree.
    I'm glad to hear you were able to use DbDump and DbLoad successfully.
    --mark

  • Analzing log files with external tools?

    Hi,
    is there any way to use web analytics software like Webtrends with EP? In other words, does EP produce
    an access log file with date, URL, user, referrer,
    etc.?
    Thanks in advance,
    Stefan.

    Thanks for the hint. Apparently httpaccess\responses.0.trc contains log entries that look very familiar to something an ordinary web server produces, which is good.
    A simple perl script could transform the logfile (date, etc.) into a format that a Web statistics tool on the market (e.g. WebTrends) could use.
    The SAP built-in reports are not something that drives a marketing department wild.
    Thanks,
    Stefan

  • On iPad can I open a Microsoft word file with apple pages app?

    On iPad, can I open a Microsoft word file with apple pages application?  If so how do I perform this activity?

    Yes you can open Word files. If it is an email attachment you can simply tap and hold down on the icon and select "open in" and then select Pages - as long as you have the Pages app on the iPad.
    Where is the file on your iPad or how do you want to move it to the iPad?

Maybe you are looking for

  • Interest calculation based on Net Due Date

    Hi guys: I want the interest calculation based on net due date and not document date or posting date. I tried to check the box "ALWAYS CALCULATE INT FROM NET DUE DATE in prepare item interest calculation step, but system gives me message "Do not sele

  • Need help with multiple devices and apple id

    Between my husband and myself, we have two Iphones, two Ipads, and one Imac.  I back all of them up on my Imac using ONE iTunes account....we prefer not use Icloud, and I think that helps keep the information on each device relatively separate from e

  • Exclude A/P Credit Memo from this Query

    Hello All, i am trying to figure out to exclude A/P Invoice that it was already Credit Memo with my existing Query SELECT max(T0.DocDate) as 'Date', max(T1.CardName) as 'Vendor Name', max(T0.Address) as 'Vendor Address', count(T0.DocNum) as 'No. of I

  • Missing Navigation, Toolbar & Skin

    Hi, I've seen several write-ups regarding this issue, but yet to find a resolution. I have generated FlashHelp using RoboHelp x5 and saved to it a server. Calling it directly from a mapped drive\path on the server brings up the entire system perfectl

  • Aperture photos not showing up in iPad sync window in iTunes

    Many of my projects and albums show up as empty or only partially there when I select them to sync to my iPad in iTunes. All of the projects and albums are there but most of them appear as empty when I check them. I have tried several things includin