Address Parsing using Oracle

Hello Oracle Experts
I need help in seperating the numeric and alpha parts in the street name of the address as shown below.
My Oracle Version is
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Please help me in parsing the same.
5811WIPPRECHTAPT3
25742SE31STPL
2834TALLOAKTRAIL
1500SE14THST
The output I am expecting is
5811 W IPPRECHT APT 3
25742 SE 31ST PL
2834 TALLOAK TRAIL
1500 SE 14TH ST
If Number is suffixed by TH then no parsing is required as example 4.
I would appreciate any lead in this matter.
regards
Rajesh

Ok, not that much more complicated...
SQL> ed
Wrote file afiedt.buf
  1  with t as (select '5811WIPPRECHTAPT3' as addr from dual union all
  2             select '25742SE31STPL' from dual union all
  3             select '2834TALLOAKTRAIL' from dual union all
  4             select '1500SE14THST' from dual)
  5  --
  6  -- end of test data
  7  --
  8  select addr
  9        ,regexp_replace(regexp_replace(
10           regexp_replace(addr,'^([0-9]+)(NW|NE|SW|SE|N|S|W|E)?([A-Z]+)?([0-9]+(ST|RD|TH)?)?([A-Z]+)?$','\1 \2 \3 \4 \6')
11           ,' +',' '),'(APT|TRAIL) ',' \1 ') as new_addr
12* from t
SQL> /
ADDR              NEW_ADDR
5811WIPPRECHTAPT3 5811 W IPPRECHT APT 3
25742SE31STPL     25742 SE 31ST PL
2834TALLOAKTRAIL  2834 TALLOAK TRAIL
1500SE14THST      1500 SE 14TH ST
SQL>but I'm sure you'll have a lot more different words that would need splitting off than just APT and TRAIL....
; )

