Pblem in "capture Source Database"

hi all
I've installed Oracle Migration Workbench under Redhat linux 7.2 and Oracle 9i
already i've installed.
I want to migrate the database (Mysql in machine1) to (oracle in machine2)
When i execute sh Omwb13.sh ...in the second step,the capture wizard has
come...It's asking for
Source login id (by default it's displayed as root and i'm unable to type
anything since the field is disabled.)
souce password
Data Source Name
and port
I beleive the login id is the user of the mysql database(root) and its
password.
I dont know how to specify the DSN?...Can u pl.help me out?.
I tried giving the IP address of the machine1 (under which mysql is
running) but it says "Server configuration denies access to data
source"...
Can anybody help me out to fix the problem...
Thank u in adv
-kala

kala,
Use a windows box to run the Oracle Migration Workbench, as we do not produce a current linux version, the latest version uses the host name in the 'DSN' position. The driver mmDriver-1.2a.zip is also required in the drivers directory.
Turloch
Oracle Migration Workbench Team

Similar Messages

  • Omwb - Blank Error Message - Capture Source DB

    Hi
    I have installed latest OMWB along with plug-in for access.
    I am able to generate xml files from ms-access database.
    I have lastest access driver.
    When i run omwb.bat it opens a window, it displays a blank error message.
    Same blank message comes , when "Capture Source Database" is clicked
    Following is the error log generated. There also there is no error.
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: C:\omwb
    ** user language: en
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows XP
    ** o.s. version: 5.1
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Mon Sep 04 15:14:27 IST 2006
    ** Workbench Repository : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Repository Connection URL: jdbc:oracle:thin:@shanmuga:1521:sicout
    ** The following plugins are installed:
    ** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : MSAccess
    ** Shutdown : Mon Sep 04 15:14:44 IST 2006
    ****************************************************************************************************

    Hi,
    To assist in resolving your issue we will need more information.
    * On step 1 of the Capture wizard, were you able to successfully add an XML file for capture? If not, please post up the full error message text.
    * Did the "Capture Source Database" Wizard complete and generate any objects in the "Source Model" of the Workbench?
    You mention that you see "blank messages" when "Capture Source Database" is clicked. I am gathering that you were able to load the generated XML file into the workbench, however you were unable to view any messages in the Log window. If this is the case, I suggest that you check your Log Window preferences as follows:
    1. Launch the workbench
    2. From the menu bar, click on Tools | Log Window, to launch the Log Window.
    3. On the Log Window, click on Edit | Preferences from the menu bar.
    4. Under the heading "Select the message types you would like to display", ensure that all checkboxes are selected. Then click on "OK" to save these settings. Close the Log Window when these steps are complete, and re-launch the Capture Wizard to begin the migration process again.
    If you are still experiencing issues, please outline fully the steps that you have followed, and post up any error message text that is displayed during this process.
    I hope this helps.
    Regards,
    Hilary

  • Problem capturing source model sybase apative server 11.5.1

    Trying to migrate production Sybase Adaptive Server database to
    Oracle using Oracle Migratin Workbench-Sybase Plugin. It fails
    duing loading source model stage. Sybase database is not going
    to be available to us for long as companies are separating by
    december end, four databases need to be migrated by then. It is
    very important to get the migratin done and there is no
    workaround this problem. This is showstopper for migration
    project right now.
    Details:
    Oracle Migration Workbench with sybase adaptive server 11 plugin
         2.0.2.0.0     Production Build 20011121 Windows-
    2000professional
    Oracle Database               8.1.7          Solaris 8
    Sybase Database               Sybase Adaptive Server 11.5.1
         Solaris 8
    Source ODBC Driver          3.11.00.01 Windows-
    2000Professional
    Stage of migration: Loading Source Database
    Error Text on alert window:
    Failed to load Source Model. [INTERSOLV][ODBC SQL Server driver]
    [SQL Server]Invalid column name 'fill_factor'
    Error Text in the log file:
    EXCEPTION : LoadTableData.run() : SYBASE11_SYSINDEXES [INTERSOLV]
    [ODBC SQL Server driver][SQL Server]Invalid column
    name 'fill_factor'.
    After Investingation it looks like the table sybase11_sysindexes
    in OMWB repository has four columns extra than the sysindexes
    table in sybase database. The additional four columns are:
    fill_factor, res_page_gap, exp_rowsize, key3. OMWB load source
    model step fails on the first column.
    Trying to load the sybase source model using Oracle Migration
    Workbench.
    Oracle Migration workbench was running.
    Oracle Migratin workbench capture wizard was running.
    Installed OMWB and sybase apative server 11 plugin for OMWB.
    Installed Sybase client for windows and ODBC drivers.
    Configured ODBC for sybase database as a system DSN.
    Created empty scheama with connect and resource privilages for
    OMWB repository on Oracle 8.1.7 on solaris 8.
    Started OMWB, created repository in the empty scheama created
    above.
    Clicked on capture source database wizard.
    Provided the userid, password and database for sybase database.
    Selected not to generate Oracle model, as it can be generated
    afterwards.
    Clicked finish on the wizard.
    OMWB started reading sybase system repository tables, it did a
    few tables and then the above error message appeared.
    This is a fresh install of Windows 2000 Professional.
    The only oracle product installed in OMWB and the Sybase
    Apadative server 11 Plugin for OMWB.
    The other software is Sybase client for windows (To do queries
    on Sybase database) and the sybase ODBC driver.
    No other significant software is installed, it a vanila windows
    2000 Professional installation.
    There is oracle tar for this. TAR 1828907.995
    Any help is appriciated.
    Thanks,
    Prashant

    Hi,
    Without seeing the full error.log file here are some suggestions.
    >
    From Prashant's e-mail it appears that the data dictionary's of11.5.1.
    and 11.9.2 are different.
    A possible alternative that may help i.e. removing the 4 extracolumns
    that Prashant talks about from the Workbench source model e.g.
    Sybase11_sysindexes. This may help you get around this issue
    If that does not work. One possible workaround is as follows.
    Extract the Schema generation scripts from the Sybase 11.5.1database
    and re-create the schema in Sybase 11.9.2. You don't have tomove the data.
    >
    You can then migrate the schema from the Sybase 11.9.2database. Once
    the schema is migrated you can generate the SQL Loader scripts to
    migrate the data. Click on the Tools menu and then select the'Generate
    SQL Loader Scripts...' menu item. This will generate Sybase BCPdata
    extraction scripts. These scripts will extract the Sybase datafrom each
    table into a separate .dat file. You can then use the SQL Loaeder
    scripts that were also generated to load this data in to thedestination
    Oracle database.
    Regards
    John

  • SQL Server 2000 to Oracle 9.2 problem [b]"Source database not captured"[/b]

    hi, first-timer here working with the latest omwb version.
    anyway
    i'm trying to do a offline migration of the "Northwind" demo database as an example, they are no problems with the process, everything works like a charm ... until is time to press the "finish" button in the wizard-summary screen.
    after that the output seems normal and there's no error, the completion pop-up message throws a 0 warnings 0 errors, supposedly ending the loading of the model, but the capture is labeled as aborted and the source database is not captured at all.
    i have done everything in the manual, creating the privileged user "omwb_user", seeing that the corresponding tablespace was created, giving enough space everywhere.
    so, what's the problem here?
    i will appreciate any help or hint
    thank in advance

    i thought that mi domain standard of "john.doe" was the problem, i take out all the users, and now there is only the "sa" and "guest" accounts.
    tried the online capture and it worked completely, tried the offline, the same problem:
    ** Started : Fri Oct 22 09:26:41 COT 2004
    ** Workbench Repository : Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Repository Connection URL: jdbc:oracle:thin:@localhost:1521:orcl
    ** The following plugins are installed:
    ** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.2
    ** Microsoft SQLServer 6.5 Plugin, Production Release 10.1.0.2
    ** Active Plugin : SQLServer2K
    EXCEPTION :SQLServer2KDisconnSourceModelLoad.loadSourceModel(): oracle.mtg.migration.MigrationStopException: java.lang.IndexOutOfBoundsException: Index: 15, Size: 15
    ** Shutdown : Fri Oct 22 09:27:14 COT 2004
    any ideas?
    thanks

  • Source database in NOARCHIVELOG temporarily for maintenance

    Hi all,
    We have a big maintenance to run next week end. There will be mostly index rebuild, statistics gathered and so. We are using 10.2.0.3. Source database is a RAC one.
    We would like to put our database in NOARCHIVELOG temporarily during this maintenance windows. This may sound like an easy task, but i rather consider it as a risky one - I need a 100% safe procedure!!
    I wonderer, if there is arcticles in Oracle documentation or Metalink that could help.
    I think I know several of the steps required:
    - Stop the capture
    - Put the database in NOARCHIVELOG mode
    - Re-instantiate the tables using dbms_capture_adm.prepare_table_instantiation on the source database
    - Ré-instantiate the tables using dbms_apply_adm.set_table_instantiation_scn on the destination database
    - I think I will have to advance the SCN on the capture but I'm not sure if I have to change the FIRST_SCN or the START_SCN or both?
    - Put the database back in ARCHIVELOG mode
    - Start the capture
    I'm not sure in wich order i have to do these tasks.
    Thank you for any advice/link on that subjet!
    Jocelyn

    Thanks a lot Rijesh for your response,
    In the meantime, I do my own search and came to the same conclusion.
    I also experimented with note 471695.1 on Metalink (Required Steps to Recreate a Capture Process). It "almost" works! It recreates the capture correctly, but it does not carry the existing table rules... (the content of DBA_STREAMS_TABLE_RULES before dropping the capture).
    So it's probably going to be much easier to recreate the whole thing from scratch (we have an existing procedure that is very mature).
    Regards,
    Jocelyn

  • Streams Replication:Source database Physical or Logical Standby DB

    Can the source database in streams replication be a physical or logical standby database ? If so, is the process of configuring streams the same as a regular database ? Are there any best practices or different configuration if the source is Logical or Physical standby DB ?
    Thanks in advance.

    Never done it, but I don't see any reason why it should not work.
    Streams, at capture site, is only a data dictionary game and in a logical standby your data dictionary is open read write.
    Streams, at capture site, never touch the source tables, in fact they may even not exists from Streams point of view,
    as it deals only with the redo that are generated.
    So Streams horizon is limited to the data dictionary, the log buffer, the archives and, in SYSAUX tablespace, all the LOGMNR_% tables. All these structures are read write in the logical standby. However, for the capture/propagation you may have to set to true the 'include_tagged_lcr' parameters.

  • ORA-26687: no instantiation SCN provided for ... in source database ...

    We are testing streams on Databases between our Main and Branch Campus. We set up the Capture, Propagation and the Apply for the databases and receive the error on the Apply process when doing an insert:
    ORA-26687: no instantiation SCN provided for [TABLE] in source database [DATABASE]
    We are running Oracle 10.2.0.2.0
    Thank you in advance for your help.

    At source, execute the following as strmadmin
    SELECT * FROM DBA_CAPTURE_PREPARED_TABLES;
    Get the SCN for the correspoing table and use at destination
    At destination:
    BEGIN
    DBMS_APPLY_ADM.SET_TABLE_INSTANTIATION_SCN (
    source_object_name => 'schema.tablename',
    source_database_name => 'global db name of source',
    instantiation_scn => &iscn);
    END;
    Enter iscn that you got at souce.
    Retry the error. This will work.

  • Streams on a source Database with DataGuard in place

    Hello,
    I want to know what would be the impact on performance on setting up Streams on a 9i RAC Database, which already has DataGuard implemented to a single instance database.
    From the forums I have read that Streams works closely with redo logs and it can also be affected by archiving, so if my source database is archiving locally and remotely because of DataGuard, could this affect functionality or performance?
    Thank you in advance.

    Sure it will not have any affect on the functionality. Streams mines redo logs (and archive logs if needed) for the DDL and DML changes. It depends in which protection mode is your Data Guard is configured.
    If its Max Protection then Streams has nothing to do with DG
    If its Max Performance and you use LGWR ASYNC then yes, both Streams and DG will be mining the redo logs and you may have some performance issues but I think it will be negligible. The LNS process outside the SGA will be responsible in DG env to transport the changes and a Capture process again outside the SGA will be held responsible to mine the changes in Streams setup.
    Conceptually, this should not have any performance impact on your Primary.

  • Locks made against source database (SQLServer 6.5 to 9.0.1.2 migration)

    I was wondering if there is any information about the types of locks that OMWB will take out on the source SQLServer database in a migration. From what I can tell these locks occur on the source database while the table data is loaded in to the target Oracle database. Are they taken at any other time during the migration process? How does OMWB determine what locks to take?
    I need to migrate several production SQLServer 6.5 databases and I need to understand how OMWB will perform locks so I don't bottleneck our production SQLServer databases while they are converted to Oracle. Most of the migration work will be performed off hours, but I still would like some insight into the locking. In a related question, how does OMWB maintain consistency between tables during the migration process?
    Thanks in advance for your help.
    -Reid

    Hi,
    You will be able to migrate from 6.5 to 9.3.1, if the 6.5 version is on a seperate server from the planned 9.3.1 version then you can use the migration wizard to do so.
    If you want to migrate users and groups make sure the 9.3.1 version is still in native security mode, otherwise you will need to use esscmd/maxl to extract user information and then import.
    The migration wizard will not take the data so you should really export that from your source.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to stop the capture source of AudioVideoCaptureDevice

    Hi. I capture video with the AudioVideoCaptureDevice API and I'm not sure if I followed the right steps to implement it. If I record a video for the first time everything works in the emulator but when I tap the record button for the second
    time the app crash. I think it's because I have to disconnect the file stream from the capture source but I can't because passed an instance of  AudioVideoCaptureDevice as the source of the video recorder brush. Here's my code + - in the order of
    execution:
    private async Task InitializeVideoRecorder()
    try
    if (vcDevice != null)
    vcDevice = null;
    CameraSensorLocation location = CameraSensorLocation.Back;
    captureResolutions =
    AudioVideoCaptureDevice.GetAvailableCaptureResolutions(location);
    vcDevice = await AudioVideoCaptureDevice.OpenAsync(location, captureResolutions[0]);
    vcDevice.RecordingFailed += OnCaptureFailed;
    vcDevice.VideoEncodingFormat = CameraCaptureVideoFormat.H264;
    vcDevice.AudioEncodingFormat = CameraCaptureAudioFormat.Aac;
    // Initialize the camera if it exists on the phone.
    if (vcDevice != null)
    //initialize fileSink
    await InitializeFileSink();
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(vcDevice);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    //_cs.Start();
    // Set the button state and the message.
    UpdateUI(ButtonState.Initialized, "Tap record to start recording...");
    else
    // Disable buttons when the camera is not supported by the phone.
    UpdateUI(ButtonState.CameraNotSupported, "A camera is not supported on this phone.");
    catch(Exception ex)
    MessageBox.Show("InitializeVideoRecorder Error:\n" + ex.Message);
    private void OnCaptureFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
    MessageBox.Show(args.ToString());
    //setup iClips video file creation
    private async Task InitializeFileSink()
    StorageFolder isoStore = await ApplicationData.Current.LocalFolder.GetFolderAsync("Shared");
    sfVideoFile = await isoStore.CreateFileAsync(
    isoVideoFileName+".mp4",
    CreationCollisionOption.ReplaceExisting);
    // Set the recording state: display the video on the viewfinder.
    private void StartVideoPreview()
    try
    // Display the video on the viewfinder.
    if (vcDevice != null)
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(vcDevice);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    // Set the button states and the message.
    UpdateUI(ButtonState.Ready, "Ready to record.");
    txtRecTime.Visibility = Visibility.Collapsed;
    // If preview fails, display an error.
    catch (Exception e)
    MessageBox.Show("Start Video Preview Exception:\n " + e.Message.ToString());
    // Set recording state: start recording.
    private async void StartVideoRecording()
    try
    if (vcDevice != null)
    MessageBox.Show("1");
    s = await sfVideoFile.OpenAsync(FileAccessMode.ReadWrite);
    MessageBox.Show("2");
    await vcDevice.StartRecordingToStreamAsync(s);
    MessageBox.Show("3");
    rState = 1;
    logo.Opacity = 1.0; //brighten logo to indicate that the recording started
    StartTimer(); //show time ellapsed on UI
    // Set the button states and the message.
    UpdateUI(ButtonState.Recording, "Recording...");
    // If recording fails, display an error.
    catch (Exception e)
    MessageBox.Show("Start Video Recording Error:\n" + e.Message.ToString());
    // Set the recording state: stop recording.
    private async void StopVideoRecording()
    try
    await vcDevice.StopRecordingAsync();
    sfVideoFile = null;
    rState = 0;
    logo.Opacity = 0.1;
    StopTimer();
    // Set the button states and the message.
    UpdateUI(ButtonState.Stopped, "Preparing viewfinder...");
    StartVideoPreview();
    // If stop fails, display an error.
    catch (Exception e)
    MessageBox.Show("Stop Video Recording:\n " + e.Message.ToString());
    // Start the video recording.
    private void StartRecording_Click(object sender, EventArgs e)
    // Avoid duplicate taps.
    StartRecording.IsEnabled = false;
    StartVideoRecording();
    private void DisposeVideoRecorder()
    if (_cs != null)
    // Stop captureSource if it is running.
    if (_cs.VideoCaptureDevice != null
    && _cs.State == CaptureState.Started)
    _cs.Stop();
    // Remove the event handler for captureSource.
    _cs.CaptureFailed -= OnCaptureFailed;
    // Remove the video recording objects.
    _cs = null;
    vcDevice = null;
    //fileSink = null;
    videoRecorderBrush = null;
    InitializeVideoRecorder() is called in OnNavigatedTo the when I tap the record button StartVideoRecording() is then called like wise StopVideoRecording() and when I tap the record button( or call StartVideoRecording) for the second time an error
    is thrown. What am I missing? (I bet it's something to do with how I implemented the capture source.) Thaanks in advance.
     

    Thank you that answer is very helpful. I got the recording to work and it's playing the video back too, however, when I record for the second time and tries to playback that file the screen is just black. Can you kindly take a look at my methods
    and see where I'm missing up?
    // Constructor
    public MainPage()
    try
    InitializeComponent();
    //setup recording
    // Prepare ApplicationBar and buttons.
    PhoneAppBar = (ApplicationBar)ApplicationBar;
    PhoneAppBar.IsVisible = true;
    StartRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[0]);
    StopPlaybackRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[1]);
    StartPlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[2]);
    PausePlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[3]);
    //SetScreenResolution();
    //Sign_Client();
    catch (Exception ex)
    MessageBox.Show("Constructor Error:\n"+ ex.Message);
    //Life Cycle
    protected async override void OnNavigatedTo(NavigationEventArgs e)
    base.OnNavigatedTo(e);
    // Initialize the video recorder.
    await InitializeVideoRecorder();
    //prepare shutter hot keys
    CameraButtons.ShutterKeyHalfPressed += OnButtonHalfPress;
    CameraButtons.ShutterKeyPressed += OnButtonFullPress;
    CameraButtons.ShutterKeyReleased += OnButtonRelease;
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    // Dispose of camera and media objects.
    DisposeVideoPlayer();
    DisposeVideoRecorder();
    base.OnNavigatedFrom(e);
    CameraButtons.ShutterKeyHalfPressed -= OnButtonHalfPress;
    CameraButtons.ShutterKeyPressed -= OnButtonFullPress;
    CameraButtons.ShutterKeyReleased -= OnButtonRelease;
    // Update the buttons and text on the UI thread based on app state.
    private void UpdateUI(ButtonState currentButtonState, string statusMessage)
    try
    // Run code on the UI thread.
    Dispatcher.BeginInvoke(delegate
    switch (currentButtonState)
    // When the camera is not supported by the phone.
    case ButtonState.CameraNotSupported:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // First launch of the application, so no video is available.
    case ButtonState.Initialized:
    StartRecording.IsEnabled = true;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // Ready to record, so video is available for viewing.
    case ButtonState.Ready:
    StartRecording.IsEnabled = true;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = true;
    PausePlayback.IsEnabled = false;
    break;
    // Video recording is in progress.
    case ButtonState.Recording:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = false;
    break;
    // Video Recording Stopped.
    case ButtonState.Stopped:
    StartRecording.IsEnabled = true;
    StopPlaybackRecording.IsEnabled = false;
    StartPlayback.IsEnabled = true;
    PausePlayback.IsEnabled = false;
    break;
    // Video playback is in progress.
    case ButtonState.Playback:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = false;
    PausePlayback.IsEnabled = true;
    break;
    // Video playback has been paused.
    case ButtonState.Paused:
    StartRecording.IsEnabled = false;
    StopPlaybackRecording.IsEnabled = true;
    StartPlayback.IsEnabled = true;
    PausePlayback.IsEnabled = false;
    break;
    default:
    break;
    // Display a message.
    txtDebug.Text = statusMessage;
    // Note the current application state.
    currentAppState = currentButtonState;
    catch (Exception ex)
    MessageBox.Show("UpdateUI Error:\n" + ex.Message.ToString());
    private async Task InitializeVideoRecorder()
    try
    CameraSensorLocation location = CameraSensorLocation.Back;
    captureResolutions =
    AudioVideoCaptureDevice.GetAvailableCaptureResolutions(location);
    vcDevice = await AudioVideoCaptureDevice.OpenAsync(location, captureResolutions[0]);
    vcDevice.RecordingFailed += OnCaptureFailed;
    vcDevice.VideoEncodingFormat = CameraCaptureVideoFormat.H264;
    vcDevice.AudioEncodingFormat = CameraCaptureAudioFormat.Aac;
    //Set a perfect orientation to capture with
    int encodedOrientation = 0;
    int sensorOrientation = (Int32)this.vcDevice.SensorRotationInDegrees;
    switch (this.Orientation)
    // Camera hardware shutter button up.
    case PageOrientation.LandscapeLeft:
    encodedOrientation = -90 + sensorOrientation;
    break;
    // Camera hardware shutter button down.
    case PageOrientation.LandscapeRight:
    encodedOrientation = 90 + sensorOrientation;
    break;
    // Camera hardware shutter button right.
    case PageOrientation.PortraitUp:
    encodedOrientation = 0 + sensorOrientation;
    break;
    // Camera hardware shutter button left.
    case PageOrientation.PortraitDown:
    encodedOrientation = 180 + sensorOrientation;
    break;
    vcDevice.SetProperty(KnownCameraGeneralProperties.EncodeWithOrientation, sensorOrientation + 90);
    // Initialize the camera if it exists on the phone.
    if (vcDevice != null)
    //initialize fileSink
    await CreateAndOpenNewVideoFile();
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(vcDevice);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    //_cs.Start();
    // Set the button state and the message.
    UpdateUI(ButtonState.Initialized, "Tap record to start recording...");
    else
    // Disable buttons when the camera is not supported by the phone.
    UpdateUI(ButtonState.CameraNotSupported, "A camera is not supported on this phone.");
    catch(Exception ex)
    MessageBox.Show("InitializeVideoRecorder Error:\n" + ex.Message);
    private void OnCaptureFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
    MessageBox.Show(args.ToString());
    //setup iClips video file creation
    private async Task CreateAndOpenNewVideoFile()
    StorageFolder isoStore = await ApplicationData.Current.LocalFolder.GetFolderAsync("Shared");
    sfVideoFile = await isoStore.CreateFileAsync(isoVideoFileName+".mp4",
    CreationCollisionOption.ReplaceExisting);
    s = await sfVideoFile.OpenAsync(FileAccessMode.ReadWrite);
    // Set the recording state: display the video on the viewfinder.
    private void StartVideoPreview()
    try
    // Display the video on the viewfinder.
    if (vcDevice != null)
    // Create the VideoBrush for the viewfinder.
    videoRecorderBrush = new VideoBrush();
    videoRecorderBrush.SetSource(vcDevice);
    // Display the viewfinder image on the rectangle.
    viewfinderRectangle.Fill = videoRecorderBrush;
    // Set the button states and the message.
    UpdateUI(ButtonState.Ready, "Ready to record.");
    txtRecTime.Visibility = Visibility.Collapsed;
    // If preview fails, display an error.
    catch (Exception e)
    MessageBox.Show("Start Video Preview Exception:\n " + e.Message.ToString());
    // Set recording state: start recording.
    private async void StartVideoRecording()
    try
    if (vcDevice != null)
    await vcDevice.StartRecordingToStreamAsync(s);
    rState = 1;
    logo.Opacity = 1.0; //brighten logo to indicate that the recording started
    StartTimer(); //show time ellapsed on UI
    // Set the button states and the message.
    UpdateUI(ButtonState.Recording, "Recording...");
    // If recording fails, display an error.
    catch (Exception e)
    MessageBox.Show("Start Video Recording Error:\n" + e.Message.ToString());
    // Set the recording state: stop recording.
    private async void StopVideoRecording()
    try
    await vcDevice.StopRecordingAsync();
    //sfVideoFile = null;
    rState = 0;
    logo.Opacity = 0.1;
    StopTimer();
    // Set the button states and the message.
    UpdateUI(ButtonState.Stopped, "Preparing viewfinder...");
    //StartVideoPreview();
    // If stop fails, display an error.
    catch (Exception e)
    MessageBox.Show("Stop Video Recording:\n " + e.Message.ToString());
    // Start the video recording.
    private void StartRecording_Click(object sender, EventArgs e)
    // Avoid duplicate taps.
    StartRecording.IsEnabled = false;
    StartVideoRecording();
    private void DisposeVideoRecorder()
    if (vcDevice != null)
    // Remove the video recording objects.
    vcDevice = null;
    // Remove the event handler for captureSource.
    vcDevice.RecordingFailed -= OnCaptureFailed;
    s = null;
    sfVideoFile = null;
    videoRecorderBrush = null;
    private void OnCaptureFailed(object sender, ExceptionRoutedEventArgs e)
    MessageBox.Show("Recording Failed!");
    private void SaveThumbnail()
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    var w = (int)vcDevice.PreviewResolution.Width;
    var h = (int)vcDevice.PreviewResolution.Height;
    var argbPx = new Int32[w * h];
    vcDevice.GetPreviewBufferArgb(argbPx);
    var wb = new WriteableBitmap(w, h);
    argbPx.CopyTo(wb.Pixels, 0);
    wb.Invalidate();
    using (var isoStore = IsolatedStorageFile.GetUserStoreForApplication())
    var fileName = isoVideoFileName + "_iThumb.jpg";
    if (isoStore.FileExists(fileName))
    isoStore.DeleteFile(fileName);
    var file = isoStore.CreateFile(fileName);
    wb.SaveJpeg(file, w, h, 0, 20);
    file.Close();
    //STOP WATCH
    private void StartTimer()
    dispatcherTimer = new System.Windows.Threading.DispatcherTimer();
    dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick);
    dispatcherTimer.Interval = new TimeSpan(0, 0, 1);
    dispatcherTimer.Start();
    startTime = System.DateTime.Now;
    private void StopTimer()
    dispatcherTimer.Stop();
    private void dispatcherTimer_Tick(object sender, EventArgs e)
    System.DateTime now = System.DateTime.Now;
    this.Dispatcher.BeginInvoke(delegate()
    txtRecTime.Visibility = Visibility.Visible;
    txtRecTime.Text = now.Subtract(startTime).ToString().Substring(0, now.Subtract(startTime).ToString().LastIndexOf("."));
    // ICLIPS THEATRE - VIDEO PLAYER
    private void StopPlaybackRecording_Click(object sender, EventArgs e)
    try
    if (rState == 1)
    // Avoid duplicate taps.
    StopPlaybackRecording.IsEnabled = false;
    // Stop during video recording.
    StopVideoRecording();
    // Set the button state and the message.
    UpdateUI(ButtonState.NoChange, "Recording stopped.");
    if (rState == 0)
    // Stop during video playback.
    // Remove playback objects.
    DisposeVideoPlayer();
    StartVideoPreview();
    // Set the button state and the message.
    UpdateUI(ButtonState.NoChange, "Playback stopped.");
    catch (Exception ex)
    MessageBox.Show("Stop playback recording Exception:\n" + ex.Message.ToString());
    private void StartPlayback_Click(object sender, EventArgs e)
    PlayVideo();
    private async void PlayVideo()
    try
    // Avoid duplicate taps.
    StartPlayback.IsEnabled = false;
    // Start video playback when the file stream exists.
    if (VideoPlayer.Source != null)
    VideoPlayer.Play();
    // Start the video for the first time.
    else
    //vcDevice.Dispose();
    // Remove VideoBrush from the tree.
    viewfinderRectangle.Fill = null;
    //get the path of iClips-video
    StorageFolder isoStore = await ApplicationData.Current.LocalFolder.GetFolderAsync("Shared");
    iclip = await isoStore.GetFileAsync(isoVideoFileName + ".mp4");
    // Create the file stream and attach it to the MediaElement.
    VideoPlayer.Source = new Uri(iclip.Path);
    // Add an event handler for the end of playback.
    VideoPlayer.MediaEnded += new RoutedEventHandler(VideoPlayerMediaEnded);
    // Start video playback.
    VideoPlayer.Play();
    // Set the button state and the message.
    UpdateUI(ButtonState.Playback, "Playback started.");
    catch (Exception ex)
    MessageBox.Show("Play Video Exception:\n" + ex.Message.ToString());
    private void PausePlayback_Click(object sender, EventArgs e)
    PauseVideo();
    private void PauseVideo()
    // Avoid duplicate taps.
    PausePlayback.IsEnabled = false;
    // If mediaElement exists, pause playback.
    if (VideoPlayer != null)
    VideoPlayer.Pause();
    // Set the button state and the message.
    UpdateUI(ButtonState.Paused, "Playback paused.");
    private void DisposeVideoPlayer()
    if (VideoPlayer != null)
    // Stop the VideoPlayer MediaElement.
    VideoPlayer.Stop();
    // Remove playback objects.
    VideoPlayer.Source = null;
    iclip = null;
    // Remove the event handler.
    VideoPlayer.MediaEnded -= VideoPlayerMediaEnded;
    // Display the viewfinder when playback ends.
    public void VideoPlayerMediaEnded(object sender, RoutedEventArgs e)
    // Remove the playback objects.
    DisposeVideoPlayer();
    StartVideoPreview();
    I'm using StorageFile to create the file to save the video to. I think my Stop and Start Video Recording logic is causing ether the video not to write to the file the second time or something else. If you can see something that's not right kindly tell me. Thank
    you in advance.

  • Why am I getting  'Unable to signon to the Source Database.' just prior to 'Running the DBTSFIX Report' step.

    We are upgrading from Tools 8.53 to Tools 8.54 in HCM. I am receiving logging event 'Unable to signon to the Source Database.' just prior to 'Running the DBTSFIX Report' step. I found case 1545297.1 where it said to choose initial move as opposed to move

    For Tools only upgrades, while creating the jobs, you should choose 'Initial' and not 'Move to production'
    An excerpt from http://docs.oracle.com/cd/E56736_01/psft/acrobat/Getting_Started_on_Your_PeopleTools_Upgrade_08_2014.pdf is given below
    MTP indicates that this step runs only in Move to Production upgrade passes. The step is not applicable to the initial pass. This is not applicable for PeopleSoft PeopleTools-only upgrades.

  • The 'Third Party Connections' drop down box on the 'Source Database' step in the Migration Wizard is empty.

    Here are the environmental details:  
    SQLDeveloper 32-bit Version 3.2.20.09 (Build MAIN-09.87)
    Oracle Database:  12C single instance (no RAC)
    Oracle client:  12C 32 bit
    Windows 64 bit desktop
    I am attempting to migrate an MS Access application to Oracle.  I pick the ‘Migrate’ selection from the ‘Tools’ Menu SQL Developer.  This puts me into the Migration Wizard.  When I get to the ‘Source Database’ step of the migration wizard, the ‘Choose the Third Party database from which you are migrating’  drop-down box is not being populated with the current available connections. It is empty.  If I type a valid connection name into the box, SQL Developer takes it on this screen but does not keep it for the next screen/step.  It has no persistence.  I even tried to make sure that each connection was open/connected before beginning the migration process.
    Due to the fact that I am attempting to migrate an MSAccess application, I am mixing 32-bit and 64 bit software.  This may be the issue as to why the drop down is losing addressability.  I have not applied any patches to this version of SQL Developer.

    Hi,
    If you need easy way to migrate Microsoft Access to Oracle probably it is more reasonable to review some tools specially designed to this purpose. For example:
    Access to Oracle converter by Intelligent Converters
    Access to Oracle converter by SpectralCore
    Access to Oracle converter by Interface Computers
    Hope, this will help.
    Sincerely,
    Vlad

  • Multiple source databases

    Hello,
    I need to load data into dimensions and cube from multiple source databases. We have separate transaction databases for each country, but data must be loaded into common target schema. At the moment we have created mappings which loads data from one source database.
    What is the best way to populate, for example customers dimension from customers transaction tables (located in multiple source databases) if business identifiers can overlap?

    I would break this up into two pieces: the load from the source systems into the staging area, and then the load from the staging area into the target table, which you mentioned was a dimension.
    There is no reason you would have to use views or synonyms if you don't want to. You could approach this either with a SET operator, in this case a union, that brought all the sources together into the staging table. However, I would likely create multiple mappings for each source system. I would create a mapping for each table that you have to pull data from, and then create a separate process flow that controls all the tables being pulled from a particular source database. This allows you to schedule the extractions from the source systems independently of each other in case they need to run at different times. The end result of all of this will be a series of staging tables that are loaded from source tables from all the different locations. For each of the singular mappings, I would create a constant that defined the source of the data for this mapping, and load that constant into a column called SOURCE_SYSTEM, or perhaps COUNTRY, as you mentioned. Then, this SOURCE_SYSTEM/COUNTRY column + SOURCE_SYSTEM_ID would serve as the natural key.
    You can choose to persist these tables (as an ODS of sorts) or not... that is up to you and your requirements.
    Finally, I would create a single mapping that loads the final target table from the single staging table.
    Let me know if this doesn't make sense.
    Regards,
    Stewart Bryson

  • ADF (View Object) with open source database

    Hi all,
    Recently, I am evaluating JDeveloper 9.0.5.2 ADF with an open source database (Firebird).
    I follow the instruction to:
    1. Create an entity object
    2. Create a view object for the entity object in 1
    3. Create an application module for the view object in 2
    4. Right click on the application module and test -> all worked fine
    5. I created a jsp and drag the view (in 2) to it from Data Control Palette
    6. Test it in OC4J -> an error occurred (not because of jdbc config)
    JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT Department.DEPT_NO, Department.DEPARTMENT AS DEPARTMENT1, Department.HEAD_DEPT, Department.MNGR_NO, Department.BUDGET, Department.LOCATION, Department.PHONE_NO FROM DEPARTMENT Department) QRSLT ORDER BY DEPT_NO
    GDS Exception. 335544569. Dynamic SQL Error SQL error code = -104 Token unknown - line 1, char 16 SELECT
    To my knowledge, the error should be due to Firebird doesn't support the query syntax " select * (select col1, col2... from table) QRSLT where... order by... "
    I am quite headache as this query is automatically generated by JDeveloper. I am figuring out whether I can change it. It seems that I have to play with the ViewObjectImpl class.
    I do think ADF is an amazing technology. However, is it only so amazing with the Oracle technologies? Please correct me if I am wrong.
    Hons

    Dear Shay Shmeltzer,
    Thank you for your reply. After hours of trying on Firebird, I still get the error:
    JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT Department.DEPT_NO, Department.DEPARTMENT AS DEPARTMENT1, Department.HEAD_DEPT, Department.MNGR_NO, Department.BUDGET, Department.LOCATION, Department.PHONE_NO FROM DEPARTMENT Department) QRSLT ORDER BY DEPT_NO
    GDS Exception. 335544569. Dynamic SQL Error SQL error code = -104 Token unknown - line 1, char 16 SELECT
    I then downloaded the MySQL 4.0 and install on my system to do the exact procedures. No error! Thing works fine! Oh man...
    For the Firebird case, a strange thing to note is that the data table (I dragged) contains data, but the error message is on top of it.
    Actually, I don't have a particular database preference but I do hope ADF can work equally for these open-source databases. I think the problem may also be contributed by Firebird. Hope that I can figure it out this week.
    Regards,
    Hons

  • Columns mismatch between Source database and Source in Informatica

    Hi,
    I'm trying to create few columns into the datawarehosue tables. I can see the columns in my source system (Siebel CRM) in toad. When I access the source table via Informatica Powercenter Designer. I don't see that column in the source tabel. I have a doubt that whether I'm connecting to the right source database from Informatica. How do I check this and change this? The column which I'm looking for in the source system is not custom column. Its Siebel out of the box column. Could any one provide more information on this.
    Thanks in advance,
    Ravi

    You may have to reimport the table from the Source Analyzer workspace. When you import, make sure you are pulling from the correct source database and schema.
    Informatica does not automatically update the table definition if the source changes.

