When upgrade to APEX 4.0, an ORA error, Is it bug?

Oracle Database 10g Express Edition Release 10.2.0.1.0, APEX 3.2.1
When it processed on
...PAGE 591: Create / Edit Action
ERROR:
ORA-01756: quoted string not properly terminated
is it aninstallation bug?

Hello,
I met same problem as robinZ when upgrading APEX 3.2.1 to 4.0. Database is 11.2.0.1.0.
Here is a procedure of installation. It's almost same as user12146287 but I use apex_4.0.zip, not apex_4.0_en.zip.
1, unzip apex_4.0.zip
2, create tablespace for APEX 4.0
CREATE BIGFILE TABLESPACE ts_apex4 DATAFILE 'C:\xxx\TS_APEX4.DBF' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED;
3, move to apex folder
4, login db with SQL*Plus as sysdba
5, run "@apexins ts_apex4 ts_apex4 temp /i/"
6, then I've received ORA-01756 error. Here is a log
VI. I N S T A L L B U I L D E R A P P L I C A T I O N S
define "^" (hex 5e)
APPLICATION 4000 - Oracle APEX AppBuilder
Set Credentials...
Check Compatibility...
API Last Extended:20100513
Your Current Version:20100513
This import is compatible with version: 20100513
COMPATIBLE (You should be able to run this import without issues.)
Set Application ID...
...authorization schemes
...navigation bar entries
...application processes
...application items
...application level computations
...Application Tabs
...Application Parent Tabs
...Shared Lists of values
...Application Trees
...page groups
...PAGE 0: Page Zero
...PAGE 1: Application Builder
...PAGE 2: Supporting Objects
...PAGE 3: Grid Edit Breadcrumbs
...PAGE 4: Define Master Table
...PAGE 584: Copy Template
...PAGE 585: Confirm Create Web Service Reference
...PAGE 586: Breadcrumb Hierarchy
...PAGE 587: Copy Branch
...PAGE 588: Test Web Service
...PAGE 589: View Web Reference
...PAGE 590: Copy Process
...PAGE 591: Create / Edit Action
ERROR:
ORA-01756: 引用符付き文字列が正しく終了していません

