New Oracle VM Templates

Check Oracle's virtualization blog: http://blogs.oracle.com/virtualization/2010/09/more_oracle_vm_templates_avail.html

Hey... this is awesome and worked really well on virtualbox.  However....  I don't see the OEM console username and password listed in the docs.  Do you know what user name and password to use?

Similar Messages

  • How to create a new Oracle OSB project automaticaly with script without IDE

    Hello,
    I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
    I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
    I'm using Oracle service bus 10.3.1
    Thank you for your help.

    Thank you for your response,
    I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
    Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
    The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
    So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
    So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
    I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
    I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
    Regards,
    Tarik

  • Oracle SQL template to create re-usable DDL/DML Scripts for Oracle database

    Hi,
    I have a requirement to put together a Oracle SQL template to create re-usable DDL/DML Scripts for Oracle databases.
    Only the Oracle DBA will be running the scripts so permissions is not an issue.
    The workflow for any DDL is as follows:-
    1) New Table
    a. Check if the table exists from the system/admin views.
    b. If table exists then give message "Table Exists"
    c. If table does not exist then execute DDL code
    2) Add Column
    a. Check if Column exists for a given table from system/admin views
    b. If column exists in the specified table,
    b1. backup table.
    b2. alter table to make changes to the column
    b3. verify data or execute dml script convert from backup to the new change.
    c. If Column does not exist
    c1. backup table
    c2. alter table to add column
    c3. execute dml to populate column with default value.
    The DML scripts are for populating base tables with data required for business operations.
    3) Add new row
    a. check if row exists by comparing old values of each column with new values to be added for the new record.
    b. If exists, give message row exists
    c. If not exists, add new record.
    4) Update existing record (We have createtime columns in these tables so changes can be tracked)
    a. check if row exists using primary key.
    b. If exists,
    b1. deactivate the record using the "active" column of the table
    b2. Add new record with the changes required.
    c. If does not exist, add new record with the changes required.
    Could you please help with some ideas which can get this done accurately?
    I have tried several ways, but I am not able to put together something that fulfills all requirements.
    Thank you,

    First let me address your question. (This is the easy part.)
    1. The existence of tables can be found in DBA_TABLES. Query it and and then use conditional logic and execute immediate to process the DDL.
    2. The existence of table columns is found in DBA_TAB_COLUMNS. Query it and then conditionally execute your DDL. You can copy the "before picture" of the table using that same dba view, or even better, use DBMS_METADATA.
    As for your DML scripts, they should be restartable, reversible, and re-run-able. They should "fail gracefully" on error, be written in such a way that they can run twice in a row without creating duplicate changes.
    3. Adding appropriate constraints can prevent invalid duplicate rows. Also, you can usually add to the where clause so that the DML does only what it needs to do without even relying on the constraint (but the constraint is there as a safeguard). Look up the MERGE statement to learn how to do an UPSERT (update/insert), which will let you conditionally "deactivate" (update) or insert a record. Anything that you cannot do in SQL can be done with simple procedural code.
    Now, to the heart of the matter...
    You think I did not understand your requirements?
    Please be respectful of people's comments. Many of us are professionals with decades of experience working with databases and Oracle technology. We volunteer our valuable time and knowledge here for free. It is extremely common for someone to post what they feel is an easy SQL or PL/SQL question without stating the real goal--the business objective. Experienced people will spot that the "wrong question" has been asked, and then cut to the chase.
    We have some good questions for you. Not questions we need answers from, but questions you need to ask yourself and your team. You need to reexamine this post and deduce what those questions are. But I'll give you some hints: Why do you need to do what you are asking? And will this construct you are asking for even solve the root cause of your problems?
    Then ponder the following quotations about asking the right question:
    Good questions outrank easy answers.
    — Paul Samuelson
    The only interesting answers are those which destroy the questions.
    — Susan Sontag
    The scientific mind does not so much provide the right answers as ask the right questions.
    — Claude Levi-Strauss
    You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions.
    — Mahfouz Naguib
    One hears only those questions for which one is able to find answers.
    — Friedrich Nietzsche
    Be patient towards all that is unresolved in your heart and try to love the questions themselves.
    — Rainer Maria Rilke
    What people think of as the moment of discovery is really the discovery of the question.
    — Jonas Salk
    Judge a man by his questions rather than his answers.
    — Voltaire
    The ability to ask the right question is more than half the battle of finding the answer.
    — Thomas J. Watson

  • Create new oracle database with JAVA

    Hi!
    I would appreciated it if you could help me to solve a problem that i have.
    I am trying to create a new oracle database by a JAVA 1.4.2 application. I am using the scripts that Oracle 10.g supplies during the creation of a new database from the server (Generate Database Creation Scripts) with the appropriate changes, generated by a java application. Unfortunately, i am unable to connect with the database and the listener. Is there any other way to create a new database by java and how can i solve my current problem with the oracle scripts?
    Thank you.

    A) To create a new schema, you need to be connected as a user that has create schema privilege, or as tyhe user who is to own the schema (remembering that the user has appropriate create privs, as seen in the GRANT command in the SQL Reference manual). Not an issue at all, I think, if you coordinate this with your DBA. Discussed very well in the Administrator's manual.
    B) Alternately, you could create a complete copy of the schema, including all desired objects (tables, views, etc.) in a separate database and simply export the user and schema. Then simply invoke the OS-based import command (imp) to load that entire thing into the target database.
    C) To create a new database, there are 3 simple steps ...
    1) create the appropriate initialization parameter file
    the init{sid}.ora file should be placed in the $ORACLE_HOME/dbs or %ORACLE_HOME%\database directory. (I recommend you do not attempt to create the spfile.) Of critical interest will be setting the block size information, the control file parameters, and using the appropriate memory management parameters, based on the version of the software you will be using to create the database instance.
    2) start an empty instance, pointing to the parameter file
    This will be an OS specific call, and will require that you have the correct OS environment set up as well as access to the ORACLE_HOME which will provide the software that you will invoke. In *nix you will need to call the sqlplus command with sysdba provs and in Windows you will need to call oradim to initialize this as a service.
    3) run the SQL create database command
    You might want to use the dbca to create a template of the create database command, or look in the SQL Reference manual for the variations on the command. Of critical interest will be initializing the redo logs as well as the system, sysaux (if needed), temp and undo tablespaces after which you can set up the regular tablespaces, users and schemas. I highly recommend that you have redundant copies of the control files on separate drives.
    You may want to review the online Concepts manual and the Adminstration Guide for some of the specifics to your needs, but I think I've covered the basics.
    Remember that ideally you will only have one database instantiated on any given server as the memory and CPU overhead of each instance is significant.
    Good luck.

  • Oracle VM Templates: Resizing a Template's Disk

    Is it possible to shrink (i.e., resize) the Virtual Disk of a Virtual Machine Template? Specifically, I'd like to to reduce the size of the +12GB Virtual Disk that's prepackaged with the OVM_OL6U2_x86_64_PVM template (that comes as part of the Oracle Linux 6 Update 2 template (OVF) - Paravirtualized x86_64 (64 bit) assembly - OVM_OL6U2_x86_64_PVM.ova [Oracle P/N V33689-01]).
    Eric Pretorious
    Truckee, CA

    francok wrote:
    i test to import the JDE Enterprise Server E1 from the Oracle VM Templates. I get a error, that they miss the system.img file. i know that in this template only the E1_ENT.img is in. On OVM 2.2.2 it will work because the import is another way. So i just copy the system.img to that template make a new tar and import it, and now it will work. But is there a date or a relaunch from the templates to work official with OVM 3.0.1? i see that on the E1-JDE Templates the Date is form 9.September 2011, but i dont see what they have changed. So what is the best way for import without any modifications Oracle VM Templates to Oracle VM Server 3.0.1?The existing templates should import into OVM3 without modification. I'll try and get the test/QA guys to look at the JDE template and check this as well.

  • Oracle VM and Oracle VM Template for Enterprise Manager Cloud Control 12c M

    Hello!
    After installation of *"Oracle VM 3.1.1 Media Pack v1 for x86_64 (64 bit)"* to bare hardware
    can I install Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack ?
    Is it the wrong plan ?
    What to do if I need to set VLAN №1 ? (according note of installer I have to choose number between 2 and 4094 )
    Thanks and regards,
    Pavel
    Edited by: Pavel on Jul 30, 2012 5:01 AM

    Yes, you can install Oracle VM Manager, create a server pool with the one parent Oracle VM server in it, and then deploy the Oracle VM template in the pool. Once EM VM is up and running, you can register the same Oracle VM Manager with EM, to manage the pool.
    In general, it is not recommended that you use the OVM server backend directly. But for bootstrapping the EM environment, you can also try the following:
    Download the OVM Template on the Oracle VM server. From the OVM server terminal itself you can do "xm create" to spin a new virtual machine using the Oracle VM teamplate. Once the VM comes up, VNC into the VM and configure the EM OMS and agent.

  • Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack v1

    Hello
    I download Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack v1
    I was checking the structure and I found this
    [oracle@em12c bin]$ cd /u01
    [oracle@em12c u01]$ ls
    app lost+found OracleHomes oracle-template.sh scripts
    [oracle@em12c u01]$ cd OracleHomes/
    [oracle@em12c OracleHomes]$ ls
    checkpoints db11g Middleware
    [oracle@em12c OracleHomes]$ pwd
    /u01/OracleHomes
    [oracle@em12c OracleHomes]$ cd db11g/
    [oracle@em12c db11g]$ ls
    admin cfgtoollogs checkpoints diag fast_recovery_area oradata product
    [oracle@em12c db11g]$ cd ..
    [oracle@em12c OracleHomes]$ cd Middleware/
    [oracle@em12c Middleware]$ ls
    [oracle@em12c Middleware]$
    The Database has all binaries but Middleware is empty
    Same body knows about this issue.
    Regards

    Yes, you can install Oracle VM Manager, create a server pool with the one parent Oracle VM server in it, and then deploy the Oracle VM template in the pool. Once EM VM is up and running, you can register the same Oracle VM Manager with EM, to manage the pool.
    In general, it is not recommended that you use the OVM server backend directly. But for bootstrapping the EM environment, you can also try the following:
    Download the OVM Template on the Oracle VM server. From the OVM server terminal itself you can do "xm create" to spin a new virtual machine using the Oracle VM teamplate. Once the VM comes up, VNC into the VM and configure the EM OMS and agent.

  • Oracle Project Template

    I was watching the webcast of ODP. The instructor does a .NET stored procedure demo and creates a new C# project and selects an Oracle Project template. I have ODP 10.1.0.4 installed and followed the webcast but when I create a new project and try to select the template it is not a listed project template. Does anyone know how this gets installed?

    The Oracle Project is used for .NET stored procedure development and deployment. The version of ODT that contains this Oracle Project is not yet released. We expect it to be available sometime next month. Stay tuned...
    Christian Shay
    Oracle

  • Oracle rac templates 11g R2 buildcluster.sh error

    Hi All,
    am facing below error, while creating oracle rac templates. kindly let us know how to resolve below error.
    ===error=========================
    Oracle RAC 11gR2 OneCommand (v1.2) for Oracle VM - (c) 2010-2011 Oracle Corporation
       Cksum: [1170221909 255000 racovm.sh] at Sun Jan  5 04:15:14 EST 2014
       Kernel: 2.6.18-194.0.0.0.3.el5xen (i686) [1 processor(s)] 1700 MB
    2014-01-05 04:15:14:[printparams:Time :racnode1] Completed successfully in 4 seconds (0h:00m:04s)
    2014-01-05 04:15:14:[setsshora:Start:racnode1] SSH Setup for the Oracle user(s)...
    INFO (node:racnode1): Running as oracle: /u01/racovm/ssh/setssh-Linux.sh -s -x -c NO -h nodelist -p ***   (setup on 2 node(s): racnode1 racnode2)
    ERROR: Failed to create temporary file /tmp/setssh-cretmpQY3958 on localhost, can not proceed
    Exiting...
    ERROR (node:racnode1): Failed to configure passwordless SSH for the oracle user
    2014-01-05 04:15:17:[setsshora:Time :racnode1] Completed with errors in 3 seconds (0h:00m:03s), status: 1
    2014-01-05 04:15:17:[buildcluster:Time :racnode1] Completed with errors in 58 seconds (0h:00m:58s), status: 1
    thanks,
    Mike.

    Try this. It worked for me.
    Please keep in mind that you will need wait till each step finishes successfully before move to next one
    For Step1 and 2, you can skip node(s) on which you didn't execute root.sh yet.
    Step 1: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force" on all nodes, except the last one.
    Step 2: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode" on last node. This command will zero out OCR and VD disk also.
    Step 3: As root, run $GRID_HOME/root.sh on all node one by one

  • Welcome to the new Oracle User Group Community

    Welcome to the new Oracle User Group Community. Whether you landed here via the redirect from the previous community site - IOUC.org - or navigated here directly, welcome. This new platform brings new community features to enhance the way you connect with user group peers and with Oracle, as well as make it easier for you to find information through a more intuitive interface. We invite you to provide your feedback on the new site. Log in using your OTN Forum credentials and join the discussion here. If you do not yet have OTN Forum log in credentials, navigate to http://community.oracle.com/community, click on the "Register" link in the upper right corner of the page and create your account.
    We look forward to hearing from you.

    Hi Kashif,
    Glad you like the new Community. Communication among user group leaders works a little differently on this site than on the previous site. Rather than having communication focus around e-mail distribution lists, communication now is focused within the site itself. The intent is that this will provide users the one place to come for information, rather than having to sort through lots of e-mail threads. That doesn't mean that e-mail is completely out of the picture though. Users can opt-in to receive e-mail notifications when an individual piece of content is changed, or when content is posted to a space. Look for the "Receive email notifications" link under "Actions" to start receiving notices. To stop receiving notices, go back to the same content/space and click "Stop email notifications".
    Your Relationship Manager will be talking with you and the other leaders in your region over the next few days and weeks regarding how you and your group of leaders want to communicate.
    Best regards,
    Oracle User Group Team

  • How can I create a new sales order template

    Hello,
    how can I create a new sales order template in SAP CRM 7.0 (Web UI)? I want to use this sales order template in scenario ´'Mass Generation of Sales Orders via Marketing Projects'.
    Thanks for your support in advance.
    Best regards,
    anvan

    Hi,
    Did you set up this scenario? I want something similar, but I want an ERP order to be created. Do you know if that is possible? Do you have som tips?
    regards Camilla

  • How can I create a new sales order template in SAP CRM 7.0

    Hello,
    how can I create a new sales order template in SAP CRM 7.0 (Web UI)? I want to use this sales order template in scenario ´'Mass Generation of Sales Orders via Marketing Projects'.
    Thanks for your support in advance.
    Best regards,
    anvan

    Hi,
    Did you set up this scenario? I want something similar, but I want an ERP order to be created. Do you know if that is possible? Do you have som tips?
    regards Camilla

  • I have the new Oracle 8i installer and here is why

    I have been trying to get Oracle 8i on Linux and I feel that I
    must share
    my thoughts on the new Oracle installer with everybody.
    I hate the new installer. I used to run the installer from
    home over my
    128Kbps connection while I was connected to the office machines,
    because it
    was simple text based. And Oracle 8i has changed all that!
    I have nothing against GUI based installers, only when they have
    a little too
    many animated images that eat up bandwidth. I had to drive all
    the way to
    the office because I did not have sufficient bandwidth to display
    the darn
    ringing bell animated image. This is strictly the mentality of
    Windows users
    who like to work on the console of servers.
    And check this out:
    line 118 in my install log file at :
    /usr/local/oracle/u01/app/oracle/oraInventory/logs/installActions.log
    says :
    platGroup = WINDOWS
    And this is on Linux!!! Maybe the Oracle folks are forgetting
    that Linux
    users are a little too sensitive to these kind of mistakes. :)
    This also supports my theory that the new installer is a gift
    from Windows
    programmers. Who are not too familiar with the idea of being
    able to send
    their video display to any computer around the world and work
    from there.
    A feature every Linux user takes for granted
    There are numerous other bugs in the installer and other routines
    of Oracle
    8i for Linux. Some of them I will list here:
    2. The installation types screen list 3 options:
    Typical, Minimal and Custom.
    Somehow Minimal takes more disk space (642 MB) compared to
    Typical (585 MB).
    Well that is what the installation screen says. I have not tried
    to install
    using the minimal install.
    3. The installation cant figure out how much free space is
    available on the /
    partition. Is it that hard? Its gives warnings about how I may
    not have
    enough space.
    4. dbassist cant find the cdrom if you try to install the default
    database
    from CDROM. It says cannot find CDROM even if you have all your
    stuff under
    /mnt/cdrom
    5. The docs talk about software mount points and data mount
    points /u01 /u02
    /u03 and /u04 that I created, but I could not find anywhere to
    specify them
    like I was able to, with the last release.
    6. "Oracle Protocol Support" section during the install shows no
    options at
    all. What happened to good ole Net8?
    And many others. This product is a joke.
    Atif.
    [email protected]
    null

    My sentiments exactly. There are so many bugs in the
    installation of this release that I have just about given up.
    And I haven't even started testing the new features yet!
    I've tried the install on RedHat 6.0 straight out of the box (no
    patches or updates applied) and followed the OIG and release
    notes to the letter. Clearly, no one at Oracle did the same,
    because there are many problems during install. I finally got a
    simple database running, but there are some real gotcha's along
    the way.
    Here are just a few of the bugs I've encountered:
    1. Zero length library file $ORACLE_HOME/lib/libnjni8.so.
    Netasst doesn't work without it. Someone said they posted the
    source code to the comp.databases.oracle.server newsgroup, but I
    can't find it.
    2. Database Creation Assistant thinks dbmssql.sql is called
    dbmssml.sql.
    3. Building the Intelligent Agent with TCL 7.5 causes a cascade
    of undefined references when running gmake -f ins_oemagent.mk
    agent
    4. Database Creation Assistant doesn't understand OFA. It wants
    to put all of the database files /u01/app/oracle/oradata/<sid> !
    5. Database Creation Assistant will sometimes prevent editing
    the data file names to put them in OFA compliant directories.
    I am appreciative of the free developer licenses for so many
    Oracle products, but this is the worst Oracle install I've had
    in 12 years.
    Atif (guest) wrote:
    : I have been trying to get Oracle 8i on Linux and I feel that I
    : must share
    : my thoughts on the new Oracle installer with everybody.
    : I hate the new installer. I used to run the installer from
    : home over my
    : 128Kbps connection while I was connected to the office
    machines,
    : because it
    : was simple text based. And Oracle 8i has changed all that!
    : I have nothing against GUI based installers, only when they
    have
    : a little too
    : many animated images that eat up bandwidth. I had to drive all
    : the way to
    : the office because I did not have sufficient bandwidth to
    display
    : the darn
    : ringing bell animated image. This is strictly the mentality of
    : Windows users
    : who like to work on the console of servers.
    : And check this out:
    : line 118 in my install log file at :
    : /usr/local/oracle/u01/app/oracle/oraInventory/logs/installActio
    ns.log
    : says :
    : platGroup = WINDOWS
    : And this is on Linux!!! Maybe the Oracle folks are forgetting
    : that Linux
    : users are a little too sensitive to these kind of mistakes. :)
    : This also supports my theory that the new installer is a gift
    : from Windows
    : programmers. Who are not too familiar with the idea of being
    : able to send
    : their video display to any computer around the world and work
    : from there.
    : A feature every Linux user takes for granted
    : There are numerous other bugs in the installer and other
    routines
    : of Oracle
    : 8i for Linux. Some of them I will list here:
    : 2. The installation types screen list 3 options:
    : Typical, Minimal and Custom.
    : Somehow Minimal takes more disk space (642 MB) compared to
    : Typical (585 MB).
    : Well that is what the installation screen says. I have not
    tried
    : to install
    : using the minimal install.
    : 3. The installation cant figure out how much free space is
    : available on the /
    : partition. Is it that hard? Its gives warnings about how I
    may
    : not have
    : enough space.
    : 4. dbassist cant find the cdrom if you try to install the
    default
    : database
    : from CDROM. It says cannot find CDROM even if you have all
    your
    : stuff under
    : /mnt/cdrom
    : 5. The docs talk about software mount points and data mount
    : points /u01 /u02
    : /u03 and /u04 that I created, but I could not find anywhere to
    : specify them
    : like I was able to, with the last release.
    : 6. "Oracle Protocol Support" section during the install shows
    no
    : options at
    : all. What happened to good ole Net8?
    : And many others. This product is a joke.
    : Atif.
    : [email protected]
    null

  • Creating a new database in a new Oracle home

    Hi,
    I'd like to add a new database using dbca, but I want it in a different Oracle Home to the other databases on the server. I notice that in the dbca I do not get an option to specify a new Oracle home. I assume it is because this tool is only for database creation and not instance creation. Do I therefore need to do a full Oracle install in order to create a second Oracle home?
    Many thanks.
    ****Ignore this, I know what I'm doing now****
    Edited by: user11201026 on Aug 6, 2009 3:52 AM

    You need to better understand what an ORACLE_HOME is. An Oracle home has nothing to do with a Oracle database.
    ORACLE_HOME defines the location of an installation of an Oracle software installation.
    Where you decide to put a database is irrelevant to the location of an ORACLE_HOME.
    One ORACLE_HOME can have zero, one, or many databases.
    But you can not have an ORACLE_HOME without an installation of Oracle software.
    The concept docs are at http://tahiti.oracle.com.

  • New Document Type Template PHP Class

    How do I create a new document type template for a PHP class
    in Dreamweaver CS3?
    I want to be able to go File -> New -> Blank Page ->
    PHP Class.
    I want the template to then look like:
    [code]
    <?php
    class Classname {
    //Class Member Variables
    //Constructor
    public function Classname() {
    //Methods
    ?>
    [/code]
    Thanks.

    Bumb, anybody?

Maybe you are looking for

  • SQL OR DIRECTORY STORAGE? - OPINIONS NEEDED!

    Designing an app with many pages that will be viewed by thousands. Of the two ways to go, creating html dynamically using CF and SQL Server when user requests page -or- having the html pages 'preloaded' onto the drive in various directories to displa

  • Opening a port issue: I Need to open a port in an airport extreme.

    I Need to open a port in an airport extreme, but I'm connected through an airport express in bridge mode.  I need to access a specific computer inside my network through that port to be able to use it as a server.  I can't seem to find the correct wa

  • Exporting an album or group of photos from IPhoto 08

    I have read the various posts on exporting photos from IPhoto 08. I have an email program that allows only one attachment/file. When I export an album to the desktop, it is not delivered as album but includes all the separate JPEG photos in the album

  • Error when attempting to assign privilege to role

    We've used the SAP Prov Framework to do AS ABAP Initial Load jobs on two different SAP systems, one SRM and one HR.  Both load jobs finish with a variety of errors, mostly to do with ValidFrom and ValidTo dates on the WriteABAPUsersRolePrivilegeAssig

  • Syncing Itunes from Ipad2 to Windows XP computer

    Can anyone tell me why when I sync my Ipad to my computer I lose Itunes purchases? I am now only seeing a few songs from a CD when I downloaded entire CD.  Thanks