Maybe you are looking for

  • CBO not picking correct indexes or doing Full Scans

    Database version - 10.2.0.4 OS : Solaris 5.8 Storage: SAN Application : PeopleSoft Financials DB size : 450 gb DB server : 12 CPU ( 900 Mghz each ), 36 GB RAM ASMM - sga_target_size = 5 gb Locally managed tablespaces - MANUAL - db_file_multiblock_rea

  • Weak connection/Freezing with the new Plantronics Discovery 975

    After talking to other Plantronic Disc. 975 users with Palm Pres, I would like to reach out further! The head set for $130.00 has static and popping with the head set and phone within arms reach. Also, when hanging up on a call with the ear piece, th

  • Airport Base Cutting in and Out

    My Airport base station has started cutting in and out and restarting it only sometimes works. Once returning to detectable signal, it may work for seconds, minutes or hours. For four years, we have had a flat-screen iMac, an eMac and a network print

  • IE Effects Browser Bug

    Just found a browser bug with the spry effects which I think is why the page loads alot quicker in Firefox The fade in effect does not work in IE ? var dsShropshire = new Spry.Data.XMLDataSet(" http://www.dinewithus.co.uk/new/xml/restaurants-search.p

  • Image on monitor window does not match playhead as it moves

    I am resurrecting this earlier thread because, although it received a star as "solved" it was not really solved. Since upgrading to Quicktime 7.6.6 I, too, have had similar problems, as apparently have several others. Basically, on iMovie playback th