Strange RMI behavior and data

Hello:
I have a very difficult and strange problem. I am hoping somebody can spot what is going on or maybe tell me I am way off.
I have a client-server application that uses RMI for network communication. The server is a database and the clients insert, update and delete data from it. When a client starts up, it does Naming.lookup, and upon a success, will register some callback methods so that it gets notified of any changes to the database.
Everything works, but the performance is somewhat sketchy. For example, I have one test where one client sends over 1,000 new items to the database. After about 10 seconds of great performance it suddenly stops, almost like it lost its connection. Then, after about 10-30 seconds later, it starts right back up and runs for another 10 seconds. I am not getting any exceptions thrown.
At first I thought this was a network configuration issue, but I am able to resolve names and IP address backwards and forwards across all the clients and the server.
I installed ethereal, a network sniffer, to try to find out what was going wrong. I noticed a strange pattern, between my clients and server. Every 10 seconds there is strange exchange between each client and the server that last about .1 of a second.
The client always sends the same 41 bytes of data and the server sends the same 23 bytes back, except for the second-to-last byte. That one is always incremented.
The exchange is continuously happening even when none of the clients are doing anything, which leads me to believe that it is just a normal part of RMI and isn�t doing anything. However, I have also noticed that my slowdowns ALWAYS occur when this happens. Below is a snippet of the data exchange between one of my clients and the server.
Has anybody ever seen this, or does anybody here have an idea of what is going wrong?
Client:
00000000 52
Server:
00000000 53
Client:
00000001 50 ac ed 00 05 77 22 00 00 00 00 00 00 00 02 01
00000011 82 0d da 00 00 01 0c ea 55 13 9f 80 00 ff ff ff
00000021 ff c6 90 44 fb 34 76 b1 8d
Server:
00000001 51 ac ed 00 05 77 10 01 01 82 0d da 00 00 01 0c
00000011 ea 55 13 9f 85 17 01
Client:
0000002A 52
Server:
00000018 53
Client:
0000002B 50 ac ed 00 05 77 22 00 00 00 00 00 00 00 03 01
0000003B 82 0d da 00 00 01 0c ea 55 13 9f 80 00 ff ff ff
0000004B ff c6 90 44 fb 34 76 b1 8d
Server:
00000019 51 ac ed 00 05 77 10 01 01 82 0d da 00 00 01 0c
00000029 ea 55 13 9f 85 18 01

Thanks for everybody�s help so far.
I have done some more testing and I found some usefull information in the transport.tcp log on the server side.
First, some background: I am now running with a single client attached to the database. My client is at 192.168.0.63 and my server at 192.168.0.21.
When my program starts up, my client opens up an RMI connection with the database to get the current data and to send database changes one. The client port is 3110 and the server port is 58252.
After I make the first change, the server makes a RMI connection back to my client to sends it datbase update. The server port is 58547 and the client is 3087.
I am sending the same two updates to the database every 5 seconds or so. After about 30 - 60, the database takes 12 seconds to contact the client where it normally take 0.005 seconds.
Just after the previous successfull update I saw this message
06:33 sun.rmi.transport.TCPChannel$Reaper run
FINER: RMI ConnectionExpiration-[192.168.0.63:3087]: wake up
Then at 6:36 I attemped to re-save another database object, I got my message that the server was about to attempt to fire off another update to the clients. Immediatly after that I got this log message
06:36 run.rmi.transport.tcp.TCPChannel new connection
FINE: Thread 3 - reuse connection
6 seconds afterwards I get this
6:44 sun.rmi.transport..tcp.TCPConnectionHandler run
FINE: RMI TCP Connection(3)-192.168.0.63 accepted from 192.168.0.63:3201
6: 44 sun.rmi.transport..tcp.TCPConnectionHandler run
FINE: RMI TCP Connection(3)-192.168.0.63(58252) suggesting 192.168.0.63:3201
6: 44 sun.rmi.transport..tcp.TCPConnectionHandler run
FINE: RMI TCP Connection(3)-192.168.0.63(58252) using 192.168.0.63:3087
The update to the client finishes at 6:48
In the packet sniffer I saw the same 12 second delay between the ACK and the PSH,ACK packets. In that delay, I saw that an RMI connection was initiated between the client on port 3201 and the server on port 585252. I am assuming that that connection is what was showing up at 6:44.
I guess that the connection between the database and the listener on the client is expiring for some reason. What I don't understand is why and who terminated the connection, the client or the server?
I was able to remove the program that was hiding my transport.tcp log messages, but I didn't see any of the connection re-establishment on the client side. Maybe I just didn't look hard enough

