make an exception in jdev 11.1.2.3.0 after the application security configuration

Hello

Berfore my ADF Application security configuration works well. But after security configuration, I am getting the below error. Can someone help me to solve the issue. Here is the stack trace. BTW, the JDev I use is version 11.1.2.3.0.

java.lang.NoClassDefFoundError: has not been initialized class com.bea.security.quark.ASIParserProxy
at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:556)
at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2876)
to oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$ 5.run(JpsAbsSubjectResolver.java:497)
to oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$ 5.run(JpsAbsSubjectResolver.java:487)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getApplicationRoles(JpsAbsSubjectResolver.java:487)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.createJpsSubject(JpsAbsSubjectResolver.java:334)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getAnonymousSubject(JpsAbsSubjectResolver.java:319)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveJpsSubject(JpsAbsSubjectResolver.java:258)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveSubject(JpsAbsSubjectResolver.java:214)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Thank you / Vinet.

Hello

Finally the problem is resolved. Actual cause is, there is a space in the name of the folder in which the jdev is installed. I installed the jdev in a different directory (no spaces in the directory name) and has defined the variable env JDEV_USER_HOME and everything worked fine.

It is an odd question. Sorry for the confusion.

I thank all of you for your time.

Best regards
VINET.

Tags: Java

Similar Questions

  • How to make a system total main saved sauvegardΘ Vista restoration complete after the death of HARD drive external HARD disk

    I had to replace my HARD drive once it's dead, I have an external hard drive with a complete picture of my old drive, but cannot access it.
    My operating system is Vista Home premium and I don't have a disc, it's all about the old HDD. I tried to boot from the image. did not work.
    HELP I need my urgent files

    http://www.Microsoft.com/Windows/Windows-Vista/features/backup.aspx

    Vista Home Premium not let you do a full backup of your hard disk Image. read the above info.

    If you use 3rd Party Software to make the Image, you need to restore.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    How to get Vista recovery Media to back to factory settings.

    There is no Vista free download legal available.

    Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.

    Normally, they do this for a cost of $ small.

    Or borrow a good Microsoft Vista DVD (not Dell, HP, etc).
    A good Vista DVD contains all versions of Vista.
    The product key determines which version of Vista is installed.

    There are 2 disks of Vista: one for 32-bit operating system, and one for 64-bit operating system.

    If install a cleaning is required with a good DVD of Vista (not HP, Dell recovery disks):

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu

    http://support.Microsoft.com/default.aspx/KB/918884

    MS advice on the conduct of clean install.

    http://www.theeldergeekvista.com/vista_clean_installation.htm

    A tutorial on the use of a clean install

    http://www.winsupersite.com/showcase/winvista_install_03.asp

    Super Guide Windows Vista Installation

    After installation > go to the website of the manufacturer of your computer/notebook > drivers and downloads Section > key in your model number > get latest Vista drivers for it > download/install them.

    See you soon.

    Mick Murphy - Microsoft partner

  • How can I turn off the "do allow you the program following an unknown Publisher to make changes to this computer?" popup with the application compatibility Wizard? "

    The title says it all really.
    I try to use WinMerge, a program I've used for years.
    Now, every time that I throw I get say popup "want allow you the program following an unknown Publisher to make changes to this computer".

    I tried to use the application compatibility Wizard to solve this problem, and I managed to get to the pop-up window IF I run the program from the inside of the Act.
    But if I try to start the Dowes program I get the popup :(

    I guess I must be missing something in the law so that it works all the time.

    Any help/suggestions appreciated.

    Thank you

    The title says it all really.
    I try to use WinMerge, a program I've used for years.
    Now, every time that I throw I get say popup 'want allow you the program following an unknown Publisher to make changes to this computer?'.»

    I tried to use the application compatibility Wizard to solve this problem, and I managed to get to the pop-up window IF I run the program from the inside of the Act.
    But if I try to start the Dowes program I get the popup :(

    I guess I must be missing something in the law so that it works all the time.

    Any help/suggestions appreciated.

    Thank you

    Hello

    This message appears when the application doesn't have an authority root certificate. These types of notifications can be disabled from user account control settings.
    [1] method: Using Control Panel to change UAC settings
    CAUTION: Turn off UAC is NOT recommended
    • On the start menu, select Control Panel
    • Go to system and security > Action Center
    • In the left pane, select change user account control settings
    • Drag the button scroll never notify
    • Click OK to save your settings
    OPINIONS: UAC can avoid potentially dangerous applications to make changes on your computer. Disable UAC would disable the feature for all programs and not for a specific special application.
    Thank you
    I hope this helps :)
  • How to make an exception for warn me when a program tries to make changes to my computer?

    How to make an exception for warn me when a program tries to make changes to my computer?

    You are thinking of the UAC mechanism? If so, then the answer is "you can't." Allowing exceptions opens a backdoor average size of your barn door who would immediately be exploited by hackers.

  • How to change the Javascript code to make an exception for a single read command?

    Hello


    I posted a question earlier in another sub-forum and found this script that makes the form read-only fields. Now, I have a particular coding question.


    First of all, here's the code:

    var r = app.alert("Are you ready to lock this document?",2,2);
    if (r == 4) { // 4 is Yes, 3 is No
      
    for (var i = 0; i < this.numFields; i++) {
      
    var fname = this.getNthFieldName(i);
      
    this.getField(fname).readonly = true; // makes all fields readonly
      
    }
    }

    On the bottom of my form, I have a button that allows you to set the read-only form, but I also have other keys such as "print". How do I change the code above to make an exception for the command of read-only for my buttons so that they are still functional at the bottom of my form? I don't know anything about Javascript then this is a foreign language for me.

    Any help is appreciated!

    If (f.name == "FieldNameToExclude") continue;

  • Info by exception display JDev 11.1.2.1 ADF task flows activity

    Article 22.4 of the 11.1.2.1 Fusion developer's guide tells me how to designate an activity as the exception handler for a workflow. I followed the directions; created a page error, placed in the workflow, marked as the exception handler. I force an exception and indeed the page.

    What I don't know is how to extract the data of the exception, so I can filter, format and display it. How is the exception page receives the exception data?

    This level of exception is adequate handling? All my treatment in the workflow. If each of them has an exception handler is something more, what I should do to catch exceptions alll?

    Thank you, Steve

    You can use

    #{controllerContext.currentRootViewPort.exceptionData.message}
    

    also chk
    ADF task flows of exception handling

  • the exception unknown software exception (0 x 0000409) occurred in the application at location 0x0100bece.

    I have the message "the exception unknown software exception (0 x 0000409) occurred in the application at location 0x0100bece." shown often on my windows. May I know what is the cause and how to fix?

    Hello

    You have made any changes to your computer recently?

    I suggest you to follow the steps and check if it helps.

    Method 1:

    Step 1: Start the computer in safe mode and check if it helps.

    A description of the options to start in Windows XP Mode

    Step 2: PEd a clean boot and then check to see if it helps.

    How to configure Windows XP to start in a "clean boot" State

    Note: Make sure you perform the steps in How to configure Windows to use a Normal startup state to start your computer normally.

    Method 2: Run check file system (CFS) analyses and checks to see if it helps.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    I hope this helps.

  • The exception exception software unknown 0xc06d007e has occurred in the application at the 0x7c812afb locaton

    Original title: error TampMon.exc

    I get the following:

    TampMon.exc

    The exception exception software unknown 0xc06d007e has occurred in the application at the 0x7c812afb locaton.  Can you get it someone please let me know what it is.

    Thank you

    Judy

    Hi Judy,.

    1. when exactly you get the error message?
    2. don't you make changes before the show?

    Looks like some programs non-Microsoft is causing this error. We recommend you to check which program is causing this issue and remove it.
    see How to configure Windows XP to start in a "clean boot" State .
    b. If you do not see the message error, then from the item, follow method 1 and method 2 to find out if any program is causing the problem.
    c. Once you have found the culprit which is the program that is causing the problem, then uninstall it or reinstall once again to correct errors.

    Note: Article, remember to follow 'steps to configure Windows to use a Normal startup state. "

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error - the exception unknown software exception (0xe0434f4d) occurred in the application at location 0x75bfb727, not able to uninstall iBryte.

    Original title: remove ibryte.

    I'm trying to uninstall ibryte not much of a success. error message
    The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x75bfb727

    Hi cgam,.

    ·        What browser do you use?

    ·        How you tried to uninstall iBryte toolbar?

    You can run a scan for viruses online from the link below. If it is detected as malware or virus remove it.

    http://OneCare.live.com/site/en-NZ/default.htm?mkt=en-NZ

    If you have antivirus software installed on your computer, please install the latest update of the software to make it work properly.

    If you do not have any security software installed, you can download & install Microsoft Security Essentials.

    Reference: iBryte is on Facebook 

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • After the use of any USB device, I stopped the device that comes in the window telling me it is safe to remove the device and then my computer crashes I have to make a difficult start to resume what I was doing. It is on a Toshiba Satellite running Vista

    After the use of any USB device, I stopped the device that comes in the window telling me it is safe to remove the device and then my computer crashes I have to make a difficult start to resume what I was doing.  It is on a Toshiba Satellite running Vista

    Hello

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------

    Then lets refresh the USB stack

    Control Panel - right CLICK on EVERYTHING - Serial USB controllers - Device Manager and UNINSTALL
    all except the category itself - REBOOT - it refreshes the drive and battery USB

    This KB shows XP how to and the method of Vista is identical
    http://support.Microsoft.com/kb/310575

    ----------------------------------------------

    If necessary try these two:

    Tips for solving problems of USB devices - and a Mr Fixit
    http://windowshelp.Microsoft.com/Windows/en-us/help/c39bd203-f729-47a4-8351-83291e13c8a81033.mspx#EGB

    Hardware devices not detected or not working - Mr. Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    ------------------------------------------------------------------------------------------

    If no joy, see Toshiba Support and/or their forums:

    Toshiba support and drivers
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=download

    Toshiba Support Forums
    http://laptopforums.Toshiba.com/

    Contact Toshiba
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/navShell.jsp?CF=su_contact

    I hope this helps and happy holidays!
    Rob - bicycle - Mark Twain said it is good.

  • The file of the bar - descriptor.xml (and make the application of command line)

    I made a game with air and it is online for sale on Android and iOS. It is somewhat popular and I thought to put up on Blackberry for quite awhile now and with the Port of soon-to-start-A-Thon, this seems to be a great time to finally make it.

    BlackBerry is not very common that here where I live in Sweden, however it still looks like an interesting with a potential platform if I want to get the trip. Unfortunately I don't own a camera myself so I'll use the Simulator. With some graphic problems with the simulator when running in mode BB10DevAlpha (icons does not appear right) and the Simulator is very slow when running in mode BB10DevAlphaSafe (chart appears on the right, but it seems that updating them requires more CPU my computer are available).

    The game is built using nothing other than Adobe Flash Professional CS6 and a bunch of command line tools to build the package and sign. I've only got an old computer with Windows XP now since the death of my main PC, all at the time and since the Port-A-Thon is just a few days I do with what I got.

    Firstly I understand that only AIR 3.1 is supported by Blackberry 10, so I use the old AIR SDK 3.1 to create a SWF (flash) file.

    What I really need to do should be used in the exported SWF file of the game, then use the command line tools provided by RIM to build the package, right?

    Except that I did not count on bar - descriptor.xml to be so difficult to understand.

    I was brought to the documentation here: https://developer.blackberry.com/air/documentation/bb10/bar-descriptor_config_file.html

    It says Adobe AIR at the top, the platform selected is Blackberry 10 and the title says "bar-descriptor configuration file", so it must be in the right place!

    I start by trying the 'bar-descriptor configuration example file"on this page:

    ===========================================================



      
          None
          fake
      

     
      
       Name of the author
     
      
       gXXXxXXx ##XxXxXxxxXxXX #xxx
     
      
       Core.Games
     
      
       Icon.PNG
     
      
       HelloWorld - splash.png
     
      
       read_geolocation
       use_camera
     
      
       1

    ===========================================================

    Of course during the test I replaced a few things in the example above with the correct filenames for images etc, I just copied the example of right - off this time to you guys show what I mean.

    Firstly, I extract "blackberry-tablets-sdk - 3.0.0" in a folder on the disc, then I make sure as a full path to the "bin" in the SDK folder inside the path on the OS environment variable.

    Then I read on "Applications of Test using the command line": https://developer.blackberry.com/air/documentation/bb10/testing_your_application_cmd_ms_2010851_11.h...

    Now I run:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf myappnameicon86.png bg splashscreen1024.png - device 192.168.8.128

    Note that "bg" is a folder with 500 images that must be accessible from the app. I hope that I can just add the folder like this and not type a path to each image file...

    What I get (in lib\adt.jar via the bat file):

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Okay, so the example did not straight on the box.

    Now, I've read all paragraphs in the first URL I linked above ("the bar-descriptor configuration file"). I start my own XML file and make sure to include everything that is marked as "necessary". That's what I'm left with:

    ===========================================================



        MyCompany
        
            
            com.mydomain.myappname
            My App name
            3.0.0
            
                splashscreen1024.PNG
            

            1.5.0
        

        run_native
        
            application
            
                bb.action.VIEW
                application/octet-stream
            

        

    ===========================================================

    I have no idea of what concerns the block whole call target, but it took, so he must be there.

    Now I launch (notice that myappnameicon86.png is gone since no icon is mentioned in the above XML code, it is not mandatory):

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf bg splashscreen1024.png - device 192.168.8.128

    Yet once, I get:

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Frustrated I get autour on the forums for answers, because the official documentation is nowhere getting me.

    I'm left with this:

    ===========================================================


    http://ns.Adobe.com/air/application/3.1">
        com.mydomain.myappname
        1.5.0
        
        My App name
        
        My App name
        
        
            myappname.swf
            standard
            fake
            true
            true
            landscape
            GPU
            fake
        

        
            myappnameicon36.PNG
            myappnameicon48.PNG
            myappnameicon72.PNG
        

        fake
        fake
        
            qnx.fuse.ui.skins.QNXDevice
            qnx.fuse.ui.skins.QNXNetwork
            qnx.fuse.ui.skins.QNXSensors

            qnx.fuse.ui.skins.QNXSkins
        

    ===========================================================

    Looks like the XML code that I use when I build for Android.

    First of all it doesn't have the tag root of qnx, but also nothing of the icons are of the required size (86 x 86). The tag required splashscreens and invoke target is also absent, to name a few. No idea of what the entire block of 'extensions' really do.

    Surely, this does not work:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane myappnameicon36.png myappnameicon48.png myappnameicon72.png bg-device 192.168.8.128

    Success in building the package BAR to my infinite surprise!

    He even managed to install on the Simulator. An icon for the game. However when it auto-couru the app went into landscape, thought for a second and then crashed (or you leave?) without a message.

    Perhaps because the required qnx tag was missing in the XML?
    Perhaps because images in the bg file could not be loaded?
    Perhaps because he had no permission to keep screen from dimming?

    I have no idea. I tried to add XML to qnx at the address previous to the bar - descriptor.xml, I thought that maybe he needed both the qnx block for when you run the application and the application block for when packaging. But now, he has complained of something like XML is not not clean ("' fatal error: markup in the document following the root element must be well-formed." ").

    So he came to it, I have to ask for help if I ever make the deadline of the Port-A-Thon.

    (1) how am I supposed to write the bar - descriptor.xml?
    (2) what command line starting by "blackberry - airpackager.bat" is OK to use?
    (3) all I have to do is build the SWF using Adobe Flash Professional CS6 and then pack it using the Blackberry SDK, right?

    First of all, there are two xml files that you need.

    One is called the manifesto, is to AIR and is called yourappname- app.xml. It is identical to the ones you use for Android and IOS, though some elements will be ignored. It's one you need to switch on the command line, and is probably causing the 'Namespace' missing error message. A file manifest a minimum is:

    
    http://ns.adobe.com/air/application/3.1">
    
        com.example.appname
        My Fabulous Game
        1.0.0
    
        FileNameOfYourSwfWithoutExtension
        YourCompanyName
        
            [This value will be overwritten by Flash Builder in the output app.xml]
            true
            false
            none
            cpu
            false
        
    
    

    Replace the text in red with your own stuff.

    The second xml file is called to the bar of descriptor. It is for App World and the installation process and is called bar - descriptor.xml. It contains information about signing code, icon, permissions etc. A simple bar - descriptor.xml is:

    
    
       
          none
          true
          landscape
          false
          cpu
       
    
       
       your-name-on-certificate
       your-id-on-certificate
    
       core.games
    
       
       1
    
       
       
          icon86x86.png
       
       splash-landscape.png
    
       
       2.1.0.1314
    
       
       access_shared
       access_internet
       play_audio
       set_audio_volume
    
    

    Make sure that you at least change the red dots.

  • Uncaught exception handler application when you install the application via the Desktop Manager

    Hello

    I sometimes have a problem when I install my application on the new phones (mainly with OS6 and OS7) using the Desktop Manager. When installing the application net_rim_bb_trust_application_manager raises an uncaught exception as if had been stalled and its eventqueue was too long. The application itself is installed and works perfectly after a battery pull.

    The question is a bit like the problem described in this thread:

    http://supportforums.BlackBerry.com/T5/Java-development/Autostart-on-installation/m-p/471949#M94686

    The problem is that the solution mentioned here does not solve my problem. My request to have multiple entry points and one of them is an autostart entry point but she must leave the application, unless a parameter in the application autostart enabled (which is not the default). I don't see how this should pose problems for the application manager.

    It is also worth mentioning that this happends only when the application is installed the first time on a new device or a new version of the application that is signed with a different code signing key is installed on the device. The problem will not occur if the application is uninstalled and then installed again. This makes me think that it's something with the permissions to a...?

    Someone at - it had the same problem and solved it?

    Here are the 'new' version of this same article:

    http://supportforums.BlackBerry.com/T5/Java-development/write-safe-initialization-code/Ta-p/444795

    Not sure this is the same problem however, because the user described the problem as being present during the installation, date at which the device is fully functional.

    I agree that it is likely to be a permissions issue.  I saw on some devices that the app will throw a ControlledAcessException on first installation, associated with the PersistentStore.  My suspicion is that there is a kind of race condition between the code that runs the auto-start and the code that is supply completely, for the first time the auto start run on installation, the device is not ready for it.  I thought a few seconds delay automatic start of treatment of coding, but never tested it.

  • Startup error: the exception unknown software exception (0 x 40000015) occurred in the application at location 0x0126f9bd

    When I turn on my Lenovo L512 this message appears.
    can someone tell me what is happening in my computer? I can't find the location and I can not find software that might be bothering me. does anyone know how to stop this message from appearing.

    Original title:
    The exception unknown software exception (0 x 40000015) occurred in the application at location 0x0126f9bd
     

    The exception unknown software exception (0 x 40000015) occurred in the application at location 0x0126f9bd

    Click on OK to terminate the program.

    Hello
    You did changes to the computer before the show?
    Method 1:
    Place the computer in a clean boot state, and look for the question:
    To help resolve the error and other messages, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to solve the problem by running the clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135
    Note: When you're done to diagnose, follow step 7 of article to start on normal startup.
     
    Method 2:
    Run a full scan to a computer using the antivirus software installed on the computer or the Microsoft Safety Scanner to see if it makes a difference:
    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx
    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again. The Microsoft Safety Scanner is not a replacement for the use of antivirus software that offers continuous protection. For a real-time protection that helps you keep your home or small office PC against viruses, spyware and other malicious software, download Microsoft Security Essentials.
    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
  • Can we make several Off features in a collection of panels and how the query-off based on the example?

    Mr President.

    Can we make several Off features in a collection of panels and how the query-off based on the example?

    Concerning

    Once again, no jdev version?

    It must be really hard to remember ehich version you are working.

    Would have given a quick glance in the docs

    featuresOff java.util.Set Yes a list separated by spaces of the features by default to disable to the panelCollection. Values supported are

    That is the answer to a message.

    The second answer is that qbe is filtering tables. If you fund the table without filter you have not the qbe.

    Timo

  • Continue the loop after the exception thrown in SQL

    How would continue the while loop in the code below after an exception was thrown?

    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_first_line_done boolean := false;  
    v_error_cd number :=0;  
    v_quote_pos1 NUMBER;  
    v_quote_pos2 NUMBER;  
    v_enclosed_str VARCHAR(200);
    v_errmsg VARCHAR2(4000);
    
    BEGIN
    
     delete from TEMP_MM_UPDATE where username = :P1_USER_ID;
    
    -- Read data from wwv_flow_files</span>    
     select    
      blob_content    
     into v_blob_data    
     from wwv_flow_files    
     where name = :P2_FILE_UPLOAD; 
    
     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
    
    begin 
     
      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
     
     LOOP  
      --Make sure there's something to replace  
      IF INSTR(v_line, '"', 1, 1) = 0 THEN  
      EXIT; -- If nothing to replace, exit loop and don't try  
      END IF;  
      --Find the position of the first and second quotes in the line of text  
      v_quote_pos1 := INSTR(v_line, '"', 1, 1);  
      v_quote_pos2 := INSTR(v_line, '"', 1, 2);  
      --Extract the inner string  
      v_enclosed_str := SUBSTR(v_line, v_quote_pos1 + 1, v_quote_pos2 - v_quote_pos1 - 1);  
      --perform the replacement  
      v_line := SUBSTR(v_line, 0, v_quote_pos1 - 1) || REPLACE(v_enclosed_str, ',', '<') || SUBSTR(v_line, v_quote_pos2 + 1);  
     END LOOP; 
      
     -- Convert comma to : to use wwv_flow_utilities </span>  
     v_line := REPLACE (v_line, ',', ':');  
     v_line := REPLACE (v_line, '<', ',');  
     v_line := REPLACE (trim(v_line), '-', NULL);  
     --v_line := REPLACE (trim(v_line), '"', NULL);  
     -- Convert each column separated by : into array of data </span>    
     v_data_array := wwv_flow_utilities.string_to_table (v_line);  
     --Check to see if the row of column headers has already been parsed through  
     IF(v_first_line_done != true)THEN   
      v_first_line_done := true;  
      --Check column order in spreadsheet  
      IF(v_data_array(1)   LIKE '%Username%' AND
        v_data_array(2)  LIKE '%NDN%' AND
        v_data_array(3)  LIKE '%PCFN%' ) THEN   
       v_error_cd := 0;  
       v_line := NULL;  
      ELSE  
       v_error_cd := 1;  
      END IF;  
     --If first line is done and the column order is correct then  
     ELSIF(v_first_line_done = true AND v_error_cd = 0) THEN   
     -- Insert data into target table </span>    
     EXECUTE IMMEDIATE 'insert into TEMP_MM_UPDATE   
     (USERNAME,
       RPT_FLAG,
      PCFN)
     values (:1,:2,:3)'   
       USING   
      v_data_array(1),   
      v_data_array(2),   
      v_data_array(3);
       -- Clear out    
      v_line := NULL; v_sr_no := v_sr_no + 1; 
     
     END IF;  
     END IF;
    
    exception
    WHEN OTHERS then
      v_errmsg := SQLERRM;
      insert into temp_mm_update (username,error_desc)
      values (:P1_USER_ID, v_errmsg);
    end;
      
     END LOOP;
    
    
     
    DELETE FROM WWV_FLOW_FILES where name = :P2_FILE_UPLOAD;
    DELETE FROM TEMP_MM_UPDATE WHERE USERNAME IS NULL AND PCFN IS NULL;  
     IF(v_error_cd = 1) THEN  
    INSERT INTO temp_mm_update (USERNAME, ERROR_DESC)  
    VALUES (:P1_USER_ID, 'Error. Please check column order in spreadsheet.');  
    END IF;
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
            insert into temp_mm_update (username,error_desc)
      values (:P1_USER_ID, 'No Data Found.');
     WHEN OTHERS then
      v_errmsg := SQLERRM;
      insert into temp_mm_update (username,error_desc)
      values (:P1_USER_ID, v_errmsg);  
    
    END;
    
    

    When I set the exception inside the loop, as above, the procedure seems never to end, and I end up getting a 'NOWAIT' error when I try to remove the table or something like that.

    The code works fine if I remove the 'START' just after the loop and also out of the exception within the loop, but I want to be able to specify what's wrong with each record rather than deal with the correct records and then stop after that it is a record that has, for example, 9 values in a column that accepts only 6.

    Can anyone help with this?

    Thank you

    Steven

    Play with my code I found what was wrong.
    I needed to add in the following line in my code block of exception:
    v_line := NULL; v_sr_no := v_sr_no + 1;
    
    Final code:
    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_first_line_done boolean := false;
      v_error_cd number :=0;
      v_quote_pos1 NUMBER;
      v_quote_pos2 NUMBER;
      v_enclosed_str VARCHAR(200);
      v_errmsg VARCHAR2(4000);
    BEGIN
      delete from TEMP_MM_UPDATE where username = :P1_USER_ID;
    
      -- Read data from wwv_flow_files
      select
        blob_content
        into v_blob_data
        from wwv_flow_files
        where name = :P2_FILE_UPLOAD; 
    
      v_blob_len := dbms_lob.getlength(v_blob_data);
      v_position := 1; 
    
      -- Read and convert binary to char
      WHILE ( v_position <= v_blob_len )
      LOOP
        begin
            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 
          IF v_char = CHR(10) THEN
            LOOP
              --Make sure there's something to replace
              IF INSTR(v_line, '"', 1, 1) = 0 THEN
                EXIT; -- If nothing to replace, exit loop and don't try
              END IF;
              --Find the position of the first and second quotes in the line of text
              v_quote_pos1 := INSTR(v_line, '"', 1, 1);
              v_quote_pos2 := INSTR(v_line, '"', 1, 2);
              --Extract the inner string
              v_enclosed_str := SUBSTR(v_line, v_quote_pos1 + 1, v_quote_pos2 - v_quote_pos1 - 1);
              --perform the replacement
              v_line := SUBSTR(v_line, 0, v_quote_pos1 - 1) || REPLACE(v_enclosed_str, ',', '<') || SUBSTR(v_line, v_quote_pos2 + 1);
            END LOOP; 
    
            -- Convert comma to : to use wwv_flow_utilities 
            v_line := REPLACE (v_line, ',', ':');
            v_line := REPLACE (v_line, '<', ',');
            v_line := REPLACE (trim(v_line), '-', NULL);
            --v_line := REPLACE (trim(v_line), '"', NULL);
            -- Convert each column separated by : into array of data 
            v_data_array := wwv_flow_utilities.string_to_table (v_line);
            --Check to see if the row of column headers has already been parsed through
            IF(v_first_line_done != true)THEN
              v_first_line_done := true;
              --Check column order in spreadsheet
              IF(v_data_array(1)    LIKE '%Username%' AND
                  v_data_array(2)  LIKE '%NDN%' AND
                  v_data_array(3)  LIKE '%PCFN%') THEN
                v_error_cd := 0;
                v_line := NULL;
              ELSE
                v_error_cd := 1;
              END IF;
            --If first line is done and the column order is correct then
            ELSIF(v_first_line_done = true AND v_error_cd = 0) THEN
              -- Insert data into target table 
              EXECUTE IMMEDIATE 'insert into TEMP_MM_UPDATE
              (USERNAME,
               RPT_FLAG,
               PCFN)
              values (:1,:2,:3)'
               USING
                v_data_array(1),
                v_data_array(2),
                v_data_array(3);
               -- Clear out
                v_line := NULL; v_sr_no := v_sr_no + 1;
            END IF;
          END IF;
        exception
          WHEN OTHERS then
            v_errmsg := SQLERRM;
            insert into temp_mm_update (username,error_desc)
            values (:P1_USER_ID, v_errmsg);
    v_line := NULL; v_sr_no := v_sr_no + 1;
      END;
      END LOOP;
    
      DELETE FROM WWV_FLOW_FILES where name = :P2_FILE_UPLOAD;
      DELETE FROM TEMP_MM_UPDATE WHERE USERNAME IS NULL AND PCFN IS NULL;
      IF(v_error_cd = 1) THEN
        INSERT INTO temp_mm_update (USERNAME, ERROR_DESC)
        VALUES (:P1_USER_ID, 'Error. Please check column order in spreadsheet.');
      END IF;
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
        insert into temp_mm_update (username,error_desc)
        values (:P1_USER_ID, 'No Data Found.');
      WHEN OTHERS then
        v_errmsg := SQLERRM;
        insert into temp_mm_update (username,error_desc)
        values (:P1_USER_ID, v_errmsg);
    END;
    

Maybe you are looking for