What is asant and how to run it

Im studying j2ee now. Stuck in how to use jdbc within j2ee. I read the tutorial chapter 3/ Defining a Data Source in the J2EE Server.
There is a sentence saying "2. Run asant create-jdbc-connection-pool_common. This asant task runs an asadmin command to create a JDBC connection pool named bookstore-pool".
and then I look for what is asant. go to "About This Tutorial/Building the Examples " It says "In order to run the asant scripts, you must configure your environment and properties files as follows: "
My question is : what is " <JAVA_HOME>/bin to the front of your path" and "Add <J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front ofAdd your path so that J2EE 1.4 Application Server scripts (asadmin, asant, deploytool, and wscompile) overrides other installations."
And I still confused about the next steps.

asant is a tool that automates the process of building the examples and performing some tasks to set up the application server and database.
You need to add the directories cited in the tutorial to the front of your path environment variable so that when you run asant you get the correct version. See your operating system literature for information about how to modify environment variables.
Here's some info on setting the path on Windows:
http://java.sun.com/j2se/1.4.2/install-windows.html#Environment

Similar Messages

  • An attempt to install Adobe reader X on my Mac OS 10.5.8 failed, with this message: "Run preinstall script for application." What is that, and how do I do it?

    An attempt to install Adobe reader X on my Mac OS 10.5.8 failed, with this message: "Run preinstall script for application." What is that, and how do I do it?

    Hi renmusn79002737,
    Could you please try installing Reader again from the below mentioned link:
    http://get.adobe.com/reader
    Ensure that you are logged in as administrator and anti-virus is disabled as that might interrupt downloading.
    Try again and then let me know.
    Regards,
    Anubha

  • Hi. I tried using Pinterest tonight and got a message that I have a bot in my network..what is this, and how do I get rid of it? My phone has been running really slow too on Safari (but not on Google Chrome)

    Hi. I tried using Pinterest tonight and got a message that I have a bot in my network..what is this, and how do I get rid of it? My phone has been running really slow too on Safari (but not on Google Chrome)

    Google changed their menu bar. Firefox hasn't used Google for the default homepage since the Firefox 3.6 versions. Firefox 4+ versions use '''about:home'''.<br />
    http://www.theverge.com/2011/11/29/2598717/google-bar-redesign-rethinks-the-navigation-bar

  • Just below toolbar, Firefox is telling me "Downloading the lastest applications" - what is this and how can I stop it. It's been running for 2 hours.

    Just below the toolbar, Firefox is telling me "Downloading the latest applications" - what is this and how can I stop it. It's been running for 2 hours.
    == This happened ==
    Every time Firefox opened
    == I opened the Firefox "Add-ons" window

    Disable or uninstall the MSN/Bing toolbar.
    See [https://support.mozilla.com/tiki-view_forum_thread.php?comments_offset=0&comments_threadId=0&comments_parentId=693619&comments_threshold=0&thread_sort_mode=commentDate_asc&forumId=1&time_control=3600 this thread] and [[Uninstalling add-ons]].

  • IPod Nano 2nd Generation is requesting 4 digit code. I have never set a lock code. What is this and how can I get my Nano running again?

    iPod Nano 2nd Generation is requesting 4 digit code. I have never set a lock code. What is this and how can I get my Nano running again?

    There is no other way to bypass the combintation lock other than to connect the nano to iTunes and restore it to factory settings, erasing all content and settings from the iPod.
    B-rock

  • When my Itunes diagnostic's finishes running it says Itunes not running in safe mode. What is that and how do I enable it?

    My Itunes diagnostic's say's that my Itunes is not running in safe mode. What is this and how do I enable it? I have the latest version of Itunes.

    you cannot update this software because you have not owned the major version of this software
    Shouldn't give away the secret of how easy it is.....

  • My first edition macbook has power and the hard disk runs yet screen is black. Somebody suggest the next thing POWER CAPS LOCK OPTION COMMAND what is this and how can I repair my laptop?

    My first edition macbook has power and the hard disk runs yet screen is black. Somebody suggest the next thing POWER+CAPS LOCK+OPTION+COMMAND what is this and how can I repair my laptop?

    Take it in for service.

  • When I try to make a new video, a window comes up that says,"The operation could not be completed," and then under it, it says,"No other information is available about the problem," what is happening and how do I fix it?

    when I try to make a new video, a window comes up that says,"The operation could not be completed," and then under it, it says,"No other information is available about the problem," what is happening and how do I fix it?

    Hi
    And without info - it's near to impossibly to help. Try my general troubleshooting note:
    Troubleshooting note
    When iMovie doesn't work as intended this can be due to a lot of reasons
    iMovie Pref files got corrupted - trash it/they and iMovie makes new and error free one's
    problem in iMovie Cache folder - trash Cache.mov and Cache.plist
    Creating a new User-Account and log into this
    This forces iMovie to create all pref. and cache files new and error free
    Event or Project got corrupted - try to make a copy and repair
    a Codec is used that doesn't work (even though iMovie and/or iDVD tries to / they fail in the end)
    version miss match of QuickTime Player / iMovie / iDVD
    preferences are wrong - Repair Preferences
    other hard disk problem - Repair Hard Disk (Disk Util tool - but start Mac from ext HD or DVD)
    External hard disks - MUST BE - Mac OS Extended (hfs) formatted to work with Video
    ( UNIX/DOS/FAT32/Mac OS Exchange - works for most other things - but not for Video )
    USB-flash-memories - usually do not work
    Net-work connected hard disks - usually do not work (most often not fast enough and WRONGLY FORMATTES as DOS etc)
    iPhoto Library got problems - let iPhoto select another one or repair it. Re-build this first then try to re-start iMovie. When iMovie starts-up it first look trough this iPhoto library and if faulty it all Halt’s.
    This You do by
    First -  close iPhoto
    Secondly - on start up of iPhoto - Keep {cmd and alt-keys down}
    Thirdly - now select all five options presented
    THEN - WAIT a long long time (>20 hours are not strange)
    free space on Start-Up (Mac OS) hard disk to low (<1Gb) - I never go under 25Gb free space for SD-Video (4-5 times more for HD)
    external devices interferes - turn off Mac - disconnect all of them and - Start up again and re-try
    GarageBand fix - start GB - play a few notes - Close it again and now try iMovie
    Screen must be set to million-colors
    Third-party plug-ins doesn't work OK
    Run "Cache Out X", clear out all caches and restarts the Mac
    Let Your Mac be turned on during one night. At about midnight there is a set of maintenance programs that runs and tidying up. This might help
    Turn off Your Mac - and disconnect Mains - for about 20-30 minutes - at least this resets the FireWire port.
    In QuickTime - DivX, 3ivx codec, Flip4Mac, Perian etc - might be problematic - temporarily move them out and re-try
    (I deleted the file "3ivxVideoCodec.component" located in Mac HD/Library/Quicktime and this resolved my issue.)
    buenrodri wrote
    I solved the problem by removing the file: 3ivxVideoCodec.component. after that, up-dated iMovie runs ok.
    Last resort: Trash all of iMovie and re-install it
    Yours Bengt W

  • I have Photoshop 7 on a laptop with windows 8.1.  When I try to open Photoshop 7 I get the error message "cannot open missing personalization information".  What is this and how can I fix it?

    I have Photoshop 7.0.  This is on a laptop running windows 8.1.  When I try to open it I get the errro message: " cannot open missing personalization information".
    what is this and how can I fix it.

    Run it in compatibility mode and input the credentials.
    Mylenium

  • I have a 21" iMac that only boots as far as a folder icon with a question mark in it.  Anyone know what this means and how to fix it?

    I have a 21" iMac that only boots as far as a folder icon with a question mark in it.  Anyone know what this means and how to fix it?

    It usually means your OS has corrupted files. You need to reinstall OS X.
    If you are using Snow Leopard:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.
    If you are using Lion:
    Reinstalling Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Continue button.

  • Error code 147;20 what is it and how to fix thanks

    error code 147:20 what is it and how to fix it--thanks

    Mylenium has the information on this:
    130 :: XX through 150 :: XX errors are related to the install database and licensing sub-system. It thinks the install never finished and the licensing does not kick in. Uninstall, run the CC-CS Clean Utility. When you re-install, make sure to correctly run with full administrative privileges. And by all means - make sure your system is on the latest system updates.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • What is "other" and how to get rid of it?

    I have attached a picture of the "other" on my MacBook Pro. I've run CleanMyMac 2, Gemini Pro, and other programs to clean out my computer, and I STILL have tons of "other" files eating up my memory. What is it and what can I do to clean out my hard drive? Thanks for the help!

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • In "about this mac/storage" what is "other" and how do I get rid of it.

    My hard drive is showing that I have 212g of "other" on my hard drive.  I have cleaned out everything I can, and this number continues to rise.  I have purged my internet stuff, deleted downloads and I am showing only 36.15g of apps, 63g of music, and 50g of movies.  What is "other" and why is more than half my computer's hard drive using it?  iMac 2.5g core i5 with 12g ram, 500g hardrive (2012) mountain lion 10.8.2.

    "Other" is everything that doesn't fit into one of the other categories.
    First, empty the Trash if you haven't already done so.
    To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.
    You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste (command-V) into the Terminal window. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • Bootcamp.What is it and How do I get rid of it?

    I accidentally initiated the Bootcamp option on my Imac, and cannot get rid of it. What is it and how do I get rid of it? Thanks.

    If you started BootCamp, it should have partitioned your drive (default 32GB) and now be asking for a WinXP disk to begin the install process. If you quit the process, then all you need to do is run BootCamp again and choose to restore your HD partition back to a single partition.
    Hope that helps,
    RP

  • Bad pop ups and this thing called macsweeper. what us it and how do I get rid of it

    I gave bad pop ups and this thing called macsweeper. What is it and how do I get rid of it. Thanks

    There is no need to download anything to solve this problem.
    You may have installed one or more of the common types of ad-injection malware. Follow the instructions on this Apple Support page to remove it. It's been reported that some variants of the "VSearch" malware block access to the page. If that happens, start in safe mode by holding down the shift key at the startup chime, then try again.
    Back up all data before making any changes.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, ask for further instructions.
    Make sure you don't repeat the mistake that led you to install the malware. It may have come from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    Malware is also found on websites that traffic in pirated content such as video. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

Maybe you are looking for