Similar Messages

  • Strange led behavior and more in 5800

    After some time of normal behavior, green and red leds stay "on" even in locked mode. After some time the phone shuts down; battery apparently isn't low at the moment of shutdown, but I have to recharge in order to turn it on. The 5800 is 14 months old and firmware is 50.0.05, I can't upgrade because 51.0.0.6 isn't available for my code.
    Some suggestions?
    Thanks
    Solved!
    Go to Solution.

    @ phonehacker, that is no excuse for your laziness, a reset should always be a last resort, not a quick fix. We have too many users here already that spam lazy answers, we don't need a "guru" doing it too.
    @giiovalazz - This is certainly odd behaviour. If you try to use the phone in a completely dark rook do the lights behave as normal? Are you 100% certain that your protector isn't covering the proximity sensor?
    A less aggressive reset method that you could try is dialling *#7780# (like a phone number). This will reset your settings (and can fix some odd behaviour) without removing your data or apps. It's always wise to backup just in case though. Be sure to test the phone before restoring any backups.

  • Strange iWeb behavior and how to resolve it

    Hi folks,
    I guess that some of you probably have or had a similar problem. My problem was:
    I wanted to change a name of a site within my web-site and so I did. I changed the name of my blog from "Blog" to "Namibia-Blog". After I published the change to .mac, I entered my site, but the navigation menu did not change. It still showd up "Blog". When I clicked on it, I got an errormessage "The site is not reachable"... So the entry within the code changed, but the link or path to ne new named site did not.
    I helped me with this workaraound, maybe you will find it useful: Move the index.html and the iweb folder on your .mac webspace (iDisk -> Web -> Sites) into another folder (like "backup"), publish your website to a folder on your harddrive and move the entire content except the index.html to a new folder named "iWeb".
    Then load this folder to the .mac webspace. Do not copy the new index.html, that will not work.
    When the upload has finished, move the old index.html out of the "backup" and place it beside the iWeb folder.
    Now the site is fully operational again with new/changed entry in the navigation-menu.
    After this you are still able update your site with iWeb and publich is directly to .mac as before...
    Note: Your web-site is not reachable during this activity!
    Anyone who has an aera for iWeb Tips on his side have my permission to post this Tip if you find it useful. Please place a link to my site, that's all I aks for...
    Anyway: If someone nows, how this can be done easier, without html-knowledge, let me now ;-))
    Dirk
    G4 1.2GHz 1GB RAM Mac OS X (10.4.6)

    Yes we were having the performance issues when it is getting locked? in this what i want to know
    why it happens suddenly?
    or what package this piece of code is calling?
    or is there any possiblity of system will degrade the performance like sys user etc...?
    where exactly i found the root cause for further analysis?
    so that next time onwards if particular objects is locking we come to know why it happens is there any logical false or how do we eliminate this issue last time?
    coz in our environment sometimes most of lockings are from the same table?
    pls let me know where i have to concentrate for debug and how to troubloshoot and reslove this
    sorry for the inconvience.. i m expecting the answer from here. if anybody wants some more info i ll let him know.
    as of till now i got some docs i start to read this.
    Regards
    M.Murali..
    Note: will system/sys degrade the performance ?if so how ?

  • Capturing DVCAM in FCP 6.0.2 and encountering strange capture behavior

    I have FCP 6.0.2 and OSX 10.5.2 and QT 7.3.1. I have been capturing several DVCAM cassettes using my Sony DSR-20 deck. Although I have done this countless times before in earlier versions of FCP, I am encountering some strange repetitive behavior. I am capturing 30 minute clips one at a time. When I use batch capture it will cue the tape up properly to the in point...and then start capturing until it gets to about 10-12 minutes in, and then capture unexpectedly stops, no dialogue box, the tape rewinds and starts capturing again from the original in point. On this second capture, the tape sails past the 10 minute mark and keeps going to the end of the 30 minute clip. It then stops, gives me the dialogue box that it has successfully captured. And it has.
    But every DVCAM tape I captured today exhibited the same behavior. Capture would be successful until about about 10 minutes in, then FCP aborts (no dropped frame message, no dialogue box) rewinds the tape back to the in point, tries again, and this time succeeds with the second pass capturing the entire clip. Note at the 10 minute mark there is no scene change or no camera start/stop.
    Have other users experienced this issue? And if so, is there a workaround or a possible patch forthcoming from FCP?
    Many thanks,
    John

    Yes, each tape has an in and out point defined. In my 6 years of editing with Final Cut and DVCAM tapes I've never encountered this issue before in the capturing process until now. I will have to see in future weeks with other captures whether this is an on-going issue or not, but at least I can capture for now.

  • Strange Behavior with Data Merge (CS4) - Advice?

    This is the most bizarre behavior and I may have to chalk it up to a full moon or something since I can't reproduce it and I cannot find any hints as why this happened. This is my last attempt at figuring a solution...maybe someone has experienced this??? Anyway, here's what happened...
    I do a data merge for addressing envelopes. Been using the InDesign data merge feature for a couple of years now, no problems.
    My address list is approximately 1200. It's in a .csv file with the following fields: fname, lname, company, address1, address2, city, state, zip
    For my last mailing, approximately 300 addresses were merged wrong. Here's the crazy thing it did: instead of using the address1 field for the current record, it used the address1 field from the NEXT record, and ONLY the address1 field.
    Here's more bizarre-ness. The NEXT record was merged correctly.
    For example:
    Record 1 (address1 should be 555 Cherry Lane, Apt 5)
    John Smith
    Smith Company
    123 Main Street, Apt 5
    Small Town, CA 12345
    Record 2 (John Smith's address used THIS address1, but NOT address2 or any other field! Jane Doe's address is correct)
    Jane Doe
    Doe Company
    123 Main Street, Suite 300
    Big Town, TX 56789
    I've tested. I've looked for commonality in the records, where it's placed, if there was something unusual about it's format. I come up empty. The incorrect data seem randomly interspersed.
    One thing that I have to do is break up the actual merge. Either my computer memory or InDesign can't handle 1200 merge records. So, I merge approximately 200 records at a time (I make 6 print files). I don't know if this has anything to do with it (like I said, the incorrect data is interspersed all through out), but, thought I'd mention it.
    Any advice is appreciated. I'm hesitant to use it again until I can understand why this happened.
    thanks much,
    Kia

    CS was soemtimes flakey in this way with Data Merge.
    Are you updated to the latest patch? Most issues were resolved at some point.
    That said, I recall another user with this problem, and it never resolved with his particular file. I examined the data file and couldn't find any issues, but it behaved identically on my system tot he way it did on his so I can only conclude there was still some bug, or something about the data file that we were unable to detect. I seem to recall that the same data file merged correctly in CS3, but I don't recall if I saved it long enough to test in CS5. I've not had any issues with my own files in any version.
    Open the file in a plain text editor and look for any odd characters (I'd start the search where the merge first fails). Also do a Save As from the text editor to make sure there is no possibility of formatting from your spread sheet having found its way in.

  • Nexus 1000V and strange ping behavior

    Hi ,
    I am using a Nexus 1000v a FI 6248 with a Nexus 5K in redundant architecture and I have a strange bevahior with VMs.
    I am using  port-profiles without any problems but in one case I have this issue
    I have 2 VMs assigned to the same port profile
    When the 2 Vms are on the same esx I can ping (from a VM)  the gateway and the other VM, now when I move one of the VM to an other ESX (same chassis or not).
    From both , I can ping the gateway, a remote IP but VMs are unreachable between them.
    and a remote PC are able to ping both Vms.
    I checked the mac table, from N5k it's Ok , from FI 6348 it's Ok , but from N1K I am unable to see the mac address of both VMs.
    Why I tried ( I performed at each step a clear mac table)
        Assign to an other vmnic , it works.
        On UCS I moved it to an other vmnic , it works
        On UCS I Changed the QOS policy , it works.
        I reassigned it , and I had the old behavior
        I checked all trunk links it's ok
    So i didn't understand why I have this strange behavior and how I can troubleshoot it deeper?
    I would like if possible to avoid to do that but the next step will be to create a new vmnic card and assign the same policy and after to suppress the vnmic and to recreate the old one.
    Regards

    From what you mentioned here's my thoughts.
    When the two VMs are on the same host, they can reach each other.  This is because they're locally switching in the VEM so this doesn't tell us much other than the VEM is working as expected.
    When you move one of the VMs to a different UCS ESX host, the path changes.    Let's assume you've moved one VM to a different host, within the UCS system.
    UCS-Blade1(Host-A) - VM1
    UCS-Blade2(Host-B) - VM2
    There are two paths option from VM1 -> VM2
    VM1 -> Blade1 Uplink -> Fabric Interconnect A -> Blade 2 Uplink -> VM2
    or
    VM1-> Blade1 Uplink -> Fabric Interconnect A -> Upstream Switch -> Fabric Interconnect B -> Blade 2 Uplink -> VM2
    For the two options I've seen many instances were the FIRST option works fine, but the second doesn't.  Why?  Well as you can see option 1 has a path from Host A to FI-A and back down to Host B.  In this path there's no northbound switching outside of UCS.  This would require both VMs to be be pinned to the Hosts Uplink going to the same Fabric Interconnect. 
    In the second option if the path involves going from Host-A up to FI-A, then northbound to the upstream switch, then back down eventually to FI-B  and then Host-B. When this path is taken, if the two VMs can't reach each other then you have some problem with your upstream switches.  If both VMs reside in the same subnet, it's a Layer2 problem.  If they're in different subnets, then it's a Layer 2 or 3 problem somewhere north of UCS.
    So knowing this - why did manual pinning on the N1K fix your problem?  What pinning does is forces a VM to a particular uplink.  What likely happened in your case is you pinned both VMs to Host Uplinks that both go to the same UCS Fabric Interconnect (avoiding having to be switched northbound).  Your original problem still exists, so you're not clear out of the woods yet.
    Ask yourself is - Why are just these two VMs affected.   Are they possibly the only VMs using a particular VLAN or subnet?
    An easy test to verify the pinning to to use the command below.  "x" is the module # for the host the VMs are running on.
    module vem x execute vemcmd show port-old
    I explain the command further in another post here -> https://supportforums.cisco.com/message/3717261#3717261.  In your case you'll be looking for the VM1 and VM2 LTL's and finding out which SubGroup ID they use, then which SG_ID belongs to whch VMNIC.
    I bet your find the manual pinning "that works" takes the path from each host to the same FI. If this is the case, look northbound for your L2 problem.
    Regards,
    Robert

  • Strange highlighting behavior with Library books and reinstall?

    I have a Nook Color and Windows 7.  B&N has exchanged my Color Nook twice ....but .............I am beginning to think that the problem is with ADE or something else. 
    When I am reading a Library book, about 10 to 15 minutes into the book, I will get some word/words highlighted in the "lookup" form...and then the menu appears.  I can't actually look up a word...the Nook just freezes.  I put the Color Nook to "sleep", turn it back on, and all is well for about another 10 minutes.
    This is happenning with multiple libraries in different states.  So......either it is a glitch in my installation of ADE or it is a problem that the libraries are having.
    I was wondering if anybody else has had this issue.  I don't get any error messages when I download a book.
    I am thinking that I need to reinstall ADE...but am not sure if I will end up getting myself into more trouble.  I also have ADE on my Netbook (rarely use it). I am concerned that I will use up all my "devices" trying to uninstall and reinstall.........and don't know if that will fix the issue. 
    Also, WHAT HAPPENS IF YOU FORGET YOUR PASSWORD?  Is there a recovery function at ADE?
    Thanks for the help

    Hi!  It sounds like you have set up your Nook and ADE so that they work
    together and with library software.  And if you can read other ebooks that
    aren't from a library on your Nook, then it's probably not a setup issue.
    So, I am thinking that the issues you're having deal with something in the
    ebooks themselves.
    ADE just copies the text from the source location to its library.  ADE does
    not edit or change the text in any way. Library book software can do certain
    things with the 'tag' file that contains publishing rights.  Chief among
    them is to set a time and date for expiration of the loan.  If your computer
    or Nook clock does not display the same time and date, it's possible that
    the information from the library is getting screwed up so that the Nook
    shuts down the ebook.  So, the first thing I'd suggest is to check the time
    and date settings in both places.  It would be interesting also to try and
    read the ebook on your computer via ADE and see if the same problem occurs.
    You could contact the library help desk and get information on what software
    they're using - that might point to an issue in it if it's the same software
    at multiple libraries from which you've downloaded ebooks.
    Hope this helps!
    ============

  • Can anyone explain this behavior and tell me how to fix it?

    Using NetBeans 6.5 on Windows, Glassfish v2.1
    I have a JSF application with a page that has a tab set.
    On one of the tabs I have a panel with company information.
    One of the components on the page is an InputText field with the value bound to a session bean variable.
    The tab also has an Add button.
    Here is what the JSP looks like for the input text and button components
       <h:inputText binding="#{MainPage.companyNameTF}" id="companyNameTF" readonly="#{SessionBean1.readOnlyFlag}"
       <h:commandButton action="#{MainPage.mainAddBtn_action}" disabled="#{SessionBean1.disableEdit}" id="mainAddBtn"
            style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; left: 425px; top: 380px; position: absolute; width: 75px" value="Add"/>
         This is all plain vanilla stuff and I would expect that when the Add button is pushed, the session bean property would be filled with
    the value entered in the input text field.
    In the java code for the page, I have a method to process the Add button push.
    Originally, it just called a method in the session bean to check that a value was entered in the input text field by checking the bound
    session bean property.
    For some reason, that was not getting filled and I was getting either a null or empty string rather than the value in the text field.
    I added some checking in the method that processes the Add button push so I could check the values in the debugger.
    Here is a sample of that code:
        public String mainAddBtn_action() {
            String s = sb1.getCompanyName();
            s = (String)this.companyNameTF.getValue();
            s = (String)this.companyNameTF.getSubmittedValue();I check this in the debugger and NONE of the variants that I have listed have the value that was entered into the text field.
    The submittedValue is null and the others are empty strings (that is what they were initalized to).
    This is all pertty straight forward stuff and I am at a loss to explain what is happening.
    Can anyone expain this behavior, and, most important, how can I force the values to be present when the Add button is pushed.
    I have never experienced this problem before, and have no clue what is causing it.
    Thanks.

    Basically, the component bindings are just being used in plain vanilla get/set modes.
    I set them to "" when I do a clear for the fields and they are set to a value via the text field.
    No other action other than to read the values via get to insert them into the database.
    And, I always use the get/set methods rather than just setting the value directly.
    This is what is so strange about this behavior - I have created dozens of database add/update/delete pages using this same model and have not had a problem with them - even in a tab context.
    Not a clue why this one is different.
    I did notice that I had an error on the page (in IE7, you get a small triangle warning sign when something is not right).
    I figured that might be the problem - maybe buggering up the rendering process.
    I tracked that down and do not get that anymore (it had to do with the PDF display I was trying to get working a while back), but that did not resolve the problem.
    I don't think there are any tab conflicts - none of the components are shared between tabs, but I will see what happens when I move a couple of the components out of the tab context.
    I noticed that it seems to skip a cycle. Here is what I can do.
    1) Fill in text fields and add a record - works fine the first time.
    2) Clear the text fields
    3) Enter new data in the text fields and push Add
    4) I get an error saying fields are blank from my data check process.
    5) Enter new data and push Add - the record is added with the new data.
    My work around is to not enter data in step 3 and just accept the error message in step 4, then go ahead and enter the real data in step 5.
    Very ugly, but it works every time.

  • Bug in my code or strange memory behavior ?

    Hi, Guys !
    It's been a while since I post something in this forum - trying to use your help when it's really needed.
    So, here we go ...
    (we use Oracle 8.1.7 on Unix box and SQL * Plus 8.1.6)
    While back I wrote "core" PL/SQL package that resides in let's say DB1 database. It has RECORD_EXISTS_FNC function designed to dynamically check If the record exists in certain table/view. Assumptions are that you pass in :
    Table/View name, Column name, and unique numeric value (because by DBA rules all of our Tables have SEQUENCE as a Primary Key. And I plan soon to put in overloaded function to accept unique character value)
    Also every Table has SYS_TIME_STAMP and SYS_UPDATE_SEQuence columns that populated by Trigger before Insert/Update representing Last Update time_stamp
    and how many times record was updated within same second.
    (in case more than one User updates same record in same time - that was written before Oracle had more granular date/time). So function has SYS_TIME_STAMP and SYS_UPDATE_SEQUENCE parameters (optional) accordingly.
    And It looks something like :
    FUNCTION RECORD_EXISTS_FNC
    (iBV_NAME IN USER_VIEWS.VIEW_NAME%TYPE,
    iPK_FIELD IN USER_TAB_COLUMNS.COLUMN_NAME%TYPE,
    iPK_VALUE IN NUMBER,
    iSYS_TIME_STAMP IN DATE DEFAULT NULL,
    iSYS_UPDATE_SEQ IN NUMBER DEFAULT NULL) RETURN BOOLEAN IS
    TYPE REF_CUR IS REF CURSOR;
    CR REF_CUR;
    i PLS_INTEGER DEFAULT 0;
    vRESULT BOOLEAN DEFAULT FALSE;
    vQUERY USER_SOURCE.TEXT%TYPE;
    BEGIN
    vQUERY := 'SELECT 1 FROM ' || iBV_NAME || ' WHERE ' || iPK_FIELD || ' = ' || iPK_VALUE;
    IF iSYS_TIME_STAMP IS NOT NULL AND iSYS_UPDATE_SEQ IS NOT NULL THEN
    vQUERY := vQUERY || ' AND SYS_TIME_STAMP = TO_DATE (''' || iSYS_TIME_STAMP || ''')
    AND SYS_UPDATE_SEQ = ' || iSYS_UPDATE_SEQ;
    END IF;
    IF iBV_NAME IS NOT NULL AND
    iPK_FIELD IS NOT NULL AND
    iPK_VALUE IS NOT NULL THEN
    OPEN CR FOR vQUERY;
    FETCH CR INTO i;
    vRESULT := CR%FOUND;
    CLOSE CR;
    END IF;
    RETURN vRESULT;
    EXCEPTION
    WHEN OTHERS THEN
    IF CR%ISOPEN THEN
    CLOSE CR;
    END IF;
    INSERT_ERROR_LOG_PRC ('CORE_PKG', 'ORACLE', SQLCODE, SQLERRM, 'RECORD_EXISTS_FNC');
    RETURN vRESULT;
    END RECORD_EXISTS_FNC;
    So the problem is when I call this function from let's say
    database DB2 (via db remote link and synonym) and I know exactly that record does exists (because I am selecting those SYS fields before pass them in) - I get the correct result TRUE. The other programmer (Patrick) calls this function within same DB2 database, within same UserID/password (obviously different session), running exactly the same testing code and gets result FALSE (record doesn't exist, but it does !) He tried to Logoff/Login again several times within several days and try to run it and still was getting FALSE !
    I tried to Logoff/Login again and I was getting mostly TRUE and sometimes FALSE too !!!
    I thought may be It has something to do with REF CURSOR that I use to build SQL on the fly, so I changed to NDS
    using EXECUTE IMMEDIATE statement - nothing changed.
    vQUERY := 'SELECT COUNT (1) FROM ' || iBV_NAME || ' WHERE ' || iPK_FIELD || ' = ' || iPK_VALUE;
    IF iSYS_TIME_STAMP IS NOT NULL AND iSYS_UPDATE_SEQ IS NOT NULL THEN
    vQUERY := vQUERY || ' AND SYS_TIME_STAMP = TO_DATE (''' || iSYS_TIME_STAMP || ''') AND SYS_UPDATE_SEQ = ' || iSYS_UPDATE_SEQ;
    END IF;
    EXECUTE IMMEDIATE vQUERY INTO i;
    vRESULT := NOT (i = 0);
    RETURN vRESULT;
    Interesting note : when Patrick doesn't pass SYS parameters (Time_stamp, Update_sequence), or passes NULLs - function always finds the record ! (Statement 2 below)
    May be it has to do with the way TO_DATE () function gets parsed in that dynamic SQL - I don't know ...
    Here's the test code :
    SET SERVEROUTPUT ON;
    DECLARE
    SYS_TIME DATE;
    SYS_SEQ NUMBER;
    bEXISTS BOOLEAN DEFAULT FALSE;
    BEGIN
    SELECT SYS_TIME_STAMP, SYS_UPDATE_SEQ INTO SYS_TIME, SYS_SEQ FROM LOCATION_BV WHERE PK = 1;
    bEXISTS := CORE_PKG.RECORD_EXISTS_FNC ('LOCATION_BV','PK',1, SYS_TIME, SYS_SEQ); -- STATEMENT 1
    --bEXISTS := CORE_PKG.RECORD_EXISTS_FNC ('LOCATION_BV','PK',1, NULL, NULL);        -- STATEMENT 2
    IF bEXISTS THEN
    DBMS_OUTPUT.PUT_LINE ('TRUE');
    ELSE
    DBMS_OUTPUT.PUT_LINE ('FALSE');
    END IF;
    END;
    I asked our DBA, he has no clue about this strange inconsistent results.
    I debugged line by line, extracted that generated SQL and ran it in same account - works fine !
    Does anyone knows or have clues or can help what's going on ???
    I don't know If this is bug in my code or strange memory behavior ?
    (Please let me know If anything unclear)
    Thanx a lot for your help and time !
    Steve K.

    see your other thread
    Bug in my code or strange memory behavior ?

  • Question about strange cursor behavior - Sybase ASE 12.5.4

    Hi folks,
    I have a stored procedure in Sybase ASE 12.5.4 presenting a strange behavior. Follow below some code to simulate the error.
    /* Create the table structure */
    drop table tbx1
    go
    create table tbx1
    (c1 int,
    c2 int,
    c3 char)
    go
    /* Create a CLUSTERED index NOT UNIQUE */
    create clustered index idx1 on tbx1 (c1)
    go
    /* Populate the table with few records */
    insert into tbx1 select 1, 1, 'N'
    insert into tbx1 select 2, 1, 'N'
    insert into tbx1 select 2, 2, 'N'
    go
    /* Test case #1 - The following code will not fetch the 3rd record */
    declare c1 cursor for
    select c1, c2 from tbx1 where c3 = 'N'
    go
    declare @c1 int, @c2 int
    open c1
    fetch c1 into @c1, @c2
    while @@sqlstatus = 0
    begin
      select @c1, @c2  -- View the current fetched row
      update tbx1 set c3 = 'N' where c1 = @c1 and c2 = @c2
      fetch c1 into @c1, @c2 
    end
    close c1
    deallocate cursor c1
    /* Recreate the table structure */
    drop table tbx1
    go
    create table tbx1
    (c1 int,
    c2 int,
    c3 char)
    go
    create clustered index idx1 on tbx1 (c1)
    go
    /* Repopulate the table */
    insert into tbx1 select 1, 1, 'N'
    insert into tbx1 select 2, 1, 'N'
    insert into tbx1 select 2, 2, 'N'
    go
    /* Test case #2 - The following code enters in an infinite loop, fetching the 3rd record indefinitely */
    declare c1 cursor for
    select c1, c2 from tbx1 where c3 = 'N'
    go
    declare @c1 int, @c2 int
    open c1
    fetch c1 into @c1, @c2
    while @@sqlstatus = 0
    begin
      select @c1, @c2 -- View the current fetched row
      update tbx1 set c3 = 'N' where c1 = @c1
      fetch c1 into @c1, @c2 
    end
    close c1
    deallocate cursor c1
    If we execute a select on tbx1 before execute Test case #1, the result is:
    c1   c2    c3
    1    1     N
    2    1     N
    2    2     N
    If we execute the same select on tbx1 after execute Test case #1, the result is:
    c1   c2    c3
    1    1     N
    2    2     N   --> row position changed
    2    1     N   --> row position changed
    Analyzing the execution plan, updates on both Test cases are being done in deferred mode.
    Could someone answer my questions, please:
    1 - After executing Test case #1, 2nd and 3rd record change this position in table. How could this happening since I'm not updating any fields in the clustered index? This have any relation with deferred update deleting and reinserting the rows on overflows pages?
    2 - Suppose the updates are changing the rows position in the table, how could explain the inconsistent fetch order on cursor processing (on Test Case #1, only 2 records are fetched - on Test Case #2, the loop never ends)?
    Regards,
    Douglas

    Thanks for your replies. I've already solved my problem, just creating a unique clustered index. But I haven't understood what happened yet in the 2 cases above.
    As suggested by Mark, I've read Chapter 18 from Transact SQL Users Guide. In section
    "Join cursor processing and data modifications", there is a citation about what happens with cursor position after a update:
    "A searched or positioned update on an allpages-locked table can change the location of the row; for example, if it updates key columns of a clustered index. The cursor does not track the row; it remains positioned just before the next row at the original location. Positioned updates are not allowed until a subsequent fetch returns the next row. The updated row may be visible to the cursor a second time, if the row moves to a later position in the search order".
    As stated above, the cursor position keeps the same independently if the rows change their order.
    I don't know if my logic is very simplistic, but I imagine that what should happen in #Test Case 1 is (assuming the access method is a clustered index scan):
    a) After the 2nd fetch, cursor position is on 2nd row:
    c1   c2    c3
    1    1     N  
    2    1     N   <-- cursor position
    2    2     N  
    b) After the update, 2nd and 3rd rows switch their positions, but cursor should keep its position (before 3rd row):
    c1   c2    c3
    1    1     N  
    2    2     N  
                    <-- cursor position
    2    1     N
    c) On 3rd fetch, the 3rd row is read "again" and cursor reaches the end of table.
    In relation #Test Case 2, I can't imagine how a cursor could enters a infinite loop since the cursor position shouldn't change and "apparently the row positions are the same" after the "incorrect" update.
    Moreover, I still have doubts about how a field update that isn't in a clustered index can change row position in a allpages-locked table.
    The main goal of my questions isn't solve the problems but get a better knowledge about some Sybase internals (and avoid similar problems in the future).
    Please give me more detailed explanations about my questions and comment my analysis. Related readings about this issues are welcome.
    Douglas

  • Strange ZWSREG behavior

    We are in the middle of a rollout of about 300 new machines. (used sysprep in the image) The first 100 are doing something strange. They boot up get renamed and join the windows domain with their new name, but register with ZEN as the randomly generated Microsoft name. (usually someting like N-398477634379d979) I deleted the workstation object, unreged and rereged the computer, but it always reregisters with the randomly generated name. What gives? I found a TID that said this was fixed by an update on the latest desktop agent, but that I could work around it by deleting the incorrectly named object and waiting for the machine to reboot, However it still registers with the wrong name. Any ideas? Thanks.
    J. Daniel Treadwell

    But these are new computers. They should not have image safe data yet. I tried it, but got the same result.
    Originally Posted by Craig Wilson
    Try running ZISWIN -R when you unregister.
    My guess is that it's pulling the old info from Image Safe Data.
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Support Forums Volunteer Sysop
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.
    "jtreadwell" <[email protected]> wrote in message
    news:[email protected]..
    >
    > We are in the middle of a rollout of about 300 new machines. (used
    > sysprep in the image) The first 100 are doing something strange. They
    > boot up get renamed and join the windows domain with their new name,
    > but register with ZEN as the randomly generated Microsoft name.
    > (usually someting like N-398477634379d979) I deleted the workstation
    > object, unreged and rereged the computer, but it always reregisters
    > with the randomly generated name. What gives? I found a TID that said
    > this was fixed by an update on the latest desktop agent, but that I
    > could work around it by deleting the incorrectly named object and
    > waiting for the machine to reboot, However it still registers with the
    > wrong name. Any ideas? Thanks.
    >
    >
    > J. Daniel Treadwell
    >
    >
    > --
    > jtreadwell
    > ------------------------------------------------------------------------
    > jtreadwell's Profile: NOVELL FORUMS - View Profile: jtreadwell
    > View this thread: Strange ZWSREG behavior - NOVELL FORUMS
    >

  • Error loading Virtual Machine Manager 2012 and Data Protection Manager 2012 modules together

    Hi.
    Very strange issue: when i try to load together Virtual Machine Manager 2012 and Data Protection Manager 2012 modules - script fails. If first loaded Virtual Machine Manager 2012 module:
    Import-Module : Cannot load Windows PowerShell snap-in C:\Program Files\Microsoft Data Protection Manager\DPM2012\bin\ObjectModelCmdlet.dll because of the following error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property
    for more information.
    Loader Exceptions:
    Could not load type 'Microsoft.Internal.EnterpriseStorage.Dls.Utils.AlertTypes.AlertEnum' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    At C:\Program Files\Microsoft Data Protection Manager\DPM2012\bin\Modules\DataProtectionManager\DataProtectionManager.psm1:2 char:14
    + Import-Module <<<<  (Join-Path $cmdletDllPath ObjectModelCmdlet.dll)
        + CategoryInfo          : ResourceUnavailable: (:) [Import-Module], PSSnapInException
        + FullyQualifiedErrorId : PSSnapInLoadFailure,Microsoft.PowerShell.Commands.ImportModuleCommand
    If first loaded DPM 2012 module::
    Import-Module : Cannot load Windows PowerShell snap-in C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\Microsoft.SystemCenter.VirtualMachineManager.dll because of the following error: Unable to load one or more of the requested
    types. Retrieve the LoaderExceptions property for more information.
    Loader Exceptions:
    Could not load type 'Microsoft.VirtualManager.Utils.TypeConverterEnumHelper`1' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.TypeConverterEnumHelper`1' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineException' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Method 'get_BootOrder' in type 'Microsoft.SystemCenter.VirtualMachineManager.ClientObjectHWSettingsSourceAdapter' from assembly 'Microsoft.SystemCenter.VirtualMachineManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have
    an implementation.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Method 'get_BootOrder' in type 'HardwareConfigSettingsAdapter' from assembly 'Microsoft.SystemCenter.VirtualMachineManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.
    Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMStartAction' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMSCSIControllerType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMSCSIControllerType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.ServicingTypeValues' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.FabricCapabilityType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.SKUType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.VMComputerSystemState' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    Could not load type 'Microsoft.VirtualManager.Utils.CarmineObjectType' from assembly 'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    At \\team\dfs\scripts\Admin\Scvmm\Move-VirtualMachine.ps1:103 char:16
    +         Import-Module <<<<  'C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\psModules\virt
    ualmachinemanager\virtualmachinemanager.psd1';
        + CategoryInfo          : ResourceUnavailable: (:) [Import-Module], PSSnapInException
        + FullyQualifiedErrorId : PSSnapInLoadFailure,Microsoft.PowerShell.Commands.ImportModuleCommand

    Vote if you have same problem:
    https://connect.microsoft.com/PowerShell/feedback/details/873348/scvmm-and-scdpm-powershell-modules-cant-work-together

  • Strange Permissions Behavior with Public/Private Drop Box

    Strange Permissions Behavior with Non-Course Drop Box
    In an effort to promote iTunes U on campus this semester (and to get people working with audio and video more) we're having a contest in which people can submit personal or group audio/video projects.
    This being an iTunes promo, we intend for students to submit their contributions via a drop box.
    To that end, I began experimenting with drop boxes in iTunes U, which I haven't done much of previously. I've created a course called "iTunes U Drop Box Test" under "Campus Events". Within that, I have two tabs: "Featured Submissions" and "Dropbox". My goal with this drop box was to allow faculty, students and college folks the ability to use the drop box ("college" being a role I've defined for those who don't fit into the faculty/student roles).
    When I first started experimenting, access to the "iTunes U Drop Box Test" course looked like this:
    --- Credentials (System) ---
    Edit: Administrator@urn:mace:itunesu.com:sites:lafayette.edu
    Download: Authenticated@urn:mace:itunesu.com:sites:lafayette.edu
    Download: Unauthenticated@urn:mace:itunesu.com:sites:lafayette.edu
    Download: All@urn:mace:itunesu.com:sites:lafayette.edu
    --- Credentials ----
    Download: College@urn:mace:lafayette.edu
    Download: Instructor@urn:mace:lafayette.edu
    Download: Instructor@urn:mace:lafayette.edu:classes:${IDENTIFIER}
    Download: Student@urn:mace:lafayette.edu
    Download: Student@urn:mace:lafayette.edu:classes:${IDENTIFIER}
    For the "Featured" Submissions tab, I gave the non-system credentials the "download" right, and for the "Dropbox" tab I gave the non-system credentials the "dropbox" right.
    My understanding of this setup is that everyone should have had the ability to view the course and the contents of the "Featured Submissions" tab and that those in the College/Instructor/Student roles would be able to upload files via the "Dropbox" tab ... but not see the contents of said tab after the files were uploaded (aside from any files they uploaded themselves).
    This is not the behavior we saw however. While the College/Instructor/Student roles could upload files to the dropbox, everyone (including the unauthenticated public) was able to see all of the contents of the dropbox.
    The only way I could get this to work as advertised was to change all of the system credentials save the "Administrator" to "No Access":
    --- Credentials (System) ---
    Edit: Administrator@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: Authenticated@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: Unauthenticated@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: All@urn:mace:itunesu.com:sites:lafayette.edu
    Once I did this, everything worked as advertised: College/Instructor/Student roles could upload tracks, and the "Dropbox" tab would only display tracks they uploaded.
    So my question is ... is this the correct behavior for the drop box? It looks like when the system credentials are in play, they're simply overriding whatever the normal "view" rule is for the drop box, which doesn't seem right.

    Your current configuration where things work as you wanted does seem correct to me. You are not using any System Credentials to accomplish the functionality and that's fine.
    Here's some more info to clarify how / why this is working for you and why you had to set "No Access" for the System Credentials:
    The System Credential "Authenticated@..." is going to get assigned to any user that goes through your transfer script. Even if you transfer script assigns no credentials to a user, upon entering iTunes U they will have at least 1 - the "Authenticated@..." credential. Therefore, unless you block access using "No Access", any user that passes through your transfer script is going to be able to access the area in question.
    When you change values for "Unauthenticated@..." or "All@..." you are defining what someone that DOES NOT pass through your transfer script can do. You want both of those to be "No Access" at the top level of your site if you do not want unauthenticated visitors.
    The distinction between "Unauthenticated" and "All" is that "All" applies to all users whether they pass through the transfer script or not.
    Here's another way to remember things:
    User passes through your transfer script, iTunes U automatically assigns:
    Authenticated@....
    All@....
    User does not pass through your transfer script and instead access your iTunes U site through derivable URL*, they get assigned:
    Unauthenticated@....
    All@....
    *The derivable URL for a site is: http://deimos.apple.com/WebObjects/Core.woa/Browse/site-domain-name
      Mac OS X (10.4.6)  

  • Issue while perform the Task and Data Audit in Workspace

    Hi All,
    When we try to perform the task and data audit functions in workspace it throws the following error please advise how to fix this issue.
    An error has occurred. Please contact your administrator.
    Show Details:
    Error Reference Number: {110FD8BF-AD33-4257-BA3D-46FF30208EA2};User Name: admin@Native Directory
    Num: 0x80040e31;Type: 1;DTime: 6/24/2010 3:42:55 AM;Svr: USNSAP03EX;File: CHsvSystemActivity.cpp;Line: 479;Ver: 11.1.1.2.0.2207;DStr: Timeout expired;
    Num: 0x80004005;Type: 0;DTime: 6/24/2010 3:42:55 AM;Svr: USNSAP03EX;File: SystemInfoUsersActivities.cpp;Line: 617;Ver: 11.1.1.2.0.2207;
    Num: 0x80004005;Type: 0;DTime: 6/24/2010 3:42:55 AM;Svr: USNSAP03EX;File: CHsvSystemInfo.cpp;Line: 2664;Ver: 11.1.1.2.0.2207;
    Num: 0x80004005;Type: 0;DTime: 6/24/2010 3:42:55 AM;Svr: USNSAP03EX;File: CHFMwSystemInfo.cpp;Line: 1846;Ver: 11.1.1.2.0.2207;
    Thanks in advance,

    If you have any SELECT FOR UPDATE in your code, these will produce locks, and it will not be released until the session which has locked the record has released it. This can be one reason why you have this behavior.
    you need to trail your code if it's explicitly locking a row or more.
    Tony

  • Strange XSLT Behavior: xsl:template match

    Hello I found the following strange XSLT behavior when using xsl:template. I only want to read the content of the element /Source/Surname/Details. Therefore I match this path using xsl:template match.
    What is strange that in the target message also the value of the Element LastName is written at the end. Please see example below. This is just a short example to point out the problem. I have a bigger message structure where I have to match a similar path. How can I avoid the the value of the FullDetails is just written at the end (not even beeing in an element)? I would have expected that the path is only matched once and the instructions then executed without <LastName> beeing even touched.I used XML Spy for this test.
    Here is an example:
    Source message:
    <?xml version="1.0" encoding="UTF-8"?>
    <Source>
         <Surname>
              <Details>MyFirstName</Details>
         </Surname>
         <LastName>
              <FullDetails> MyLastName </FullDetails>
         </LastName>
    </Source>
    XSLT
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:template match="/Source/Surname">
    <PORR>
    <Name><xsl:value-of select="Details"/></Name>
    </PORR>
    </xsl:template>
    </xsl:stylesheet>
    Target Message
    <?xml version="1.0" encoding="UTF-8"?>
    <PORR xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <Name>MyFirstName</Name></PORR>MyLastName
    Edited by: Florian Guppenberger on Oct 8, 2009 4:35 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:36 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:36 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:37 AM

    Hi,
    I am not sure why your XSLT behaving like that,please try this XSL,what i did chnages is Templete match /*,I given exact path in Value of select,.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:template match="/*">
    <PORR>
    <Name><xsl:value-of select="/Source/Surname/Details"/></Name>
    </PORR>
    </xsl:template>
    </xsl:stylesheet>
    Regards,
    Raj

Maybe you are looking for

  • Como alterar o título dos menus Drag & Relate? (Urgente)

    Prezados, Alguém poderia me auxiliar se é possível ou não alterar o título das linhas do menu Drag & Relate? Uma vez que eles não são tratados como Menu, ou sejam, não possuem um MenuID, para fazer a alteração como a de um menu padrão. Alguém já pass

  • SSIS Package - An OLE DB error has occurred. Error code: 0x80040154.

    I am getting below error when i try to execute a package using batch file  Microsoft (R) SQL Server Execute Package Utility Version 9.00.1399.06 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 7:15:29 AM Progress: 201

  • Flash Video Play Does NOT Display Controls

    I am using Flash Pro 8 - putting FLV files in SWF files using Flash Pro 8 and then "publishing" to Html and SWF to a location on my hard drive. When I display the webpage from my Hard Drive from where ever on my hard drive I initially published to fr

  • ORA-22275: invalid LOB locator specified on trigger

    I have a trigger which copies a blob on insert to one table to another. CREATE OR REPLACE TRIGGER SWZTPRO.TSWTMPI_BEFORE_INSERT BEFORE INSERT ON SWZTPRO.TO_TSWTMPI REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW DECLARE discriminator TO_TSWCRUL.BTC_DI

  • Wrong status after UD is taken

    Hi, we take usage decisions automatically with a custom-made program. But the problem is, even after the UD is taken, the system status is still INSP RREC. How can we put the ilot on the right status? Anyone can help me? Thanks. Jessica