JAXR.UDDI.027: Multiple Schemes matching name pattern

What does that error mean?
I'm trying to browse a UDDI repository using JAXR and I when I execute this line:
ClassificationScheme scheme = bqm.findClassificationSchemeByName(null, "naics");
I get the error identified in the subject.
I think the problem is in the UDDI repository because when I execute the same code on http://uddi.ibm.com/testregistry/inquiryapi the error does not occur.
My problem is, I don't even know what the error means in order to fix the repository. Can someone point me towards an explanation?

Studying Monson-Haefel J2EE Webservices, I encountered the same issue multiple times with the IBM test UDDI. The message is accurate: there are multiple schemes with the exact same name in the IBM test UDDI. You can verify this with the following code:
           * ClassificationScheme uddi_types = queryMngr
           * .findClassificationSchemeByName(null, "uddi-org:types"); gives
           * Exception: JAXR.UDDI.027: Multiple Schemes matching name pattern
          Collection schemeCollection = queryClassificationSchemesByName(
                    queryMngr, "uddi-org:types");
          printSchemeCollection(schemeCollection);
          ClassificationScheme uddi_types = (ClassificationScheme) schemeCollection
                    .iterator().next();
     private static Collection queryClassificationSchemesByName(
               BusinessQueryManager queryMngr, String schemeName)
               throws JAXRException {
          Collection schemeCollection = new HashSet();
          schemeCollection.add(schemeName);
          BulkResponse bulkResponse = queryMngr.findClassificationSchemes(null,
                    schemeCollection, null, null);
          return bulkResponse.getCollection();
     private static void printSchemeCollection(Collection schemCollection)
               throws JAXRException {
          Iterator schemaIterator = schemCollection.iterator();
          while (schemaIterator.hasNext()) {
               ClassificationScheme scheme = (ClassificationScheme) schemaIterator
                         .next();
               System.out.println(scheme.getName().getValue() + ", Key: "
                         + scheme.getKey().getId());
     }My latest result using these functions for the name uddi-org:types is
uddi-org:types, Key: UUID:C1ACF26D-9672-4404-9D70-39B756E62AB4
uddi-org:types, Key: UUID:3AE29440-DF6B-11D5-9094-0004AC49CC1E
uddi-org:types, Key: UUID:1C091CC0-A439-11D8-83B1-000629DC0A53

Similar Messages

  • Java.sql.SQLException: invalid name pattern:schema.file_import_nestedtable

    Hi all,
    I am trying to insert an array in nested table to another table. I have a nested table by the name 'file_import_nestedTable'.
    code for object 'file_import_obj'
    CREATE OR REPLACE TYPE file_import_obj AS OBJECT
    column_1 datatype,
    column_2 datatype,
    column_n datatype
    and for nested table 'file_import_nestedTable'
    CREATE OR REPLACE TYPE file_import_nestedTable as TABLE OF file_import_obj
    I have a package in place and it is valid.
    The problem started when I tried to use the weblogic pool connection to call the procedure. But this was overcome by using the Oracle connection i.e another pool and not the weblogic's own connection pool.
    But now I'm facing this exception when I try to use the ArrayDescriptor.
    java.sql.SQLException: invalid name pattern: PFEP.file_import_nestedTable
    Here is my code...
    Class.forName("oracle.jdbc.driver.OracleDriver");
    connection = DriverManager.getConnection("jdbc:oracle:thin:@myserver:1521:ANSD","user","password");
    // its throwing exception here.
    ArrayDescriptor desc = ArrayDescriptor.createDescriptor("file_import_nestedTable",connection);
    ARRAY arr1 = new ARRAY(desc,connection,strArrHeaderBodyData);
    OracleCallableStatement call[i]Long postings are being truncated to ~1 kB at this time.

    Hi all,
    I am trying to insert an array in nested table to another table. I have a nested table by the name 'file_import_nestedTable'.
    code for object 'file_import_obj'
    CREATE OR REPLACE TYPE file_import_obj AS OBJECT
    column_1 datatype,
    column_2 datatype,
    column_n datatype
    and for nested table 'file_import_nestedTable'
    CREATE OR REPLACE TYPE file_import_nestedTable as TABLE OF file_import_obj
    I have a package in place and it is valid.
    The problem started when I tried to use the weblogic pool connection to call the procedure. But this was overcome by using the Oracle connection i.e another pool and not the weblogic's own connection pool.
    But now I'm facing this exception when I try to use the ArrayDescriptor.
    java.sql.SQLException: invalid name pattern: PFEP.file_import_nestedTable
    Here is my code...
    Class.forName("oracle.jdbc.driver.OracleDriver");
    connection = DriverManager.getConnection("jdbc:oracle:thin:@myserver:1521:ANSD","user","password");
    // its throwing exception here.
    ArrayDescriptor desc = ArrayDescriptor.createDescriptor("file_import_nestedTable",connection);
    ARRAY arr1 = new ARRAY(desc,connection,strArrHeaderBodyData);
    OracleCallableStatement call[i]Long postings are being truncated to ~1 kB at this time.

  • How to get row count(*) for each table that matches a pattern

    I have the following query that returns all tables that match a pattern (tablename_ and then 4 digits). I also want to return the row counts for these tables.
    Currently a single column is returned: tablename. I want to add the column RowCount.
    DECLARE @SQLCommand nvarchar(4000)
    DECLARE @TableName varchar(128)
    SET @TableName = 'ods_TTstat_master' --<<<<<< change this to a table name
    SET @SQLCommand = 'SELECT [name] as zhistTables FROM dbo.sysobjects WHERE name like ''%' + @TableName + '%'' and objectproperty(id,N''IsUserTable'')=1 ORDER BY name DESC'
    EXEC sp_executesql @SQLCommand

    The like operator requires a string operand.
    http://msdn.microsoft.com/en-us/library/ms179859.aspx
    Example:
    DECLARE @Like varchar(50) = '%frame%';
    SELECT * FROM Production.Product WHERE Name like @Like;
    -- (79 row(s) affected)
    For variable use, apply dynamic SQL:
    http://www.sqlusa.com/bestpractices/datetimeconversion/
    Rows count all tables:
    http://www.sqlusa.com/bestpractices2005/alltablesrowcount/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Invalid Name Pattern in SQL Developer Data Modeler

    I am using Data Modeler version 3.3.0.747, I have exported a couple of data models (logical and physical) to an Oracle 11.2.0.3 database. I used the Reporting_Schema_Permissions.sql file to define the ID that owns the repository. Each data model that I exported returned the successful export message.
    However when I use Oracle Data Modeler and connect (as a different user) to the repository to generate a report on one of the diagrams I immediately get an error returned. The error is (from the log file in datamodeler\log\datamodeler.log):
    2013-04-19 08:36:12,233 [Thread-18] ERROR ReportsGenerationDialog - Generating report from Reporting Schema exception - invalid name pattern: username.OBJECTS_LIST
    Where username is the name of the ID being used to generate the report (not the repository owner ID).
    I have created public synonyms on the repository tables and views (though I must have missed where that was a requirement) so the repository objects can be seen by other users.
    Has anyone encountered this and if so how did you resolve it. I have searched the web (and the Oracle forums) and so far had no hits on this issue. That seems to indicate that there is something I must have missed in the setup or such.
    Thanks

    Hi,
    I think you didn't grant EXECUTE to package and types. Here is full working script:
    DECLARE
    CURSOR cur IS SELECT table_name, owner FROM all_tables WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT SELECT ON '||'<owner>'||'.'||rec.table_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.table_name||' FOR '||'<owner>'||'.'||rec.table_name;
    END LOOP;
    END;
    DECLARE
    CURSOR cur IS SELECT view_name FROM all_views WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT SELECT ON '||'<owner>'||'.'||rec.view_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.view_name||' FOR '||'<owner>'||'.'||rec.view_name;
    END LOOP;
    END;
    DECLARE
    CURSOR cur IS SELECT type_name FROM all_types WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT EXECUTE ON '||'<owner>'||'.'||rec.type_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.type_name||' FOR '||'<owner>'||'.'||rec.type_name;
    END LOOP;
    END;
    GRANT EXECUTE ON <owner>.pkg_osdm_utils to <another_user>;
    CREATE SYNONYM <another_user>.pkg_osdm_utils FOR <owner>.pkg_osdm_utils;
    There is no document for reporting repository install process. If you are exporting design for first time, the repository is automatically created for you.
    When you get new version of DM you can
    1. Use new repository
    2. Upgrade existing one. If so, the simplest variant is to run /datamodeler/reports/DMRS_Upgrade_Script_<latest_vesrion>. Eventually compile single stored procedure.
    Another variant for upgrade is with running osddm_upgr.sql, but there is some error, which is going to be fixed in the next release.

  • OdiWaitForData - ODI-30062: Theres no table matching the pattern in the dat

    I am using the odiwaitforData tool to check for new records in an Oracle table.
    I can view the data for the table from the Model in ODI, as well as execute an interface that uses it.
    But when I execute the odiWaitForData tool to check for data, it throws an ODI-30062: Theres no table matching the pattern in the database error.
    I have tried in several different contexts, and from several different agents - all get the same error.
    I have used odiwaitfordata successfully to get data from an Informix table - but when I try it from the Oracle table it errors out.
    What queries does this tool use to validate its tables? Do they need any unique permissions in Oracle to allow it to work?
    Here's the actual tool command:
    OdiWaitForData "-CONTEXT=DEVELOPMENT" "-GLOBAL_ROWCOUNT=1" "-LSCHEMA=DM" "-POLLINT=6000" "-TIMEOUT=0" "-TIMEOUT_WITH_ROWS_OK=YES" "-INCREMENT_DETECTION=NO" "-TABLE_NAME=ORG_DIM" "-OBJECT_TYPE=T"

    Hi,
    I am new to ODI, but it seems the issue is with table name.
    You may like to try with a table name with no underscore in it.
    I used another table name without underscore, though I got the errors at the last stage, atleast it executed the first step.
    RR
    Edited by: user12048072 on Aug 2, 2011 11:16 PM

  • Multiple schemas

    A project here has the following requirement.
    Want to use multiple schemas in the same database instance with identical structure. That is, from one login we want to determine the schema name to use at runtime and access it using the same mapping descriptors.
    Is this possible with TopLink? Thanks.
    Haiwei

    Hello James
    Thanks for the information. However the setting does not seem to make any difference.
    For ex: I was trying to fo the following.
    The Serversession is created with a connection pool with the Database user TESTUSER. Then I get a clientSession and set the Tablequalifier on this.
    ClientSession clientSession = getServerSession().acquireClientSession();
    clientSession.getLogin().setTableQualifier("SCOTT");
    unitOfWork = clientSession.acquireUnitOfWork();
    Then I expected the SQL statements like
    SELECT empname FROM SCOTT.emp;
    but it is not happening and the queries are generated with out any qulifier to the table name.
    Am I missing any thing? I am using Oracle TopLink - 10g Release 3 (10.1.3.3.0)
    Thanks and Regards
    Potu

  • Single schema or multiple schemas

    Hello
    A few years ago I worked on a greenfield project where we were building a system to serve 20 or so different departments with 1200+ users. The approach the existing DBA had taken was to use a single schema for all objects and for all apps. The big advantage I found with this approach was for development, we could have one database and each developer could develop whatever they wanted in their own schema. Name resolution meant that they could override the main copy of whichever object they were working on just by having it in their schema. Unfortunately the project went nowhere and I left after 3 months so I never got to see what issues were raised with the system in production. So I'm wondering, has anyone else taken this approach and if so what would you say are the main things to be wary of? Especially things that aren't a problem when the objects are distributed between multiple schemas.
    Thank you in advance
    David

    user12065404 wrote:
    Hi Ed
    Thank you for your reply. I think I need to clarify what I meant a little.
    On a number of sites I've been to there have been multiple applications spread out over multiple schemas for the same business unit. To draw on the emp example it would be like having the EMP schema containing the emp table and the DEPT schema containing the dept table, with a single HR application (for a single buisness unit/department) selecting from both. If you scale this up to 000s of tables and 30 odd schemas, it's a bit of a nightmare from the perspective of code location and permissions because each department needs to look across schemas to get all of the data to do their job. Effectively tables and code had become segregated into separate schemas by business "function" and it means that the applicaitons are so intertwined with the different schemas that to have more than one business unit means you either need a completely separate database or you have to look at VPD.
    App         SCHEMA      Table
    HR          emp         emp
    dept        dept
    Invoicing   emp         emp
    invoicing   inv
    contracts   contract
    orders      ORDER
    Ordering    emp         emp
    contracts   contract
    orders      ORDER
    orders     orderitem
    ...The advantage I saw with a single schema for all the data for a single business unit is the one you have mentioned - i.e. you can very easily set up a new business unit that is totally separate from the other by having a new schema and point the same version of the same application at it. Or failing that, using VPD. And on top of that, security is simplified - no needing direct grants from one schema to the other and especially not requiring WITH GRANT OPTION in the case of a view that pulls data from various schemas and rights to select from the view have to be grated to a role.
    App         SCHEMA      Table
    HR          abc_ltd     emp
    abc_ltd     dept
    Invoicing   abc_ltd     emp
    abc_ltd     inv
    abc_ltd     contract
    abc_ltd     ORDER
    Ordering    abc_ltd     emp
    abc_ltd     contract
    abc_ltd     ORDER
    abc_ltd     orderitem
    ...The other big advantage I saw was from a development and testing perspective. You can have one testing database supporting lots of developers working on lots of different projects against the same core data set and code. The multiple schema setup I described above means that effectively you need to have one testing database per project - which becomes unmanageable when databases start growing to the TB range.
    David
    Edited by: user12065404 on 26-Mar-2010 08:30
    Saw a typo in my first exampleOK, now it is a lot more clear.
    What you have here is a problem of some data (employee) being enterprise data, and other data being application data.
    I take it your "invoiceing" app is used by the sales side of the business, and "ordering" is used by the purchasing side (my last assignment when I was an apps analyst was the purchasing/inventory control for an auto manufacturer).
    With what I know at this point, I'd have an HR schema, an INVOICING schema, and an ORDERING schema. (Well actually, I'd have SALES and PURCHASING, because INVOICEING and ORDERING are going to have to integrate with other stuff in those areas). Even though invoicing and ordering both have a CONTRACT table, I'd think the properties of a contract for one would be different than the other, so the table design itself would be different. How about tables SALES_CONTRACT and PURCHASING_CONTRACT. Same concept for ORDERS, and both sales and purchasing would need header and details .... SALES_ORDER_HEADER, SALES_ORDER_DETAIL, PURCH_ORDER_HEADER, PURCH_ORDER_DETAIL.
    These two apps need for employee data should be pulled directly from the HR emp table, with access limited to stored procedures that control what data is exposed. Or from materialized views. Never try to maintain the same data in two places at once. It will never maintain consistency.

  • Solution: multiple diags with name efa.dat found

    This is a solution to a problem I hit. When I tried to run a diag on the model it would throw the error:
    sims: locating diag efa.dat
    sims: Looking for diag under $SIMS_LAUNCH_DIR
    sims: Caught a SIGDIE. multiple diags with name efa.dat found at /import/dtg-data20/jj155244/OpenSPARCT2/tools/src/sims,1.272 line 4581.
    Solution: do not run in the $DV_ROOT directory. Create a subdirectory for the run or run elsewhere.
    A efa.dat file is created in the run directory by sims. There is also an efa.dat in $DV_ROOT/verif/diag/assembly/include/efa.dat. sims looks for the efa.dat file starting in the run directory. It finds both the files and complains about finding multiple files.

    1. Use the index with the lower fragmentation to identify the newly rebuilt index (as it almost always will have lower fragmentation)
    2. To reproduce, block the online index rebuild process by trying to alter the table's definition in a transaction (and don't commit, which will place schema lock on the table)
    Satish Kartan http://www.sqlfood.com/

  • Java.sql.SQLException: invalid name pattern : SCOTT.QUERYARRAY

    exception in Callable Statement : java.sql.SQLException: invalid name pattern: SCOTT.QUERYARRAY
    Below is the java code snippet :
    String[] arr=new String[2];
    arr[0]="select sysdate from dual";
    arr[1]="select sysdate+1 from dual";
    oracle.jdbc.driver.OracleCallableStatement oraCall = (oracle.jdbc.driver.OracleCallableStatement)con.prepareCall("{call arrayTest(?,?)}");
    oracle.sql.ArrayDescriptor descrip = oracle.sql.ArrayDescriptor.createDescriptor("QUERYARRAY",con);
    oraCall.registerOutParameter(2,oracle.jdbc.OracleTypes.ARRAY,"QUERYARRAY");
    oracle.sql.ARRAY a = new oracle.sql.ARRAY(descrip,con,arr);
    oraCall.setARRAY(1,a);
    oraCall.execute();
    where "QUERYARRAY" is an array type created in oracle as
    create or replace TYPE QUERYARRAY is VARRAY(20) OF VARCHAR2(500);
    my procedure is :
    create or replace procedure arrayTest(array_in IN QUERYARRAY,array_out OUT QUERYARRAY)
    is
    begin
         for i in 1..array_in.count
         loop
         dbms_output.put_line('Query '||i||array_in(i));
         end loop;
    end;     
    The Exception is thrown at
    oracle.sql.ArrayDescriptor descrip =
    oracle.sql.ArrayDescriptor.createDescriptor("QUERYARRAY",con);
    oraCall.registerOutParameter(2,oracle.jdbc.OracleTypes.ARRAY,"QUERYARRAY");
    Please do let me know how to resolve the issue.
    thanks in advance....

    Has anyone found a solution to this??? I have the same problem. I seems to be a permissions problem since JDBC driver tries to access the types in my schema and not the owner of the types.

  • GetProcedureColumn of DatabaseMetaData gives invalid name pattern

    I want to know the parameter details of a given procedure..for that I am using getProcedureColumn() method which takes catalog name,schema name which can be null and procedure name pattern and column name pattern..I just gave the procedure name in the place of procedure name pattern..Its giving me invalid name pattern error...what does this procedure and column name pattern represent?Please let me know as early as possible...
    Thanks in advance
    Regards
    Suganya S

    I am facing a similar problem. Can yoy please explain the fully qualified path that you entered to solve the problem?
    Thanks,

  • Does Hibernate supports multiple schemas connection ?????

    i want to connect to multiple schema's on the same data base using
    hibernate...
    my hbm.xml looks like this
    <hibernate-mapping>
    <class name="SampleClass" table="SampleTable" schema="DynamicSchema">
    </hibernate-mapping>i need to enter the schema name as parameter
    and change it dynamically....
    is this possible or are there another way in hibernate ???
    thanks in advance and
    some code wouldn't kill any one :)

    To set schema dynamically the org.hibernate.mapping.Table class has a method setSchema(String)
    http://www.hibernate.org/hib_docs/v3/api/org/hibernate/mapping/class-use/Table.html

  • Multiple Schemas under one user account with XE 10g

    Hi,
    I am using (learning) XE 10g. I would like to know if it is possible to have multiple schemas under one user account and have the schemas logically separated. As of right now, I have three schemas that I am working with, each one under a different user account. This is inconvenient, because I have to logout of one user account and login to another user account simply to be able to work with another schema.
    Thanks

    It isn't possible to have multiple schemas under one database user account. It is of course possible to grant rights to other database users, and or roles, in order to allow access to the tables/data from other accounts. In Oracle there is a one-one mapping between schema and user.
    Niall Litchfield
    http://www.orawin.info/

  • One application with Multiple schemas- common application frame work

    Hi All,
    I am trying setup a common application frame work in apex. Please help me.
    How to achieve this.
    Creation of one application attached to different schemas at run time. So that my application maintaince is going to be easy instated of creating copies of same application.
    More details:
    1. I have one application with 100 pages pointing to a schema dev_common in one workspace APP_COMMON. I have 50 schemas with same structure of dev_common schema with different set of data ( because of large amount of data).
    So I want to create one application attached to different schemas.
    2. And another thing is I have 100 users, the user can work on 1 or multiple schemas ( I mean same application with different schemas attached)
    Any help much appreciated.
    Thanks,

    Thank you for the reply.
    >> b) I think you have to give access rights for the dev_common and app_common to all users.
    Dev_common schema is a kind of placeholder. I have 50 schemas same as dev_common because of different business requirements but the front end is same for all 50 schemas. How can we create one application used for 50 schemas instead of creating 50 applications and 50 workspaces.
    Please help me.

  • Multiple Import into Multiple schemas in a single Database server ?

    Is it possible to create a multiple import into multiple schema in a single DB server ?

    Hi,
    Yes, You can do it.. With Multiple Export File..it may cause some Performance issue, so need to check your Server configuration before do that..

  • Is it possible to change schema or name of locally built provider in portal

    Is it possible to change schema or name of locally built provider in portal 9.0.4?
    We have built an application as a pagegroup and locally built provider in Oracle portal. We can deploy the application to different portals using transport sets. However, it is not possible to install the same provider twice to a shared portal because a provider's name and schema cannot be changed. Does anyone know of a way to rename and change the schema of locally built providers? I was once told that substition strings at import would be available in an upcoming release to do that, but I haven't seen anything like that.
    Thanks,
    Trenton

    Maybe use a MHT archive.
    *Mozilla Archive Format: https://addons.mozilla.org/firefox/addon/mozilla-archive-format/
    *UnMHT: https://addons.mozilla.org/firefox/addon/unmht/

