Servlet Working in one context but not another

I'm not a sys admin, so I'm hoping this is an easy question and I'm just missing something. I have a web site with several contexts that share most of the same code. One of the contexts has the real files in it, and all the others have symbolic links to the files. This has always worked fine. The application uses .jsps and java objects, but to date no servlets were used.
We just added our first servlet, which is used to download binary file information created by a jsp and passed to it. This works fine in the context that has the real files in it, but we get a 404 error in the other contexts. All the contexts link to the primary web.xml file from the default (working) context. We also tried copying the web.xml file to each context rather than linking it, but that didn't help.
If anyone has a suggestion, I'd appreciate it. Thanks in advance for your time,
Richard

sorry all...figured it out...had a BIN$ trigger on the site_main that I had removed on the 10g R1 dev database after I had already created the dump file for the 10g R2 upgrade test db....removed this and everything works fine. This trigger was causing the site id to be re-populated from the sequence, thus not matching up when it attempted the site_detl insert.

Similar Messages

  • Implicit read with assembly module instance working on one computer, but not another

    Hi,
    I'm trying to set up an on-site computer to run a VI which uses assembly instances for data communication, but for some reason I'm unable to establish a connection to the PLC.
    I'm running the example vi "CreateAssemblyInstance.vi" to try and get the communication set up before I start using my actual program.
    When I run this code on my development machine, I'm able to establish a connection to the PLC and read data. I then go into RSLogix 5000 and change the IP address to the on-site machine and try to run the test VI there, but I'm unable to make a connection. LabVIEW-side, the program thinks that it's established a connection and is reading/writing data, but PLC-side I'm getting a "Connection Failed" message in RSLogix.
    I find it weird that LabVIEW thinks the connection was established just fine, which the RSLogix says it can't connect to the VI.
    Just wondering if anyone else has had this happen. We aren't sure why the same VI runs on one machine but not another. We used RSLogix to change the IP address of the target machine, so we don't think that's the issue. And both computers are on the same network, so we don't think it's a firewall issue either.
    LabVIEW-side, things should be identical. I'm running the same example VI that came with the Ethernet/IP module. PLC-side, we're changing the target IP of the module within RSLogix 5000 (and we're sending the updated information to the PLC) to match the machine we're trying to make a connection with. Are we missing any steps? This is the first time we've tried using an assembly module, so we're having a hard time troubleshooting.
    Any ideas on why this is happening?

    I'm pretty sure we're using a generic ethernet module:
    I can communicate explicitly with the problem computer, it's able to use 'Tag Read' and 'Tag Write' to communicate with the PLC.
    We started having another problem just recently too. The Tag Read and Write commands are almost always timing out. I keep getting the error message -251723752:
    Detailed error info: Error -251723752 occurred at EthernetIP Tag Read REAL.vi;Details: The request response was not received in the requested timeout period    Possible reason(s):  Ethernet/IP Industrial Protocol: (Hex 0xF0FF0018) The request response was not received in the requested timeout period
    I can't figure out what's causing this all of a sudden, could these issues be related?

  • Home sharing works with one account but not another?

    My family has an apple tv, we've been having problems setting up the home sharing and tried everything. We eventually decided to try my brother's apple id instead of my mother's and it worked. So my question is; why does home sharing not work with one id but works with the other? any suggestions to get it to work with my mother's id?

    Try resetting the Apple TV. enter your mother's ID again. Then remove her ID on iTunes and re-add it. Then see if it works this time.

  • Safari works for one user but not another on same computer

    MacBook with multiple user accounts. Safari (and Firefox) work fine for one user but are unable to open web pages when the other user is logged in. The error in Safar is "Safari can't open the page "http://xxxxxxxxx/" because it could not connect to the server "/xxxxxxx/" . DNS is working for this user. I am able to ping any number of sites from Terminal. Network Preference pane is configured to not require any proxy. This is a case of it was working but now it's not.
    Can anybody help with this? I know I can fix this by simply creating another user and transfering the affected user's data to the new account but I would rather not. TIA

    HI Bob,
    You can test your settings by clicking the big "Test My DNS" button at <https://www.dns-oarc.net/oarc/services/dnsentropy>. If you see "Poor" on any of the tests, don't use that domain name server! Remove it from Apple Menu => System Preferences =>Network =>DNS Servers or similar location in your router if you've got a 'home network'. If all you have is "poor" DNS servers in your list, call your ISP and insist that they give you the address of a name server which is protected against the recently exposed DNS cache-poisoning threat.
    Also, open System Preferences/Network. Click the DNS tab. Add these numbers in the DNS Servers box.
    208.67.222.222
    208.67.220.220
    See if that helps.
    Carolyn

  • Identical actionscript works in one frame but not another...?

    Hi all,
    I'm working on this electronic sheep creator for my Masters
    degree (don't ask haha..) which is online at
    [url]www.aegreen.co.uk/creativetech/[/url] . The problem I'm having
    is that a piece of actionscript I'm using for saving the sheep as a
    jpg using BitmapData works in one frame with one movie clip but not
    in another frame..
    In frame 1 I create two movie clips - mc_modifysheep and
    mc_dna:
    [CODE]on(release) {
    _root.createEmptyMovieClip("mc_modifysheep", 1)
    mc_modifysheep._x = 150;
    mc_modifysheep._y = 70;
    mc_modifysheep.attachMovie("sheep_body", "body", 1, {_x:42,
    _y:65});
    mc_modifysheep.attachMovie("sheep_head", "head", 2, {_x:0,
    _y:0});
    mc_modifysheep.attachMovie("sheep_legs", "legs", 3, {_x:77,
    _y:215});
    _global.bodycolour = "default";
    _global.headcolour = "default";
    _global.legscolour = "default";
    _root.createEmptyMovieClip("mc_dna", 2)
    mc_dna._x = 0;
    mc_dna._y = 0;
    mc_dna.attachMovie("mc_DNA_empty", "DNA empty", 1, {_x:8,
    _y:360});
    mc_dna.attachMovie("mc_dna_default_default_top", "top", 2,
    {_x:45, _y:374});
    mc_dna.attachMovie("mc_dna_default_default_right", "right",
    3, {_x:65, _y:400});
    mc_dna.attachMovie("mc_dna_default_default_left", "left", 4,
    {_x:32, _y:401});
    gotoandstop(2);
    }[/CODE]
    the sheep in 'mc_modifysheep' and the dna in 'mc_dna' are
    built up over frames 2 and 3 and then in frame 4 the user decides
    whether the sheep is given freedom or captivity. If freedom is
    chosen then the user is prompted to name their sheep and the movie
    clip mc_modifysheep is saved as a jpg on the server using
    BitmapData and PHP. If captivity is chosen then the user is
    prompted to name the dna and the movie clip mc_dna is meant to be
    saved as a jpg on the server but only a white blank jpg is
    produced, not what is contained in mc_dna.. I've tried all sorts
    but I can't figure out why it's doing this..
    Here's the code I'm using, that works, to save the
    mc_modifysheep:
    [CODE]import flash.display.BitmapData;
    btn_freedom.onPress = function() {
    freedom();
    function freedom() {
    snap_sheep = new BitmapData(305, 290);
    snap_sheep.draw(mc_modifysheep);
    var pixels:Array = new Array();
    var w:Number = snap_sheep.width;
    var h:Number = snap_sheep.height;
    var a:Number = 0;
    var sn:String = txt_Freedom.text;
    high = 99999;
    low = 00000;
    ran =
    Math.floor(Math.random()*(Number(high)+1-Number(low)))+Number(low);
    var rn:Number = ran
    var filename:String = dn+sn;
    for (var a = 0; a <= w; a++) {
    for (var b = 0; b <= h; b++) {
    var tmp = snap_sheep.getPixel(a, b).toString(16);
    pixels.push(tmp);
    var freedomoutput:LoadVars = new LoadVars();
    freedomoutput.img = pixels.toString();
    freedomoutput.height = h;
    freedomoutput.width = w;
    freedomoutput.filename_sheep = filename;
    freedomoutput.send("save_sheep.php", "_self", "POST");
    stop();[/CODE]
    and here's the near identical code apart from different
    variable/movieclip names I'm using to try and save (but failing)
    mc_dna:
    [CODE]import flash.display.BitmapData;
    btn_capt.onPress = function() {
    capt();
    function capt() {
    snap_dna = new BitmapData(305, 290);
    snap_dna.draw(mc_dna);
    var pixels:Array = new Array();
    var w:Number = snap_dna.width;
    var h:Number = snap_dna.height;
    var a:Number = 0;
    var dn:String = txt_Capt.text;
    high = 99999;
    low = 00000;
    ran =
    Math.floor(Math.random()*(Number(high)+1-Number(low)))+Number(low);
    var rn:Number = ran
    var filename:String = dn+rn;
    for (var a = 0; a <= w; a++) {
    for (var b = 0; b <= h; b++) {
    var tmp = snap_dna.getPixel(a, b).toString(16);
    pixels.push(tmp);
    var captoutput:LoadVars = new LoadVars();
    captoutput.img = pixels.toString();
    captoutput.height = h;
    captoutput.width = w;
    captoutput.filename_dna = filename;
    captoutput.send("save_dna.php", "_self", "POST");
    stop();[/CODE]
    I know it's a problem with the flash and not the PHP as I've
    tested for that, definately in the flash. I just don't understand
    how the same code can capture mc_modifysheep, but not mc_dna.
    argh!!!
    If you need to take a look at the FLA file it's up at
    [url]www.aegreen.co.uk/creativetech/dohumansdream.fla[/url]
    Thanks everyone!!

    If you dont find anything specific, a lot of the problems i
    encounter like this are because one little thing is spelled wrong.
    like it doesnt match whats in your php file, ect. my suggestion,
    though a long one, if you know its supposed to work, and theres no
    syntax error, re type it, not copy and paste, and just be careful.
    keep tripple checking. you might not even find what was spelled
    wrong, but it might fix the situation,

  • Downloading a file via a procedure works in one app but not another

    Obviously I've overlooked something. I have this procedure (following). It works in one application that has been running for a couple years. It is called from Column Link with this value #OWNER#.DOWNLOAD_ATTACHED_FILES?p_file=#DOWNLOAD_LINK#
    I'm now making a new application and want the same facility but this same procedure gives me a page not found error even though the error page URL looks like: .../apex/GMCTRL.DOWNLOAD_ATTACHED_FILES?p_file=42 which seems to me that it should work correctly. (the row with the value 42 does exist in the DB)
    Is there a setting/flag/thing that I have to set to make this work in my new application that I've overlooked? (both are APEX 3.1.1 and oracle 11g)
    create or replace PROCEDURE "DOWNLOAD_ATTACHED_FILES" (p_file in number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, RPT_DOCUMENT_BLOB_IMG, RPT_DOCUMENT_FILE_NAME_TX, DBMS_LOB.GETLENGTH(RPT_DOCUMENT_BLOB_IMG)
    INTO v_mime, lob_loc,v_file_name,v_length
    FROM RPT_DOCUMENT_BLOB
    WHERE RPT_DOCUMENT_BLOB_ID = p_file;
    owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    htp.p('Content-length: ' || v_length);
    htp.p('Content-Disposition: attachment; filename="'||substr(v_file_name,instr(v_file_name,'/')+1)|| '"');
    owa_util.http_header_close;
    wpg_docload.download_file( Lob_loc );
    end download_attached_files;

    Hello:
    Ensure that
    GMCTRL.DOWNLOAD_ATTACHED_FILES is executable by oracle account used by APEX to connect to the database (apex_public_user or anonymous)
    GMCTRL.DOWNLOAD_ATTACHED_FILES is included into 'WWV_FLOW_EPG_INCLUDE_MOD_LOCAL' as an authorized procedure. See Re: link can't find a stored procedure
    Varad

  • WDTHEMEROOT works in one client but not another

    I'm looking at using the WDTHEMEROOT application parameter to set a theme. I've set it to 'sap-chrome' in our development client and that works fine when I test the application. When I log into another client on the same system, however, the WDTHEMEROOT  parameter has no effect. I'm guessing there is a setting in the first client but not in the second but I don't know what that might be. Any ideas ?
    thanks,
    Malcolm.

    Well,
    I guess my excitement was shortlived. I changed the theme and did whatever the note suggested. It worked!
    But then I changed it back to 'sap_chrome' and did all that the note suggested - it did not work. I am now stuck with the new incomplete theme and am  not able to change it back to what it was earlier.
    Any Help?
    Thanks,
    Sanjiv

  • Apps work in one location but not another

    Some apps (iheartradio and tvguide) work fine from my home wifi, but not in another wifi area (at work, which has better wifi).  Other apps such as pandora work fine at both locations.  What is the difference and how can I get all apps to work everywhere?

    It's entirely possible that your employer has blocked certain ports on the corporate firewall, which will prevent some apps from working.

  • Flash not working for one user, but not another on this CPU

    Hi,
    For user A on my computer most video will play in Safari, Firefox, and Chrome. But video at nfl.com will not play. The ads will play but not the actual feature.
    I just found out that the videos on nfl.com will work for user B. I have rerun the Adobe Flash 10.1 installer in user A's account several times with no luck.
    Are there permissions or libraries I should trash to try to restore this capability?
    thanks,
    Steve

    HI,
    For user A on my computer
    Try uninstalling the current copy of Flash, reinstall new, then repair permissions.
    Uninstall Flash
    Install the most recent version of Flash here.
    Now repair permissions.
    Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    You may also need to delete the Flash cache. Instructions here.
    http://discussions.apple.com/thread.jspa?messageID=11672709&#11672709
    If that doesn't help, install the v10.6.4 Combo Update It's ok to do this even though you are already running v10.6.4.
    Carolyn

  • Script works for one frame but not another

    I set up 2 keyframes, each one loads a different text file
    into a dynamic text box. The text box for the first keyframe is
    named "session" and the text box for the second keyframe is named
    "oneptq". The text file for the first text box is named Titles.txt
    and the text file for the second keyframe is 100Q.txt. The code I'm
    using is identical (except for the respective names of the text
    boxes and text files) but for some reason the text will load in the
    first text box but not the second.
    Here's my AS for the first keyframe:
    lvLoader = new LoadVars();
    lvLoader.onLoad = function(success)
    if(success)
    session.text = lvLoader.textbody;
    lvLoader.load("Titles.txt");
    And my AS for the second keyframe:
    lvLoader = new LoadVars();
    lvLoader.onLoad = function(success)
    if(success)
    oneptq.text = lvLoader.textbody;
    lvLoader.load("100Q.txt");
    I can't figure this thing out. Please help. Thanks.

    Have you double checked that it's a DYNAMIC text box? Maybe
    it was accidentally swapped by to static at some point...

  • Synaptics touchpad on 4540s works for one person but not another

    The Synaptics touchpad on my ProBook 4540s (Win 7) works normally when I use it but when my wife tries to use it, the touchpad is unresponsive after a very slight initial cursor movement.  (Anticipating replies - Yes,  she casts a shadow, pictures of her come out normally, and she has a visible reflection in a mirror.)     The touchpad sensitivity setting is maxed on light touch and cursor speed is maxed.  
    She has relatively small hands, and long nails, but she had no difficulty using the touchpad on our old HP dv9910us and has no problem with an iPad touchscreen.  This week she tried the touchpad on a Sony VAIO that was so worn most of the original surface coating is gone, and had no problem moving the cursor on that machine either.   She even tried the awkward solution of using her knuckle instead of her fingertip on the HP in case her nails were getting in the way, but that didn't work either.  
    Not having used a 4540s before, and not having access to another one to compare, I have no way to tell whether this is a bad individual touchpad unit or a design issue.   If a design issue, what's the workaround?     For instance, is there a skin I can put on the touchpad to increase its conductivity?

    A friend of mine bought a ProBook 4540s yesterday. At Microcenter we noticed that the touch pad often would stop working for her, and sometimes for me, but it usually worked for me. She bought the laptop, and we she got it home we noticed the same problem. I played with the touchpad a little and noticed this pad has a very narrow window of operation. With the 14.1" HP's like the nc6220 or nc6400, you can use one finger, two fingers, even three fingers, and the mouse responds nicely. However if too much surface area is in contact with the touchpad of the 4540s it doesn't work. Too much surface area is the pad of your finger. Because my friend has long nails, she was laying her finger pretty flat on the touch pad, and it wouldn't work. When I used the pad like this it wouldn't work for me either. Because I have short finger nails I have always used the lower end of my tip. This works pretty well with the 4540s. Pressure seems to have little affect. It is a matter of surface area, and the acceptable area has a small range!

  • Why does iPhoto 8.1.2 work on one iMac but not another when both are the same spec both running Mavericks 10.9.1?

    I have a studio of 7 iMacs all running Mavericks 10.9.1, six of the machines are able to open iPhoto 8.2.1 but for some reason after updating the seventh, iPhoto vanished completely from that machine. I reinstalled it from a copy I had saved on a HDD but it now says it's unsupported with this version of OSX. I don't want to pay the £10 + for a piece of software that is only being used to import photos from the occasional iPhone so wont be installing the new version, especially as I know 8.2.1 does work on Mavericks.
    Any suggestions?
    Many thanks

    Reinstall v8 from the install disk as, at a guess, the version of the HDD is missing components.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2. Download it from the App Store to reinstall It's on your Purchases List* there.
    For older versions that have been installed from Disk you'll need these additional steps:
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 or later they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    *Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.

  • Works in one tool, but not another...same environment.

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    I'm trying to build a view. It works in TOAD 11.6. It works in Oracle SQL Developer 1.1.3.
    But when I try to run it via SQL/PLUS (putty connection)....it fails.
    alter session set current_schema = fs_nris_fsveg;
    CREATE OR REPLACE FORCE VIEW FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM
       STAND_CN,
       STAND_ID,
       PLOT_CN,
       PLOT_ID,
       STANDPLOT_CN,
       STANDPLOT_ID,
       TREE_CN,
       TREE_ID,
       TAG_ID,
       SITE_TREE_FLAG,
       TREE_COUNT,
       HISTORY,
       SPECIES,
       DIAMETER,
       DIAMETER_HT,
       DG,
       HT,
       HTG,
       HTTOPK,
       HT_TO_LIVE_CROWN,
       CRCLASS,
       CRRATIO,
       DAMAGE1,
       SEVERITY1,
       DAMAGE2,
       SEVERITY2,
       DAMAGE3,
       SEVERITY3,
       DEFECT_CUBIC,
       DEFECT_BOARD,
       TREEVALUE,
       PRESCRIPTION,
       AGE,
       SLOPE,
       ASPECT,
       PV_CODE,
       PV_REF_CODE,
       TOPOCODE,
       SITEPREP
    AS
       SELECT DISTINCT
              s.cn stand_cn,
              s.setting_id stand_id,
              p.cn plot_cn,
              NRV_FVS_DB.To_Num (
                 SUBSTR (p.level_2_id, GREATEST (-1 * LENGTH (p.level_2_id), -4)))
                 plot_id,
              s.cn || '_' || LPAD (p.level_2_id, 4, '0') standplot_cn,
              s.setting_id || '_' || LPAD (p.level_2_id, 4, '0') standplot_id,
              t.cn tree_cn,
              NVL (t.unique_no, NRV_FVS_DB.To_Num (t.tag_id)) tree_id,
              t.tag_id tag_id,
              DECODE(t.site_tree_flag,  NULL, 0,  'Y', 1,  NULL) site_tree_flag,
             -- Check for sub-sampling, calculate stand level tpa equiv if sub-sampling, and      
             -- plot-level tpa equiv if no sub-sampling                                           
              DECODE(
                 s.Has_Sub_Sampling,
                 'Y',                                             /*If sub-samp */
                     ROUND (NRV_TREE.Stand_Equiv (t.cn, t.tpa_equiv, s.cn), 5),
                 /*else not    */
                 t.tpa_equiv)
                 tree_count,
              NRV_FVS_DB.To_History (t.live_dead,
                                     t.recent_mortality_flag,
                                     t.tree_status,
                                     t.tree_class)
                 history,
              t.species_symbol species,
              DECODE(t.diameter_method, 'C', NULL, NVL (t.diameter, 0.1))
                 diameter,
              t.diameter_height diameter_ht,
             -- /* For GST trees only: artf21577 radial growth bug                                                         *
              -- *   If the setting has any prev dia measurements and a prev meas date, DG = fia previous diam measurement *
              -- *   Otherwise, DG = radial growth                                                                         */
             -- /* TO_NUMBER(DECODE(t.growth_sample_tree_flag, NULL, NULL
              --                ,DECODE(NRV_FVS_DB.get_dg_trans(p.setmeas_cn_of)
                --              ,0, t.radial_growth/10  -- Division by 10 to convert units from tenths to inches
                --              ,1, t2.diameter_previous
                 --             ,NULL))) dg, */
              --TO_NUMBER(DECODE(NRV_FVS_DB.get_dg_trans(p.setmeas_cn_of),0, t.radial_growth/10,  -- Division by 10 to convert units from tenths to inches
              --                 1, t2.diameter_previous,NULL)) dg,  -- art24653
              DECODE(
                 t.radial_growth_method,
                 'C', NULL,
                 TO_NUMBER (
                    DECODE(NRV_FVS_DB.get_dg_trans (p.setmeas_cn_of),
                            0, t.radial_growth / 10, -- Division by 10 to convert units from tenths to inches
                            1, t2.diameter_previous,
                            NULL)))
                 dg,                                                   -- art24653
              DECODE(t.height_method, 'C', NULL, t.height) ht,
              --DECODE(t.height_growth_method, 'C', NULL,
              --round(DECODE(t.growth_sample_tree_flag, NULL, NULL, t.height_growth),4)) htg,  -- artf7599 GST tree (dg and htg issue)
              DECODE(t.height_growth_method,
                      'C', NULL,
                      ROUND (t.height_growth, 4))
                 htg,                                                  -- art24653
              DECODE(
                 t.height_to_break_method,
                 'C', NULL,
                 NRV_FVS_DB.To_Height_Top_Kill (t.height_topkill,
                                                t.height_to_break))
                 httopk,
              DECODE(t.crown_base_height_method, 'C', NULL, t.crown_base_height)
                 ht_to_live_crown,
              t.crown_class crclass,
              DECODE(
                 t.crown_ratio_method,
                 'C', NULL,
                 DECODE(
                    NRV_FVS_DB.Only_1_Digit_CRs (s.cn),
                    'Y',                                      /*all 1-digit CRs */
                        t.crown_ratio,
                    /*1- and 2-digit CRs*/
                    DECODE(GREATEST (NVL (t.crown_ratio, -1), 1),
                            LEAST (NVL (t.crown_ratio, -1), 9),      /*CR < 10  */
                                                               10,
                            /*CR >= 10 */
                            t.crown_ratio)))
                 crratio,                            -- artf9733 crown ratio issue
              NRV_FVS_DB.Get_Damage (t.cn, 1) damage1,
              NRV_FVS_DB.Get_Severity (t.cn, 1) severity1,
              NRV_FVS_DB.Get_Damage (t.cn, 2) damage2,
              NRV_FVS_DB.Get_Severity (t.cn, 2) severity2,
              NRV_FVS_DB.Get_Damage (t.cn, 3) damage3,
              NRV_FVS_DB.Get_Severity (t.cn, 3) severity3,
              (  SELECT SUM (td.effect_severity)
                   FROM nrv_tree_disturbances td
                  WHERE t.cn = td.tremeas_cn AND td.effect_code = '014'
               GROUP BY td.tremeas_cn)
                 defect_cubic,
              (  SELECT SUM (td.effect_severity)
                   FROM nrv_tree_disturbances td
                  WHERE t.cn = td.tremeas_cn AND td.effect_code = '013'
               GROUP BY td.tremeas_cn)
                 defect_board,
              /* first check to see if the plot is nonstockable, otherwise assign tree value. */
              DECODE(
                 NRV_FVS_DB.Is_Plot_Nonstockable (p.cn,
                                                  s.region_proc,
                                                  s.loader_version),
                 'Y',                                             /*nonstockable*/
                     8,
                 /* else */
                 NRV_FVS_DB.To_Tree_Value (t.tree_class))
                 treevalue,
              NRV_FVS_DB.To_Num (t.first_treatment_option) prescription,
              --t.age age,
              DECODE(t.age_method,  'DC', NULL,  'TC', NULL,  t.age) age,
              NVL (p.slope, c1.slope) slope,
              NRV_FVS_DB.To_Aspect_Zero (NVL (p.aspect, c1.aspect)) aspect,
              NVL (p.pv_code, c1.pv_code) pv_code,
              NVL (p.pv_ref_code, c1.pv_ref_code) pv_ref_code,
              NRV_FVS_DB.To_Topo_Code (p.slope_position) topocode,
              DECODE(c1.cn,
                      NULL,                                /*no condition record*/
                           NRV_FVS_DB.get_plot_siteprep (p.cn),
                      /*else               */
                      NRV_FVS_DB.get_condition_siteprep (s.cn, c1.cn))
                 siteprep
         FROM nrv_tree_measurements t,
              nrv_fia_tree_measurements t2,
              nrv_setting_measurements p,
              /* sub-select to improve efficiency - to unravel sub-sampling only once per stand-level. */
              (SELECT cn,
                      setting_id,
                      region_proc,
                      loader_version,
                      NRV_FVS_DB.Has_Sub_Sampling (cn) has_sub_sampling
                 FROM nrv_setting_measurements
                WHERE setmeas_cn_of IS NULL) s,
              nrv_fia_mapped_conditions c1
        WHERE     t.setmeas_cn = p.cn
              AND p.setmeas_cn_of = s.cn
              AND t.cn = t2.tremeas_cn(+)
              AND t.mapcond_cn = c1.cn(+)
              AND t.off_plot_flag IS NULL
              AND (t.tree_status IS NULL OR t.tree_status IN ('D', 'L'))
              AND (   t.tree_class IS NULL
                   OR t.tree_class IN
                         ('AC',
                          'DE',
                          'GS',
                          'RF',
                          'RN',
                          'S',
                          'SV',
                          'UA',
                          'US',
                          'WS',
                          'H',
                          'U',
                          'D'))
              AND t.down_flag IS NULL;
    COMMENT ON TABLE FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM IS 'Provides FVS tree-level information from derived from various FSVeg data tables.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.STAND_CN IS 'Database control number for parent setting record.  This provides a foreign key to NRV_FVS_STANDINIT_VM.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.STAND_ID IS 'Stand Identification Code.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.PLOT_CN IS 'Database control number for child setting record.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.PLOT_ID IS 'Plot Identification number.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.TREE_CN IS 'Database control number for individual trees.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.TREE_ID IS 'Tree Identification Code - unique number.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.TREE_COUNT IS 'Tree Count rounded to 5 decimal places.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.HISTORY IS 'History Code. 1=live trees, 6=died during mortality observation, 8=died before mortality observation period';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.SPECIES IS 'Tree Species Code.  NRCS plants code.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.DIAMETER IS 'Tree Diameter measurement in inches.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.DIAMETER_HT IS 'Height in feet above ground where the diameter was measured.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.DG IS 'Diameter Growth in inches.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.HT IS 'Tree Height measurement in feet.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.HTG IS 'Height Growth in feet.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.HTTOPK IS 'Height to top kill is the height to the point of the tree of top kill in feet';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.CRRATIO IS 'Percent live crown.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.DAMAGE1 IS 'Damage Code #1';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.SEVERITY1 IS 'Severity Code corresponding to damage code #1';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.DAMAGE2 IS 'Damage Code #2';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.SEVERITY2 IS 'Severity Code corresponding to damage code #2';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.DAMAGE3 IS 'Damage Code #3';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.SEVERITY3 IS 'Severity Code corresponding to damage code #3';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.TREEVALUE IS 'Tree Value Class Code. 1=desirable, 2=acceptable, 3=cull, 8=non-stock-able plot.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.PRESCRIPTION IS 'Prescription Code.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.SLOPE IS 'Slope Percentage of level-2 setting (plot) or FIA condition class.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.ASPECT IS 'Aspect in degrees of level-2 setting (plot) or FIA condition class.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.PV_CODE IS 'Potential Vegetation Code of level-2 setting (plot) or FIA condition class.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.PV_REF_CODE IS 'Potential Vegetation Reference Code -- the document from which the PV_CODE was obtained.';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.TOPOCODE IS 'Topography Code of level-2 setting (plot) 1=bottom, 2=lower, 3=mid slope, 4=upper slope, and 5=ridge top';
    COMMENT ON COLUMN FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM.SITEPREP IS 'Site Preparation Code of level-2 setting or FIA condition class. 1=none, 2=mechanical, 3=burn, 4=road';
    DROP PUBLIC SYNONYM NRV_FVS_TREEINIT_VM;
    CREATE OR REPLACE PUBLIC SYNONYM NRV_FVS_TREEINIT_VM FOR FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM;
    GRANT SELECT ON FS_NRIS_FSVEG.NRV_FVS_TREEINIT_VM TO PUBLIC WITH GRANT OPTION;ERROR:
    SQL> @nrv_fvs_treeinit_vm.sql
    SP2-0042: unknown command "DECODE(" - rest of line ignored.
    SP2-0734: unknown command beginning "t.radial_g..." - rest of line ignored.
    SP2-0042: unknown command "'C', NULL," - rest of line ignored.
    SP2-0734: unknown command beginning "TO_NUMBER ..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "DECODE(NRV..." - rest of line ignored.
    SP2-0734: unknown command beginning "0, t.radia..." - rest of line ignored.
    SP2-0734: unknown command beginning "1, t2.diam..." - rest of line ignored.
    SP2-0042: unknown command "NULL)))" - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "dg,             ..." - rest of line ignored.
    SP2-0734: unknown command beginning "DECODE(t.h..." - rest of line ignored.
    SP2-0734: unknown command beginning "DECODE(t.h..." - rest of line ignored.
    SP2-0042: unknown command "'C', NULL," - rest of line ignored.
    SP2-0734: unknown command beginning "ROUND (t.h..." - rest of line ignored.
    SP2-0734: unknown command beginning "htg,      ..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0042: unknown command "DECODE(" - rest of line ignored.
    SP2-0734: unknown command beginning "t.height_t..." - rest of line ignored.
    SP2-0042: unknown command "'C', NULL," - rest of line ignored.
    SP2-0734: unknown command beginning "NRV_FVS_DB..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "t.height_t..." - rest of line ignored.
    SP2-0042: unknown command "httopk," - rest of line ignored.
    SP2-0734: unknown command beginning "DECODE(t.c..." - rest of line ignored.
    SP2-0734: unknown command beginning "ht_to_live..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "t.crown_cl..." - rest of line ignored.
    SP2-0042: unknown command "DECODE(" - rest of line ignored.
    SP2-0734: unknown command beginning "t.crown_ra..." - rest of line ignored.
    SP2-0042: unknown command "'C', NULL," - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0042: unknown command "DECODE(" - rest of line ignored.
    SP2-0734: unknown command beginning "NRV_FVS_DB..." - rest of line ignored.
    SP2-0734: unknown command beginning "'Y',      ..." - rest of line ignored.
    SP2-0734: unknown command beginning "t.crown_ra..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "DECODE(GRE..." - rest of line ignored.
    SP2-0734: unknown command beginning "LEAST (NVL..." - rest of line ignored.
    SP2-0042: unknown command "10," - rest of line ignored.
    SP2-0734: unknown command beginning "t.crown_ra..." - rest of line ignored.
    SP2-0734: unknown command beginning "crratio,  ..." - rest of line ignored.
    SP2-0734: unknown command beginning "NRV_FVS_DB..." - rest of line ignored.
    SP2-0734: unknown command beginning "NRV_FVS_DB..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "NRV_FVS_DB..." - rest of line ignored.
    SP2-0734: unknown command beginning "NRV_FVS_DB..." - rest of line ignored.
    SP2-0734: unknown command beginning "NRV_FVS_DB..." - rest of line ignored.
    SP2-0734: unknown command beginning "NRV_FVS_DB..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
                 defect_cubic,
    ERROR at line 5:
    ORA-00933: SQL command not properly ended
    Comment created.(all other comments and further commands succeed.
    So what could be causing it to crashin SQL/PLUS through PUTTY? This makes no sense to me.
    I've also ran it through the code formatter, as this will often show the ugly face of something that is hidden. But no such luck.

    Willy_B wrote:
    I removed the one that was listed, thinking that it was implicit to that line. BUT of course, I just went back and removed EVERY empty line, even between the comments and all...and it worked.
    So the lesson here is that PL/SQL could care less about white space, but SQLPlus is picky....
    Thanks. :)Exactly. And I have to make note of that in my written procedure for restoring some of our test databases from a cold backup of production. Turns out the control file trace script (backup controlfile to trace) inserts a blank line ... then sqlplus chokes on it when executing ..

  • Video works with one friend but not another?? please HELP!

    my ichat video isn't connecting with my friend christina. we've taken turns calling each other and my computer keeps saying "no data has been received in 10 seconds" i can hear the ringing and then when we go to connect thats when the message comes up and cancels the call. at the same exact time my other friend sam was online so to test out my video chat i called her. & it worked. christina also connected with sam separately & that worked. then we tried a conference where all 3 of us could chat, and sam started it and invited both of us. it worked and we could all talk & see each other. however for some reason i can't connect to just christina. what's going on?

    Hi,
    Welcome to the    Discussions
    iChat can have several messages on a failed chat.
    The "No Data for 10 Secs" one only appears on chats that connect (even if you don't see the Video)
    Basically it point to an issues between iChat at the Internet.
    The same Result can be achieved by pulling the Ethernet cable out or turning the Airport card off or powering down the modem or router.
    So we have to look at what can produce a similar break in the Internet connection without the drastic steps above.
    Some modem and router have "protection" features that will do this.
    Denial of Service (DoS) tries to make sure any data that come to your Computer does so at a rate it can handle.
    It was originally designed to protect Web Servers from "attacks" where too many requests coming to frequently used to bring servers and their Internet connections to halt.
    So Dos is threshold based,. It will cut any port that it thinks there is an "Attack" on.
    Video chats can send lots of data.
    These thresholds that are preset in the device tend to be set at Web page streaming speeds (allowing for multiple requests on popular servers) - but also at older Internet Speeds.
    Modern Speeds and things like iChat Streaming two way Video can mean that certain Buddies can send you data faster than the threshold is set for particularly with iChat 5.
    Stateful Packet Inspection (SPI) works differently but can only process a certain amount of data and will cut the port that is causing it to be overloaded making it Threshold based as well.
    There is no way to change the thresholds involved so the best course of action is to Disable the feature.
    So the Speed Sam has to send you Video may be lower than that of Christine and not bump into the threshold.
    If Sam is the Host then it the Speed of that Internet Connection that governs how fast Data is sent to you.
    One solution is to cap iChat in iChat > Preferences > Audio/Video Menu to 500kbps on the all Buddies involved.
    If this solve the issue between you and Christine then you can move on to your Modem or router.
    8:16 PM Sunday; June 6, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
    Message was edited by: Ralph Johns (UK)

  • BusObj XI R2 Deski login error for user - works on one PC but not another

    Hi,
    I have a user logging into Deski on her PC but getting:
    [repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(Enteprise authentication could not log you on. Please make sure your logon information is correct.(hr=#0x80042902)
    If she logs in on my PC her ID/password works just fine.
    We reinstalled Deski and cleared any server information but with no difference.
    And here's the odd thing.... I can login OK on her PC... so the client looks installed OK.
    Any ideas?
    Thanks,
    Dean

    HI Dean,
    The issue could be that the user account might have got corrupted.We can delete the user preferences from the registry.
    When the user logins to dektopintelligence, it recreates the user information in registry.
    Note:Take a backup of the registry of client's PC,before making any changes.
    Click on File->Export
    Save the registry information.
    ->Click on Start->Run->regedit
    ->Select HKEY_CURRENT_USER->Software->Business Objects->Suite 11.5->default->Application Preferences
    ->Delete Business Objects Reporter.
    ->Also delete the User Pref (the account with which you have logged into the system).
    Now try to test the issue by logging to deski.
    Hope the information helps!!
    Regards,
    Shubha.

Maybe you are looking for

  • Shared variables in Oracle

    Hi, I have written stored procedures to do error and trace logging. For the file write operation I need the file location and file name values, which I dont want to hardcode in my stored procedures / variables in packages. Is there any feature availa

  • APP-Vendor banks

    Hi SAP folks, I have a question here. Can anybody pl send me your thoughts/ideas on the following thread....... - Vendor is having 5 bank accounts at different locations and having 10 open items. Now while running APP client wants to pay 3 invoices w

  • How do I find the percent symbol on ipad?

    how do I find the percent symbol on ipad?

  • Doubt on line removal in JTextArea

    Hi All, I have 3 lines which are on the JTextArea like sample.pl sample1.pl sample2.pl So i want to remove the whole from Jtextarea..how is it possible?? thanks in advance. regards, Viswanadh

  • Tax amount also fetting posted in GR

    Dear Experts,                       I have created a new pricing procedure,selected a tax code in PO       1000   basic price        100    BED         2       Ecess         1       HEcess       1103   Total Now when i go for GR this total 1103 is ge