How to import libraries?

Hi,
I am attempting to use the Jakarta Commons HttpClient library in my program.
I have set the CLASSPATH variable in my System Variables "Temp" and "Tmp" to D:\Documents and Settings\nilesh.thakur\Desktop\JAVA\httpclient\httpcomponents-client-4.0.1\lib\httpclient.jar;D:\Documents and Settings\nilesh.thakur\Desktop\JAVA\httpclient\httpcomponents-client-4.0.1\lib\httpmime.jar;D:\product\10.1.3.1\OracleAS_1\MOBILE\Sdk\bin\OLITE40.JAR;D:\Documents and Settings\nilesh.thakur\Desktop\JAVA\Apache\junit-4.8.1.jar;D:\Documents and Settings\nilesh.thakur\Desktop\JAVA\Apache\Logining\commons-logging-1.1.1\commons-logging-1.1.1.jar;
But unfortunately when I compile the .java file I get the following errors :
HttpClientTutorial.java:1: package org.apache.commons.httpclient does not exist
import org.apache.commons.httpclient.*;
Is there a specific folder structure to place the files that I have to follow to get this thing working ?
Is there anything else that one need to do apart from Classpath Setup ?
Is this the right way to set the classpath?

import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.methods.*;
import org.apache.commons.httpclient.params.HttpMethodParams;
import java.io.*;
public class HttpClientTutorial {
  private static String url = "http://www.apache.org/";
  public static void main(String[] args) {
    // Create an instance of HttpClient.
    HttpClient client = new HttpClient();
    // Create a method instance.
    GetMethod method = new GetMethod(url);
    // Provide custom retry handler is necessary
    method.getParams().setParameter(HttpMethodParams.RETRY_HANDLER,
              new DefaultHttpMethodRetryHandler(3, false));
    try {
      // Execute the method.
      int statusCode = client.executeMethod(method);
      if (statusCode != HttpStatus.SC_OK) {
        System.err.println("Method failed: " + method.getStatusLine());
      // Read the response body.
      byte[] responseBody = method.getResponseBody();
      // Deal with the response.
      // Use caution: ensure correct character encoding and is not binary data
      System.out.println(new String(responseBody));
    } catch (HttpException e) {
      System.err.println("Fatal protocol violation: " + e.getMessage());
      e.printStackTrace();
    } catch (IOException e) {
      System.err.println("Fatal transport error: " + e.getMessage());
      e.printStackTrace();
    } finally {
      // Release the connection.
      method.releaseConnection();
}

Similar Messages

  • How to import jsf libraries into eclipse

    hi,
    i want to run jsf applications in eclipse......
    i installed tomcat, j2sdk, eclipse, and tomcat plugin.... and configured everything....now i want to excute jsf applications in eclipse...how to import jsf libraries into eclipse....
    plz help me

    ok thank u
    i have other doubt
    i am using tomcatplugin instead of myeclipse plugin
    is tomcat plugin supports jsf or not?

  • Can any one answer me how to import and use jsp libraries into uix file and

    Hi guys
    can any one help me how to import jsp libraries in to my uix file with jdev 10g production adn how to use them..if any one got any sample for this i appreciate if u cans end me that
    thanks
    Venkat

    you cannot use jsp tags inside uix xml pages.
    you can, however, use uix jsp tags inside jsp pages.

  • Use of WIN-SDK Import libraries

    How can we use Win32 SDK import libraries( *.lib) in our forms. I am not asking of DLL,
    of course we can use a DLL with ora_ffi, But my problem is the use of Microsoft SDK for windows. Because Microsoft windows API documentation is based on Import libraries(*.lib) so we can not have the detailed information of DLLs, Thats why i am interested in use of (*.lib) import libraries.

    Adding the lib file to your project is not sufficient to use its functions.
    You also need the function definitions. According to MSDN, CMC function definitions
    are located in "xcmc.h" header file, which should be present in cvi\sdk\include.
    So, simply add the following line at the beginning of your source file "smtp.c":
    #include
    [email protected] wrote:
    >Hi,> I am trying to use win32 calls that are not included in kernel32.lib,>gdi32.lib
    and user32.lib thus I have to add import libraries to the>project. Reading
    cvi\sdk\sdkfuncs.txt I determined that the three>functions I need (cmc_logon,
    cmc_logoff and cmc_send) are located in>mapi32.lib.>> So in project I do
    Edit->Add files to project->library and select>cvi\sdk\lib\mapi32.lib. It
    pops into the project
    view.>> After build project I get>Undefined symbol
    'cmc_logoff' referenced in "smtp.c">Undefined symbol 'cmc_logon' referenced
    in "smtp.c">Undefined symbol 'cmc_send' referenced in "smtp.c">>Which are
    exactly the same errors if I don't include mapi32.lib in the>project.>>Where
    have I gone wrong? As far as I can tell these routines should now>link.>>This
    is using NT 4.0, service pack 6a, Labwindow version 5.0>>Thanks,> Bob>>>Sent
    via Deja.com http://www.deja.com/>Before you buy.

  • How to import metadata?

    I'm using iPhoto 8.0.2 (402) and trying to import my existing library of photos that were tagged with keywords ratings and locations in Vista Photo Gallery on a PC. The Vista app uses the XMP standard to store the metadata right in the files. When I import the photos in to iPhoto, it just ignores (or removes?) all the existing metadata so none of my pictures show up with any keywords. Can you let me know how to import the photos in to iPhoto so that the existing keywords and ratings show up?
    Thanks.

    Welcome to the Apple Discussions. For rotated photos the best solution is to rotate them before importing into iPhoto. That will avoid problems with later use in applications that do not read or use the orientation tag, like browsers.
    Two applications that can losslessly rotate a photo areXee and PhotoTool CM.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: iPhoto 8's new option in the library rebuild pane, "Rebuild the iPhoto Library Database from automatic backup" may make this tip obsolete. We'll know when users have occasion to use it and see if that's the case.

  • How can Imported Package of components to be fully editable??

    hi people,
    with JDeveloper TP3
    How To Import a Package of components that are editable and display in the
    Application Navigator
    Fusion Developer’s Guide for Oracle Application Development 11g
    Chapter 35.7 Working with Libraries of Reusable Business Components
    Says:
    Tip: If you require components that are editable and display in the
    Application Navigator. Add additional business components from a
    directory that is not currently part of your project's source path, then
    open the Project Content page of the Project Properties dialog and
    add the parent directory for these other components as one of the
    directories in the Java Content list. In contrast to imported packages
    of components, additional components added to your project's source
    path will be fully editable and will appear in the Application
    Navigator.
    but i can't even change Control hints.
    with JDeveloper TP3
    How To Import a Package of components that are editable and display in the
    Application Navigator
    Fusion Developer’s Guide for Oracle Application Development 11g
    Chapter 35.7 Working with Libraries of Reusable Business Components
    say:
    To create the JAR files, in the Application Navigator right-click the Business
    Components project folder and choose Deploy and the ReusableComponents
    profile. A Deployment tab appears in the JDeveloper Log window that should display
    feedback like:
    ---- Deployment started. ---- Apr 28, 2007 7:04:02 PM
    Running dependency analysis...
    Wrote JAR file to ...\ReuseableComponents\deploy\ReuseableComponentsCSMT.jar
    Running dependency analysis...
    Wrote JAR file to ...\ReuseableComponents\deploy\ReuseableComponentsCSCommon.jar
    Elapsed time for deployment: less than one second
    ---- Deployment finished. ---- Apr 28, 2007 7:04:02 PM
    then If you require components that are editable and display in the
    Application Navigator Add additional business components from a
    directory that is not currently part of your project's source path, then
    open the Project Content page of the Project Properties dialog and
    add the parent directory for these other components as one of the
    directories in the Java Content list
    where i didn't find Project Content page of the Project Properties
    but i got
    Compiling...
    Context: selection=rootBusiness.jpr project=rootBusiness.jpr node=rootBusiness.jpr
    Validating Business Component: rootbusiness.rootBusiness
    copying rootbusiness/rootBusiness.jpx to output directory
    Validating Business Component: rootbusiness.entity.Dept
    copying rootbusiness/entity/Dept.xml to output directory
    Validating Business Component: rootbusiness.entity.Emp
    copying rootbusiness/entity/Emp.xml to output directory
    Validating Business Component: rootbusiness.entity.FkDeptnoAssoc
    copying rootbusiness/entity/FkDeptnoAssoc.xml to output directory
    Validating Business Component: rootbusiness.Service.rootAppModule
    copying rootbusiness/Service/rootAppModule.xml to output directory
    Validating Business Component: rootbusiness.view.DeptView
    copying rootbusiness/view/DeptView.xml to output directory
    Validating Business Component: rootbusiness.view.EmpView
    copying rootbusiness/view/EmpView.xml to output directory
    Validating Business Component: rootbusiness.view.FkDeptnoLink
    copying rootbusiness/view/FkDeptnoLink.xml to output directory
    copying rootbusiness/Service/common/bc4j.xcfg to output directory
    Updated file:/C:/JDeveloper/mywork/Root/rootBusiness/classes/META-INF/adfm.xml
    [10:16:25 ص] Successful compilation: 0 errors, 0 warnings
    and didn't find ReuseableComponentsCSMT.jar or ReuseableComponentsCSCommon.jar
    thanks
    Message was edited by:
    greenApple

    with JDeveloper TP3
    How To Import a Package of components that are editable and display in the
    Application Navigator
    Fusion Developer’s Guide for Oracle Application Development 11g
    Chapter 35.7 Working with Libraries of Reusable Business Components
    Says:
    Tip: If you require components that are editable and display in the
    Application Navigator. Add additional business components from a
    directory that is not currently part of your project's source path, then
    open the Project Content page of the Project Properties dialog and
    add the parent directory for these other components as one of the
    directories in the Java Content list. In contrast to imported packages
    of components, additional components added to your project's source
    path will be fully editable and will appear in the Application
    Navigator.
    but i can't even change Control hints.

  • How to import POI under JDeveloper 11.1.2.0.0

    How to import POI under JDeveloper 11.1.2.0.0

    First, you have to get an import license for your country to be able to import plant material; this is usually to prevent disease to any native species. I'm not sure if you can import prepared [url http://en.wikipedia.org/wiki/Poi_(food)]poi directly, as I think it would probably ferment.
    Or, perhaps you meant [url http://en.wikipedia.org/wiki/Postorgasmic_illness_syndrome]Postorgasmic Illness Syndrome (I didn't make this up - Wikipedia gave it as a disambiguation for POI :) ), in which case, I cannot fathom how you could get that from JDeveloper - if you in fact do, then you are enjoying JDeveloper way too much.
    If you weren't talking about those types of POI, but perhaps Apache POI (it would have helped if you gave some reasonable information), what you need to do is to get the JAR file(s) for Apache POI and create a library definition in JDeveloper (either Tools->Manage Libraries or double-click the project and create a project-based library definition) and add the JAR's to that library's classpath. Edit: if you create the library via tools->manage libraries, you also need to double-click the project and add a reference to that library to your project.
    John

  • How to import 11i JDeveloper into R12 JDeveloper

    I had develop a java page program with JDeveloper fro Apps 11i, normal if I want to re-import the program, I can just create the workspace, project and then opne the server.xml. It did not work for R12 version. I try to create a new workspace and project and points to the source directory but the java program can't be imported. Does anyone knows how to import it? Thanks in advance.
    Regards
    Lawrence

    The basic way to import code is to use the "New->Projects->Project from existing code" or "project from WAR" dialogs to create your project.
    You then need to do some tweaking in the project properties->Content (and sub nodes such as resources and Web content).
    And also set the correct JARs/Libraries in the project properties.
    You can use the help->check for update to download the extension to JDeveloper that will let you integrate with Clearcase to do version management.
    This how-to might help you with your migration:
    http://www.oracle.com/technology/products/jdev/howtos/1013/w4wljdev/workshopandjdev.html

  • How to import albums from iPhoto 4..?n

    Have put a lot of work to group my photos in my previous iPhoto. Now, got the '08 (7.0) Version and imported the Library. All the pictures seem to be in, even more, pictures, I believed to be erased..
    But don't have a clue, how to import the albums, so the photos are grouped again as they were..
    Working in Leopard (10.5.2). My other iPhoto with albums is still on another (internal) hard drive with Tiger as OS.
    Any idea, how to import the albums ?
    Thanks
    bafomet

    In iPhoto's General preferences pane check the checkbox "Show Item Counts".
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How to import a 2010 list or library into 2013

    Hi,
    Does someone have a good guideline or idea on how to import an exported 2010 list or library into Sharepoint 2013?
    thanks for any help
    regards
    Martin

    Though a little hands-on it is actually possible to do that without third party solutions! (with limitations)
    On 2010 go into the list settings
    Choose save list as template
    Give it a name and check "Include content"
    Download the .stp file from the list template gallery
    Upload it to the list template gallery on your SharePoint 2010/2013 site
    Create a list from it, the template should appear in the available templates when choosing the right locale
    Voilá :-)
    This also works from 2007 to 2010/2013 though it is a little trickier...
    On 2007 go into the list settings
    Choose save list as template
    Give it a name and check "Include content"
    Download the .stp file from the list template gallery
    Rename it to .cab
    Extract it
    Open the manifest.xml
    Change
    <ProductVersion>3</ProductVersion>
    to
    <ProductVersion>4</ProductVersion>
    Save
    Pack everything with makecab.exe to a cab file (I'll come to that later)
    Rename .cab to .stp
    Upload it to the list template gallery on your SharePoint 2010/2013 site
    Create a list from it, the template should appear in the available templates when choosing the right locale
    So, now to the problems:
    This does only work for lists/libraries with content less than 10MB :-(
    This is a limitation of SharePoint and you cannot get arround that.
    So that might most likely limit the approach to your task list.
    Creating a CAB file is not really straigthforward. You need to create an inf file which describes the data which will be stored. See also here
    http://msdn.microsoft.com/en-us/library/3h8ff753(v=vs.80).aspx
    In some cases the template does not show up in the dialogs, then you can only create the list through PowerShell, i.e. like that
    # important, upload the .stp file first to the list template gallery of the site of the web where the list should be created
    $webUrl = "http://<yourweburl>" # web in which you want to create the list based on the custom template
    $listTemplateName = "<yourlisttemplatename>" # the name with which you saved the list into the list template gallery
    asnp Microsoft.SharePoint.PowerShell
    $web = Get-SPWeb $webUrl
    $listTemplate = $web.Site.GetCustomListTemplates($web)[$listTemplateName]
    $Web.Lists.Add("ListName", "", $listTemplate);
    4. Lookup columns are referenced with the list instance guid. As a result you would require to create the lookup lists first, then update the guid in the manifest.xml and then create the other list
    5. Manage Metadata columns won't work unless you migrated the data base too from 2010 to 2013 and the guids of the terms remain.
    Some time ago I wrote a PowerShell script which takes care all the above for you (including lookup columns), but this was still from 2007 to 2010.
    I need to test it first on 2013 before I am going to post it here.
    SharePoint Architect, Speaker, MCP, MCSE, MCSA, MCS, MCPD, MCITP, MCTS, SCRUM Master/PO
    Blog: www.matthiaseinig.de, Twitter:
    @mattein
    Projects: SharePoint Code Analysis Framework (SPCAF),
    SharePoint Software Factory,
    SharePoint Solution Deployer

  • How to import photos into new Photos beta app

    I am trying to figure out how to import photos from an auxiliary (i.e., not my main)  iPhoto library into the new beta Photos app. Has anyone been able to do this?  Thanks.

    You can't import a one library into another library with either Photos or iPhoto.  You could with iPhoto if the library to be imported was created by iPhoto 6 or earlier and still had a normal folder for the library.  Since iPhoto 7 libraries became packages and  can't be imported into another library.

  • Importing libraries

    Hey guys, I'm pretty new to Java and have a question about importing libraries into my code.
    A quick rundown of my system:
    Have a sphinx4 speech recognition engine which recognizes movement commands for a robot, such as move forward ten feet, or turn left thirty degrees.
    My robot, coded in PBASIC is set to await data from a bluetooth serial port.
    When sphinx4 recognizes a command, it sends a series of bytes to my robots microcontroller, via the serial port.
    I am trying to use simpleserial(http://web.media.mit.edu/~benres/simpleserial/) to code my java to transmit bytes over the serial connection.
    My question:
    How do i properly install the *.java libraries of simpleserial in order to use them in my code. I have tried adding the *.java files to a home folder such as:
    sphinx4\simpleserial\SimpleSerial.java
    etc..
    for each file
    In my code, I tried using:
    import simpleserial.SimpleSerial;
    etc..
    When I compile, it says that sphinx4\simpleserial\SimpleSerial.java does not contain the class path for simpleserial.SimpleSerial;
    Any ideas?

    rotary9k wrote:
    The files that I need to include are SimpleSerial.java and SimpleSerialNative.java. The zip file that I downloaded contains the .class files for these, so that means they are already compiled right?Yes.
    I'm not sure what you mean by "Put the jar file in your classpath", could you elaborate a bit more.First -- you downloaded a zip file? Not a .jar file? I believe that both use .zip compression, but a .jar file is the traditional way to distribute Java binaries (compiled classes).
    The classpath is a value that tells the Java virtual machine and the compiler where to find classes to use. You can specify it as an environment variable, or as an argument to the java and javac programs (e.g., on a Windows machine, java.exe and javac.exe). In IDEs the classpath is more integrated and might not be described as "classpath".
    Basically you just set the classpath to include the jar file, like this on a unix system:
    export CLASSPATH=yourJarFile.jar:$CLASSPATHfor an environment variable, or on the command line like this:
    javac -classpath=yourJarFile.jar TheClassYouWantToCompile.javaetc.
    There are tutorials on this site that go into more detail.

  • How to import iphoto events from remote library into local library

    I know how to access my MBA's iphoto library from my imac, however I don't know how to import any event/photo into my local imac's library. Any help would be appreciated, thanks

    Once that opens by default with iphoto, then... went to Finder again, Pictures, right click on iphoto library (local Imac library) and select "open with" = Aperture.
    There I had my MBA's library opened on iphoto and my local Imac library opened on Aperture. I simply dragged the events from iphoto to Aperture. Worked like a charm..
    PS: It is obvious to say that for this to work, both Imac and MBA have to be Shared in the same network
    That works, but there is a better way with Aperture. The problem.  If you drag the photos from Aperture to iPhoto, you only transfer the previews and you lose quality, because you do not transfer the high quality originals.
    Aperture can do more for you:
    Select the event   (in Aperture "Projects") you want to transfer in the library Inspector and then use "File > Export > Project as new Library".  This will create a new photo library with only the elected items.
    Then open your destination iPhoto library in Aperture and select the command "File > Import > Library" and select the partial library with your events. Aperture will now merge this library into your iPhoto library.
    This way, you will transfer the originals and all editing, keywords, etc, and effectively merge your iPhoto libraries preserving all your work.
    Seethes document:  Aperture 3.3: How to use Aperture to merge iPhoto libraries

  • 11.0.2 how to import playlist?

    I want to transfer all my itunes music from my Mac to a PC running Windows 8 with iTunes 11.0.2.  I cannot figure out how to import my playlists... I have a TON of music and have worked hard on my playlists! I don't want to loose it.  I copied over the library xml file, but can't figure out how to import it.  iTunes 11.0.2 doesn't have that option under Libraries any longer.  Please help!  thx.

    Thank you, that did the trick.  Since I have your attention, let me ask you this:
    I have the same issues, with other artists, on my ipod.  There are a few that are duplicated for some reason.  They are not duplicated on my iTunes, just the ipod.  any thoughts on that?
    thanks

  • How to import external table, which exist in export dump file.

    My export dump file has one external table. While i stated importing into my developement instance , I am getting the error "ORA-00911: invalid character".
    The original definition of the extenal table is as given below
    CREATE TABLE EXT_TABLE_EV02_PRICEMARTDATA
    EGORDERNUMBER VARCHAR2(255 BYTE),
    EGINVOICENUMBER VARCHAR2(255 BYTE),
    EGLINEITEMNUMBER VARCHAR2(255 BYTE),
    EGUID VARCHAR2(255 BYTE),
    EGBRAND VARCHAR2(255 BYTE),
    EGPRODUCTLINE VARCHAR2(255 BYTE),
    EGPRODUCTGROUP VARCHAR2(255 BYTE),
    EGPRODUCTSUBGROUP VARCHAR2(255 BYTE),
    EGMARKETCLASS VARCHAR2(255 BYTE),
    EGSKU VARCHAR2(255 BYTE),
    EGDISCOUNTGROUP VARCHAR2(255 BYTE),
    EGREGION VARCHAR2(255 BYTE),
    EGAREA VARCHAR2(255 BYTE),
    EGSALESREP VARCHAR2(255 BYTE),
    EGDISTRIBUTORCODE VARCHAR2(255 BYTE),
    EGDISTRIBUTOR VARCHAR2(255 BYTE),
    EGECMTIER VARCHAR2(255 BYTE),
    EGECM VARCHAR2(255 BYTE),
    EGSOLATIER VARCHAR2(255 BYTE),
    EGSOLA VARCHAR2(255 BYTE),
    EGTRANSACTIONTYPE VARCHAR2(255 BYTE),
    EGQUOTENUMBER VARCHAR2(255 BYTE),
    EGACCOUNTTYPE VARCHAR2(255 BYTE),
    EGFINANCIALENTITY VARCHAR2(255 BYTE),
    C25 VARCHAR2(255 BYTE),
    EGFINANCIALENTITYCODE VARCHAR2(255 BYTE),
    C27 VARCHAR2(255 BYTE),
    EGBUYINGGROUP VARCHAR2(255 BYTE),
    QTY NUMBER,
    EGTRXDATE DATE,
    EGLISTPRICE NUMBER,
    EGUOM NUMBER,
    EGUNITLISTPRICE NUMBER,
    EGMULTIPLIER NUMBER,
    EGUNITDISCOUNT NUMBER,
    EGCUSTOMERNETPRICE NUMBER,
    EGFREIGHTOUTBOUNDCHARGES NUMBER,
    EGMINIMUMORDERCHARGES NUMBER,
    EGRESTOCKINGCHARGES NUMBER,
    EGINVOICEPRICE NUMBER,
    EGCOMMISSIONS NUMBER,
    EGCASHDISCOUNTS NUMBER,
    EGBUYINGGROUPREBATES NUMBER,
    EGINCENTIVEREBATES NUMBER,
    EGRETURNS NUMBER,
    EGOTHERCREDITS NUMBER,
    EGCOOP NUMBER,
    EGPOCKETPRICE NUMBER,
    EGFREIGHTCOSTS NUMBER,
    EGJOURNALBILLINGCOSTS NUMBER,
    EGMINIMUMORDERCOSTS NUMBER,
    EGORDERENTRYCOSTS NUMBER,
    EGRESTOCKINGCOSTSWAREHOUSE NUMBER,
    EGRETURNSCOSTADMIN NUMBER,
    EGMATERIALCOSTS NUMBER,
    EGLABORCOSTS NUMBER,
    EGOVERHEADCOSTS NUMBER,
    EGPRICEADMINISTRATIONCOSTS NUMBER,
    EGSHORTPAYMENTCOSTS NUMBER,
    EGTERMCOSTS NUMBER,
    EGPOCKETMARGIN NUMBER,
    EGPOCKETMARGINGP NUMBER,
    EGWEIGHTEDAVEMULTIPLIER NUMBER
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EV02_PRICEMARTDATA_CSV_CON
    ACCESS PARAMETERS
    LOCATION (EV02_PRICEMARTDATA_CSV_CON:'VPA.csv')
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;
    While importing , when i seen the log file , it is failing the create the external table. Getting the error "ORA-00911: invalid character".
    Can some one suggest how to import external tables
    Addressing this issue will be highly appriciated.
    Naveen

    Hi Srinath,
    When i observed the create table syntax of external table from import dump log file, it show few lines as below. I could not understand these special characters. And create table definationis failing with special character viz ORA-00911: invalid character
    ACCESS PARAMETERS
    LOCATION (EV02_PRICEMARTDATA_CSV_CON:'VPA.csv').
    I even observed the create table DDL from TOAD. It is same as i mentioned earlier
    Naveen

Maybe you are looking for

  • Usage of SAP Event Management as backend for custom mobile applications

    Hi, I'm am looking for an appropriate implementation approach for custom mobile applications as complement for warehouse processes with SAP Extended Warehouse Management. Possible scenarios: i) Goods issue - loading process There are requirements lik

  • Trying to display multiple people from different titles

    Get-ADUser -Filter {Title -like "Director"} This is what I've come up with. I want to display more than just director but I don't know how to do that. I have tried to use spaces and other things but I am not sure what im doing wrong.

  • How necessary is an official NI Calibration or any DAQ hardware calibration?

    How much can a USB DAQ like a 6218 or a 6210 really drift in terms of it's analog voltage read over time? Is this even a thing? As long as I feed it 5V and read 5V with little drift over time, can I assume it is "calibrated"? What will NI do differen

  • Calling Batch Input within RFC

    Hello experts. I need to call a Batch Input within a RFC Function. I heard that approach might bring some problems, taking into account that the RFC function must act as a Web Service for a .Net application calling. Has anybody came up with a similar

  • Applet programming with Netbeans?

    Well I have been wanting to make a 2D side scrolling SIMPLE game with Java, just as a way for me to get my feet wet and keep practicing programming between classes. I have been using this guide: http://www.gamedev.net/reference/programming/features/j