J2ME Registration Schemes

We are wrapping up our application and now it is time to worry about how we can secure our apps and prevent reinstallations.
J2ME unfortunately doesn't provide an easy or difficult way for this. My limited research came up with the options to get IMEI or phone number which will be unique MOST of the times but J2ME security doesn't provide any API to retrieve that information. Using low level API for EACH of the devices is a nightmare and not a viable option unless we spend a lot of time tweaking our code for each device release.
Storing data in RMS would not be persistent if the user deletes the application (no orphaned preferences) and hence, there is NO way to prevent reinstallations which should be very very easy for the user. Delete and Install again (less than 1 min job for 1 month) and most of the users really do not mind going that route to save 50$.
Here are my thoughts.
1) Make it difficult for the user to reinstall it by giving a registration form with an email address where we send a confirmation number which he has to input in the App.
2) Send a confirmation number through SMS to the phone number ( have to bear some extra charges) and there might be spam.
'Please' let me know if somebody has a better way of protecting the app. Am I correct about no way of storing orphaned preferences?
Thanks.
-- Raj

Hi,
You can use the method what the content aggregators do. Get the user's phone number and send the link to the app to be installed to the phone thru which he will install the app. So next time when he wants to reinstall he cannot give the same phone number.

Similar Messages

  • OWB 10.1 Deploy Mgr. - Registration - schema name is grayed out, sometimes

    Environment:
    Repository - OWB 10.1.0.2 on UNIX (AIX 5.2)
    Target - Oracle 9.2.0.4 on UNIX (AIX 5.2)
    Question: I have several locations that have been registered in the past. When I right click a location and click on 'Register' in some cases the schema name comes up grayed out and I am unable to change it and other times it is open.
    Why is that and how do I change the schema name of a location?
    I have installed the new schema as a target through the runtime assistant and there is a working runtime repository in that instance.
    Any help is greatly appreciated.
    P.S. Yes, we are making plans to upgrade to 10.2 soon but not soon enough ;-)>
    -gary

    Hi,
    In order to edit/delete a location you need to unregister the location from all the Control Centers. A location might be registered to more than one Control Centers.
    Having said that if you have registered location A to Schema B in Control Center C, you need to unregister the location A from Control Center C.
    In case you have accidentally dropped the Schema B without unregistering the location A, then even if you unregister the location A from Control Center C, you will still see the user name and password fields grayed out. In that case you need to re-create the schema B, register the location A and then again unregister the location and then you will be able to edit it. Seems to be a bug in OWB.
    Regards
    -AP

  • User licensing/registration schemes?

    Hi Folks,
    I'm considering selling a plug-in for about US$50 to US$100 (not too expensive, I think), and would like to hear from you about how you would keep users honest when they install it. In other words, how do you protect yourself from a user purchasing a one user copy and installing it in his/her shop for multiple users?
    I imagine that the more expensive the plug-in is, the more sophisticated one can get with protection schemes without annoying the user too much...
    Thanks for any suggestions.
    -- Jim

    Hy Jim,
    I'm looking for a solution to protect my plugin, but i don't find anything in the indesign sdk to do this. Can you give me any ideas, solutions ?
    Than'ks in advance.
    Hadrien.

  • Registration Of XML Schema

    Hi All,
    Created below block for registration of the XML Schema in database.
    Which is working fine.
    But strange thing is happing, actually when i am creating below code as stored procedure and executing sql prompt getting insufficent privilage.
    When running below code in form of unnamed block(Aynomanus Block) is working fine.
    Can you please help me understand why strange thing is happing.
    DECLARE
    PROCEDURE register_xml(p_schema_url VARCHAR2,p_xmlfile_url VARCHAR2,p_dir_name VARCHAR2)
    IS
    l_folders VARCHAR2(32767);
    PROCEDURE check_folders(p_folders VARCHAR2)
    IS
    v_return BOOLEAN;
    folder_exists EXCEPTION;
    PRAGMA EXCEPTION_INIT(folder_exists, -31003);
    l_pass NUMBER;
    BEGIN
    FOR i IN 1..(LENGTH(p_folders)-LENGTH(REPLACE(p_folders,'/'))) LOOP
    BEGIN
    IF SUBSTR(p_folders,1,INSTR(p_folders,'/',1,i+1)) IS NOT NULL THEN
    v_return := DBMS_XDB.CREATEFOLDER(SUBSTR(p_folders,1,INSTR(p_folders,'/',1,i+1)));
    END IF;
    EXCEPTION
    WHEN folder_exists THEN
    NULL;
    END;
    END LOOP;
    Dbms_Output.put_line('Commit Executed');
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20001,'Error while creating folders',TRUE);
    END check_folders;
    PROCEDURE register_xml_schema(p_xsd_url VARCHAR2,p_dir VARCHAR2)
    IS
    l_ret BOOLEAN;
    BEGIN
    l_ret := DBMS_XDB.CREATERESOURCE(
    abspath => SUBSTR(p_xsd_url,INSTR(p_xsd_url,'/',1,3)),
    data => BFILENAME (p_dir,SUBSTR(p_xsd_url,INSTR(p_xsd_url,'/',-1)+1))
    IF l_ret THEN
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    schemaurl => p_xsd_url,
    schemadoc => sys.UriFactory.getUri(SUBSTR(p_xsd_url,INSTR(p_xsd_url,'/',1,3)))
    COMMIT;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20002,'Error while registring schema xsd file',TRUE);
    END register_xml_schema;
    PROCEDURE register_xml_file(p_xml_url VARCHAR2,p_dir VARCHAR2)
    IS
    v_return BOOLEAN;
    l_folders VARCHAR2(32767);
    BEGIN
    l_folders := SUBSTR(p_xml_url,
    INSTR(p_xml_url,'/',1,3),
    (INSTR(p_xml_url,'/',1,(LENGTH(p_xml_url)-LENGTH(REPLACE(p_xml_url,'/'))))-INSTR(p_xml_url,'/',1,3))+1
    DBMS_OUTPUT.PUT_LINE('Folders -->'||l_folders);
    check_folders(l_folders);
    v_return := DBMS_XDB.CREATERESOURCE(
    abspath => SUBSTR(p_xml_url,INSTR(p_xml_url,'/',1,3)),
    data => BFILENAME (p_dir,SUBSTR(p_xml_url,INSTR(p_xml_url,'/',-1)+1))
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20003,'Error while registring xml file',TRUE);
    END register_xml_file;
    PROCEDURE delete_schema(p_schema_url VARCHAR2,p_xml_url VARCHAR2)
    IS
    BEGIN
    DBMS_XDB.DELETERESOURCE(
    abspath => SUBSTR(p_xml_url,INSTR(p_xml_url,'/',1,3))
    DBMS_XDB.DELETERESOURCE(
    abspath => SUBSTR(p_schema_url,INSTR(p_schema_url,'/',1,3))
    DBMS_XMLSCHEMA.DELETESCHEMA(
    schemaurl => p_schema_url,
    delete_option => 4
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    NULL;
    END delete_schema;
    BEGIN
    l_folders := SUBSTR(p_schema_url,
    INSTR(p_schema_url,'/',1,3),
    (INSTR(p_schema_url,'/',1,(LENGTH(p_schema_url)-LENGTH(REPLACE(p_schema_url,'/'))))-INSTR(p_schema_url,'/',1,3))+1
    check_folders(l_folders);
    delete_schema(p_schema_url,p_xmlfile_url);
    register_xml_schema(p_schema_url,p_dir_name);
    register_xml_file(p_xmlfile_url,p_dir_name);
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20004,'Error while working with XML Schema Structure',TRUE);
    END register_xml;
    BEGIN
    register_xml('http://localhost:8080/public/demo/xsd/db_objects.xsd','http://localhost:8080/public/demo/xsd/db_objects.xml','XML_DIR');
    END;
    Thanks
    Sandeep

    I cannot help you, but i can say that I have the same your problem, everything works fine if i run in an anonymous block, while gettin insufficient privileges when run it in a store procedure.

  • Xml schema egistration

    i am new to xml . i using oracle 11g.while reading xml i came to know that xml schema registration.
    is it compulsary to work with xml data.what is the advantages of xml schema registration. with out registration also i am able to create xmltype tables and i am able to fetch data from tables. then what is the purpose of schema registration
    schema registration means what happening exactly.

    Schema Registration typically leads to better performance. With Binary XML / XML Index the differences are not critical for most applications. It also allows for better datatyping and compression, since if we tags and datatypes in advance we do do a more efficient encoding. For certain classes of applicaiton, where the object relational storage model is appropraite schema registration can lead to significantly better performance. See the XML DB basic demo for more info and the Hands on Lab for info related to Binary XML and XML Index

  • How to authorise a computer that's not connected to the internet?

    i use my the computer in my studio to watch dvd's all the time - who needs a tv when you've got a cinema display? the thing is, i recently purchased some tv episodes from itunes to watch on my studio computer - however, when i try to play them, i get that "this computer is not authorised to play blah blah bah" message. i also get this when i plug my ipod into itunes and try to play my itunes purchased tracks via this computer. when i try to sign in so as to authorise it, it tells me no network is detected.
    well, thats because this particular isn't connected to the internet. it's old, it doesn't have wifi, and it's my work computer, so i dont want internet on it anyway - i'd never get anythong done!
    so, with most programs requiring you to register/autorize your computer, there's always an option for "if this computer isn't connected to the internet" . however, i didn't see how to use this option for itunes.
    which is odd, since every other company in creation has this option right there on the authorization screen.
    for the record, i DO NOT WANT TO PUT THIS COMPUTER ON THE INTERNET. it's kind of old, and therefore delecate. so disentangling it from the various studio equipment it's attached to and moving it, along with the big cinema display, to the upstairs room where the ethernet cable is, will not only be a giant pain in the *$$, but also will quite possibly break something - like i said, it's old, it's bones are brittle and it has arthritis and it's happiest left right were it is - to move it is, i believe, to invite disaster.
    but i'm confidant apple has provided a solution for this, seeing as all the other software companies i purchase from have managed to so, anyone know how to do this?

    "No it is not reasonable. As stated by Jobs in his 'We hate DRM' letter, they are forced to keep the DRM as uncrackable as possible. So this stuff has to remain in an online state."
    itunes seems to be bending over backwards on this. amazon.com doesn't seem to have this problem for one.
    "you would find that nearly any sofwtare with some kind of offline registration scheme is easily cracked."
    i dont spend that much time digging around for cracked software (i prefer to pay for it) but to the best of my knowledge the software i'm thinking of isn't easily available in cracked form. their registration/authorization process is vigorous, but still includes an offline option.
    "Nope. Wrong. Notice how it only their music that has these online restrictions and that none of Apple's other software does this. The difference as explained above is clear. Apple has their hands tied on the matter for now."
    i probably wouldn't be half so pi... annoyed if my macbook didn't just break down a week after the warrantee ran out. apple's free pass on their weaker points has expired as far as i'm concerned. i suppose there will continue to be disciples, but i'm about ready to sell all 5 of my apples and switch to the darkside.
    anyone want a black ibook with a broken dvd drive and no warrantee? going cheap, yours for 30 pieces of silver.

  • Help, need to change IP address on host database for Portal

    Hi folks,
    Rather urgent assistance (as usual) needed. I have an installation working correctly on a pair of Win2k machines, one as the 9i database, one as the 9iAS/Portal. The app server has 2 NIC cards, one with public IP address (which is ok), one on the LAN. I need to reconfigure the LAN addresses on both the machines. Initial Portal install done without DNS, i.e. actual server/host addresses entered in the configuration.
    I have tried changing all of the TNS/Listner settings and the NIC card IP addresses and restarting the machines. The likes of SQLPlus work ok, with the TNS connect name allowing over the LAN access into the database with the new LAN addresses. I cannot seem to get the 9iAS/Portal to find the repository with the new addresses.
    Can someone help please? I can't find the answer in any documentation or other postings.
    Thanks in advance
    Rob

    There are other modes of operation for the plasst as well. I am listing them below but the formatting will make it difficult to read. If you like I can email it to you.
    Bill G...
    Configuring Portal when the HTTP server host name of the Infrastructure is changed
    Run the following from the $ORACLE_HOME/assistants/opca dir
    ptlasst.bat -mode SSOPARTNERCONFIG -i typical -sdad portal -host myApache.domain.com -port 7777 -silent -verbose
    NOTE:
    (1) This command would create a new Portal partner application in the SSO to reflect the changes of the Infrastructure. Before running this command please ensure to configure the SSO with the correct hostname by running the ssocfg.bat script located in the Infrastructure install (<infra_home>\sso\bin).
    The value for -host parameter will be the IP address of the infrastructure server and -port will be the port where the infrastructure http server is running on.
    Configuring Portal when the HTTP server host name of the Middle tier is changed
    ptlasst.bat -mode MIDTIER -i typical -host myApache.domain.com -port 7777 -ldap_h myOID.domain.com -ldap_p 389 -ldap_w welcome -pwd secret123 -portal_only -oh /home/oracle -chost myHostname.domain.com -cport_i 8001 -cport_a 8000 -wc_i_pwd invalidator -mc false -mi true -silent -verbose
    NOTE :
    (1) The -host value should match the serverName value of the httpd.conf
    (2) The -chost should be updated with the correct webcache hostname. In a default iAS midtier install the -host is same as the -chost.
    The value for -host parameter will be the IP address of the midtier(portal) server and -port will be the port where the portal is running on.
    Parameter Description Default Value Mandatory
    -i install_type Installation Type
    In the typical mode, the OPCA would get the Infrastructure information like the Portal schema name, Portal schema password, connect string to the Portal repository, SSO Partner application schema and password, SSO Password store schema and password and connect string to the SSO repository from the Repository Access API's.
    In the custom mode, the OPCA would take whatever is passed as the command line arguments.
    CUSTOM
    -mode mode The different install modes are : PORTAL, SSO, SSOPARTNERCONFIG, LANGUAGE, MIDTIER, ALL, SYSOBJECTS , DEINSTALL
    -s portal_schema Oracle Database schema for Portal database objects. In an iAS 9.0.2 install
    the default Portal schema name is portal portal
    -sp portal_password Password for Portal schema. In an iAS 9.0.2 install the portal schema password is randomized by default. Refer to the note "How to get the Portal schema password of the Infrastructure database ?" for details. <portal_schema>
    -c portal_connect Connect string to connect to the Portal repository <hostname>:<port>:<sid>
    -p sys_password The Oracle Database password for the Oracle SYS user MANDATORY
    -sdad portal_dad DAD for the Portal schema. Create the DAD to the Portal repository through the OEM. Refer to the note "How to create and manage the Portal and SSO DAD ?" for details. <portal_schema>
    -host portal_host Hostname of the HTTP server for Portal. This should match byte to byte with whatever is present in the ServerName attribute in the $OH/Apache/Apache/conf/httpd.conf file of the midtier. MANDATORY
    -port portal_port Port of the HTTP server for Portal. The Port attribute in the $OH/Apache/Apache/conf/httpd.conf file of the midtier would provide the value. 7777
    -ldap_h oid_host_name Host name of the OID server MANDATORY
    -ldap_p oid_port_number Port number of the OID server 389
    -ldap_d oid_admin_DN Admininstration DN cn=orcladmin
    -ldap_w oid_admin_pw Password for DN welcome
    -pwd initial_password Initial Password for seeded OID users. In iAS 9.0.2 install this is defaulted to the iAS instance password of the midtier installation. MANDATORY (for ALL or MIDTIER)
    -das_public Add Portal Groups to DAS Public Groups. The values could be Y or N. The default is Y. The setting publishes the Portal groups that the user can add to when creating the new user in OID. Y
    -u default_tablespace Install Portal objects in this tablespace. The default tablespace selected should have atleast 75 MB of free available space and should have autoextend on. Refer to the note "What are the recommended tablespace size required for Portal installation ?" for details. The default tablespace selected by default is users tablespace. users
    -t temporary_tablespace Use this tablespace for temporary objects. The temporary tablespace selected should have atleast 20 MB of free available space and should have autoextend on. Refer to the note "What are the recommended tablespace size required for Portal installation ?" for details. The temporary tablespace selected by default is temp tablespace. temp
    -d document_tablespace Install Portal document table in this tablespace. The document tablespace selected should have atleast 4 MB of free available space and should have autoextend on. Refer to the note
    "What are the recommended tablespace size required for Portal installation ?" for details. The documented tablespace selected by default is users tablespace. <default_tablespace>
    -l logging_tablespace Install Portal logging tables in this tablespace. The Logging tablespace selected should have atleast 4 MB of free available space and should have autoextend on. Refer to the note "What are the recommended tablespace size required for Portal installation ?" for details. The Logging tablespace selected by default is users tablespace. <default_tablespace>
    -in index_tablespace Install Portal index in this tablespace. The Index tablespace selected should have atleast 20 MB of free available space and should have autoextend on. Refer to the note "What are the recommended tablespace size required for Portal installation ?" for details. The Index tablespace selected by default is users tablespace. <default_tablespace>
    -lang language Abbreviation for the language to install us
    -m language_mode Specifies the mode for language installation
    if sso, translations only for Login server.
    if portal, translations only for Portal.
    if -m not specified, translations are installed for Both
    -demo Install Portal webview demos
    -silent Run mode for Portal Configuration Assistant. There is no UI provided by OPCA in the iAS 9.0.2 install. Use -silent option always
    -verbose Log mode for Portal Configuration Assistant. If this parameter is not set, logging information would be in brief and the OPCA would abort the install if it encounters any errors of kind
    ORA-, PLS- or SP2 errors.
    -report Install reports integration with Portal
    -owa Install OWA packages along with Portal This option behaves the same as the SYSOBJECTS mode.
    -sso_only Configure only SSO in mid-tier mode
    -portal_only Configure only Portal in mid-tier mode
    -available Language will be available for user translation
    -chost cache_host Cache host for Web Cache <hostname>
    -cport_i cache_inv_port Cahe port for Web Cache Invalidation 1100
    -cport_a cache_adm_port Cahe port for Web Cache Administration 1000
    -wc_i_pwd wc_inv_passwd Web Cache invalidator password invalidator
    -wc wc_on_off_flag Web Cache ON/OFF flag to enable or disable WC. The default is ON. If set to OFF Portal would not use Webcache though Web Cache may be up and running. on
    -o sso_schema Oracle Database schema for Login Server objects. In an iAS 9.0.2 install the default SSO schema name is orasso orasso
    -op sso_password Password for Login Server Schema. In an iAS 9.0.2 install the SSO schema password is randomized by default. Refer to the note "How to get the Portal schema password of the Infrastructure database ?" for more details. Use similar steps to get the password of the orasso. MANDATORY for the following modes:
    -MIDTIER: except when '-portal_only' is specified
    -LANGUAGE: except when '-m portal' is specified
    -DEINSTALL: except when '-drop PORTAL' is specified
    -odad sso_dad DAD for Login Server objects. Create the DAD to the SSO repository through the OEM. Refer to the note "How to create and manage the Portal and SSO DAD ?" for details. <sso_schema>
    -sso_c sso_connect Connect string to connect to the SSO repository If the Portal and SSO use the same database this option need not be passed and would default to the -c argument. <hostname>:<port>:<sid>
    -sso_h sso_host Hostname of the HTTP server for the SSO. If Portal and SSO use the same HTTP server this option need not be passed. It would default the HTTP server used for the Portal.
    -sso_p sso_port Port of the HTTP server for the SSO. If Portal and SSO use the same HTTP server this option need not be passed. It would default the HTTP port used for the Portal.
    -pa papp_schema SSO Partner Application Registration Schema. In an iAS 9.0.2 install the default Password store schema name is orasso_pa <sso_schema>_PA  
    -pap papp_password SSO PA Schema Password. In an iAS 9.0.2 install the SSO schema password is randomized by default. Refer to the note "How to get the Portal schema password of the Infrastructure database ?" for more details. Use similar steps to get the password of the orasso_pa <papp_schema>
    -ps pstore_schema Password Store Schema. In an iAS 9.0.2 install the default Password store schema name is orasso_ps <sso_schema>_PS  
    -pp pstore_password Password Store Password. In an iAS 9.0.2 install the SSO schema password is randomized by default. Refer to the note "How to get the Portal schema password of the Infrastructure database ?" for more details. Use similar steps to get the password of the orasso_ps. <ptore_schema>
    -pd pstore_dblink Database link from Portal schema to Password store. If the Portal and SSO use the same database this option need not be passed. <portal_schema>_DBLINK  
    -p_tns pstore_tns TNS connect string to Password Store. If the Portal and SSO use the same database this option need not be passed. The tnsalias should be created in the iAS 9.0.2 Portal middle tier.
    -s_tns portal_tns TNS connect string to Portal
    -ssotype ssotype SSO install type. Valid values are repository, midtier, all Repository
    -ultrasearch Ultrasearch configuration
    -drop drop_obj Drops either PORTAL or SSO or ALL (Both)
    if PORTAL, drops Portal schema and OID entries.
    if SSO,drops Portal schema and OID entries.
    if ALL, drops Portal and SSO schema and OID entries
    -oh oracle_home Oracle Home
    -mi midtier_install Midtier Installation
    -mc midtier_config Midtier Configuration
    -ssl Use SSL protocol for configuration. Pass this parameter only if SSL configuration is required. If this parameter is passed the -port passed should also be the SSL port of the HTTP server. Bt default this is not passed.
    -emhost em_host Enterprise Manager host for monitoring <hostname>
    -emport em_port Enterprise Manager port for monitoring 1810
    -iasname ias_name Name of the iAS instance that the install is installing on

  • [COMPLEX DATATYPE] - Cannot create table

    Hello
    I tried to create a table with a column based on an complex data type from an Xml Schema.
    1 -- XML Schema
    <?xml version="1.0" encoding="UTF-8"?>
    <!--W3C Schema generated by XMLSpy v2007 sp2 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="eventlog">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="event" maxOccurs="unbounded"/>
                   </xs:sequence>
                   <xs:attribute name="lastupdate" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:enumeration value="12/05/2007 10:24:00"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="event">
              <xs:complexType>
                   <xs:simpleContent>
                        <xs:extension base="xs:string">
                             <xs:attribute name="level" use="required">
                                  <xs:simpleType>
                                       <xs:restriction base="xs:string">
                                            <xs:enumeration value="ERROR"/>
                                            <xs:enumeration value="WARNING"/>
                                       </xs:restriction>
                                  </xs:simpleType>
                             </xs:attribute>
                             <xs:attribute name="date" use="required">
                                  <xs:simpleType>
                                       <xs:restriction base="xs:string">
                                            <xs:enumeration value="12/05/2007 10:24:01"/>
                                       </xs:restriction>
                                  </xs:simpleType>
                             </xs:attribute>
                        </xs:extension>
                   </xs:simpleContent>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    I've registred schema and create associated type with EM (Enterprise Manager)... OK.
    when i create a table with Oracle SQL Developper ; i get an error 000902 - Invalide DATATYPE
    DDL generated
    CREATE TABLE TABLE1
    COLUMN1 JACQUES.event1461_T
    what's wrong ??
    SQL> select * from v$version ;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>
    thanks for ur help.
    Message was edited by:
    user574414

    Is this what you are looking to achieve...
    SQL> set echo on
    SQL> spool testcase.log
    SQL> --
    SQL> connect sys/ as sysdba
    Enter password:
    Connected.
    SQL> set define on
    SQL> set timing on
    SQL> --
    SQL> define USERNAME = XDBTEST
    SQL> --
    SQL> def PASSWORD = XDBTEST
    SQL> --
    SQL> def USER_TABLESPACE = USERS
    SQL> --
    SQL> def TEMP_TABLESPACE = TEMP
    SQL> --
    SQL> drop user &USERNAME cascade
      2  /
    old   1: drop user &USERNAME cascade
    new   1: drop user XDBTEST cascade
    User dropped.
    Elapsed: 00:00:01.65
    SQL> grant connect, resource to &USERNAME identified by &PASSWORD
      2  /
    old   1: grant connect, resource to &USERNAME identified by &PASSWORD
    new   1: grant connect, resource to XDBTEST identified by XDBTEST
    Grant succeeded.
    Elapsed: 00:00:00.03
    SQL> grant create any directory, drop any directory to &USERNAME
      2  /
    old   1: grant create any directory, drop any directory to &USERNAME
    new   1: grant create any directory, drop any directory to XDBTEST
    Grant succeeded.
    Elapsed: 00:00:00.00
    SQL> grant alter session, create view to &USERNAME
      2  /
    old   1: grant alter session, create view to &USERNAME
    new   1: grant alter session, create view to XDBTEST
    Grant succeeded.
    Elapsed: 00:00:00.01
    SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
      2  /
    old   1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
    new   1: alter user XDBTEST default tablespace USERS temporary tablespace TEMP
    User altered.
    Elapsed: 00:00:00.00
    SQL> connect &USERNAME/&PASSWORD
    Connected.
    SQL> --
    SQL> alter session set events ='19027 trace name context forever, level 0x800'
      2  /
    Session altered.
    Elapsed: 00:00:00.00
    SQL> var schemaURL varchar2(700)
    SQL> var xmlschema clob
    SQL> --
    SQL> begin
      2    :schemaURL := 'http://xmlns.example.com/xsd/testcase.xsd';
      3    :xmlSchema :=
      4  '<?xml version="1.0" encoding="UTF-8"?>
      5  <!--W3C Schema generated by XMLSpy v2007 sp2 (http://www.altova.com)-->
      6  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
      7     <xs:element name="eventlog" xdb:defaultTable="EVENT_LOG_TABLE" xdb:SQLType="EVENT_LOG_T">
      8             <xs:complexType>
      9                     <xs:sequence>
    10                             <xs:element ref="event" maxOccurs="unbounded" xdb:SQLCollType="EVENT_V"/>
    11                     </xs:sequence>
    12                     <xs:attribute name="lastupdate" use="required">
    13                             <xs:simpleType>
    14                                     <xs:restriction base="xs:string">
    15                                             <xs:enumeration value="12/05/2007 10:24:00"/>
    16                                     </xs:restriction>
    17                             </xs:simpleType>
    18                     </xs:attribute>
    19             </xs:complexType>
    20     </xs:element>
    21     <xs:element name="event" xdb:SQLType="EVENT_T">
    22             <xs:complexType>
    23                     <xs:simpleContent>
    24                             <xs:extension base="xs:string">
    25                                     <xs:attribute name="level" use="required">
    26                                             <xs:simpleType>
    27                                                     <xs:restriction base="xs:string">
    28                                                             <xs:enumeration value="ERROR"/>
    29                                                             <xs:enumeration value="WARNING"/>
    30                                                     </xs:restriction>
    31                                             </xs:simpleType>
    32                                     </xs:attribute>
    33                                     <xs:attribute name="date" use="required">
    34                                             <xs:simpleType>
    35                                                     <xs:restriction base="xs:string">
    36                                                             <xs:enumeration value="12/05/2007 10:24:01"/>
    37                                                     </xs:restriction>
    38                                             </xs:simpleType>
    39                                     </xs:attribute>
    40                             </xs:extension>
    41                     </xs:simpleContent>
    42             </xs:complexType>
    43     </xs:element>
    44  </xs:schema>
    45  ';
    46  end;
    47  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4        schemaURL => :schemaURL
      5       ,schemaDoc => :xmlschema
      6       ,local     => TRUE
      7       ,genBean   => false
      8       ,genTypes  => TRUE
      9       ,genTables => TRUE
    10       ,enableHierarchy => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    11    );
    12  end;
    13  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.62
    SQL> desc EVENT_LOG_TABLE
    Name                                      Null?    Type
    TABLE of SYS.XMLTYPE(XMLSchema "http://xmlns.example.com/xsd/testcase.xsd" Element "eventlog") STORAGE Object-relational TYPE "EVENT_LOG_T"
    SQL> --
    SQL> create table RELATIONAL_TABLE
      2  (
      3    EVENT_XML XMLTYPE
      4  )
      5  XMLTYPE EVENT_XML
      6  STORE AS OBJECT RELATIONAL
      7  XMLSCHEMA "http://xmlns.example.com/xsd/testcase.xsd" ELEMENT "eventlog"
      8  VARRAY EVENT_XML."XMLDATA"."event" STORE AS TABLE EVENT_NT
      9  (
    10     (PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
    11     ORGANIZATION INDEX OVERFLOW
    12  )
    13  /
    Table created.
    Elapsed: 00:00:00.14
    SQL> desc RELATIONAL_TABLE
    Name                                      Null?    Type
    EVENT_XML                                          SYS.XMLTYPE(XMLSchema "http:
                                                        //xmlns.example.com/xsd/test
                                                        case.xsd" Element "eventlog"
                                                        ) STORAGE Object-relational
                                                        TYPE "EVENT_LOG_T"
    SQL>

  • Pages08 on my newMacBookPro/Lion will not open Pages08 docs emailed from my iMac. What can I do?

    Pages08 on my new MacBookPro/Lion will create new Pages08 docs but will not open Pages08 docs emailed from my iMac. A dialog box pops up stating that I new a newer version of Pages. What can I do? Thanks

    Hi Jerrold
    More than the profile, the message said :
    Macatoo
    25 févr. 2012 17:10 
    Pages08 on my new MacBookPro/Lion will create new Pages08 docs but will not open Pages08 docs emailed from my iMac.
    There is something odd in this message.
    Even under Lion, Pages 08 is able to open Pages 08 documents created by Pages 09.
    I guess that the OP made a typo and that the docs were created as Pages 09 documents.
    In theory, the availability of iWork 08 on a machine is not supposed to disable the ability to buy Pages 09 thru the MAS because the iWork 08 registration scheme is not the same than the iWork 09 one.
    Yvan KOENIG (VALLAURIS, France) samedi 25 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • I am forced into facebook when I open a new window in firefox

    When I press the + sign to open a new window in firefox the new window opens with a facebook registration scheme. I do not use facebook and have no intention to use it, so I do not want this page. This started with the new upgrade a few days ago. At the same time I also got problems with other things in firefox.
    Does anyone know how I can get rid of the facebook registry page?

    Hi tomab,
    By default Firefox opens a blank tab when you hit the tab button. The fact that is shows an actual page leads me to believe that you have an add-on or something else causing your issue. I'd try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    Hopefully this helps!

  • Network Streams

    Hello,
    I've been considering adding an ability to my application to send data over the network with the usage of network streams.
    Regarding network streams ( a new feature introduced in LV 2010 ).
    What is the data output of the Network Stream feature ? Is that 1 Gb/s that Etherent would have? Or is this limited?
    Additionally I understand that there can be only one Writer and One Reader ? You cannot have multiple readers working at the same time?
    If anyone has any experience using this feature, and could share their wisdom that would be appreciated.
    Regards,
    Maciej

    Network Streams are based on TCP/IP. It should get comparable throughput to other TCP/IP streaming implementations. Whether it is 1GB ethernet relies on your network.
    Network streams are intended to stream data from in a one-to-one manner. It does not broadcast data.
    If you need broadcast functionality you could consider:
    UDP: Very simple and universal. It is buffered, but lossy.
    Shared Variables: Multiple clients can subscribe to one server's variables.
    Creating multiple Network Streams, one for each client. This will require that you either know in advance the number of clients you will have so you can create endpoints for them, or create some custom registration scheme where a client connects and requests a new endpoint from the server.
    Jarrod S.
    National Instruments

  • Create the missing server.xml files yourself

    Paula and I created the missing server.xml files ourselves. The script is at the bottom of the post.
    We badly needed the missing server.xml files to work on the customizations and Oracle was unable to solve this problem.
    "I checked on our Automated Release Updates System found that we dont have server.xml that includes PosDelivSchedVO. This confirms that there is no patch available at present to provide you with this file.
    As this is not related to coding issue,Support will not be able to log a bug with Development. You may log an Enhancement Request via Metalink, so that Development would review your requirement and if feasible would include this file at the time of future releases"
    #!/bin/sh
    # This script is used to generate the missing server.xml files for $JAVA_TOP/oracle/apps/pos
    # Usage: server.sh
    # Note: This script has many hardcoded codes and it may generate the wrong server.xml.
    # The manual fixes to the generated server.xml may be need.
    # Check the codes before you use it.
    # It's possible to write a generic version of this script to deal with more issues, like
    # 1. dealing with the Oracle apps patches applied
    # 2. only generates the missing server.xml files automatically
    # 3. can specify the module, like pos or po ..., to generate server.xml.
    # 4. including only the OA Framework objects used.
    # 5. correctly generate the right "encoding"
    # Luke Chi
    APP=pos
    PKG_HEAD=oracle.apps.$APP
    PKG_TAIL=server
    SERVER_FILENAME=server_1.xml
    cd $JAVA_TOP/oracle/apps/$APP
    # for SUB_DIR in asn isp lov product rcv sbd ship administration changeorder jar planning profile registration schema servic
    es suppreg
    for SUB_DIR in asn lov product rcv ship administration planning profile schema services suppreg
    do
    echo $SUB_DIR
    cd $SUB_DIR/server
    PKG=$PKG_HEAD.$SUB_DIR.$PKG_TAIL
    cat << EOF > $SERVER_FILENAME
    <?xml version="1.0" encoding='WINDOWS-1252'?>
    <!DOCTYPE JboPackage SYSTEM "jbo_03_01.dtd">
    <!-- \$Header: server.xml 115.11 2003/03/25 22:31:14 luke ship $ -->
    <JboPackage
    Name="server"
    SeparateXMLFiles="true"
    EOF
    echo " PackageName=\"$PKG\" >" >> $SERVER_FILENAME
    ls *.xml | grep -v server*.xml | while read FILE
    do
    BASENAME=`basename $FILE .xml`
    cat << EOF >> $SERVER_FILENAME
    <Containee
    Name="$BASENAME"
    FullName="$PKG.$BASENAME"
    EOF
    for TYPE in AM EO VL VO AO
    do
    BASENAME_2=`basename $BASENAME $TYPE`
    if [ $BASENAME_2 != $BASENAME ]; then
    case $TYPE in
    AM) echo " ObjectType=\"AppModule\" >" >> $SERVER_FILENAME ;;
    EO) echo " ObjectType=\"Entity\" >" >> $SERVER_FILENAME ;;
    VL) echo " ObjectType=\"ViewLink\" >" >> $SERVER_FILENAME ;;
    VO) echo " ObjectType=\"ViewObject\" >" >> $SERVER_FILENAME ;;
    AO) echo " ObjectType=\"Association\" >" >> $SERVER_FILENAME ;;
    CO) echo " ObjectType=\"Luke_CO\" >" >> $SERVER_FILENAME ;;
    *) echo " ObjectType=\"Luke_UNKNOWN\" >" >> $SERVER_FILENAME ;;
    esac
    break
    fi
    done
    echo " </Containee>" >> $SERVER_FILENAME
    done
    echo "</JboPackage>" >> $SERVER_FILENAME
    grep Luke $SERVER_FILENAME
    if [ $? -eq 0 ]; then
    mv $SERVER_FILENAME server_error.xml
    fi
    pwd
    cd ../..
    done

    We loaded the Oracle seeded BC4J components from mid-tier file system to jdev OA Framework using the server.xml files generated by our Unix script attached in the privious posting above. We ,then did the customizations and successfully deployed them to our test Oracle apps.

  • Rename Collection Tables????????

    Hi all,
    I have tried to using xdb_utilities.renameCollectionTable to rename the tables created through a registration schema where maintainOrder is true in some collection elements.
    Is it possible???? I wanted to rebuild the index from this tables???.
    I maked correctly with maintainOrder = false, but I think, in this moment the tables were NESTED TABLES and now not.
    Any idea????
    Thanks in advance,
    David.

    Hi mgralike,
    apologize for me short answer.
    The ORSWE is the user utilized to create all infrastructure and to register the schemas aldo. At this moment he have been granted with all permisions, all roles (DBA, XDBADMIN, XDBWEBSERVICES and so on) and all systems privelegess to avoid problems with others Oracle functionalities.
    I have just registered other schemas with the same form and I could change the tables with yours package XDB_Utilities form the Oracle XML Basic Demo.
    In the new schema 'PlantillaProyecto, XSD' I only have changed two attributes in order to achieve a xml ordered. maintnainDOM and maintnainOrder, and in some cases only maintnainOrder has been declared. Now, I can not see tables in ALL_NESTED_TABLES.
    The first schema has not declared any previous attributes and I could change the tables names but the xml downloaded from the repository it is not ordered.
    I think, it is a problem with my use of attributes.
    I executed the following code describe PLANTILLAPROYECTO with the result:
    Nombre ┐Nulo? Tipo
    TABLE of SYS.XMLTYPE(XMLSchema "http://www.orswegimoarmada.es/ORSWE/XSD/Plantill
    aProyecto/PlantillaProyecto.xsd" Element "PlantillaProyecto") STORAGE Object-rel
    ational TYPE "PlantillaProyecto955_T"
    Thanks,
    David.

  • Problem with Individual Registration of HTMLDB app schema with SSO

    I have successfully registered HTML DB instance as partner application to SSO and it works well.
    Then, I also want to try with Individual registration of partner application schemas on the same HTML DB instance.
    I have followed every steps in 'How-To' but keep getting this following error message:
    Error Unable to run parse_url_cookie procedure as schema ICONNFNB with partner app name ICONNFNB_WORKSPACE
    ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'PARSE_URL_COOKIE' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    Anyone knows how to deal with this error ?
    Thanks in advance for any help.
    -Gary

    To add more info to my previous question, my HTML DB version is 1.6.0.00.87
    I have successfully registered HTML DB instance as
    partner application to SSO and it works well.
    Then, I also want to try with Individual registration
    of partner application schemas on the same HTML DB
    instance.
    I have followed every steps in 'How-To' but keep
    getting this following error message:
    Error Unable to run parse_url_cookie procedure as
    schema ICONNFNB with partner app name
    ICONNFNB_WORKSPACE
    ORA-06550: line 1, column 7: PLS-00306: wrong number
    or types of arguments in call to 'PARSE_URL_COOKIE'
    ORA-06550: line 1, column 7: PL/SQL: Statement
    ignored
    Anyone knows how to deal with this error ?
    Thanks in advance for any help.
    -Gary

  • Performance issues with respect scheme registration,select & insert query

    I am facing performance issues with respect to schema registration,Select & insert query towards 10.2.0.3 version.It is taking around 45 minutes to register schema and it is taking around 5 min to insert a single document into xml db where as it was taking less than min to insert a single document into xml db of 9.2.0.6 version.Would like to know the issue and solution to resolve this issue.Please help me out on this as it is very urgent for me

    Since it appears that this is an XML DB specific question, you're probably better off posting in the XML DB. The folks over there have much more experience with the ins and outs of that particular product.
    Justin

Maybe you are looking for

  • Final Cut Pro - does it come with a DVD Authoring Software

    Hey guys! I'm just planning to change my Windows to a Mac. I was looking around for a DVD Authoring Software and everyone was suggesting DVD Studio Pro. So I looked it up to get it's price but I couldn't find it at all. I would really appreciate it i

  • USB 3.0 device no longer recognized after USB driver update

    Hello, I was setting up a Windows 7 Pro x64 machine. This PC had 2 USB external hard drives plugged into the USB 3.0 ports in the back. These drives were working fine after Windows installation using (I guess) the Windows default driver. However, aft

  • Imac nuovo di una settimana trovato spento

    Ciao a tutti!questa sera ho trovato il mio nuovo imac (una settimana di vita) spento.....e non voleva riaccendersi.... poi ho cambiato posto nella ciabatta ed è ripartito... nel file log vedo scritto questo 19/11/13 19:40:09,773 SleepServicesD[32]: F

  • Imessage trouble shooting

    Hi, My imessaging was working fine until about thrusday or friday, now all of a sudden it doesn't want to activate my number at all, and when I try activate through my email address it just keeps saying "waiting for activation" and nothing happens. C

  • DI on Solaris erratic behavior

    While executing jobs on Solaris, various dataflows are failing inconsistenly with a similar message to the one below (11.7) 11-12-08 15:13:40 (E) (17833:0001) RUN-050406: |Session JOB_NOMIS_MIS_Load_D|Workflow C_WF_OFFENDER_MOVEMENTS|Workflow WF_FACT