Similar Messages

  • Upgrade to Apex 4.1 results in  "Error processing SSO authentication"

    We recently upgraded our Apex environment to 4.1 from 4.0.2. In our previous environment we used SSO authentication. Some how in the new Apex 4.1 we can get to all our applications with the url https://test.home.org/pls/apex put any application which requires SSO authentication gives this message:
    Error processing SSO authentication.ORA-06550: line 2, column 1: PLS-00201: identifier 'WWSEC_SSO_ENABLER_PRIVATE.GENERATE_REDIRECT' must be declared ORA-06550: line 1, column 45: PL/SQL: Statement ignored
    Has anyone run into a similar issue? Any insights?
    Thanks.

    After upgrading to APEX release 4.1.0.00.32 we received the following errors when attempt to authenticate to an application setup to use "Oracle Application Server Single Sign-On" as the Scheme Type.
    Error message:
    Error processing SSO authentication.
    ORA-06550: line 2, column 1: PLS-00201: identifier 'WWSEC_SSO_ENABLER_PRIVATE' must be declared ORA-06550: line 1, column 45: PL/SQL: Statement ignored
    ORA-06550: line 2, column 1: PLS-00201: identifier 'WWSEC_SSO_ENABLER_PRIVATE.GENERATE_REDIRECT' must be declared ORA-06550: line 1, column 45: PL/SQL: Statement ignored
    This has been identified as BUG 12973090 - SSO WITH SPECIFIED PARTNER APPLICATION NAME FAILS WITH PLS-00201
    Workaround:
    The work around is to leave the “Partner Application Name” field blank in your authentication scheme. To do this go to: Application Builder > Your Application > Shared Components > Authentication Schemes > Click the Edit Icon on your authentication scheme that uses Single Sign-On > set the “Partner Application Name blank as follows > Apply Changes.
    Oracle support says development is currently working the issue and the bug will not be fixed until APEX release 4.1.1.
    Sean
    Edited by: Sean Harris on Nov 2, 2011 7:59 AM

  • Upgrade to Apex 4.2 - apex.widget.tabular' is null or not an object

    After upgrading to Apex 4.2 the following error occurrs when loading a page that contains a Group Select List [Plug-in]:
    *'apex.widget.tabular' is null or not an object*
    The error message appears to be related to a Group Select List [Plug-in] item with the following assigned List of Values attributes(options):
    Display Null Value: Yes
    Null Display Value: -
    Null Return Value: NULL
    Note: The application requires a NULL option to be displayed in the list of values (display = '-', value = null). This works fine in Apex 4.1...
    Removing the above values does eliminate the error message. However entering any value into the Null Display Value and Null Return Value item attributes causes the error message to reappear.
    Is this a known Group Select List [Plug-in] issue/bug? Any ideas on how to work around this issue would be greatly appreciated.
    Thx

    Hi,
    http://apex.oracle.com/plugins contains an updated version of the Group Selectlist plug-in (v1.1) which should fix your problem. Just import it into your application and you should be done.
    Regards
    Patrick

  • Minor bug upgrading from apex 3.1 to 4.1

    I have an application written by someone else in apex 3.1. When upgrading to apex 4.1 some pages failed to work. This was because for some reason there was a condition on a process which had a begin and end when the condition was of type: "NOT EXISTS (SQL qurey returns no rows".
    This was combines by the process being:
    begin
    null;
    end;
    Anyway I thought I might share obviously this was crap code but maybe the upgrade process should run better then that.

    Hi Ben,
    are you upgrading your existing machine or are you setting up a new environment with Oracle 11g and APEX 4.2? If that's the case you can use have a look at http://www.talkapex.com/2012/04/command-line-backups-for-apex.html which creates export scripts for all your workspaces and applications. Those export scripts can than easily be imported with SQL*Plus. Note: Please have a look at bug# 14777994 in our Known Issues list at http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-42-known-issues-1863578.html
    If you are upgrading your existing database, you don't have to export/import. When you upgrade APEX to 4.2 all your existing workspaces and applications will be upgraded to 4.2 as well.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • ORA 28817 PLSQL function returned an error . when Access instance apex 4 2

    Hello,
    I have just upgraded from apex 4.1 to apex 4.2. Everything is fine except for this error that I get when I try to access Instance Setting on the Admin App (localhost/apex/apex_admin)
    ORA-28817: PL/SQL function returned an errorWhat could be the problem ?? How can we fix it ..
    I am working on Win server 2012 machine .. apex 4.2 with apex listener 2 deployed on Glassfish 3.1.2.
    Best Regards,
    Fateh

    Hello Fateh,
    we are already aware of that problem, although it is not yet present on our Known Issues webpage. The reason for this error is that the new installation overwrites an instance-wide encryption key. Values in the instance preferences that were encrypted with the old value (the SMTP password and the wallet password) are invalid after the upgrade and decryption causes this error. As a work around, you can use the apex_instance_admin package to overwrite the invalid passwords.
    The following code shows how decryption throws ORA-28817:
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual
    ERROR at line 1:
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at "APEX_040200.WWV_FLOW_CRYPTO", line 89
    ORA-06512: at "APEX_040200.WWV_FLOW_INSTANCE_ADMIN", line 239You can fix this by entering new passwords:
    SYS@a411> exec apex_instance_admin.set_parameter('SMTP_PASSWORD','my smtp password');
    PL/SQL procedure successfully completed.
    SYS@a411> exec apex_instance_admin.set_parameter('WALLET_PWD','my wallet password');
    PL/SQL procedure successfully completed.
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    APEX_INSTANCE_ADMIN.GET_PARAMETER('SMTP_PASSWORD')
    my smtp password
    1 row selected.Regards,
    Christian

  • Error ORA-03113 when upgrading from 11.2.0.1 to 11.2.0.3

    I keep on getting this error when upgrading from 11.2.0.1 to 11.2.0.3
    [Thread-57] [ 2012-04-20 13:18:28.207 CEST ] [SummarizableStep.genSummary:409]  Generating Summary for:=Pre Upgrade ,status is:=Successful
    [Thread-57] [ 2012-04-20 13:18:28.208 CEST ] [SummarizableStep.genSummary:409]  Generating Summary for:=Oracle Server ,status is:=Failed
    oracle.sysman.assistants.util.step.StepExecutionException: ORA-03113: end-of-file on communication channel
    Upgrade failed due to running the step "Upgrading Oracle Server"
            at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeSubStepImpl(SubComponent.java:738)
            at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeStepImpl(SubComponent.java:585)
            at oracle.sysman.assistants.dbma.backend.component.Component.executeStepImpl(Component.java:317)
            at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:183)
            at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
            at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
            at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
            at java.lang.Thread.run(Thread.java:637)
    [Thread-57] [ 2012-04-20 13:18:28.209 CEST ] [SummarizableStep.executeImpl:212]  Throwing exception e from SummarizableStep
    [Thread-57] [ 2012-04-20 13:18:28.209 CEST ] [BasicStep.configureSettings:304]  messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@4805e9f1
    oracle.sysman.assistants.util.step.StepExecutionException: ORA-03113: end-of-file on communication channel
    Upgrade failed due to running the step "Upgrading Oracle Server"
            at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeSubStepImpl(SubComponent.java:738)
            at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeStepImpl(SubComponent.java:585)
            at oracle.sysman.assistants.dbma.backend.component.Component.executeStepImpl(Component.java:317)
            at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:183)
            at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
            at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
            at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
            at java.lang.Thread.run(Thread.java:637)
    [Thread-57] [ 2012-04-20 13:18:31.000 CEST ] [CompManager.isModeSet:9822]   DB Upgrade Mode Setting := 1
    [Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [CompManager.isModeSet:9823]   Mode := 1 is set
    [Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [SQLEngine.done:2189]  Done called
    [Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [Database.getStepSQLInterface:787]  OH in database: /app/oracle/product/11.2.0.3/db_1Any clues about what could be wrong? I am planning to upgrade with the manual steps if it does not work :(

    Pl post OS details - are you using DBUA to upgrade ? Are there any errors in the database alert log ?
    ORA-00600 [kodpunp-nulltds], ORA-00600 [kokeeiix1], [600] When Upgrading To 11GR2 [ID 1367827.1]     
    HTH
    Srini

  • ORA-00955 when upgrading from Content Server 5.0.2 to Publisher?

    I am upgrading Content Server 5.0.2 to Publisher.
    After running the sw installation and having imported the publisher.pte file, I am starting the Publisher and receiving an Oracle error "ORA-00955: name is already used by an existing object". From the messages logged, it looks like the error is encountered when recreating the object PCSACTIVE.PK_PCSACTIVE (first SQL statement with "Recreating ...", all others before where "Adding ...".
    My questions:
    1. has somebody else encounteered the same error?
    2. does anybody know how to trap the SQL being executed?As the upgrade is done automatically by the Publisher when starting, I have found so far no way of checking the SQL or knowing which SQL statements are executed against the DB) when "Recreating" an object.
    Thanks in advance for your help.
    P.S. Customer Support has also been contacted, but it looks like noone else has reported this kind of problems.

    Pl post OS details - are you using DBUA to upgrade ? Are there any errors in the database alert log ?
    ORA-00600 [kodpunp-nulltds], ORA-00600 [kokeeiix1], [600] When Upgrading To 11GR2 [ID 1367827.1]     
    HTH
    Srini

  • ORA-29958 when upgrading 10.2.0.4 to 11.2.0.1 on Solaris 10 using DBUA

    Hello,
    We are working in our test environment on our upgrade process from 10.2.0.4 to 11.2.0.1. I have cloned a copy of our Production database to support this effort. During the upgrade process using DBUA, we consistently receive an error. The error is encountered when DBUA is at 79% and the exact error information is:
    ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SQL", line 1053
    ORA-06512: at line 6
    I'm given the option to Ignore or Abort in DBUA.
    From the upgrade log file the error is the same:
    [Thread-104] [ 2010-11-12 13:25:07.012 PST ] [BasicStep.handleNonIgnorableError:431] ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SQL", line 1053
    ORA-06512: at line 6
    :msg
    The PUBLIC role has EXECUTE permissions on DBMS_SQL so it should have privileges.
    Here's our environment:
    $ showrev
    Hostname: hyperion
    Hostid: 846ecb2e
    Release: 5.10
    Kernel architecture: sun4v
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Domain:=20
    Kernel version: SunOS 5.10 Generic_142909-17
    I've gone through metalink, google and some listservs that are particular to my industry and have tried many ways to solve this but still haven't been able to overcome this problem.
    Does anyone have any ideas what might be causing this?

    Thank you for the warm welcome as well as your response Srini :-) I have entered an SR with Oracle but to date they haven't been able to help so I thought I would try the community to see if anyone else has seen this problem.
    Here's the last 50 lines of output from the upgrade log:
    12 abcd
    13 abcd
    14 abcd
    15 abcd
    16 abcd
    17 abcd
    18 abcd
    19 b
    20 29d 217
    21 JNEJU4P9KpbgnzrkHXKCHLQVXhkwg2PMLq7hfy+BR2R1BLdVLsjphqEVa/Vb3ophLgWUV3kv
    22 K2yXgHALzjphTMp1ME5LLJD+GUc06ul9gkLmBIV+ngeVHtd++VxIJJrZQ0VIfx1iqTioTQEJ
    23 pmKgYDgMY1gOWfNIZ4xioKYLKhfUrOCerbZ1Ne9EUPGMyq0VmbP1otIQ5FDNn7dBHVvO26Jq
    24 m3uApMb3xTlusxYv0fwCNaRJxvxpJ3Bvx7ibtMqAJ2p2BCdY1jULaGFjZHU2U4nFTdFFQlLG
    25 hsZAFsLdHg3skNY+KK3Kd//zBAKJ84fTlwv+3RTBn+V8rUSoGM+pq2WgTccbcRtfRVbcea7O
    26 C5pzUj/cqI+ASb//p403VVOB6MKspYtXHGtg3fT2eUZHUGSzQBYy/qcrB0WjljPEIJjXxSdq
    27 s99n9VQQO/5zHtBFGSLo3lcy39pJJntO18Uy/rmBkGo/UqRsUL/aU+MTEfl2IRPqKcBzTM38
    28 tfA6lFO1boT+ZAosQsTYGg==
    29
    30 /
    Package body created.
    grant execute on xdb.xdb$acl_pkg_int to public;
    Grant succeeded.
    alter session set events='31150 trace name context forever, level 0x04';
    Session altered.
    declare
    2 cur integer;
    3 rc integer;
    4 begin
    5 cur := dbms_sql.open_cursor;
    6 dbms_sql.parse(cur,
    7 'create index xdb.xdb$acl_xidx on xdb.xdb$acl(object_value) '||
    8 'indextype is xdb.xmlindex '||
    9 'parameters(''PATH TABLE XDBACL_PATH_TAB VALUE INDEX XDBACL_PATH_TAB_VALUE_IDX'') ',
    10 dbms_sql.native);
    11 rc := dbms_sql.execute(cur);
    12 dbms_sql.close_cursor(cur);
    13 end;
    14 /
    declare
    ERROR at line 1:
    ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SQL", line 1053
    ORA-06512: at line 6
    And here's the output of utlu112i.sql. I did the purging of the recycle bin but planned on resolving the time zone and ACL information post-upgrade, as per the Oracle documentation.
    SYS@TEST11>@utlu112i
    Oracle Database 11.2 Pre-Upgrade Information Tool 11-18-2010 08:48:30
    Database:
    --> name: TEST11
    --> version: 10.2.0.4.0
    --> compatible: 10.2.0.4.0
    --> blocksize: 8192
    --> platform: Solaris[tm] OE (64-bit)
    --> timezone file: V4
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 1632 MB
    --> UNDOTBS1 tablespace is adequate for the upgrade.
    .... minimum required size: 310 MB
    --> SYSAUX tablespace is adequate for the upgrade.
    .... minimum required size: 1277 MB
    --> TEMP tablespace is adequate for the upgrade.
    .... minimum required size: 61 MB
    --> BANAQ tablespace is adequate for the upgrade.
    .... minimum required size: 13 MB
    Flashback: OFF
    Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    -- No update parameter changes are required.
    Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    --> background_dump_dest 11.1 DEPRECATED replaced by
    "diagnostic_dest"
    --> user_dump_dest 11.1 DEPRECATED replaced by
    "diagnostic_dest"
    --> core_dump_dest 11.1 DEPRECATED replaced by
    "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Oracle Workspace Manager [upgrade] VALID
    --> EM Repository [upgrade] VALID
    --> Oracle XML Database [upgrade] VALID
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Expression Filter [upgrade] VALID
    --> Rule Manager [upgrade] VALID
    Miscellaneous Warnings
    WARNING: --> Database is using a timezone file older than version 11.
    .... After the release migration, it is recommended that DBMS_DST package
    .... be used to upgrade the 10.2.0.4.0 database timezone version
    .... to the latest version which comes with the new release.
    WARNING: --> Database contains schemas with stale optimizer statistics.
    .... Refer to the Upgrade Guide for instructions to update
    .... schema statistics prior to upgrading the database.
    .... Component Schemas with stale statistics:
    .... SYS
    .... SYSMAN
    WARNING: --> Database contains INVALID objects prior to upgrade.
    .... The list of invalid SYS/SYSTEM objects was written to
    .... registry$sys_inv_objs.
    .... The list of non-SYS/SYSTEM objects was written to
    .... registry$nonsys_inv_objs.
    .... Use utluiobj.sql after the upgrade to identify any new invalid
    .... objects due to the upgrade.
    .... USER PUBLIC has 2 INVALID objects.
    .... USER FAPROD has 1 INVALID objects.
    .... USER SIPROD has 1 INVALID objects.
    .... USER SYS has 2 INVALID objects.
    .... USER USF_ADV has 2 INVALID objects.
    WARNING: --> Database contains schemas with objects dependent on network
    packages.
    .... Refer to the Upgrade Guide for instructions to configure Network ACLs.
    .... USER BANINST1 has dependent objects.
    .... USER SIPROD has dependent objects.
    .... USER SCTCVT06 has dependent objects.
    .... USER GEPROD has dependent objects.
    .... USER USF_FIN has dependent objects.
    .... USER WTAILOR has dependent objects.
    .... USER WFBANNER has dependent objects.
    .... USER BANSSO has dependent objects.
    .... USER ADPROD has dependent objects.
    WARNING: --> EM Database Control Repository exists in the database.
    .... Direct downgrade of EM Database Control is not supported. Refer to the
    .... Upgrade Guide for instructions to save the EM data prior to upgrade.
    WARNING:--> recycle bin in use.
    .... Your recycle bin is turned on and it contains
    .... 449 object(s). It is REQUIRED
    .... that the recycle bin is empty prior to upgrading
    .... your database.
    .... The command: PURGE DBA_RECYCLEBIN
    .... must be executed immediately prior to executing your upgrade.
    PL/SQL procedure successfully completed.
    SYS@TEST11>exit

  • ORA-12547 when upgrade database (from 10.1.0.4 to 10.2.0.4) using dbua

    Hi,
    I got error when doing the database upgrade using dbua from 10.2.0.4 home.
    It is in 15% progress of "Upgrading Oracle Server". It shows ORA-12547: TNS: lost contact.
    You can either ignore or abort.
    Any suggestion?
    Thanks in advance.
    milic

    You can almost never ignore an error message ... unless you want a failure.
    Did you read the upgrade instructions with respect to the database, listener, and oem dbconsole?

  • Cannot login after upgrading to Apex 3.1.2

    I have installed the oracle-xe-10.2.1-1.0.i386.rpm onto a RedHat server using
    ]# rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm
    Then I configure the database
    ]# /etc/init.d/oracle-xe configure
    Then I enable remote access
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS (FALSE);
    This appears to work properly and I can log into the Apex page at http://server:8080/apex/apex_admin
    After this install I'm attempting to upgrade to Apex 3.1.2 and have attempted this several times. Each time, the result is that I can bring up the web page, but cannot authenticate. All that I see is "error on page" at the bottom left of the window. (IE6 or Firefox).
    To complete the upgrade I do the following.
    ]$ sqlplus /nolog
    SQL> @apexins SYSAUX SYSAUX TEMP /i/
    After the install runs the last few lines are
    Upgrade completed successfully no errors encountered.
    -- Upgrade is complete -----------------------------------------
    timing for: Upgrade
    Elapsed: 00:00:34.60
    ...End of install if runtime install
    ...create null.sql
    timing for: Development Installation
    Elapsed: 00:18:18.29
    not spooling currently
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 – Production
    I have then stopped and restarted the oracle-xe
    Then I have logged back in with sqlplus / as sysdba
    and run
    @apxxepwd.sql or @apxchpwd (different attempts at the install)
    After all of this appearing to run successfully, I cannot log into either the basic apex screen or the apex admin screen.
    When it has failed, I have uninstalled the RPM and deleted the remanant folder.
    Then re-installed from scratch.
    I'm new to oracle, and any assistance would be appreciated.

    Thank you for your reply. I get the followin errors while trying your suggestions.
    The password change appears to be successful.
    SQL> @apxldimg.sql /opt/oracle-instdir/apex
    PL/SQL procedure successfully completed.
    old 1: create directory APEX_IMAGES as '&1/apex/images'
    new 1: create directory APEX_IMAGES as '/opt/oracle-instdir/apex/apex/images'
    Directory created.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.03
    Directory dropped.
    SQL>

  • XLS download of interactive report - error after upgrade to apex 4.1.1

    Hello!
    When trying to download a certain IR with e.g. 10 columns as XLS, I get the following error in the Excel in Apex 4.1.1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If I change it to two columns it works.
    BI Publisher 11.1.1.5.0
    Apex 4.1.1.00.23
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    In Apex 4.0.2.00.07 the exact same IR works with any number of columns.
    Any ideas?
    BR Paul

    BR Paul,
    I am experiencing the same issue after upgrading to 4.1.1.00.23 and trying to download pdf via bi pub xmlpserver. Seems if i reduce the columns to what fits on an 8.5X11 page then it works without error. Were you able to find a workaround in 4.1.1? Just trying to save some effort if you already found the solution. I wasn't successful in finding many others with this issue, so i appreciate the post but unfortunately don't have an answer to our problem. I'm using the standard csv download option and this works but of course it isn't going through bi pub.
    thanks,
    Jeff

  • Problem with Collections after Upgrade to Apex 4.02

    Hi,
    We are using oracle 10g with Apex 4.02.
    I installed Jari's application for data import from excel.
    http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:126300346812330
    It is working fine in our test environment but in production environment it is showing no data when I press the submit button. Am I missing some user privillege? Any help?
    Thanks,
    Zahid

    I have a HTML page with a browse file item. I select my csv file and press the upload button. The button submits the page and executes the following procedure.
    BEGIN
      DECLARE
        v_blob_data       BLOB;
        v_blob_len        NUMBER;
        v_position        NUMBER;
        v_raw_chunk       RAW(10000);
        v_char            CHAR(1);
        c_chunk_len       number       := 1;
        v_line            VARCHAR2 (32767)        := NULL;
        v_data_array      wwv_flow_global.vc_arr2;
        v_rows            number;
        v_sr_no           number := 1;
        v_rows_loaded     NUMBER;
       BEGIN
       -- Read data from wwv_flow_files</span>
           select blob_content into v_blob_data
           from wwv_flow_files
           where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER)
           and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
           v_blob_len := dbms_lob.getlength(v_blob_data);
           v_position := 1;
       -- Read and convert binary to char</span>
        WHILE ( v_position <= v_blob_len ) LOOP
           v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
           v_char :=  chr(hex_to_decimal(rawtohex(v_raw_chunk)));
           v_line := v_line || v_char;
           v_position := v_position + c_chunk_len;
        -- When a whole line is retrieved </span>
          IF v_char = CHR(10) THEN
        -- Convert comma to : to use wwv_flow_utilities </span>
           v_line := REPLACE (v_line, ',', ':');
        -- Convert each column separated by : into array of data </span>
           v_data_array := wwv_flow_utilities.string_to_table (v_line);
        --DELETE OLD DATA
        -- Insert data into target table </span>
         IF v_sr_no >1 THEN
           EXECUTE IMMEDIATE 'INSERT INTO EMP(EMPNO, ENAME, SAL, COMM, DEPTNO)
           VALUES (:1, :2, :3, :4, :5)'
           USING
          -- v_sr_no,
           v_data_array(1),
           v_data_array(2),
           v_data_array(3),
           v_data_array(4),
           v_data_array(5);
         END IF;
          -- Clear out
           v_line := NULL;
           v_sr_no := v_sr_no + 1;
          END IF;
       END LOOP;
    END;
    COMMIT;
    END;Pressing button gives me "ORA-01403: no data found" error message. This has been working before we upgraded from Apex 3.2 to Apex 4.02.
    I hope that the above detail may give you better idea of the problem.
    Thanks.

  • Authentication error after upgrade to APEX 4.2

    Hi,
    After the upgrade to Apex 4.2, I started to receive an error when trying to run the application.
    ERROR: "There is no authentication configured for this application. ORA-01403: no data found".
    I checked and double checked the authentication options. Everything seemed fine. Tried several tricks. No success.
    Then I didn't bother much. I just recreated the application (that is - created a copy of the application) and got rid of this error. Then deleted the application that wouldn't run and kept the new one. Everything works fine now.
    Was there an option that I had missed? What would have been a "polite" way to get rid of this error?
    M
    Edited by: user1671420 on 2.09.2012 13:11
    Edited by: user1671420 on 2.09.2012 22:55

    Hi,
    I had the same issue after upgrade, using a Custom Authentication Scheme (LDAP).
    Debugging and adding logs indicated that the session was being processed correctly, but to "nobody", therefore raising the "Invalid Login Crednetials" message.
    At a total loss for ideas, I started changing URL parameters on this authentication scheme (after having deleted the login page, recreating and even re-importing, changing processes etc etc), applied the changes and it worked.
    Not fully understanding why slight changes worked, I reverted the changes, clicked on "Apply Changes" and it worked as well.
    This led me to believe that the actual Authentication Scheme was decompiled, or needed to be re-validated somehow. I tested this on other applications that use the same scheme (but were also inaccessible), and it worked.
    Edit Application --> Edit Application Properties --> Security Tab --> Define Authentication Schemes --> "Edit Current Scheme" --> Don't make any changes, Simply click on "Apply Changes"
    I hope this helps anyone who might be having the same issue.
    Kindly,
    James

  • Popup screen not working after upgrade to APEX 3.0

    Hi,
    I have upgraded my APEX installation from version 1.6 to version 3. My application has some popup screens that are displayed when a user presses a button. These popups have now stop working and when you press them, the user is presented with the login page.
    I suspect this is because I am not passing the SESSION value in the URL when the page is displayed. The following code is the javascript that is called from one of the buttons :-
    function sa_popup2() {
    var field_value = document.getElementById("f22@0").value;
    if ( document.getElementById("f22@0").value != "" ) {
    var enqNo = document.getElementById("P17_ENQUIRY_NO") ? document.getElementById("P17_ENQUIRY_NO").value : -1;
    var enqLineNo = wwv_flow.f02[0].value;
    var str=document.getElementById("P17_PROCESS_CHRG_INCL").value;
    var outstring = str.replace(/%null%/,"");
    windowAddress = 'f?p=200:228:::::P228_CUS_ID,P228_ENQ_STATUS,P228_PROCESSING_CHRG,P228_ENQUIRY_NO,P228_ENQUIRY_LINE_NO:'+document.getElementById("P17_CUS_ID").value+','+document.getElementById("P17_ENQ_STATUS").value+','+outstring + ',' + enqNo + ',' + enqLineNo ;
    w = open(windowAddress,"winhelp","Scrollbars=1,resizable=1,width=500,height=350");
    You can see from the above that when the windowaddress variable is set it does not include the session value. In APEX 1.6 when the popup is displayed the SESSION is automatically populated in the URL, but in APEX 3 it is not populating.
    Is there a way I can get this to continue working without changing my javascript function. This approach has been used throughout my applications, and I do not want to have to change the code if I don't need to.
    Rgds
    Paul

    Hi Paul,
    Yes, as you suspect, it's the fact that you're not passing the session across. I would definitely recommend recoding to include the session.

  • Problem Upgrading to Apex 3.1 on XE

    I am running into a problem upgrading Apex to 3.1 on Oracle XE.
    Hardware and Software:
    Database: Oracle Database 10g Express Edition Release 10.2.0.1.0
    PL/SQL Web Toolkit Version: 10.1.2.0.4
    Host O/S: MS Windows XP Professional Version 2002 SP2
    Host Hardware: AMD Athlon 64 Processor, 2.2 GHz, 1.87 GB RAM
    Background:
    This is a lab host. I am working through the full installation process so that I can set up XE and Apex on development and production hosts, the end in mind being to develop a simple application using XE/Apex instead of Access 2003, which is used heavily in this shop.
    It seems to me that upgrading to Apex 3.1 would be a good thing to do up front instead of developing in the version which ships with XE (2.1, I believe) and performing the upgrade later.
    I installed XE going with full defaults. Nothing at all tricky. I was able to connect to http://localhost:8080/apex without any trouble and log in as system.
    I then followed these Apex upgrade instructions, very carefully:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    After I ran into trouble (see below), I reviewed this post and used it to double-check my work:
    How to upgrade to Apex 3.1
    I have worked through this a number of times, each time ending up with the same error.
    The Problem...
    After the upgrade, when I navigate to http://localhost:8080/apex, I receive the following error:
    wwv_flow.app_not_found_footer_err
    wwv_flow.err wwv_flow.app_not_found_err
    OK
    I reviewed this posting, which suggests that I upgrade my PL/SQL Web Toolkit:
    apex 3.0 error wwv_flow.app_not_found_footer_err after new installation
    I am perfectly willing to try this, but I am not sure how to obtain the latest correct version of the web toolkit for this particular version of the database. Any tips on where I might find this?
    I also note that the posting says there should be 10 SQL files in the apex/builder directory. I only have 5, but I just downloaded this zip file a few days ago and assume this is the correct number of files. If it isn't, where could I find the correct zip?
    Any other suggestions about the root cause of this issue would be appreciated.
    Thanks!

    Well, like Sherlock Holmes said, "when you have elminated the impossible, whatever remains, no matter how improbable, must be the truth." Or, something like that.
    Thanks Joel, it was the files. I examined the zip file I originally downloaded and, sure enough, there were 10 files. I extracted it again and, for some reason, this time it only pulled one of the SQL files out, not even five as it did the first time. In addition, it also skipped about half the language folders.
    To get it work, I used the windows built-in zip to open the file, navigated to the apex/builder folder, selected all of the SQL files and language folders, then copied and pasted them into c:\apex\builder.
    I then restored the database, ran the install again, and everything worked just fine: I can access http://localhost:8080/apex/apex_admin and log in.
    I'm not sure what the issue is, a problem with the zip file or (ok, more likely) a problem with the built-in windows zip tool. I used 7-zip (www.7-zip.org) to extract the file on my workstation and all 10 files and 9 language folders came out just fine.
    The bottom line is, it works now, thanks again for the help.
    -Tom
    PS - I did not install the web toolkit upgrade.

Maybe you are looking for

  • InDesign Table of Contents won't display once exported to pdf

    Hello, I am creating user manuals using Indesign books with CS5. When I export the book, I can view everything perfectly. But when I open the same file from a different computer, I get a message saying: "An error exists on this page. Acrobat may not

  • Which table could i get the information of Sales org. and DC relationship?

    Thanks! And could you tell in what way could i found the corresponding table corresponding to any SPRO transactions?? Thanks

  • Strange trackpad

    Hi everyone have a little problem with my trackpad, would be nice if you could help me. my trackpad is not working, but in a strange way. i can move the little arrow as I like to, but the active corners nor the dock are reacting, neither can I click

  • HT1338 Time Machine - local backups

    I have a 2TB Time Machine connected to one Macbook with a 750GB hard drive... Since Time Machine setup, the local Macbook drive seems to have been completly consumed... Could this be due to "local" backup images on the Macbook?  How do I clean it up?

  • Facing problem in JFileChooser setSelectedFile

    Hi All, Am facing problem in JFileChooser's setSelectedFile. While trying to save the file I give a default file name which may contain "/" also.When I pass the File Object with the name(eg AC/B_XYZ_123) to the JFileChooser's setSelectedFile it is di