Double quotes in JDev 10G OAF, External tools

Hello everybody.
In my JDev10G OA Ext i'm trying to create external tools commant to import selected page into MDS Repository.
Exteranl tool parameters are:
Program executeble: C:\JdevR12RUP3\jdevbin\oaext\bin\import.bat
Arguments: ${file.dir}\${file.name} -username apps -password ${promptl:label=DB_APPS_PASSWORD} -rootdir ${project.dir} -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.ru)(PORT=1527))(CONNECT_DATA=(SID=TEST6)))"
Run Directory: <no data here>
Command sample looks like:
C:\JdevR12RUP3\jdevbin\oaext\bin\import.bat C:\JdevR12RUP3\jdevhome\jdev\myprojects\xx\oracle\apps\per\xx_stip_demo\webui\xxStipDemoPG.xml -username apps -password -rootdir C:\JdevR12RUP3\jdevhome\jdev\myprojects -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.ru)(PORT=1527))(CONNECT_DATA=(SID=TEST6)))"
Now, whan i'm trying to select a page and exec this command i'm getting the following in command log:
C:\JdevR12RUP3\jdevbin\oaext\bin\import.bat C:\JdevR12RUP3\jdevhome\jdev\myprojects\xx\oracle\apps\per\xx_stip_demo\webui\xxStipDemoPG.xml -username apps -password apps -rootdir C:\JdevR12RUP3\jdevhome\jdev\myprojects -dbconnection (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.ru)(PORT=1527))(CONNECT_DATA=(SID=TEST6)))
Error: Error connecting to database "jdbc:oracle:thin:apps/apps@(DESCRIPTION"
Unknown host specified
Import failed.
As you can see, no double quotes around this: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.ru)(PORT=1527))(CONNECT_DATA=(SID=TEST6)))
if i'am adding double quotes and copy command in cmd window, everything is fine, import completed.
Need your help plz
Edited by: user6400327 on 27.11.2011 22:33

Sand,
Instead of passing the value at runtime, had u tried running the import script by entering all the values as in below script.
C:\JdevR12RUP3\jdevbin\oaext\bin\import C:\JdevR12RUP3\jdevhome\jdev\myprojects\xx\oracle\apps\per\xx_stip_demo\webui\xxStipDemoPG.xml  -rootdir C:\JdevR12RUP3\jdevhome\jdev\myprojects -username apps -password  apps -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=TEST6)(PORT=1527))(CONNECT_DATA=(SID=dev)))"Regards,
Gyan