Similar Messages

  • String Parsing using Oracle

    Hello,
    I am newbe in Oracle SQL.I need help in parsing Strings.
    Example:
    ID Name Address num
    1 Peter 123 park st,223 park st 123,223
    Answer
    ID Name Address num
    1 Peter 123 park st 123
    1 Peter 223 Park St 223
    Please Help me.
    Thanks.

    Hi,
    If you're using Oracle 10.1 or higher, regular exprssions can help a lot.
    Whatever version of Oracle you're using, this will probably be easier in PL/SQL. You can write a Pipelined Function that takes a string such as '1 Peter 123 park st,223 park st 123,223' as input, and returns a variable number of rows (depending on what is in the input string), like this:
    ID     Name     Address          num
    1      Peter      123 park st      123
    1     Peter     223 Park St     223You probably want some other functions, too, such as a tokenizer, which divides a delimited sting into parts.
    As in any programming task, start by specifying exactly what you want to do. For example
    "An input string s consists of +words+ , that is, sub-strings that do not contain spaces, tabs or commas.
    S can contain 0 or more addresses.
    The first word of s (that is, the sub-string before the first space or tab) is the id. All addresses from the same string will have the same id.
    The second word of s is the name. All addresses from the same string will have the same name. If there is no 2nd word ...
    After the name, s is divided into addresses by commas.
    The first word of each section is the num. This same sub-string is therefore found in 2 columns of the output: address and num.
    If the address consists only of 1 word, then it is ignored."
    Depending on what your requirements are, this problem can be very complicated. Be prepared.
    Whenever you have a question, post a little sample data (CREATE TABLE and INSERT statements), and the results you want from that data. Explain, using specific examples, how you get those results from that data.
    In the sample data and results, include special cases and problems that you might encounter. For example,
    some streets have numbers for names, so you might see '123 45 st' as an address. What if your sting is '1 Peter 45 st'. Is num=45? Can the name be more that 1 word, e.g. '2 Mary Ann 17 Main St'?
    Always say which version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}
    Edited by: Frank Kulash on Sep 17, 2012 2:50 PM

  • Address Matching Using Oracle Text

    Hi,
    I am a newbie to Oracle Text. Hence please pardon my ignorance if this is a "RTFM" Query.
    We would like to clash our customer addresses against a table (GEO) that has addresses and geographic coordinates (latitude, longitude etc). The customer address data are in four VARCHAR2 columns (address1, address2, address3 & address4) and need not be in the same order as the address data in the GEO table.
    Has anybody used Oracle Text to do similar work to score addresses?
    Any links & pointers will be highly appreciated.
    Thanks in advance.
    Best Regards
    Ramdas

    When you use a multi_column_datastore, even though the index is only created using one column name and only that column name is used in the contains clause, it searches all columns named in the multi_column_datastore. It may be clearer if you use a dummy column with a name that has more meaning; I have used addresses in the revised example below.
    Queries run faster if you put everything in one contains clause instead of using multiple contains clauses.
    If you add a section group and field sections, then you can search within those sections and apply weights. In the following example I have doubled the score for results in address1 and address2 and halved the score for results in address3 and address4.
    SCOTT@orcl_11gR2> CREATE TABLE customers
      2    (id       NUMBER,
      3       address1  VARCHAR2(30),
      4       address2  VARCHAR2(30),
      5       address3  VARCHAR2(30),
      6       address4  VARCHAR2(30),
      7       addresses VARCHAR2(1))
      8  /
    Table created.
    SCOTT@orcl_11gR2> INSERT INTO customers VALUES
      2    (1, '123 Somewhere, Someplace', 'nowhere', 'nowhere', 'nowhere', null)
      3  /
    1 row created.
    SCOTT@orcl_11gR2> INSERT INTO customers VALUES
      2    (2, 'nowhere', 'nowhere', 'nowhere', '123 Somewhere, Someplace', null)
      3  /
    1 row created.
    SCOTT@orcl_11gR2> INSERT INTO customers VALUES
      2    (3, 'nowhere', '500 Oracle Pkwy', 'nowhere', 'nowhere', null)
      3  /
    1 row created.
    SCOTT@orcl_11gR2> INSERT INTO customers VALUES
      2    (4, 'nowhere', 'nowhere', '500 Oracle Pkwy', 'nowhere', null)
      3  /
    1 row created.
    SCOTT@orcl_11gR2>
    SCOTT@orcl_11gR2> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE
      3        ('cust_datastore',
      4         'MULTI_COLUMN_DATASTORE');
      5    CTX_DDL.SET_ATTRIBUTE
      6        ('cust_datastore',
      7         'COLUMNS',
      8         'address1, address2, address3, address4');
      9    CTX_DDL.CREATE_SECTION_GROUP
    10        ('cust_sg', 'BASIC_SECTION_GROUP');
    11    CTX_DDL.ADD_FIELD_SECTION ('cust_sg', 'address1', 'address1', true);
    12    CTX_DDL.ADD_FIELD_SECTION ('cust_sg', 'address2', 'address2', true);
    13    CTX_DDL.ADD_FIELD_SECTION ('cust_sg', 'address3', 'address3', true);
    14    CTX_DDL.ADD_FIELD_SECTION ('cust_sg', 'address4', 'address4', true);
    15  END;
    16  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> CREATE INDEX customers_idx
      2  ON customers (addresses)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  PARAMETERS
      5    ('DATASTORE     cust_datastore
      6        SECTION GROUP cust_sg')
      7  /
    Index created.
    SCOTT@orcl_11gR2> CREATE TABLE geo
      2    (address      VARCHAR2(40),
      3       coordinates  VARCHAR2(30))
      4  /
    Table created.
    SCOTT@orcl_11gR2> INSERT INTO geo VALUES
      2    ('500 Oracle Pkwy, Redwood City, CA 94065',
      3       '37° 31'' N / 122° 15'' W')
      4  /
    1 row created.
    SCOTT@orcl_11gR2> INSERT INTO geo VALUES
      2    ('123 Somewhere Street, Someplace City, CA',
      3       NULL)
      4  /
    1 row created.
    SCOTT@orcl_11gR2> SELECT SCORE(1), c.*, g.address, g.coordinates
      2  FROM   customers c,
      3           (SELECT address,
      4                '(' || REPLACE (REPLACE (address, ' ', ','), ',,', ',') || ')' addr,
      5                coordinates
      6            FROM   geo) g
      7  WHERE  CONTAINS
      8             (c.addresses,
      9              '((' || g.addr || ' WITHIN address1 OR ' ||
    10                   g.addr || ' WITHIN address2) * 2) OR ' ||
    11              '((' || g.addr || ' WITHIN address3 OR ' ||
    12                   g.addr || ' WITHIN address4) * 0.5)',
    13              1) > 0
    14  ORDER  BY SCORE(1) DESC
    15  /
      SCORE(1)         ID ADDRESS1
    ADDRESS2                       ADDRESS3
    ADDRESS4                       A ADDRESS
    COORDINATES
            68          1 123 Somewhere, Someplace
    nowhere                        nowhere
    nowhere                          123 Somewhere Street, Someplace City, CA
            59          3 nowhere
    500 Oracle Pkwy                nowhere
    nowhere                          500 Oracle Pkwy, Redwood City, CA 94065
    37° 31' N / 122° 15' W
            17          2 nowhere
    nowhere                        nowhere
    123 Somewhere, Someplace         123 Somewhere Street, Someplace City, CA
            15          4 nowhere
    nowhere                        500 Oracle Pkwy
    nowhere                          500 Oracle Pkwy, Redwood City, CA 94065
    37° 31' N / 122° 15' W
    4 rows selected.

  • Attribute parsing using the Oracle SAX Parser

    I am trying to parse attributes like <Phone Type="N"> using the SAX xml parser from oracle in the startElement method and am getting a null pointer exception
    public void startElement(String sName_, AttributeList attrs_) {
    if sName_.equals("Phone")
    String phoneType = attrs_.getValue("Type")
    Any ideas ??
    null

    Using 2.0.2.9, the following works for me:
    import oracle.xml.parser.v2.*;
    public class SAXParserExample {
    public static void main(String[] a) throws Throwable {
    SAXParser s = new SAXParser();
    Handler h = new Handler();
    s.setDocumentHandler(h);
    s.parse(new java.io.StringReader("<Phone Type='N'/>"));
    import org.xml.sax.*;
    public class Handler extends HandlerBase {
    public void startElement(String sName_, AttributeList attrs_) {
    if (sName_.equals("Phone")) {
    String phoneType = attrs_.getValue("Type");
    System.out.println(phoneType);
    }What's different about your case?

  • Problem for using oracle xml parser v2 for 8.1.7

    My first posting was messed up. This is re-posting the same question.
    Problem for using oracle xml parser v2 for 8.1.7
    I have a sylesheet with
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">.
    It works fine if I refer this xsl file in xml file as follows:
    <?xml-stylesheet type="text/xsl" href="http://...../GN.xsl"?>.
    When I use this xsl in pl/sql package, I got
    ORA-20100: Error occurred while processing: XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'.
    After I changed name space definition to
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> in xsl file, I got
    ORA-20100: Error occurred while processing: XSL-1019: Expected ']' instead of '$'.
    I am using xml parser v2 for 8.1.7
    Can anyone explain why it happens? What is the solution?
    Yi

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Element's dont have text content, they [b]contain text node children.
    So instead of trying to setNodeValue() on the element, construct a Text node and use the appendChild method on the element to append the text node as a child of the element.<HR></BLOCKQUOTE>
    Steve,
    We are also creating an XML DOM from java and are having trouble getting the tags created as we want. When we use XMLText it creates the tag as <tagName/>value rather than <tagName>value</tagName>. We want separate open and close tags. Any ideas?
    Lori

  • Parsing the word file using oracle text having tables within it............

    Hi,
    I was going through this document.Actually I am going to implement something like full text search functionality in our system.
    We get the info as .doc file.
    Earlier what we used to do is, we used to parse the file and store it into the database and then searched using PL/SQL.
    But what I understand from this article that this can be done using oracle text also.
    One concern is that whether the oracle text is able to parse the .doc file having tables embedded within it.
    Please let me know about this.(Whether oracle text will be able to parse the files having tables embedded within it).
    I am attaching an example file for this.
    Please let me know about this as early as possible.

    Yes Oracle Text have this capability. Use AUTO_FILTER or USER_FILTER to create index

  • URGENT! SEGV-errors when using Oracle C XML Parser for Solaris

    I often (not always) got SEGV-error with core dump when I use Oracle Oracle C XML Parser for Solaris. This Error is always got in the call of the the function xmlinit(...) with all params as NULL but the first required for the error code and the second which i assign a macro that evaluates to "US-ASCII". Does anyone knows about this problem?
    I am using a very short, wellformed and validated XML document.
    I would be very glad for some help about this!
    null

    Please provide a sample program along with the version number of the XML parser.

  • Encoding error using Oracle SAX Parser, please help

    Hi, All,
    I have problem while I am trying to parse an XML file using Oracle SAX Parser.
    The following is from the trace file:
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at java.lang.Throwable.&lt;init&gt;(Compiled Code)
    at java.lang.Exception.&lt;init&gt;(Compiled Code)
    at java.io.IOException.&lt;init&gt;(Compiled Code)
    at java.io.UTFDataFormatException.&lt;init&gt;(Compiled Code)
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(Compiled Code)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(Compiled Code)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(Compiled Code)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.tryRead(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.scanXMLDecl(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(Compiled Code)
    at oracle.xml.parser.v2.XMLParser.parse(Compiled Code)
    at data_loader.main(Compiled Code)
    The XML file is a pure ascii text file, with encoding set to UTF-8.
    I can parse the file correctly on NT, but I got problem when I ran the code on a SUN solaris 2.6 machine.
    The parser version is 9.0.2.
    Thanks in advance.
    Peter

    You are right, I modified the codes and got it to work on Oracle
    But when I did your suggestion:
    <cftransaction>
      <cfstoredproc ...>
      <cfquery>
        SELECT ...
      </cfquery>
    </cftransaction>
    I got the same error as before which is:
    Error Executing Database Query.
    [Macromedia][Oracle JDBC Driver]Unhandled sql type
    But this time it points to the CF callling the str proc using cfprocparam
    Here is how I call the str. proc:
         <CFTRANSACTION>   
              <cfstoredproc procedure="MyReport" datasource="#Trim(application.dsn)#" returncode="True">  
                  <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="ins_name" value="#Trim(session.instname)#">
                  <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="aca_year" value="#Trim(ayr)#"> <------- POINT TO THIS LINE
              </cfstoredproc>
         </CFTRANSACTION>

  • XML validation using Oracle XML parser v2

    Not sure if this is the right forum for this question as I didn't found any.
    I had a tough time trying to build an XMLSchema (Oracle XML Parser V2) object from the input schema having include/import. Actually I am working on a Java program to validate the input xml with input schema using Oracle XML parser v2 api.
    The issue is that the code doesn't work for schema that has some "include" in it. The code is working fine for the schema without any import/include. Here is the lines of code -
    XSDBuilder builder = new XSDBuilder();
    schema = builder.build(new InputSource(xsdReader));
    I am writing this in JDeveloper. The error is -
    oracle.xml.parser.schema.XSDException: Can not build schema 'http://www.fpml.org/2005/FpML-4-2' located at 'xsd\FpML42\xml\fpml-fx-4-2.xsd'
    I also tried creating the EntityResolver to specify the path of included schema. But that doesn't solves the problem.
    I am not sure whether parser is able to locate the included schema or not.The main schema and included schema are all in same folder. The included schema is perfectly fine and has no errors.
    Please help if you have encountered this issue and resolved it. I will really appreciate any pointers or clue to solve this issue.
    Thanks.

    Thanks for the reply. But it does not seem to be working. Am I missing something
    I put <TrxDate xsi:nil="true"/> but still getting error.
    Here's my xsd:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xsd:element name="TrxDate" type="xsd:date" nillable="true" />
    XML:
    <?xml version="1.0" encoding="UTF-8" ?>
    <ServiceRequest>
    <TrxDate nil="true"/>
    </ServiceRequest>

  • Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64

    Hi Everyone,
    I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
    An error was encountered performing the required operation  Got a minus one from read call .Vendor code 0
    However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
    My TNSNAMES .ora file is as follows:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORACLE)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    My Listener.ora file is as follows:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (SID_NAME = Oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ADR_BASE_LISTENER = D:\app
    My Sqlnet.ora file is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
    ORA 12537 : TNS Connection closed
    Thanks for your patience and help in advance.
    ---Prashant

    Hello Irian and Sue,
    I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
    Used parameter files:
    D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
    *)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
    TNS-12537: TNS:connection closed
    Thanks for your response to my initial post.Do u have any other methods to resolve this?

  • How to use oracle fusion middleware for integration project ?

    hi all,
    in my projects, customer (a bank) already has many applications (bankend & frontend) that are complicatedly connected. I intend to use oracle fusion middleware to integrate all applications and make adding new applications in the future easier. I have worked through documents in the oracle website but I still have no idea how to use oracle fusion middleware to address the requirement, besides oracle fusion middleware includes a bundle of applications I don't know which one I would need.
    could anyone give me some instructions ? appreciate your help.
    thank very much,

    Hi,
    For this short description of environment, could be ODI is a incredible tool to help you...
    Take a look into my blog that has a lot of concepts and "how to do" instructions.... http://odiexperts.com
    However to try help you, what are the used technologies?
    Where are you from?
    Cezar Santos
    http://odiexperts.com

  • How to use Oracle partitioning with JPA @OneToOne reference?

    Hi!
    A little bit late in the project we have realized that we need to use Oracle partitioning both for performance and admin of the data. (Partitioning by range (month) and after a year we will move the oldest month of data to an archive db)
    We have an object model with an main/root entity "Trans" with @OneToMany and @OneToOne relationships.
    How do we use Oracle partitioning on the @OneToOne relationships?
    (We'd rather not change the model as we already have millions of rows in the db.)
    On the main entity "Trans" we use: partition by range (month) on a date column.
    And on all @OneToMany we use: partition by reference (as they have a primary-foreign key relationship).
    But for the @OneToOne key for the referenced object, the key is placed in the main/source object as the example below:
    @Entity
    public class Employee {
    @Id
    @Column(name="EMP_ID")
    private long id;
    @OneToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="ADDRESS_ID")
    private Address address;
    EMPLOYEE (table)
    EMP_ID FIRSTNAME LASTNAME SALARY ADDRESS_ID
    1 Bob Way 50000 6
    2 Sarah Smith 60000 7
    ADDRESS (table)
    ADDRESS_ID STREET CITY PROVINCE COUNTRY P_CODE
    6 17 Bank St Ottawa ON Canada K2H7Z5
    7 22 Main St Toronto ON Canada     L5H2D5
    From the Oracle documentation: "Reference partitioning allows the partitioning of two tables related to one another by referential constraints. The partitioning key is resolved through an existing parent-child relationship, enforced by enabled and active primary key and foreign key constraints."
    How can we use "partition by reference" on @OneToOne relationsships or are there other solutions?
    Thanks for any advice.
    /Mats

    Crospost! How to use Oracle partitioning with JPA @OneToOne reference?

  • Error while creating physical standby database using Oracle Grid 10.2.0.5

    Hi All,
    I am setting up data guard using oracle grid.
    Primary database version: - 10.2.0.4
    Standby database version: - 10.2.0.4
    Primary OS Red Hat Enterprise Linux AS release 4 (Nahant Update 8)2.6.9
    Standby OS Red Hat Enterprise Linux AS release 4 (Nahant Update 8)2.6.9
    I am creating physical standby database using EM. But it is getting failed with error message in sqlnet.ora file
    Fatal NI connect error 12533, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=)(CONNECT_DATA=(SERVICE_NAME=INPRDSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=indb50.oii.com)(USER=oracle))))
      VERSION INFORMATION:
            TNS for Linux: Version 10.2.0.4.0 - Production
            TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
      Time: 17-AUG-2010 02:40:07
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12533
        TNS-12533: TNS:illegal ADDRESS parameters
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0As we can see, address_list is empty.
    Can anyone suggest what could be the reason behind this?

    Dear user13295317,
    Here is the error explanation;
    Oracle Error :: TNS-12533
    TNS:illegal ADDRESS parameters
    Cause
    An illegal set of protocol adapter parameters was specified.
    In some cases, this error is returned when a connection cannot be made to the protocol transport.
    Action
    Verify that the destination can be reached using the specified protocol.
    Check the parameters within the ADDRESS section of TNSNAMES.ORA.
    Legal ADDRESS parameter formats may be found in the Oracle operating system specific documentation for your platform.
    Protocols that resolve names at the transport layer (such as DECnet object names) are vulnerable to this error if not properly configured or names are misspelled.Hope That Helps.
    Ogan

  • Java +XML (SAX) Parser for Oracle 8.1.5 EE

    Hi there :)
    I am looking java classes for SAX to parse XML. I cannot find a valid parser, cause after downloaded from Oracle XDK for java, when i try to load this calasses i get a messages that i alot of classes connot be resolved.
    If somebody have valid classes on Ora 8.1.5 please send me mail.
    Adam

    Have i possibilities to using some javatypes in oracle java stored procedure if this class is not loaded into db?
    Cause i would like to create a java stored procedure to parse and insert some data from xml. I was thinking to pass xml file name as a parameter to my java procedure.
    I must use Oracle 8.1.5 with jdk 1.1.7, and the best parser for me is SAX.
    Please help.
    Have i possobilities to use class inside oracle, which are placed outside oracle?
    Something like classpath, where can i modify value (but classpath inside oracle)?

  • Unable to get Windows User Name using Oracle Forms 6i, Jinitiator 1.3.1.17

    Hi,
    Requirement: Get Windows User Name using Oracle Web Forms 6i.
    Tools Using: Windows NT, Oracle web forms 6i, Oracle 10g DB.
    Description: I am using GetClientInfo JBean from otn.oracle.com, which gets windows user name, IP address and machine name. The demo I got from oracle web site uses Jinitiator version 1.1.7.18. While we are using the latest version Jinitiator 1.3.1.17. Due to this reason, I am unable to use Javakey which comes with older version but doesn't come with newer version, that's why I can't create the new JavaBean Java identity (PJC).
    Please advise what to do. All environment variables are set everything is done, this is the only thing bothering me.
    I went through the article 202768.1 from metalink, but on step 5, it gives an error keytool error: java.lang.Exception: Input not an X.509 Certificate.
    Also, please let me know if there is any other workaround for this requirement.
    Thanks & Best Regards,
    Mo

    Hi,
    Thanks for your kind reply. Actually there was a problem in creating a certificate, now it is okay with the same method. Certificate got imported on client and everything is ready.
    Now, the problem is when I try to set Bean Area Implementation Class property with oracle.forms.demos.GetClientInfo, it gives an error FRM-13008 Cannot find JavaBean with name 'oracle.forms.demos.GetClientInfo'.
    I went through the articles 1072329.6, 196824.1, and set ClassPath and Path variables with proper values. Also, I have copied jar file and signature file in forms60/java folder. I don't see any problems. Please let me know what I am doing wrong. My limitation is that I have to do all this in forms6i.
    I searched forums on metalink and found out that someone installed Patch 15, and everything went okay for him. Do you think I should install Patch 15? if YES, how will I do it, I mean should I first uninstall my forms and then install patch15 or install the patch on my forms?
    Thanks so much for your help.
    Thanks & Best Regards,
    Mo

Maybe you are looking for

  • Error in 'CX_SY_DYN_CALL_ILLEGAL_TYPE' problem in smartfrom printing

    Dear Friends, I developed a code for SD module for RAS GAS invoice. It it I m accessing it through VF02. on output there will be a smartform appered for invoice. I tested the driver code and smartform individually and had no errors. I attached the dr

  • HOW TO: create the ultimate music backup?

    I have a large music collection (220GB+), which I keep on an external hard drive. I recently bought a NEW external hard drive.... for backup purposes. I basically want to copy all of my music onto the new external hard drive, in case my main external

  • Where are printer drivers stored?

    I had a terrible day yesterday, and I had to reinstall my system software. I kept all of the same settings- but when I went to print with my Epson Stylus R2400, it couldn't find the driver. It assigned some bogus printer driver. So I went into printe

  • Cant get a background image to repeat x

    Hi All I have designed a webpage (www.butlerpartnersandassociates.com.au). I would like the blue bar near the top which contains the spry menu bar to scroll across the entire page (#div). I have edited the css rule to enable repeat x but it doesnt re

  • How shall I use an other class's methods in a class

    Hi all, I have two classes in the same directory. When I try to use a method of class in the other one, I get a compile error. Everything seems ok, bu could not understand the reason. The two classes and the error text are copied below. Any help will