Maybe you are looking for

  • Acrobat Pdf viewer Plugin Doesn't work Mozilla Products

    Mountain Lion (OSX.8.2) 500 GB Hard Drive rought 200 GB left empty Intel i7 2.8 GHZ Processor 8 GB System RAM. In Acrobat and Reader XI (and X as well) the PDF viewer Plugin does not work. In fact it doesn't does not even show up in the Addons > Plug

  • Safari, mail, software update very slow on new imac

    Hello, I recently upgraded to a 21.5" i3 imac and transferred everything from my old imac (core 2 duo, os 10.4.10) anything involving the internet is painfully slow, safari 5.02, firefox, mail, even the software update (but once it "catches"- downloa

  • I lost my Ipod In Monaca mall yesterday, Feb -09-2013.

    I was at Monaca Mall yesterday , in the afternoon with my boyfriend and my service dog. I am deaf and I used my ipod a lot for listen to musics to exercise my hearing, i have sign language classes in there, and it is the only away i can get a hold of

  • Permissions in Folrders ?

    Could I give a permission for a user just to see his document at a folder ??? But in this folder there are a lot of files from other users. How can i do this ???

  • No audio output from speakers

    No audio coming up from iphone 4 speaker ,system reboot couple of time still nothing,software is 4.3.3 why?