Similar Messages

  • JDev 11.1.1.2.0: Firefox 3.0 as an external tool: Please suggest

    Hi,
    I added Firefox 3.0 as an external tool in JDev 11.1.1.2.0. But, am not able to view content of an XML file using Firefox external tool in JDev window. Firefox is opening up but not displaying any content. Can someone please suggest if Firefox 3.0 is supported?
    Thanks and regards,
    Chaitanya.

    Chaitanya,
    It works fine for me - did you insert the file path as the argument (shows as ${file.path} in the arguments section)?
    John

  • Loading External files in Oracle - error (double quotes on columns)

    I managed to successfully load some external (Excel ) files in my Oracle database, but when I queried the table, I see that some of the columns have double quotes on them. Any idea how to remedy this problem?

    damorgan wrote:
    OPTIONALLY ENCLOSED BY double quotes in your syntax to remove them.
    http://www.morganslibrary.org/reference/externaltab.html
    Damorgan,
    Thank you!

  • How to create the BC4J Package in JDev 10g (with OAF)?

    Hi everbody.
    in JDeveloper 10.1.3.1.0
    How to create the BC4J Package for Client Object or Server Object?
    In JDeveloper 9i Ext,
    1. select the Project in Navigator
    2. right-click and select "New Business Components Package... " from the context menu
    3. "Business Component Package Wizard" page appears.
    In JDeveloper 10, I cannot find "New Business Components Package..." from the context menu on the Project.

    Do you have the OA extension installed ?
    If not then please follow the thread Oracle JDev 10g with OAExt for Release 12 now on Metalink
    for more information in this regard.
    --Saroj                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 00904 error when sorting columns that require double quotes

    We have used an ETL tool to import an XML file into Oracle 10g. The column names are mixed case and unfortunately have to remain mixed case because we have a "column" and a "Column" name with different info in them. So when we migrate it in, the field names have be enclosed in double quotes in all SQL operations. The problem in SQL Developer 1.5.1 (Win XP SP2, Oracle 10G) though is that if I try to sort on a column by double clicking the column header, we get an ORA-00904 error COLUMN does not exist. So it looks like it is trying to do an ORDER BY without putting the column name in double quotes. Has anybody else had issues with this and is there a fix for it?
    Message was edited by:
    coachy

    It's a bug.
    Logged Bug 7344539 - 00904 error when sorting columns that require double quotes
    Workaround: Use the sort button on DataTab's toolbar.
    -Raghu

  • Tools/External Tools Problem

    I created an external tool entry TEST which does nothing but the following:
    java -cp "xxx.jar" test
    If I run this inside for JDeveloper 9.0.3.1 I get an error "Unrecognized option: -cp xxx.jar" while if I copy this same command line to a (in this case) DOS session, it at least recognizes that the names are dummies and says it cannot find test as one would expect. What I am actually trying is to run the Apache Axis utilities but kept simplifying the problem further and further until I found that basically nothing worked when I used the -cp option.
    Any suggestions or is this a bug?
    Best,
    Joe

    Hi,
    The best way of thinking of it is that it behaves like there are quotes round every distinct argument in the list, i.e. if you have three arguments like this:
    -p
    -p blah
    blah blah ${somemacro} blah
    These are passed in like this:
    someprogram.exe "-p" "-p blah" "blah blah blah somemacroexpansion blah"
    In your example, the error you got is the same as if you had run:
    java "-cp somejar.jar"
    Thanks,
    Brian
    JDev Team

  • How to print/post double-quotes on reportserver

    Hi, I am using rwservlet and cannot send double quotes. I can escape single quotes with another single quote, but double doublequotes do not work. I have tried url-encoding and html encoding, and even their combination, but report server just refuses to generate the PDF with a string with a double quote.
    this is my URL:
    http://rs-server:7778/reports/rwservlet?cmdkey&report=somereport.jsp&desformat=pdf&TESTSTRING=aaaaaaaa&destype=cache&ACTUSER=19
    now I would need in TESTSTRING to have double quotes
    PS: tried BI Oracle Business Intelligence 10g (10.1.2) and forms and reports 10g

    PostScript printer - send it to the printer port e.g. LPT1: with a simple copy.
    Non-PostScript printer - you'll need to buy a PostScript RIP, or perhaps use Acrobat Distiller to convert the PostScript to PDF, then print the PDF with Acrobat's API - see the Acrobat SDK. (This is not possible with the free Reader).

  • How to replace double quotes with a single quote in a string ?

    Hi All:
    Can some one tell me how to replace double Quote (") in a string with a single quote (') ? I tried to use REPLACE function, but I couldn;t get it worked.
    My example is SELECT REPLACE('STN. "A"', '"', ''') FROM Dual --This one throws an error
    Thanks,
    Dima.

    Whether it is maybe not the more comfortable way, I like the quoting capabitlity from 10g :
    SQL> SELECT REPLACE('STN. "A"', '"', q'(')') FROM Dual;
    REPLACE(
    STN. 'A'{code}
    Nicoals.                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • JDeveloper, external tools, same parameters for 2 VO, page layout..

    Hi,
    JDeveloper Studio Edition Version 11.1.2.3.0. I have a few questions:
    1.) External tools can be added to JDeveloper. But how can I add the libraries or components of that tool to the IDE?
    2.) In our application there are 2 VO based on a union select that have the same parameters. These VOs are linked.
    However, the results must be shown in 2 separate adf tables. I tried to execute, but received, missing IN- OUT-Parameters...
    All parameters are set to required and partial triggers are also configured.
    3.) I set the document size to a fixed size in pixel. However, the components on the page should not stretch. Which technique
    is best for this? Embedding html in adf, i.e. an html table for the base page layout and insert adf inside?
    4.) I must also create, i.e. a custom accordion panel (color and icon), menus and submenus. Not skinning. Is this possible in JDev.?
    Thanks for your help/feedback!

    1) external tools should be self containing. This means they should be applications which can run on their own, like Notepad. What you want to to is to add a library.
    2) we need more info. A VO can be based on a union but it doesn't have a connection to an other VO which might be based on the same union. So for me there is some information missing
    3) Web applications don't (shouldn't) use fix size. Instead of setting the size on the document you should use a layout container like panelGroupLayout which doesn't stretch its children.
    4) Sure, but why?
    Timo

  • Re: Using double quotes with CellWrapper parameter on rwservlet

    I'm on 11.1.2 on Windows 2008 and I cannot for the life of me get a delimited report to generate with a double-quote cell wrapper.
    I've tried every suggestion that I can find, including the ones in this thread, but nothing seems to work.
    I reliably used delimiter=',' and cellwrapper='"' with 9i and 10g reports, but I can't find anything that does the trick in 11g.
    Any hints?
    Thank you!

    A little update....
    I was able to successfully generate a comma-separated report with a double-quote cellwrapper by creating a wrapper.cmd file as above with only the following contents:
    cellwrapper='"'
    BUT... I could only get this to work if I submitted the job using a URL to rwservlet. It still doesn't work with rwclient or rwrun. It's better than nothing, but I'd really like this to work with rwclient.
    FYI

  • JALOPY and JDev 10g 9.0.5.1

    How can I incorporate jalogy in to Jdev 9.0.5.1?
    I followed the instructions on jalopy website and it worked perfectly for Jdev 10g Preview but not 9.0.5.1. All I did before was just copy the jar files into &lt;JDEV&gt;\jdev\lib\ext directory and restart JDev. Now it doesn't work. Thank you in advance.

    Thank you Rob for your fast response. However, it still doesn't work. However, I noticed that in the <JDEV9051>\jdev\lib\ext folder there is README.txt and it has some XML to define external plugins. I have not noticed it in the older release. Do I have to configure the plugins using XML config file now?
    Again thank you in advance.

  • Can't import csv fields starting with double quotes but lack ending ones

    Hi all,
    When I'm trying to used external table to import a csv file, specified as using comma as delimiter optionally enclosed by double quotes, some records are rejected because a field in the record has starting double quotes, but without ending ones.
    Assume the customer really want these starting double quotes, how do I change my external table specification such that these starting double quotes are treated as part of the field data and can be successfully inserted into db?
    Many thanks.

    I have no access to Oracle during weekends, so nothing can be tested. So here it goes:
    Suggestion: DELIMITED BY '","' and of course omitt ENCLOSED BY '"'
    You will have to update each row of the rows just loaded setting the first_field to substr(first_field,2) and the last_field to substr(last_field,-2)
    If all the fields are not enclosed in double quotes (TRUE for strings and FALSE for numbers and dates) the situation (syntax diagrams allow two delimiters only) is somehow more complicated, anyway you can specify DELIMITED BY ',' and update all varchar2 fields in each row of the rows just loaded setting the varchar2_field to substr(varchar2_field,2,length(varchar2_field) - 2).
    Regards
    Etbin
    After posting I noticed it's difficult to distinguish between single and double quotes:
    the first DELIMITED BY should read {single quote){double quote}{comma}{double quote}{single quote)
    the ENCLOSED BY should read {single quote){double quote}{single quote)
    Message was edited by: Etbin
    user596003

  • Double quotes in query

    Hi
    I get the last query executed using the ora_sql_txt (sql_text) function for some auditing.
    Now on some server I get the last query as
    select columnname from "schemaname"."tablename";
    i.e I get double quotes as extra.
    while on some I get without double quotes
    select columnname from schemaname.tablename;
    Is there some setting in oracle for this.
    I am using oracle 10g
    Sapan

    but when I try executing the query as
    select something from "schema_name"."tablename";
    it gives table not exists errror
    but
    select something from schema_name.tablename;
    returns query as
    select something from "schema_name"."tablename";
    using the function

  • Newline character within double quotes in csv file

    I have an external table defined as follows:
    CREATE TABLE EXT_MASTER
       (     "SOME_CODE" VARCHAR2(255 BYTE),
         "FAX_NUMBER" VARCHAR2(255 BYTE),
         "WEB_ADDRESS" VARCHAR2(255 BYTE),
       ORGANIZATION EXTERNAL
        ( TYPE ORACLE_LOADER
          DEFAULT DIRECTORY "SOME_DIR"
          ACCESS PARAMETERS
          ( RECORDS DELIMITED BY NEWLINE
              NODISCARDFILE
              LOGFILE 'master.log'
              BADFILE 'global.bad'
              SKIP 1
            FIELDS TERMINATED BY ','
              OPTIONALLY ENCLOSED BY '"'
              LRTRIM
              MISSING FIELD VALUES ARE NULL
          LOCATION
           ( 'Master.csv'
       REJECT LIMIT UNLIMITED;In my datafile I have newline characters within double quotes. This seems to be illegal using the above definition for the table.
    Is there a way to make Oracle ignore newline characters in csv files when they are enclosed in double quotes? Or should I ask my data provider to remove them?

    Here is what i got on 10.2.0.3 (don't think it might be different on 9i):
    SQL> select * from t;
    ID         TEAM_ID    TEAM_NAME
    col1       co         col3
               l2
    col11      col12      col13
    col21      col22      col23
    SQL> !cat a.txt
    "col1","co
    l2","col3"
    "col11","col12","col13"
    "col21","col22","col23"
    SQL> select * from t;
    ID         TEAM_ID    TEAM_NAME
    col1       co         col3
               l2
    col11      col12      col13
    col21      col22      col23The external table definition is:
    CREATE TABLE t(
      "ID" VARCHAR2(255 BYTE),
      "TEAM_ID" VARCHAR2(255 BYTE), 
      "TEAM_NAME" VARCHAR2(255 BYTE)
       ORGANIZATION EXTERNAL
        ( TYPE ORACLE_LOADER
          DEFAULT DIRECTORY "SOME_DIR"
          ACCESS PARAMETERS
          ( RECORDS DELIMITED BY 0x'220A'
        BADFILE 'a.bad'
        LOGFILE 'a.log'
        FIELDS TERMINATED BY ',' LDRTRIM
        MISSING FIELD VALUES ARE NULL
        REJECT ROWS WITH ALL NULL FIELDS
          ( "ID" CHAR(255)
            TERMINATED BY "," ENCLOSED BY '"',
            "TEAM_ID" CHAR(255)
            TERMINATED BY "," ENCLOSED BY '"', 
            "TEAM_NAME" (*+1) CHAR(255)
            TERMINATED BY "," 
          LOCATION
           ( 'a.txt'
       REJECT LIMIT UNLIMITED;Best regards
    Maxim

  • Jdev 10g and 9iAS 9.0.3

    Hi,
    Could someone help me out with the following:
    A J2EE Application built with JDEv 10g doesn't work on OC4J 9.0.3 None of the CMP EJB can be instantiated even if the entity does exist in the database -- FindByPrimaryKey returns 'no such entity'
    It works fine under OC4J 9.0.4
    Is this a J2EE compatibility issue?
    thanks
    Sergey

    Have you updated the libraries on the OC4J 9.0.3 server to match the libraries in JDeveloper 10g?
    You can do this from within JDeveloper using the ADF Runtime Installer available from the Tools menu, or you can follow the How To at http://otn.oracle.com/products/jdev/howtos/10g/adf_runtime_update_howto.html
    -SteveA

Maybe you are looking for

  • IMac G5 (no iSight) dead SATA & Firewire - new board?

    I have an old g5 iMac (no iSight) that killed its hard drive after a power failure. I replaced the SATA drive, and it barely works - sometimes I can get it to read, usually not. Even if it does, it behaves poorly when installing or running Disk Utili

  • Does not contain port: null

    Hi there, I had deployed 2 web services, one of it is working another one isn't. Both of the web services implementing the same/identical ways. The exception i got it: service: {http://localhost:8080/}ORMEngineService does not contain port: null     

  • Arabic text with accents shown broken

    Hello, In FireFox 4, Arabic text with accents (ًٌٍَُِّْ) is shown broken. It was displayed correctly in previous versions and also in IE. Consider please the following examples, and compare between the words with and without accents. You can see the

  • Delete Multiple Files

    Hi All, I tagged this question on the end of another post but I am unsure if that is still live! I have just started using PHP and have discovered the way to delete multiple records using checkboxes ( see this post). But I also need to be able to del

  • Why doesn't the Adobe Flash Player plugin show in Firefox's "Plugins" window under Mavericks 10.9.3?

    My specs are: Mavericks 10.9.4 Firefox 30.0 Flash Player Plugin 14.0.0.125 The plugin is visually verified to be properly installed in the "Internet Plug-Ins" folder in the main library, and not the user library.