Sequence Vs. GUID

I'm looking for an opinion or past experiences with using GUID's instead of sequences for generating unique identifiers in a system.
I like the fact that GUID's are unique in a distributed environment so we wouldn't have to worry about syncronizing indexes among environments.
I also like the fact that the app server or the DB or anyone else can generate a GUID and it will be unique.
I've done some benchmark with GUID's and the only thing that concerns me is that index sizes seem to grow quite large, especially for composite indexes. I've used RAW(16) and VARCHAR2(32) as datatypes. RAW was better than VARCHAR2 but still much worse than NUMBER (generated by a sequence).
Queries based on a GUID compound index required about 3 times as many consistent gets.
I worry that GUID's may not scale in a system that depends on a lot of composite indexes for it's queries.
Any comments, past experiences, or opinions will be helpful.
Thanks.

I have only once worked with GUIDs in SQL Server to support a very badly written application. When I had to debug some crazy SQL statements, it was much pain to query sample data using these crazy GUIDs.
For normal sequence generated numbers I as a debugger could easily:
1) type it and probably even remember them temporary for a little while
2) compare them and see that THIS field has different value than THAT field, which actually should be FK to THIS field
For GUIDs I could only CTRL-C, CTRL-V them, and compare was really pain for eyes.
Of course normally generated GUIDs and IDs aren't shown to any user, so probably this isn't a very big argument, but this pain is still in my mind :))
Gints Plivna
http://www.gplivna.eu

Similar Messages

  • How to stop flash pro cs6 exporting guide layers

    Ive recently started using Flash cs6 having been using Flash 8 for a long time. When I export an image or image sequence from flash, it is exporting images with guide layers included, this is something which flash 8 never did and i can't get used to it and keep exporting long sequences with guide layers which is quite annoying. Is there a way I can change settings or something so this doesn't happen. any help appreciated

    yeah i get the idea of guide layers and how useful they are. just dont  want all my rough layers visible when i export an image from flash.. my point being you never had to hide guide layers before publishing on old versions of flash which i think makes more sense.. why would you ever want to see a guide layer on a published image?? anyway, i discovered this only happens when using actionscript 3.0 but not 2.0 so, ive gone back to 2.0

  • Migration Key - How to Open a CSS Message

    Hi Team,
    We got the discovery system and asked SAP to get us a separate licence for mySAP ERP 2005. We got the CD-DVD's and SAP says that we can generate the licence key from the service marketplace. Now in the installation guide, it is mentioned that we should get the migration key by using CSS and opening a message in CSS Component: CA-SOA-DS. When I go the tab "Report Product Error" in CSS, the table control which displays the systems is still blank. I cannot go to the next step and open a message to request migration key. We really don't want to install the CD-DVD's on a separate server. We just want to get the discovery system up and running and it looks like without the migration key we can't proceed further.
    Questions:
    1) How do I start a CSS message without the system number getting displayed in the service marketplace. I have the installation number etc with me.
    2) Do we have to install and run something else prior to asking for migration key?
    Please respond as this is causing problems. Your help will be much appreciated.
    Thanks

    Hi Sachin,
    I'll try to shine some light on the topic you brought up.
    The Discovery System is shipped already pre-installed on the hardware. Thus there are no CD-DVD's that would allow installation on a seperate system. It follows the concept of an appliance.
    To license it you need to have a valid license for SAP ERP on MS SQL. This is the installation number you will need to request the license key from Service Marketplace. If you don't have that in place (no license or on different DB) please contact your SAP counterpart.
    Following the steps in the Quick Guide (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b22d4e44-0e01-0010-ffa4-fe9c59939e5e) in sequence should guide you through all the necessary activities.
    Hope that helps,
       rAimund

  • Design issue with JSP

    I've been rather thrown into the deep end of a JSP project, of which I have no prior experience, and have a couple of basic design questions.
    My project requires a number of web pages, delivered in sequence, to guide a user to a result. A 'wizard' if you will. The presentation code will need to make frequent trips to the back end system which will update it with status and what to do next.
    My assumption is that for this type of application, a set of JSP pages would be the right way forward. Access stage1.jsp, which provides an HTML link to stage2.jsp, and so on. Each page uses a bean which does the required clever back end stuff.
    The alternative, being pushed by a colleague, is to have a set of servlet/JSP page pairs.The servlet is the entry point, which does the back end stuff and sets up a bunch of values within the request, then it forwards to a JSP page which displays the values using EL to get at the values the servlet has prepared.
    Is one of these the "standard" way of doing it? After several hours of discussion we've not been able to decide if either way has any particular benefits that the other doesn't.
    One problem I'm starting to see with my approach is that returning information from the bean to the JSP page leaves the page needing to understand how to present the information, and that sort of logic isn't easy to express in JSP. For example, the JSP uses the bean to learn that 6 wotsits are available, but numbers 2 and 3 have been disabled.The JSP page needs to list the 4 that are ready, then perhaps list the other 2 elsewhere depending on another bean-derived value. Putting this sort of presentation logic into a servlet is straightforward, but if we do it my way than it's up to the JSP to try to sort it out. Which right now I don't know how to do, or whether it's even possible. I think what I need is for the JSP to hand this 6-wotsit list off to another piece of Java code which will generate the appropriate HTML for it - clearly not something the bean should be doing. Can I do that from another bit of servlet code somehow, without using a servlet to do the whole page?

    thrice wrote:
    BalusC wrote:
    thrice wrote:
    Is one of these the "standard" way of doing it? After several hours of discussion we've not been able to decide if either way has any particular benefits that the other doesn't.When you comes to the point that the standard taglibs/EL doesn't provide the needed functionality and you're forced to use a scriptlet, then it's time to use a Servlet.Um, so you're saying that both approaches are valid under the appropriate circumstances?There are circumstances/webapps where just a JSP page and a (smart) Javabean suffices without the need for any servlet (and scriptlet). It all solely depends on what you need and what the technology provides. If you need to have more control over the request (e.g. forwarding to another destination page depending on submitted input and/or result), a Servlet is more appropriate.
    Scriptlets are bad? Or at least not recommended?It's for sure NOT recommended. It's simply a sign of a bad practice. It unneccessarily tight-couples your presentation logic with business or even database logic. They simply doesn't belong in a JSP and collides with the "MVC" nature and also makes the code harder to read/maintain/test/debug/reuse. It's a (too) long living remnant of the first form of the JSP technology and its use has been discouraged since the introduction of taglibs/EL about a decade ago. Right now, it's at highest only useful for "quick testing" and "prototyping", for sole playing, testing and demonstration purposes only.

  • Pr CC / Mac - Cannot open project!!!

    '08 MacPro w/ OS X 10.7.5 - Pr CC v7.0.0 (was up to date but uninstalls/reinstalls)
    I have been natively editing a multicam project for the last 2weeks:
    * 3Cams = 2 Panasonic AVCHD + 1 JVC GY-HM150U ProHD .mp4
    I'm finished with the MultiCam and am now editing the last 2mins of my 2hour project when...  Pr CC CRASHED! It just dissapeared!!
    When I try to reopen the CC project, I get: "The project contained a sequence that could not be opened. No sequence preview preset file of codec could be associated with this sequence type."
    When I start a new CC project and try to import the JVC GY-HM150U ProHD .mp4 footage, I get: "Unsupported format or damaged file."
    I have tried Uninstalling/Reinstalling Pr CC over & over but I am still unable to open the project or import the footage into a new project. I am also unable to update Pr CC via Application Manager: "Update Failed. Updates could not be applied. This patch is not applicable for you."
    As we all know, the Pr CC project will not open directly in  Pr CS. No matter because now I'm being asked to enter my SN/Activate CS which is unable to connect to the internet. (I'm writing this via my connection to the internet)
    ** I've been at this for 2days now!!!
    ** Support has been frustrating at best.
    Anyone experienced this?
    Any thoughts on how to get it all straightened out?
    I may have to set aside time to redo my entire system as troubleshooting is too frustrating, confusing, and time consuming.
    If I were to upload the Pr CC project file to my Dropbox... would some kind soul Download/Open it... and export an XML of the final sequence (07_ReCap), which I can then open in FCP?
    (or at least tell if there is another problem besides the preview CoDec)
    https://dl.dropboxusercontent.com/u/11052139/MISC/FitzwaterMarsh.prproj (430KB)

    Hey man! I've been struggling with this issue for over a month and i finally solved the problem. Open the damaged project file with "TextWrangler" or any other notepad alike app and by pressing cmd + f find the 12 rows starting with
    "<MZ.Sequence."
    and now open a not damaged project file with the text editor and find the same 12 rows. Copy and paste the ones from the working project file to the damaged one and save the file. If everything done right, then it should be working now Hope this helped
    the rows should look something like this
    <MZ.Sequence.AudioTimeDisplayFormat>200</MZ.Sequence.AudioTimeDisplayFormat>
    <MZ.Sequence.EditingModeGUID>cc7991f5-c236-4db1-957e-2c71f924e81c</MZ.Sequence.EditingMode GUID>
    <MZ.Sequence.PlaybackFractionalResolution>2</MZ.Sequence.PlaybackFractionalResolution>
    <MZ.Sequence.PreviewFrameSizeHeight>1080</MZ.Sequence.PreviewFrameSizeHeight>
    <MZ.Sequence.PreviewFrameSizeWidth>1920</MZ.Sequence.PreviewFrameSizeWidth>
    <MZ.Sequence.PreviewRenderingClassID>1297106761</MZ.Sequence.PreviewRenderingClassID>
    <MZ.Sequence.PreviewRenderingPresetCodec>1297107278</MZ.Sequence.PreviewRenderingPresetCod ec>
    <MZ.Sequence.PreviewRenderingPresetPath>EncoderPresets/SequencePreview/cc7991f5-c236-4db1- 957e-2c71f924e81c/I-Frame Only MPEG.epr</MZ.Sequence.PreviewRenderingPresetPath>
    <MZ.Sequence.PreviewUseMaxBitDepth>false</MZ.Sequence.PreviewUseMaxBitDepth>
    <MZ.Sequence.PreviewUseMaxRenderQuality>false</MZ.Sequence.PreviewUseMaxRenderQuality>
    <MZ.Sequence.ScrubbingFractionalResolution>2</MZ.Sequence.ScrubbingFractionalResolution>
    <MZ.Sequence.VideoTimeDisplayFormat>101</MZ.Sequence.VideoTimeDisplayFormat>

  • Can I customize the appicon to change per profile?

    I would like to have the appicon.ico to show a custom ico file on select profiles. I know I can place a custom ico in the main directory: "Firefox\chrome\icons\default". That affects all instances of firefox regardless of the profiles being used. I'm wondering if I can place the custom ico in a profile directory or use custom CSS to achieve this. any help is appreciated.

    Thanks so much for your answer. I am sorry for the delay in replying. Looked to see if I had a reply and it did not come up and so I thought no one had answered.
    I have looked at the link you sent. It is really helpful. I am using Premiere Elements 10 though. In your article you refer to previousl versions but I can't find the links. Please could you kindly point me in the right direction?
    I don't need to change the aspect ratio, just change from a low resolution of something like DSLR-480p-DSLR-640x480p60 to DSLR-1080p-DSLR-1080p24 (1080*1920). Therefore, I suspect I just need to change
    <FrameRect>0,0,1920,1080</FrameRect>
    To:
    <PixelAspectRatio>1024,702</PixelAspectRatio>
    <FrameRect>0,0,720,576</FrameRect>
    and ignore the PixelAspectRatio?
    I am not sure there you got the information for the next part from i.e.
    From:
    <EditingModeID>d10b5335-ce74-4031-bc7c-79e8b73582ee</EditingModeID>
    and
    <MZ.Sequence.EditingModeGUID>d10b5335-ce74-4031-bc7c-79e8b73582ee</MZ.Sequence.EditingMode GUID>
    To:
    <EditingModeID>e2e6d6b0-7e3d-4455-bf93-0d9c3c791e4e</EditingModeID>
    and
    <MZ.Sequence.EditingModeGUID>e2e6d6b0-7e3d-4455-bf93-0d9c3c791e4e</MZ.Sequence.EditingMode GUID>
    How would I find out this information please for Premiere Elements 10 and the change I wish to apply?
    I am also not sure where I find the VideoFieldType that I need for my change.  e.g.
    <VideoFieldType>1</VideoFieldType>
    To:  
    <VideoFieldType>2</VideoFieldType>
    Do I need to do anything with changing the FrameSize or VideoFrameSize as these tags are also attributes which have the resolution embedded? I am not sure which tags refer to the project properties and which come from the properties of the videos imported.
    Thanks so much for answering the first time and look forward to your reply.
    M

  • Help!! Reinstalling OS X 10.5 on MacBook Air - (Remote Install)

    I've been trying for days to remote install OS X 10.5 to my MacBook Air and I keep getting "Install Failed - Mac OS X could not be installed on your computer - The Installer could not validate the contents of the 'BaseSystem' package".
    Why? Im using a MacBook PRO as the DVD/CD Host. Time Capsule Wi-Fi set to WPA (no WEP). And using install disks sent with my MacBook Air.
    All 3 devices are within 3 feet from each other. Disk Utilities say the disk is good. Partition Map sequence is GUID Partition Table.
    Im faithfully following the steps in "Reinstalling software using Remote Install Mac OS X - HT2129".
    What am I not doing?

    Thanks for the tips.... right.
    At least someone could have said.... "even if the disks are taken out for the first time from the plastic pockets, clean them, and that should hopefully fix your problem."
    That did it, and of course Apple article: HT2956

  • Using 4:3 guides and title safe in 16:9 sequence.

    Does anyone know if its possible to apply 4:3 guides and title safe to a 16:9 timeline sequence?
    thanks

    I'm not aware of being able to do it within the programme with regards using the canvas/viewer guides but it wouldn't take much to knock one up using opaque blocks in a shape generator and then just having those as the uppermost layer in your sequence for checking. You could also make a PSD file with lines on a transparent background in photoshop and employ the same way.
    I take it your creating graphics etc as shot material would have hopefully taken this into consideration at the time of filming!

  • Replace the hidden step property Id (GUID) by a unique integer number on sequence level.

    Hi,
    I want to log TestStand data into an existing SQL database.
    The step ID in my database is an integer (Integer data van -2^31 (-2.147.483.648) tot 2^31-1 (2.147.483.647)),
    so a GUID id does not fit in this field.
    Is it possible to change the GUID id to a unique integer number on sequence level? TestStand should stuff the integer id automatically while inserting steps…
    If a number field is added to the test steps definitions, is it possible that TestStand automatically fills the numeric step ID for each instance of the test steps in the sequence while inserting the step?
    Best regards

    You could use the index and step group of the step to create a numeric id, but it will change as soon as any step is inserted before the step.
    If you absolutely can't change your database and have to make it work, you could always generate/update a map of GUID to integer id for each sequence, perhaps at runtime from the first step in the sequence. Basically, have the first step create or update the mapping. You'd also likely need to store a last used id so you know what id to start with when you add anything to the map.
    Really probably the best solution is to change the database though. If you really want a unique ID per step that survives inserting new steps before it, then a GUID is a much simpler way to go.
    Hope this helps,
    -Doug

  • Sequence in Forms / Plz guide

    Hi, I have a form that i am working on where i have a text item called "Reciept No" that holds unique numerical values. I need this value to be generated automatically & incremented by 1 whenever some one inserts a record and it should automaticaly decrement by 1 when some one delets the record and it should start from the deleted number . How can this be done? please bear in mind that i am new to this & therefore explain what to do & where to put it.
    Thanks in advance.

    Hi Priya,
    IS that possible in Oracle SQL PLUS ,
    if so what is that code , so that we can also work and try any solution for that
    i think you could have understood what my query was
    Take a Example of Railway Reservation
    if
    x reserves a ticket on 18/05/06 for 22/05/06 Ticket No : 1
    y reserves a ticket on 19/05/06 for 22/05/06 Ticket No : 2
    z reserves a ticket on 20/05/06 for 22/05/06 Ticket No : 3
    then
    When x Cancles the ticket , y should be having that prefeence to have ticket 1
    so in this case we are supposed to use increment and decrement , but i dont know how
    solve it

  • A PC buying guide for NLE (mainly Intel)

    For AMD setups, disregard the mentions of sockets and the like but the general recommendations still hold.
    When you need a new PC for editing purposes, you basically have three choices:
    1. Buy an off the shelf system from companies like HP or Dell.
    2. Buy a custom built PC from a specialist company, like ADK Pro Audio| Digital Audio workstations, Pro Audio Laptops, Pro audio interfaces, Pro audio software, DAW.
    3. Build it yourself.
    Solution 1 can offer good prices if you stick to their standard configurations and it is easy. But remember that these companies make their profit not on the base system, but on all the options they offer. If you follow their recommendations and upgrade memory, hard disks, or choose a better video card or a faster processor, they steal you blind.
    I have nothing against HP or Dell, I have bought systems from them, but usually that was because of a great offer with all the features I needed at the time and applied to notebooks, desktops and servers.
    Solution 2 is usually costly, but you get what you pay for. You get the expertise of the seller/builder in selecting the right components, he builds it, installs the software and tests it before delivery. The downside is that often these specialists have their own favorite hardware, like Matrox or Canopus and try to get that into the deal, which increases the price.
    Solution 3 is usually the most cost effective and the most flexible, but the largest drawback is that you need to choose all the right components, to be aware of potential incompatibilities and build it yourself. Many see that as a major stumbling block, but really it is not difficult. Another drawback is support. You have to do it yourself.
    The first steps to take are twofold:
    1. What material do you want to edit and how do you want to deliver the results?
    To put it bluntly, if you want to edit material, recorded with a mobile phone, a digital still camera, recorded off the internet from YouTube or similar, recorded from TV, grabbed from the screen, encoded with any unsuitable codec like DivX, XVid, or the like, or ripped from DVD, and that is your major purpose, no need to read this further, just use a consumer application like Windows Movie Maker or Magix for your editing.
    This guide is for people who use a VIDEO camera and want to edit that.
    So for people with video cameras, what is the main format you use? DV, HDV, DVCPROHD, AVCHD, XDCAMHD, other?
    Do you deliver for the web, on BR or DVD or all of those?
    2. What is your budget?
    Once you have answered these two basic questions for yourself can you start the selection process.
    It will require you to read quite a lot about PC's. Good general sources of information are:
    http://www.tomshardware.com and http://anandtech.com
    As a general rule of thumb you can say that the minimum requirements in terms of CPU, despite what Adobe mentions as minimum requirements, are:
    1. For DV: Core 2 Duo
    2. For AVCHD: i7 with HT or dual Xeon's 55xx
    3. For other HD formats: Core 2 Quad
    It generally does not pay to get the fastest CPU, unless you have an unlimited budget. Their price/performance is usually not the best and you will find a step down gives you nearly the same performance at a much lower price. And there is always overclocking, but I'll come back to that later. To give an example, the Core 2 Extreme QX6850 is currently more than 4 times as expensive as the Core 2 Quad Q9550, but does not deliver any noteworthy performance improvement. And both are quad cores.
    To help you narrow down your choices, it is worthwhile to have a look at these charts:
    http://www.tomshardware.com/charts/desptop-cpu-charts-q3-2008/Cinema-4D-Release-10,835.htm l
    Likely a new version for Q1-2009 will come out shortly.
    In deciding on your shortlist, keep in mind that for video editing FSB speed and cache size are very important. First look at FSB speed (the higher the better, so if you have the choice between 1066 or 1333 FSB, always choose the higher one if it fits your budget). Next narrow down your choices by selecting the CPU with the largest cache. 6 MB L3 cache is better than 3 MB.
    Let's assume that after studying all these sites and reading a lot about CPU's, you have made a shortlist of possible candidates, that fit the minimum requirements indicated above, you have to identify what socket the CPU uses. Is it a 775 pin socket (Core2), a 1366 pin (i7 or Xeon 55xx) or a 771 Xeon 54xx or lower (old generation) socket. This will largely determine your choice of motherboard and memory type you need and as a consequence the case and cooling you need.
    In general the chipset on a 775 mobo uses DDR2, dual channel memory, which is widely available and relatively cheap. On a 771 mobo the memory used is FBDIMM (fully buffered DDR2) with ECC (error correction) which is much harder to get and significantly more expensive. On a 1366 mobo the memory is triple channel DDR3 which is faster than DDR2 but also more expensive. For Xeon 55xx based boards memory used is FBDIMM's triple channel with ECC, which is hard to find and costly.
    The main difference between DDR2 and DDR3 is that dual channel requires two populated memory banks for dual channel operation, whereas triple channel DDR3 requires three banks populated. That is the reason that mobo's with DDR2 usually come with 4 or 8 GB RAM and DDR3 mobo's with 6 or 12 GB RAM. DDR3 is faster (at the same specs) than DDR2. To complicate matters further, most 775 mobo's offer 4 memory slots, 1366 mobo's usually offer 6 memory slots and 1366 dual socket Xeon boards usually offer 12 memory slots.
    I see you are losing interest, this is getting way too complicated. Well, I'm sorry but if you want to make an informed decision on what your next system should be, you need to understand these basics or buy a Dell or HP or even Alienware (a Dell subsidiary). And I continue to bore you with these technicalities in order to help you make a good purchasing decision.
    When selecting a mobo for the CPU you have selected, read tests on TomsHardware or AnandTech to help you find the good performers that have the right set of features for your job. Good brands are ASUS, Abit, Gigabyte and MSI for single socket use, for dual socket the best one to check out is SuperMicro or possibly Tyan.
    Pay attention to the features a board offers, like dual NIC's (network interface controller), dual firewire, number of SATA ports, chipset used for the SATA controller, IHCR and/or Marvell raid capability, on board sound, etcetera. Pay special attention to the board layout, where the PCI-e slots are located in relation to PCI slots. I have once built a machine where I knew I had to use a PCI firewire board and due to the location of the PCI-e slot and the size of the video card (dual slot size) the PCI slot was no longer accessible. It caused me quite some headaches to find a PCI-x firewire replacement board, because I had forgotten to have a close look at the mobo layout. Just a warning, so you don't fall into the same trap I did.
    Ok, we have now decided on the CPU and the mobo. Let's have a look at memory.
    General rule: Get as much as you can and don't spend it on higher clock capable versions! You will gain more from slower memory in large quantities, than from faster but less memory, even with 32 bit apps like CS4. One of the side effects of more memory is less use of a pagefile, which is far slower than RAM, so even if the application can not access more than 4 GB, your pagefile use will be much lower with more memory installed.
    Memory is offered with various ratings. Often in marketing jargon these are dubbed as PC3-8500 or PC3-10600 or PC3-12800 up to 16000. This is all hype. The price tag increases significantly with higher numbers but the performance gain is negligent, in the order of 1 or 2 %. Your best bet is to get memory that is suitable for the FSB speed you have. If you have a FSB of 1333, use memory for 1333 FSB (10600), if you have a FSB of 1066, get 1066 capable memory (8500), it is a complete waste of money to get 1600 capable memory if your FSB does not support it. What is important however is to get the best timings you can find.
    The lower the CAS latency, the better. Also look at tRAS (ROW-ACTIVE-TIME) results. These timing figures may give you better performance than spending money on higher clocked memory. On my system I have 6-6-6-18 timings for memory (even when overclocked by 35% and without increasing the voltage), which gives far better results than 9-9-9-27 timings. BTW, timings are usually measured in CAS, RAS-to-CAS, tRP and tRAS sequence. The lower these numbers, the better it is.
    In general get at least 4 GB on a 775 or 6 GB on a 1366 mobo, but you may benefit from doubling these figures if you are multitasking, for instance having PR, AE and EN open for dynamic linking, or changing to PS for text or still manipulation.
    Next: Storage. I point you to a previous guide I made which gives you the basics about disk setup:
    http://forums.adobe.com/thread/427772
    Next cases. I suggest to only look at big towers or server towers, depending on the mobo of your choice. For dual CPU sockets a server tower is almost always a must, decause of the use of e-ATX size mobo's and the requirement for specialized cooling, often using an air duct, which is only available in server cases. SuperMicro is a prime supplier and my personal favorite in terms of build quality, expansion capabilities and reliability. Be aware however that the power supply in those cases are pretty noisy. For single CPU solutions there are many choices, often based on looks. What is much more important however is the expansion room and the airflow in those cases. You don't want to pimp your editing machine with LED illuminated fans, transparent sides and the like. It needs to be functional. Antec, CoolerMaster, Lian Li and ThermalTake are common brands and worth having a look at. Looking at smaller cases with a sexy look will often lead to disappointment in the future, since they often lack the capability to add additional disk drives or burners internally or get so full with equipment, that cooling is going to be a real problem. Do take into consideration that you may need 1 or 2 5.25" slots for burners.
    Warning: COOLING is essential for reliability and longevity of your system. We'll get to that in a minute.
    If you work long form projects, have a multitude of projects or other situations that may require a large number of disks in use or for backup, it is worth to have a look at cases that offer SAS backplanes and (hot-)swappable disk cages. Often on various sites you may find entries to case modding, where you can find other disk cages that allow you to use four 3.5" disks in the space for two 5.25" slots. In my case I had 6 3.5" slots as is was delivered. I have modded my case to now contain 14 3.5" disks just on the front with room for another disk. To avoid disappointment in the future and a lot of work of rebuilding your PC into a new chassis, plan ahead for the storage requirements you may have in the next years. If you start out with 4
    disks now, but expect to use 8 next year, be sure that they fit in, even if it requires different disk cages. Make sure that there is adequate cooling for the disks in the disk cages, preferably with 80 or 120 mm fans in front of the disks and use a replacable dust filter.
    By this stage we have found the CPU, mobo, memory, hard disks and case. Time to have a look at video cards.
    General: CS4 will not significantly benefit from a high end video card. The marketing hype wants us to believe that the nVidia
    Quadro CX will give enormous benefits for encoding H.264, but that is just what it is: "Hype".
    For general NLE work you are better served with more CPU power, more memory and more hard disks and possibly a better raid controller with more cache than with a video card that costs you at least $ 1 K extra in comparison to very good cards. Better spend the money where you benefit from it. SLI or CrossFire is a complete waste of money and only applies to gamers. Everybody serious about video editing will NEVER install a game on his machine so forget about those things.
    If you make sure that you have at least 512 MB on a decent modern video card, you will be hard pressed to see significant differences in performance. ATI Radeon 4xxx and nVidia GT 2xx series are all well up to the task for editing. If you use GPU intensive plug-ins like Colorista or Magic Bullet you may be wise to choose for the more powerful versions of these cards, since these plug-ins are very demanding when rendering.
    These video cards get very hot in practice and especially under load. If your case is very full or you have another card in the next PCI-e slot, reducing airflow to the video card, you may consider exchanging the stock cooler on the video card by a special cooler like the Accelero Twin Turbo from Arctic Cooling to keep temperatures in hand.
    Now go to http://extreme.outervision.com/psucalculatorlite.jsp and use the PSU calculator to roughly decide what your power supply needs to deliver in terms of Wattage. I strongly suggest to get the PRO version (it is cheap!) but it saves you from fatal mistakes. A PSU (power supply unit) is one of the most overlooked and neglected components in a PC and very often the cause for all kinds of mysterious faults, hangs, BSOD's, restarts etcetera. Let me tell what nearly happened to me when building a new PC. I had checked the power supply requirements, checked reviews online and found one PSU that appealed to me, based on the reviews. It was a Zalman 1000 W. Great, looks good and in stock at an attractive price. I then got the pro version and rechecked, with the extra info on the various rails. The Zalman did not have enough power on the 5V rails that I needed. So I had to change the PSU, otherwise I would have been in for a lot of strange, unexplainable and foreall unexpected hangs, restarts and the like, apart from the reduced life expectancy of the PSU.
    Now, we're finally getting somewhere. Only cooling is left, then all the hardware components have been chosen.
    CPU cooling: Again check sites like AnandTech. They regularly perform extensive tests on CPU coolers. Be aware that test results differ widely from site to site, but some of the names to consider are Noctua, Scythe and Thermaltake. It is best to choose a vertical heatsink cooler with 'push-pull' configuration, meaning one fan in front to push the cooling air in to the heatsink and the other fan at the rear to pull out the air. That generally delivers the best cooling performance. These things can be quite heavy so they are not suggested for LAN parties. Install it and leave your PC where it is, otherwise the weight may damage your mobo. When installing the heatsink be very sparing in applying cooling paste (Arctic silver is a good
    suggestion).
    If you have followed my advise in getting a big tower you have room for additional fans in the case. There may not always be holes to attach screws for mounting, but what also works quite effectively is using heavy duty double sided tape to attach fans to a side, on the PSU (if it is mounted at the bottom of the case). Scythe has some very good fans that give a large airflow at reasonable RPM's and low sound levels.
    Once you have built your system you need to decide what OS to use. 32 or 64 bit? The point seems moot now. 64 bit Vista is your best option currently. No driver problems anymore, somewhat decent stability and the use of all your installed memory. Windows 7 is only a RC currently, so I would not advise that on a production machine, but on another machine I would definitely try it. It is as stable as Vista is now, but drivers are still somewhat lacking. XP is out, despite the best stability on a clean and mean system, due to the 32 bit nature.
    After installing the OS, first check your device manager. Make sure that all your devices are working and there are no warnings. Then update Windows, drivers and other system utilities. Then check your hardware, using CPU-Z and HWMonitor, check the cooling and voltages. Your disks should be below 35 C at all times. Then tune your Bios. Once you have completed these steps, proceed with installing your software. Start with essential system tools like Process Explorer, Beyond Compare, etc. and then continue with tuning Windows, removing sh*t you never use on an editing machine, like MSN or Games, setting unneeded services to manual, disabling Windows Defender and installing Symantec Endpoint protection if you have it, and only then start installing CS4 and related programs.
    When all is well, you may consider to start overclocking. TomsHardware and AnandTech have published several articles on how to do that. If you do it right you will not lose stability and may get significant performance gains. It does require more attention to the temperatures in your case.
    When I recently built a new system, my first PassMark (a common benchmark testing program) score was around 3600. After finetuning the system, optimizing Windows and overclocking, I got a PassMark score of 4733.8, which even after a month is still number two in the worldwide ranking.
    For my system specs, look below, maybe you can derive some ideas from it for your next configuration:
    http://www.millcon.nl/Harm/PCResults.jpg
    I hope this has been informative and that you can profit from my remarks.
    I'm sorry this was so long and taxed your patience to the extreme.
    Further suggestions and enhancements are welcome.

    I haven't the faintest idea. I only use DV, HDV and XDCAM-EX/HD and have never tried it with any (RED) 4K material. I assume it should be sufficient to handle that. But let's be honest, when I increased my raid array from 10 to 12 disks, I did not notice ANY performance gains. The limiting factor must be the PCI-e bus or the Areca controller, that just does not show any improvements from adding a couple of disks. Another thing to consider is that the various benchmark programs widely in use show quite different results.
    As an example, here are two images from HD Tune Pro, one for my 2 disk raid0 on the Marvell chip and the other from my 12 disk raid30 array. First of all, HD Tune shows the wrong size, it is not 2199 GB but should be 10000 GB (at least that is what Areca claims as shown in the last picture), second it ONLY performs at around 745 MB/s transfer rate.
    The most noteworthy item to look at is the rapid performance degradation of this raid0 when the disks get fuller. An average transfer rate of 165 MB/s is quite acceptable for a 2 disk setup, but seeing it go down to below 100 MB/s when the disks fill up is bothersome. It will not allow you to handle uncompressed HD at all.

  • What does it take GG to replicate Sequence

    Hello All,
    We have sequences which create values used for Primary Key. We are on the process of creating replication between Oracle Databases.
    I was going through the documentation, it has certain steps mentioned which is mostly for initial data load. (Installing Support for Oracle Sequences in Oracle Installation and Configuration Guide 12.1.2)
    My question is do I need to follow those steps for online change synchronization also? Or we can skip ?
    Thanks,
    Basu

    Hi Basu,
    Yes, The Oracle documentation is always correct. You can follow the steps which they have mentioned in the link
    https://docs.oracle.com/goldengate/1212/gg-winux/GIORA.pdf
    10.2 Installing Support for Oracle Sequences
    Regards,
    Veera

  • User guide: MSI HQ USB BIOS Flash Tool

    Guide based on USB tool v1.17c
    HOW TO properly use the MSI Forum HQ USB Flashing Tool to update your BIOS
    This user guide provides a step-by-step explanation for properly using the >>MSI Forum HQ USB Flashing Tool<< to prepare a USB Flash Drive for a safe BIOS-Flash in a pure DOS Environment. The tool itself will not perform the actual flashing operation.  It will "only" help you to get your USB Stick set up for an automated DOS flashing procedure which requires final confirmation.  (If you should run into any problems before you are prompted for final confirmation in DOS, no attempt to flash has been made yet and there is no danger of a bad flash.)
    NOTE: If you are having problems getting your USB device to boot correctly, you may need to format it correctly as the geometry data may be incorrect. You can do that by pickup option "Fix My USB key" from the Tool or by using >>> THIS <<< tool here! For future usage you can skip this step, it need to be done only once if your stick need adjustment.
    Symptoms that your USB key need a fix after booting from the USB key:
    * Error: "No bootable partition in table"
    * Blinking cursor in a top left corner and nothing happens
    * "RIVER2 MSI"
    * "Error loading operating system"
    * "Missing operating system"
    * "Disk in drive is not a bootable"
    * Booting from selected USB key is IGNORED, the other/typical OS continue to load as usual
    If still no change after using "Fix My USB key" Tool's option or HP Formatter Tool as alternative.
    Then try with different USB key, the issue is there.
    Note: Those USB keys who support "U3 Smart", this "feature" must be removed before proceed.
    Refer to followed link: http://u3.sandisk.com/launchpadremoval.htm
    Read the three notes that follow first before you move on:
    1. Note: Before you even think about flashing a different BIOS, be sure that your system is stable. If it is not stable, make it stable first. (Read >>here<<.)
    2. Note: Make sure your system meets the preconditions and system requirements mentioned below before you attempt to use the tool.
    3. Note: Do know that flashing your BIOS, be it with the help of the tool or otherwise, is done at your own risk.
    Contents of the Guide:
    0. Preconditions & System Requirements
    1. Basic Description of Functionality
    2. Installing/Starting the tool.
    3. Choosing a Preparation Method
      3.1. Method 1: Processing a BIOS Archive Directly (ZIP/RAR)
      3.2. Method 2: Processing a BIOS File Directly
      3.3. Method 3: SureHands Live Update
      3.4. Method 4: Geometry Change
    4. Selecting the USB Flash Drive for preparation
    5. BIOS Settings, Booting & Flashing
      5.1. BIOS Settings to Check
      5.2. Booting from USB Flash Drive
      5.3. Flashing Procedure/Running MemTest86+ & CMOS-Clear
    6. FAQ: Common Problems & Solutions
    7. Version History
    0. Preconditions & System Requirements
    The main precondition for using the tool is a working & healthy Windows installation on the system that needs the BIOS flash.  The Tool is designed to work with MSI Retail Boards & Laptops only.
    Please note mainboards of other brands and OEM boards that are manufactured by MSI but sold by Medion, HP, NEC and others are not supported. If you have an OEM board that needs a BIOS update read this topic: >>OEM boards manufactured by MSI<<
    Supported Operating Systems: All current Windows Versions (32bit & 64bit, any service pack (SP)): Windows NT, Windows 2000, Windows 2003, Windows XP, Windows Vista, and Windows 7.
    The second requirement is that you have a fully functional USB Flash Drive that uses the FAT file system (FAT/FAT32).  NTFS is not supported. If your USB Flash Drive is using the NTFS File System, reformat it to FAT or FAT32.
    As the tool also provides a Live Update Option ("SureHands"), you'll need a working internet connection if you want to choose this method. Not all boards are supported at this point.*
    * Check section 3.3 of this guide to see if your board is currently supported by the SureHands feature.
    1. Basic Description of Functionality
    The MSI Forum HQ USB Flashing Tool will help you to easily prepare an USB flash drive for an automated BIOS flash in a pure DOS environment, which is the safest way to perform such a procedure. The tool will also allow you to run MemTest86+ in a pure DOS environment. However, the preparation of your USB Stick is done in Windows and basically includes two steps:
    (1) The device will be made bootable.
    (2) All necessary files (incl. BIOS file, actual flasher and MemTest86+ executable) and all DOS commands that are needed to flash/test memory will automatically be implemented.
    Because the tool does not reformat your USB Flash Drive*, no files that may currently be on the stick will be lost during the procedure.  Just make sure that there is still some free drive space, otherwise there will not be enough room for the files that are needed for BIOS Flashing.
    * Excluding the Geometry Change method which will destroy all data on the USB storage device.
    2. Installing/Starting the tool
    Treat the forum's USB Flashing Tool like a regular application.  Download it to and run it from your hard drive, there is no need to copy & start it from the USB Flash Drive that you want to use for flashing.  Both, the installer version and the stand-alone version, do precisely the same job.  Which of the two versions you use, is solely up to you and your preferences.  The stand-alone version can be started directly by clicking on the executable file.  The installer version will perform an installation and provide you with an entry in your start menu and a desktop shortcut to start the tool.
    When you start the tool a DOS box should open up to provide you with status messages and prompts.  Do not close that box unless you want to abort the preparation procedure!
    Please ensure that you connect the USB flash drive you wish to use before starting the Tool!
    NOTE: If you do not connect your USB storage device before starting the tool, or the tool doesn't detect it. You can still insert the drive letter, as the tool will continue as normal.
    The tool will first check, if an MSI mainboard is installed in your system and show you its model name and PCB Version in a message box. Click >OK< to continue to choose the tool's preparation method that you want to use to prepare your USB Flash Drive.
    3. Choosing a Preparation Method
    If your MSI Retail Board is properly detected and you have pressed the >OK< button in the message box, an option box will pop up that allows you to choose between three different operating modes.  The options you can choose from are more or less self-explanatory, however, read the detailed description if you are unsure how to proceed at this point:
    3.1. Method 1: Processing a BIOS Archive Directly (ZIP/RAR)
    Official MSI BIOS-Updates that can be downloaded from the product site of your board model do usually come as .ZIP or .RAR archives that contain the actual BIOS File and the corresponding AWARD or AMI flashing utility (depending on the BIOS Type of your board).  If you have downloaded such an archive, you should choose the first method from the option box. 
    You do not need to extract the files from the BIOS archive.  The tool will ask you to point it to the archive you downloaded and automatically extract the BIOS File and the AMI or AWARD flashing utility and put it them on your USB Flash Drive.  You don't have to worry about anything else.  All you have to do is to remember where you saved the ZIP or RAR file you downloaded:
    3.2. Method 2: Processing a BIOS File Directly
    If you do not have a ZIP or RAR archive that already contains a BIOS File and the proper flashing utitility, but only the plain unpacked BIOS File, choose the second Method from the option box.  In most cases BETA BIOS Files supplied by MSI Support or shared here in the Forum do not come with the proper flashing utility.  If the MSI Forum HQ USB Flashing Tool is told to process a plain BIOS File, it will automatically check the type of BIOS File (AMI or AWARD) and then select the proper flashing utility that needs to be used.  All you need to do is point the tool to the BIOS-File that is supposed to be flashed:
    3.3. Method 3: SureHands Live Update
    "SureHands Live Update" is the third operation method you can choose from the option box.  It provides a much safer and more reliable alternative to MSI Live Update as the actual BIOS Flash is performed in a pure DOS environment as well.  If you decide to use this option, you do not to supply the tool with a BIOS-Archive or a BIOS-File.
    Not all MSI Retail Boards are currently supported.  With every update of the USB Flashing Tool more boards will be added.  At present, you can use the "SureHands" Live Update method with the following boards only (the list will be updated regularly):
    AMD based boards:
    K8N Neo4-F (MS-7125, PCB 3.0)
    K8NGM2-FID (MS-7207, PCB 2.0)
    K8N Diamond Plus (MS-7220, PCB 1.0)
    K8N Neo3 (MS-7135, PCB 1.0 & 2.0)
    K9A Platinum (MS-7280, PCB 1.0)
    K9A2 Platinum (MS-7376, PCB 1.0)
    K9A2 CF-F (MS-7388, PCB 1.0)
    K9N Neo-F (MS-7260, PCB 1.0 & 2.0)
    K9VGM-V (MS-7253, PCB1.0)
    K9N2GM-F V2 (MS-7509, PCB 1.0)
    K9N Neo V2 / V3 (MS-7369, PCB 1.1)
    K9N Platinum & K9N SLI Platinum (MS-7250, PCB1.0)
    K9N2 Diamond (MS-7375, PCB 1.1)
    K9N2 SLI Platinum (MS-7374, PCB 1.1)
    K9N2 Zilent (MS-7374, PCB 1.1)
    K9N2 Neo-F (MS-7511, PCB 1.1)
    DKA790GX Platinum (MS-7550, PCB 1.1)
    790FX-GD70 (MS-7577, PCB 1.0)
    790GX-G65 (MS-7576, PCB 1.0)
    Intel based boards
    HydroGenX48C & X48C Platinum (MS-7353, PCB 3.0)
    X48 Platinum (MS-7353, PCB 1.0)
    X38 Diamond Plus
    X38 Diamond (MS-7353, PCB 1.0)
    X38 Platinum (MS-7353, PCB 1.0)
    EFINITY-FP (MS-7395(E), PCB 1.0)
    P35 Neo Combo-F (MS-7365, PCB 1.0)
    P35 Neo2 Series (MS-7345, PCB 1.1)
    P35 Platinum (MS-7345, PCB 1.1)
    P35 Neo-F (MS-7360, PCB 1.0)
    G33 Platinum (MS-7345, PCB 1.1 & PCB 1.2)
    P965 Platinum (MS-7238, PCB 1.1)
    975X Platinum PowerUp Edition (MS-7246, PCB 2.1)
    865PE Neo2-P Platinum Edition (MS-6728, PCB 2.0C)
    P7N SLI Platinum (MS-7380, PCB 1.0)
    P7N2 Diamond (MS-7523 PCB 1.0)
    P7N Diamond (MS-7510, PCB 1.0)
    P7N SLI Platinum (MS-7380, PCB 1.0)
    P6N Diamond (MS-7320, PCB 1.0)
    P6N SLI Platinum (MS-7350, PCB 1.0)
    P6N SLI-FI (MS-7350 PCB 2.0)
    P6N SLI V2 (MS-7346 PCB 1.0)
    ECLIPSE SLI (MS-7520, PCB 1.0)
    ECLIPSE Plus (MS-7566, PCB 1.0)
    P35 Neo3-F (MS-7395, PCB 1.0)
    After selecting "SureHands" from the option box, the tool will automatically check for all available official BIOS-Versions for your mainboard.  It will also look for the latest available BETA BIOS Version for you board and save that information in a TXT-File on your Desktop:
    Note: The SureHands option will not provide you with the latest BETA BIOS, it will only provide the information.
    When the tool is done scanning for official BIOS releases for your board, it will give you the possibility to manually choose the BIOS Version you want to flash.  SureHands Live Update will not automatically select the latest version and use it for flashing, it will give you the chance of choosing between all available official BIOS releases that are available:
    Note that the "May not exist" comment that appears behind some versions does not mean that the BIOS does not exist.  If you know the latest BIOS for your board is e.g. v1.8, SureHands will retrieve it even though there may be such a comment.  That message is part of a prediction feature that tries to determine future BIOS Releases.  If a BIOS version that was predicted by the SureHands feature is not available yet, the tool will tell you if it cannot retrieve the files and ask you to select an earlier version.
    3.4 Geometry Change
    If the tool fails to make your USB storage device bootable then you will need to use this mode. It will make your drive bootable, select it:
    Select your drive then let the tool do it's business.
    Once the process is complete, run the tool again via method 1, 2 or 3, restart your computer and try booting from the USB storage device again.
    NOTE: This method will destroy ALL data on the USB storage device!
    NOTE: This method is available in v1.17 and beyond.
    4. Selecting the USB Flash Drive for preparation
    When you have chosen one of the three methods from the option list and pointed the tool at the corresponding archive, BIOS File or selected the desired BIOS Version from the list in case you chose to use SureHands Live Update, the MSI Forum HQ USB Flashing Tool will prompt you to enter the drive letter of the USB Flash Drive you want to use for flashing:
    Note that certain drive letters are reserved and will therefore not be accepted by the tool (currently A:, B: and C:). If you are sure you have connected an USB Flash Drive to the system that works properly but it does not appear in the table that appears in the DOS box, enter the corresponding drive letter anyway and see if the tool accepts it.  This can happen in rare cases, but it is usually no problem.
    The tool will check the selected drive and will provide you with status messages.  If everything is okay, the message should look like this:
    The tool will attempt to make the device bootable and automatically write all files that are needed for flashing to the drive to prepare it for flashing.  If the procedure was successful, you will get the following message in the DOS box:
    5. BIOS-Settings, Booting & Flashing
    If the Tool has prepared your drive for booting & flashing, no BIOS flash attempt has been made yet. Only the preparation process. In order to initiate the flashing procedure, you have to restart your system and make it boot from the USB Flash drive. Before you move on to do that, enter the BIOS Setup and check a few options:
    5.1. BIOS Settings to Check
    Check USB-related Options in BIOS:
    - USB Controller
    - USB 2.0 Controller
    - USB Legacy Support
    - USB Storage Support
    - Boot from other devices
    - etc.
    Not all of these options may be found in BIOS and the precise name may vary as well.  Just make sure you checked for such options and that they are enabled (if present).
    Another option you should check for is "Boot Sector Protection".  If such an option is present in your BIOS, make sure it is disabled because it may make a BIOS Flash impossible.
    @all Overclockers: In case your system is currently overclocked, make sure you roll back to default clock and voltage settings before you attempt to start the flashing procedure. Otherwise you increase the risk of an unsuccesful flash, and you most probably don't want something like that to happen.
    5.2. Booting from USB Flash Drive
    To boot from your USB drive you can either change the boot sequence in BIOS accordingly or just press F11 during POST* to get access to the BIOS Boot Menu.  From here, you can select you drive directly without having to adjust the boot sequence in BIOS.  Note that your USB Flash Drive may be listed as a hard drive (if you choose that entry you will get another list to choose from).
    * Not all mainboards use F11, for the boot menu. If F11 fails for you, please consult your manual for the correct key.
    Note: If you have problems booting from your drive, look at the FAQ-Section of this guide and see if any of the tips resolve the issue.
    5.3. Flashing Procedure/Running MemTest86+
    As soon as the system boots from the drive, DOS will be loaded and you will be displayed with two options. One option will start MemTest86+, the other will begin the flashing procedure. If no choice is made, MemTest86+ will automatically start.
    The flashing procedure will automatically be initiated from there.  You will see status messages on the screen that will supply you with information and also prompt you for final confirmation for the actual BIOS-Flash.  A backup of you current BIOS will automatically be saved to a file on the drive (backup.bin) before the flashing actually starts.  You do not need to enter any commands in DOS.  All you have to do is acknowledge the information on the screen by pressing a key.
    The flash itself will only take a couple of seconds (20-30s at the most).  If the flashing is successfully completed, shutdown the system and clear CMOS with main A/C power cable removed from PSU.  Read the >>Clear CMOS Guide<< for further information. 
    After clearing CMOS you have completed the BIOS-Flash. 
    Guide created by Jack The Newbie and the forum team

    Version updated to 1.18x:
    * Mode 3 Sure Hands, Live Update:
    - Removed beta BIOS query check[global]
    - Fixed issue K9N2 Diamond unable to be detected as supported unit if onboard is installed BIOS version 2.4,
     add dynamic detection for future versions.
    - Fixed issue 790FX-GD70 unable to be detected as supported unit and add dynamic detection for future versions.
    - Fixed issue 790GX-G65 unable to be detected as supported unit and add dynamic detection for future versions.
    - Add support for 785G-E65, add dynamic detection for future versions, prediction BIOS range 3.1 - 3.A
    - Add support for 785G-E53, add dynamic detection for future versions, prediction BIOS range 3.1 - 3.A
    - Add support for 790GX-G65 Winki ED, prediction BIOS range 2.1 - 2.A
    - Fixed issue P7N Diamond unable to be detected as supported unit if onboard BIOS installed is 1.3 and above,
     add dynamic detection for future versions.
    - Add support for K9A2 Neo2, prediction BIOS range 7.4 - 7.D
    - Add support for 790XT-G45, prediction BIOS range 2.2 - 2.B
    - Add support for 770T-C45, prediction BIOS range 8.4 - 8.D
    - Add support for 770T-C35, prediction BIOS range 8.4 - 8.D
    - Fixed issue K9A2 Platinum[V1,V2] unable to be detected as supported unit if onboard BIOS installed is 1.9,
     add dynamic detection for future versions, prediction BIOS range extended to 1.F0
    - 790GX-G65 board prediction BIOS range extended to ver: 1.D0
    - 790GX-G65 board update bios base ver from 1.xx to 4.xx [following new msi rule for this board jumping from 1.xx to 4.xx]
    - Add support for 770-C35|C45 boards [p1] BIOS range 1.40 - 1.D0
    - Add support for 770-G45 board [p2] BIOS range A10 - AA0
    * Add "Exit" option to navigation screen
    * Update version info related to boot part
    * Update boot part to handle newest features
    * Modify Self update sequence of Installer version
    * Update internal version check ID
    * Mode 4 minor update
    * Build and add new Tool's module for newest features
    * W32 Tool's exit time part decreased by 10 seconds
    * On received OS reboot user request, time delay before execution decreased by 15 seconds
    * Update EC decoder
    * Update start-up information screen
    * Auto store start-up detected information to user's desktop ==> [MSIHQ_INFO.TXT]
    Details:
    Easy to show machine information on request, instead write down from the screen manually, now just copy/paste can be used from MSIHQ_INFO.TXT
    User can check and compare information before and after the BIOS update
    Also usefull if didn't remember what was his original BIOS or EC versions before the update, Tool will auto store it there.
    And easy can be checked if needs. E.g Tool's log file of each Tool's execution, each report will include date and time as well.
    F.A.Q example:
    Q: I flashed BIOS on my notebook and now it doesn't work properly.. And i don't remember what was my old BIOS version.. What can i do?
    A: Take a look in MSIHQ_INFO.TXT at your desktop, there is auto recorded your detailed information about your notebook before the BIOS update.
    So you can easy find what was your original BIOS & EC versions.
    Is it OEM one or not, and the exact original BIOS & EC versions.
    So you can roll back easy or if crossflashing were done to reflash to correct versions.
    Example question:[this board now use 4.xx bios, but don't have time to make a new images.]
    It's just example, do not mean that this BIOS used in the example is bad. But generally often can need to roll back to older version.
    Or to use Sure Hands because[The BIOS is N/A for manual download, By SureHands no need to browse/search/download and point to the BIOS version, also eliminate any chances to pickup the wrong BIOS, and not at last its more quickly[save a time]]
    Q: I flashed my BIOS via MSI Live Update, but the new BIOS has an issues.
        How i can roll back to my old BIOS version?
        The MSI LiveUpdate can only update to the latest BIOS version, which is not good for me.
        And i can't download my old BIOS version manually... Because "This BIOS can only update via Live Update function"
        http://eu.msi.com/index.php?func=downloaddetail&type=bios&maincat_no=1&prod_no=1739
        How i can re-flash to my original BIOS version and from where can i get it?
    A: Run >>Use the MSI HQ Forum USB flasher<<,
    then choose Mode 3 [Live Update{aka SureHands}]:
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in ба 30.12.2009 Ј. at 21:09:45,15
    Mainboard:  790GX-G65 (MS-7576)       
    PCB Version:  1.0
    BIOS Version: V1.3
    BIOS Date:  05/08/2009
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in ба 30.12.2009 Ј. at 21:22:38,42
    Mainboard:  790GX-G65 (MS-7576)       
    PCB Version:  1.0
    BIOS Version: V1.6
    BIOS Date:  11/30/2009
    Then choose your old BIOS version from the list:
    The followed image used below is a sample from Eclipse board,[no time to make accurate image] but will look similar for others boards too:
    In a list will be noticed that there is a future BIOS versions.
    Some of them will be not released yet. If you pick some of those the Tool will note you:
    It's a part of Tool's BIOS prediction system called "Crystal Ball", when MSI release a future BIOSes for your board,
    Tool can find them immediately. By that way the Tool no need to be updated to be actual in each moment
    * Add new feature "True BIOS Version Ready"
    - Updated Mode 1
    - Updated Mode 2
    - Updated Mode 3
    Details:
    Q: What "True BIOS Version Ready" means? Does the Tool show the wrong BIOS version until now? 
    A: Of course not, the Tool always show accurate info.
    The same as CPU-Z/Everest of whatever other Tool.
    However Tool also detect EC-FW versions for notebooks:
    The "True BIOS Version Ready" Tool's feature is aimed to eliminate user's mass confusion about MSI BIOS versions.
    And not only users are confused, but MSI's Live Update is confused too... which confuse users even more..
    Few typical real examples of confusion:
    "K9A2 CF wont flash to Bios v. 1.A !!!" 
    Quote from: Fingon on 25-October-09, 16:53:15
    Hi MSI,
    I have a problem. I have bought a new processor: AMD Phenom II x545. I looked on the support page of my MB (MSI K9A2 CF) and there the CPU is supported from the bios version 1.A. So I wanted to flash the Bios the the newest version (1.A). I used the MSI live update 4 program to flash it via windows mode. But everytime it boots it writes "CMOS checksum BAD", then I hit F1 to Bios and I see the version of my BIOS fell to the oldest version 1.1. Then I tried to flash it thru Flash disc (with boot files) and dos mod. The result is the same. I can flash my MB to version 1.8 but when I try the 1.A it wont flash it and my Bios fell to the oldest version (1.1). I realised that the exe files in version 1.1-1.8 are the same (afud412.exe) but the exe file in 1.A is different (afud4310.exe).
    My questions are:
    1) How to flash my MB to the version 1.A ?
    2) Is version 1.A really needed for AMD Phenom II x545? I guess yes, because CPU was avaible in July 2009 and the bios 1.A went out in June 2009. I am able to flash it only to version 1.8 (december 2008).
    Thank you for any help!!
    EDIT: After reading this topic: https://forum-en.msi.com/index.php?topic=129204.0 I realised I have the VERSION 1 of this board (I purchased it right after the launch of the MB (November 2007). It means it doesnt support CPU over 95W, but my Phenpom II x545 has only 80W. I still cant update Bios to the 1.A version.
    So my third question is:
    3) Is the Bios update 1.A only for version 2 of this MB?
    Thx for replies!
    Quote from: Jack t.N. on 25-October-09, 17:16:16
    A CMOS Checksum error is normal and expected after a BIOS Flash and/or a CMOS Clear.  The fact that this message appears, shows, that there was actually something programmed to the chip.
    If you haven't done that yet, please clear CMOS with the main A/C power cable removed from your PSU and load "Optimized Defaults" in BIOS Setup.
    The BIOS Version should be shown on the POST Status Screen and there should be a date behind it.  Please check the BIOS Date and write it down:
    Are you absolutely and entirely sure that what you see is "1.1" and not "1.10"?  Because v1.A0 is actually just the hexadecimal notation for v1."10" (one dot ten).  The hexadecimal notation is only used in the BIOS File Ending.  Once flashed, the BIOS will not identify itself in hexadecimal notation but in decimal code (which means you will never see "v1.A0" after the flash but "v1.10" instead.
    Here is a piece of well-meant advice for now and the future:  MSI Live Update should be avoided under all circumstances when it comes to BIOS Updates and/or information retrieval regarding your current BIOS Version.  Why?  Because this tool is stupid and one of there most risky applications for performing a BIOS Flash.  Please uninstall it completely.
    Why do I call it stupid?  I call it stupid because it does not differentiate between hexadecimal notation and decimal notation.  It will show you that "v1.A0" is available.  The it will flash it, if you allow it to do so.  Of course, a v1.A0 Version will always come out as "v1.10" (one dot ten).  When you re-run MSI Live Update it will not recognize that v1.A0=v1.10 and tell you again that there is a newer version available (1.A0, which, again, is the same as v1.10, which was just properly flashed).
    I believe that the update went just fine, that you are currently using v1.A0=v1.10 and that MSI Live Update is actually just creating a pseudo-problem which is currently confusing you.  The pseudo-problem will immediately be out of the world, if you uninstall MSI Live Update and rely on the BIOS ID String as it appears on the POST Status Screen (this includes the date shown there).
    If a BIOS Update should ever be necessary again, please make sure that you won't use MSI Live Update but >>Use the MSI HQ Forum USB flasher<< instead.
    Quote from: Fingon on 25-October-09, 18:03:44
    Thank you for the quick reply!!
    Thats exactly what I have JUST found in this post by Svet: https://forum-en.msi.com/index.php?topic=127672.msg974800#msg974800
    Yes it is 1.10 of course!! I didnt know that 1.10 = 1.A0 ! Thank you for the reply. Then the MSI live update 4 program is dump that he wanted from me another update of Bios.
    So thank you! Problem is solved. 
    Edit: Yes, because of MSI live update I learned how to flash bios via flash disc. :-) But I was still confused by that 1.10 and of course by program saying me I should update again.. :-P
    Quote from: Lostsoul777 on 14-August-09, 05:46:25
    I had the same problem with 1.90 bios, so i updated to 1A, i just want to know why Bios Version says: v.1.10 instead v.1A?
    Quote from: LinuxGuy on 29-December-09, 01:17:45
    My computer does not have a floppy drive.  How do I update the BIOS?  (I tried the online utility 3 times.  It always updates the BIOS "successfully" and when I restart my PC, I have to do either F1 to config or F2 to load setup defaults.  So it looks like it's working, but the online update says that I have versions H.10 and version H.A0 is available (or maybe the other way around).  So either the BIOS is getting updated, but the online tool is not recognizing this or it's not getting updated.  Either way, I would like to manually flash it in DOS.  Is it safe to burn the setup files to CD and boot from CD into DOS?
    That's the same BIOS version... Just the "MSI Live Updater" is not very smart...
    H.A=H.10=17.A=17.10 [A=10, H=17], the last "0" suffix in H.A0 means its official version.
    Quote
    I tried the online utility 3 times.  It always updates the BIOS "successfully" and when I restart my PC, I have to do either F1 to config or F2 to load setup defaults.
    So it looks like it's working, but the online update says that I have versions H.10 and version H.A0 is available (or maybe the other way around).
    So ignore this MSI Live Updater's no sense, and stop flashing your BIOS. You already have the latest version installed.
    The Tool now will detect and shows BIOS versions alias when the MSI BIOS version is known with more than one name.
    So no more flashing and flashing and flashing to the same version because of MSI LiveUpdate suggest again BIOS update...
    Also no more confusion:
    "What's my BIOS version?" -> I flashed my BIOS to 1.A0 [A7520IMS.1A0], but BIOS says its 1.10
    And MSI Live Update also says that i have 1.10 and 1.A0 is available and i should update it. I flashed it again, but its still 1.10?
    What's going on?
    Just run the MSIHQ USB Flash Tool and will show you all that you need to know
    Examples[with real/accurate info]:
    MSI Eclipse:
    BIOS version 1.9:
    BIOS version 1.10:[Tool now shows both BIOS versions alias]
    Report stored respective in MSIHQ_INFO.TXT at user's desktop:
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in ба 30.12.2009 Ј. at  5:30:55,34
    Mainboard:  Eclipse SLI (MS-7520)
    PCB Version:  1.0
    BIOS Version: V1.9
    BIOS Date:  09/22/2009
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in ба 30.12.2009 Ј. at  5:37:25,66
    Mainboard:  Eclipse SLI (MS-7520)
    PCB Version:  1.0
    BIOS Version: V1.A (aka Version: V1.10)
    BIOS Date:  10/27/2009
    More examples =>K9N6SGM-V / K9N6PGM-FI / K9N6PGM-F :
    More examples =>945GCM5-F V2 (FSB 1333) :
    Report stored respective in MSIHQ_INFO.TXT at user's desktop:
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in ба 30.12.2009 Ј. at  5:47:34,35
    Mainboard:  MS-7267
    PCB Version:  4.0
    BIOS Version: VH.9 (aka Version: V17.9)
    BIOS Date:  11/20/2008
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in ба 30.12.2009 Ј. at  5:52:46,26
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: VH.A (aka Version: V17.10)
    BIOS Date:  06/02/2009
    More examples =>780GT-E63 [N/A at MSI web yet] :
    For MSI Notebooks such decoding isn't need, examples:
    * Add new feature "Triple BIOS flash Recovery Ready"
    - Updated Mode 1
    - Updated Mode 2
    - Updated Mode 3
    Details:
    The feature include 3 auto prepared BIOS backups for followed purpose:
    * Internal BIOS recovery:
     - In a failure case Tool perform auto flash recovery [3 attempts, check for success after each and stop flashing if successful] before give control to BK_IO2, notice users about results and give control for manual attempts[if need]. [This a case if system isn't lockup/reboot, if bad flash occur]
     - This mode also have own store up to 5 backups[+1, the last saved copy is always backup.bin, if there was older one they become backup1.bin .. till 5]
    * BIOS backup stored as AMIBOOT.ROM [AMI BIOS only] [Auto clean up older if there is any, before take a new backup to avoid recovery confusion]
    * BIOS backup detected and stored for M-Flash style boot/recovery [AMI BIOS only] [Auto clean up older if there is any, before take a new backup to avoid recovery confusion]
    Performing test simulations with random generated BIOS versions[including betas] for M-Flash boot/recovery style, some examples:
    Copy/paste Tool log file:
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:00:53,46
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: VD.XB2 (aka Version: V13.33B2)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created  ==> A7267IMS.DX2 
    Where:
    * V13.33B2 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * VD.XB2 ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.DX2 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:12:23,95
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: VK.VB7 (aka Version: V20.31B7)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.KV7 
    Where:
    * V20.31B7 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * VK.VB7 ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.KV7 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:18:34,46
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: V3.9
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.390 
    Where:
    * V3.9 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * MSIHQ Tool "True BIOS Ready" detection feature isn't need here, since this BIOS version can be known only with one name.
    * A7267IMS.390 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:22:24,04
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: V8.1B9
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.819 
    Where:
    * V8.1B9==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * MSIHQ Tool "True BIOS Ready" detection feature isn't need here, since this BIOS version can be known only with one name.
    * A7267IMS.819  ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:25:38,51
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: V4.E (aka Version: V4.14)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.4E0 
    Where:
    * V4.14 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * V4.E ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.4E0 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:28:16,62
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: V1.BB1 (aka Version: V1.11B1)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.1B1 
    Where:
    * V1.11B1 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * V1.BB1 ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.1B1 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:31:57,78
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: VI.FB5 (aka Version: V18.15B5)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.IF5 
    Where:
    * V18.15B5 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * VI.FB5 ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.IF5 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:36:02,40
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: V7.O (aka Version: V7.24)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.7O0 
    Where:
    * V7.24 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * V7.O ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.7O0 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:39:11,84
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: VC.8B6 (aka Version: V12.8B6)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.C86 
    Where:
    * V12.8B6 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * VC.8B6 ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.C86 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:49:38,46
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: VG.PB6 (aka Version: V16.25B6)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.GP6 
    Where:
    * V16.25B6 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * VG.PB6 ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.GP6 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]
    MSIHQ: Information detected by MSIHQ Tool ver: 1.18x
    MSIHQ: Report generated in 03.01.2010 г. at  7:53:17,26
    Mainboard:  945GCM5-F V2  (MS-7267)
    PCB Version:  4.0
    BIOS Version: VU.H (aka Version: V30.17)
    BIOS Date:  06/02/2009
    Co-respond BIOS backup created ==> A7267IMS.UH0 
    Where:
    * V30.17 ==> MSIHQ Tool detection [The same as CPU-Z, Everest]
    * VU.H ==> MSIHQ Tool "True BIOS Ready" detection feature
    * A7267IMS.UH0 ==> MSIHQ Tool BIOS recovery created by "Triple BIOS flash recovery Ready", part M-flash boot/recovery [1/3]

  • Getting Access is Denied when Running Script in OSD Task Sequence

    I am attempting put in a script that will move the computer account to the proper OU in AD.  I have the script but when it launches inside of the TS I get "CScript Error: Loading script "C:\_SMSTaskSequence\WDPackage\Scripts\MoveOU.vbs" failed
    (Access is denied. )."
    I am using the Run Command Line, and using the "Run this step as the following account"  I have verified that the account has access to do what I need it to do in AD.  I have attached the logs as well.
    PackageID = 'WI10015A' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    BaseVar   = '', ContinueOnError='' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    SwdAction = '0001' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    Getting linked token InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    failed to get the token information InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    Get RunAs private desktop SMSTS-169042\SMSTSDesktop
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Run command line under a user account InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Found the location for the package _SMSTSWI10015A. The location is on \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    nPos != CCM::Utility::String::npos, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,253)
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Creating a connection to \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\ with default account
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Connection request for "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    No credentials available for connecting to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A". See whether the share has already been connected.
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Connecting to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Successfully connected to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Resolved source to '\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A'
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Command line for extension .exe is "%1" %* InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Set command line: Run command line InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Working dir '\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A'
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Executing command line: Run command line InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Create a process under given user token InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Process completed with exit code 1 InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Microsoft (R) Windows Script Host Version 5.8
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Copyright (C) Microsoft Corporation. All rights reserved.
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    CScript Error: Loading script "C:\_SMSTaskSequence\WDPackage\Scripts\MoveOU.vbs" failed (Access is denied. ).
    InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Command line returned 1 InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Entering ReleaseSource() for \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    reference count 1 for the source \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\ before releasing
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Released the resolved source \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Process completed with exit code 1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Failed to run the action: Move Computer to Correct OU. 
    Incorrect function. (Error: 00000001; Source: Windows)
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Sending status message . . . TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Send a task execution status message SMS_TSExecution_ActionFailError
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    MP server <SCCMSERVERNAME> and port 80. SSL=false. CRL=false.
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Site code: WI1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Client machine name: 1J44KQ1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Client Identity: GUID:6ffb32d4-1184-4e40-a1c8-26272a707a72
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Advertisement ID: WI12029D TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Package ID: WI1001E7 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Sending StatusMessage TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Formatted header: TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>ABB94CBE-33F4-4EB9-A151-34EE3474A0F9</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-03-21T12:46:54Z</SentTime><Protocol>http</Protocol><Body
    Type="ByteRange" Offset="0" Length="4174"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
    TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    CLibSMSMessageWinHttpTransport::Send: URL: <SCCMSERVERNAME>:80  CCM_POST /ccm_system/request
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    The request has succeeded. 200 OK TSManager
    3/21/2012 8:46:55 AM 2520 (0x09D8)
    Set a global environment variable _SMSTSLastActionRetCode=1
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Set a global environment variable _SMSTSLastActionSucceeded=false
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Clear local default environment TSManager
    3/21/2012 8:46:55 AM 2520 (0x09D8)
    Let the parent group (Testing) decides whether to continue execution
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    The execution of the group (Testing) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Failed to run the last action: Move Computer to Correct OU. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows)
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Any suggestions would be greatly appreciated!
    "You can't fix stupid!"

    I'm having the exact same issue.  I'm using AutoIT for my script to move the computer account.  I've tried using ADO, LDAP, and LDAP/ADSystemInfo object.  They all fail with access denied.  In fact the ADO version of my script fails just
    trying to create the "ADODB.Connection" object which I know for a fact doesn't require elevation or administrator access.  However, all three versions of the script work correctly when run manually outside the TS.  They also work correctly on XP
    machines during OSD.  Only when deploying a Win7 machine do they fail during the TS.  I've tried adding the runas user to the local administrators group beforehand but no dice.  Did you have to restart the computer after doing the net localgroup
    change?  There has to be some other security config in Win7 that is set somewhere doing this.  I just can't figure out what.  I've even started looking at DCOM/COM permissions to see if something isn't right there.
    I don't see why but maybe the script needs to be run locally?  Any other ideas?

  • Oracle 10gR2 WebService Call-In & Call-Out via PL/SQL (Step-by-Step Guide)

    Hi Everyone,
    This guide is for those of you who tried to Call-In and Call-Out WebService via Oracle 10gR2 using PL/SQL but failed a couple of times, re-installed a couple of times and retry, got it to work but don't know what made it work scenarios.
    Hope this helps ;-)
    Thanks,
    Henry Wu
    Instructions on how to use Oracle10gR2 Webservice Call-Out feature (Oracle JAX-RPC DII - Dynamic Invocation (DII) APIs)
    PREREQUISITE
    =================================================================
    1. Download Oracle Database 10g Release 2 (10.2.0.1.0) (ZIP, ~655MB)
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
    http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
    1.1 Choose Enterprise Edition
    2. Download 10.1.3.1 Callout Utility for 10g (R1 +R2) RDBMS (ZIP, ~13MB)
    http://download.oracle.com/technology/sample_code/tech/java/jsp/dbws-callout-utility-10131.zip
    2.1 Extract to C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131
    3. Download OC4J Standalone - Oracle Containers for J2EE (OC4J) 10g Release 3 (10.1.3.3) (ZIP, ~93MB; Pure Java—runs on all certified platforms)
    http://www.oracle.com/technology/software/products/ias/index.html (Download Site)
    http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
    3.1 Extract to C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
    STEP-BY-STEP PROCEDURES
    =================================================================
    1. Prepare the database
    1.1 Connect to SYS account (or any account that can connect as SYSDBA)
    1.2 alter system set shared_pool_size=96M scope=both
    1.3 alter system set java_pool_size=80M scope=both
    1.4 ALTER USER SCOTT ACCOUNT UNLOCK;
    1.5 ALTER USER SCOTT IDENTIFIED BY "tiger";
    1.6 ALTER USER SCOTT QUOTA UNLIMITED ON USERS;
    1.7 GRANT PUBLIC TO SCOTT;
    1.8 GRANT Create Public Synonym TO SCOTT;
    2. Load Oracle SOAP client to SCOTT (for Oracle 10g Release 2 Database)
    2.1 Commands
    2.1.1 Open command prompt (cmd.exe)
    2.1.2 loadjava -u scott/tiger -r -v -f -genmissing -s -grant public C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\webservices\lib\soap.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\lib\dms.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\jlib\javax-ssl-1_1.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\servlet.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\mail.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\activation.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\http_client.jar C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\lib\ejb.jar
    2.1.3 It will take around 3 minutes and you will see "something" like the following when it completes (count may not be exact) :
    Classes Loaded: 909
    Resources Loaded: 75
    Sources Loaded: 0
    Published Interfaces: 0
    Classes generated: 0
    Classes skipped: 0
    Synonyms Created: 984
    Errors: 0
    2.1.3 Close this command prompt
    3. Load Oracle JAX-RPC client to SYS (for Oracle 10g Release 2 Database)
    3.1 Commands
    3.1.1 Open command prompt (cmd.exe)
    3.1.2 loadjava -u sys/oracle -r -v -f -genmissing -s -grant public C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\dbwsclientws.jar C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\dbwsclientdb102.jar
    3.1.2.1 It will take around 15 minutes and you will see "something" like following when it completes (count may not be exact) :
    Classes Loaded: 4027
    Resources Loaded: 81
    Sources Loaded: 0
    Published Interfaces: 0
    Classes generated: 61
    Classes skipped: 0
    Synonyms Created: 4108
    Errors: 0
    3.1.3 Close this command prompt
    4. Execute UTL_DBWS packages to SYS (for Oracle 10g Release 2 Database)
    4.1 Commands
    4.1.1 Connect to SYS account only
    4.1.2 Execute the following (in TOAD you should execute them as Script, press the "thunder" button)
    4.2.1 @"C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\utl_dbws_decl.sql"
    4.2.2 @"C:\oracle\product\10.2.0\db_1\dbws_callout_utility_10131\sqlj\lib\utl_dbws_body.sql"
    4.2.3 CREATE PUBLIC SYNONYM utl_dbws FOR sys.utl_dbws;
    5. Call-out a free Web Service using SCOTT
    5.1 Commands
    5.1.1 Connect to user SCOTT with password of TIGER
    5.1.2 Copy and Paste the following "Anonymous Block" (sample #1) and execute it :
    5.1.2.1 It sould return "PL/SQL DII client return ===> Redwood City"
    declare
    service_ utl_dbws.SERVICE;
    call_ utl_dbws.CALL;
    service_qname utl_dbws.QNAME;
    port_qname utl_dbws.QNAME;
    operation_qname utl_dbws.QNAME;
    string_type_qname utl_dbws.QNAME;
    retx ANYDATA;
    retx_string VARCHAR2(1000);
    retx_double number;
    retx_len number;
    params utl_dbws.ANYDATA_LIST;
    l_input_params utl_dbws.anydata_list;
    l_result ANYDATA;
    l_namespace VARCHAR2(1000);
    begin
    -- open internet explorer and navigate to http://webservices.imacination.com/distance/Distance.jws?wsdl
    -- search for 'targetNamespace' in the wsdl
    l_namespace := 'http://webservices.imacination.com/distance/Distance.jws';
    -- search for 'service name' in the wsdl
    service_qname := utl_dbws.to_qname(l_namespace, 'DistanceService');
    -- this is just the actual wsdl url
    service_ := utl_dbws.create_service(HTTPURITYPE('http://webservices.imacination.com/distance/Distance.jws?wsdl'), service_qname);
    -- search for 'portType name' in the wsdl
    port_qname := utl_dbws.to_qname(l_namespace, 'Distance');
    -- search for 'operation name' in the wsdl
    -- there will be a lot, we will choose 'getCity'
    operation_qname := utl_dbws.to_qname(l_namespace, 'getCity');
    -- bind things together
    call_ := utl_dbws.create_call(service_, port_qname, operation_qname);
    -- default is 'FALSE', so we make it 'TRUE'
    utl_dbws.set_property(call_, 'SOAPACTION_USE', 'TRUE');
    -- search for 'operation soapAction' under <wsdl:operation name="getCity">
    -- it is blank, so we make it ''
    utl_dbws.set_property(call_, 'SOAPACTION_URI', '');
    -- search for 'encodingstyle' under <wsdl:operation name="getCity">
    utl_dbws.set_property(call_, 'ENCODINGSTYLE_URI', 'http://schemas.xmlsoap.org/soap/encoding/');
    -- search for 'binding style'
    utl_dbws.set_property(call_, 'OPERATION_STYLE', 'rpc');
    -- search for 'xmlns:xs' to know the value of the first parameter
    -- under <wsdl:message name="getCityResponse"> you will see the line <wsdl:part name="getCityReturn" type="xsd:string" />
    -- thus the return type is 'string", removing 'xsd:'
    string_type_qname := utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
    -- in the line <wsdl:operation name="getCity" parameterOrder="zip">
    -- the parameterOrder is 'zip', thus we put in 'zip'
    -- the 'ParameterMode.IN' is used to specify that we will be passing an "In Parameter" to the web service
    -- the 'ParameterMode.IN' is a constant variable in the sys.utl_dbws package
    utl_dbws.add_parameter(call_, 'zip', string_type_qname, 'ParameterMode.IN');
    utl_dbws.set_return_type(call_, string_type_qname);
    -- supply the In Parameter for the web service
    params(0) := ANYDATA.convertvarchar('94065');
    -- invoke the web service
    retx := utl_dbws.invoke(call_, params);
    -- access the returned value and output it to the screen
    retx_string := retx.accessvarchar2;
    dbms_output.put_line('PL/SQL DII client return ===> ' || retx_string);
    -- release the web service call
    utl_dbws.release_service(service_);
    end;
    5.1.3 Copy and Paste the following "Anonymous Block" (sample #2) and execute it :
    5.1.3.1 It should return "PL/SQL DII client return ===> twelve thousand three hundred and forty five"
    declare
    service_ utl_dbws.SERVICE;
    call_ utl_dbws.CALL;
    service_qname utl_dbws.QNAME;
    port_qname utl_dbws.QNAME;
    operation_qname utl_dbws.QNAME;
    string_type_qname utl_dbws.QNAME;
    retx ANYDATA;
    retx_string VARCHAR2(1000);
    retx_double number;
    retx_len number;
    params utl_dbws.ANYDATA_LIST;
    l_input_params utl_dbws.anydata_list;
    l_result ANYDATA;
    l_namespace VARCHAR2(1000);
    begin
    -- open internet explorer and navigate to http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL
    -- search for 'targetNamespace' in the wsdl
    l_namespace := 'http://www.dataaccess.com/webservicesserver/';
    -- search for 'service name' in the wsdl
    service_qname := utl_dbws.to_qname(l_namespace, 'NumberConversion');
    -- this is just the actual wsdl url
    service_ := utl_dbws.create_service(HTTPURITYPE('http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL'), service_qname);
    -- search for 'portType name' in the wsdl
    port_qname := utl_dbws.to_qname(l_namespace, 'NumberConversionSoap');
    -- search for 'operation name' in the wsdl
    -- there will be a lot, we will choose 'NumberToWords'
    operation_qname := utl_dbws.to_qname(l_namespace, 'NumberToWords');
    -- bind things together
    call_ := utl_dbws.create_call(service_, port_qname, operation_qname);
    -- default is 'FALSE', so we make it 'TRUE'
    utl_dbws.set_property(call_, 'SOAPACTION_USE', 'TRUE');
    -- search for 'operation soapAction' under <operation name="NumberToWords">
    -- it is blank, so we make it ''
    utl_dbws.set_property(call_, 'SOAPACTION_URI', '');
    -- search for 'encodingstyle'
    -- cannot find xml tag 'encodingstyle', so we just use the following as the generic encoding style
    utl_dbws.set_property(call_, 'ENCODINGSTYLE_URI', 'http://schemas.xmlsoap.org/soap/encoding/');
    -- search for 'binding style'
    -- although 'document' was used, it produced an error, thus we will use 'rpc'
    -- this value is generally only 'document' or 'rpc'
    utl_dbws.set_property(call_, 'OPERATION_STYLE', 'rpc');
    -- search for 'xmlns:xs' to know the value of the first parameter
    -- under <xs:element name="NumberToWords"> you will see the line <xs:element name="ubiNum" type="xs:unsignedLong" />
    -- thus the return type is 'unsignedlong', removing 'xs:'
    -- however, upon testing, using 'unsignedlong' produced an error, while 'string' did not, so we will use 'string'
    string_type_qname := utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
    -- under <xs:element name="NumberToWords"> you will see the line <xs:element name="ubiNum" type="xs:unsignedLong" />
    -- the element name is 'ubiNum', thus we put in 'ubiNum'
    -- the 'ParameterMode.IN' is used to specify that we will be passing an "In Parameter" to the web service
    -- the 'ParameterMode.IN' is a constant variable in the utl_dbws package
    utl_dbws.add_parameter(call_, 'ubiNum', string_type_qname, 'ParameterMode.IN');
    utl_dbws.set_return_type(call_, string_type_qname);
    -- supply the In Parameter for the web service
    params(0) := ANYDATA.convertvarchar('12345');
    -- invoke the web service
    retx := utl_dbws.invoke(call_, params);
    -- access the returned value and output it to the screen
    retx_string := retx.accessvarchar2;
    dbms_output.put_line('PL/SQL DII client return ===> ' || retx_string);
    -- release the web service call
    utl_dbws.release_service(service_);
    end;
    NOTES AND REFERENCES
    =================================================================
    This detailed step-by-step guide was produced with the following guide http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    I could still not load Oracle JAX-RPC client to SCOTT (step 4) as it produces an error. See the following for more details :
    http://forums.oracle.com/forums/thread.jspa?threadID=633219&tstart=0
    Also, I could not consume some of the other free Web Services out there for reasons I don't know, hope someone can help clarify. See the following for more details :
    http://forums.oracle.com/forums/thread.jspa?threadID=630733&tstart=0
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Instructions on how to use Oracle10gR2 Webservice Call-In feature
    PREREQUISITE
    =================================================================
    1. Download Oracle Database 10g Release 2 (10.2.0.1.0) (ZIP, ~655MB)
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
    http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
    1.1 Choose Enterprise Edition
    2. Download OC4J Standalone - Oracle Containers for J2EE (OC4J) 10g Release 3 (10.1.3.3) (ZIP, ~93MB; Pure Java—runs on all certified platforms)
    http://www.oracle.com/technology/software/products/ias/index.html (Download Site)
    http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
    2.1 Extract to C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
    STEP-BY-STEP PROCEDURES
    =================================================================
    1. Connect to SYS account and create user STORE
    CREATE USER store IDENTIFIED BY store;
    GRANT connect, resource TO store;
    2. Connect to Oracle using the user STORE and password STORE
    CONNECT store/store;
    3. Execute the following objects for this excercise
    CREATE SEQUENCE order_sq;
    CREATE TABLE product_types (
    product_type_id INTEGER
    CONSTRAINT product_types_pk PRIMARY KEY,
    name VARCHAR2(10) NOT NULL
    CREATE TABLE products (
    product_id INTEGER
    CONSTRAINT products_pk PRIMARY KEY,
    product_type_id INTEGER
    CONSTRAINT products_fk_product_types
    REFERENCES product_types(product_type_id),
    name VARCHAR2(30) NOT NULL,
    description VARCHAR2(50),
    price NUMBER(5, 2)
    CREATE TABLE customers (
    customer_id INTEGER
    CONSTRAINT customers_pk PRIMARY KEY,
    first_name VARCHAR2(10) NOT NULL,
    last_name VARCHAR2(10) NOT NULL,
    dob DATE,
    phone VARCHAR2(12)
    CREATE TABLE orders (
    order_id INTEGER
    CONSTRAINT orders_pk PRIMARY KEY,
    product_id INTEGER
    CONSTRAINT purchases_fk_products
    REFERENCES products(product_id),
    customer_id INTEGER
    CONSTRAINT purchases_fk_customers
    REFERENCES customers(customer_id),
    quantity INTEGER NOT NULL
    INSERT INTO customers (
    customer_id, first_name, last_name, dob, phone
    ) VALUES (
    1, 'John', 'Brown', '01-JAN-1965', '800-555-1211'
    INSERT INTO product_types (
    product_type_id, name
    ) VALUES (
    1, 'Book'
    INSERT INTO products (
    product_id, product_type_id, name, description, price
    ) VALUES (
    1, 1, 'Modern Science', 'A description of modern science', 19.95
    COMMIT;
    CREATE OR REPLACE PACKAGE dbfunc AS
    FUNCTION place_order (
    p_product_id INTEGER,
    p_customer_id INTEGER,
    p_quantity INTEGER
    RETURN VARCHAR2;
    END dbfunc;
    CREATE OR REPLACE PACKAGE BODY dbfunc AS
    FUNCTION place_order (
    p_product_id INTEGER,
    p_customer_id INTEGER,
    p_quantity INTEGER
    RETURN VARCHAR2 IS
    v_customer_count INTEGER;
    v_product_count INTEGER;
    v_order_id INTEGER;
    BEGIN
    -- count the number of products with the
    -- supplied p_product_id (should be 1 if the product exists)
    SELECT COUNT(*)
    INTO v_product_count
    FROM products
    WHERE product_id = p_product_id;
    IF v_product_count = 0 THEN
    RETURN 'No such product';
    END IF;
    -- count the number of customers with the
    -- supplied p_customer_id (should be 1)
    SELECT COUNT(*)
    INTO v_customer_count
    FROM customers
    WHERE customer_id = p_customer_id;
    IF v_customer_count = 0 THEN
    RETURN 'No such customer';
    END IF;
    -- get the next value from orders_sq
    SELECT order_sq.nextval
    INTO v_order_id
    FROM dual;
    -- place the order
    INSERT INTO orders (
    order_id, product_id, customer_id, quantity
    ) VALUES (
    v_order_id, p_product_id, p_customer_id, p_quantity
    COMMIT;
    RETURN 'Order placed with id of ' || v_order_id;
    EXCEPTION
    WHEN OTHERS THEN
    ROLLBACK;
    RETURN 'Order not placed';
    END place_order;
    END dbfunc;
    4. Install and Configure OC4J
    4.1 Change Directory
    4.1.1 Open command prompt (cmd.exe)
    4.1.2 CD C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\bin
    4.2 Configure Environment variables (type in command prompt)
    4.2.1 set JAVA_HOME=C:\oracle\product\10.2.0\db_1\jdk
    4.2.2 set ORACLE_HOME=C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
    4.3 Starting OC4J for the first time
    4.3.1 oc4j -start
    4.3.2 If this is not your first time to "start" oc4j, go to step 4.3.4
    4.3.3 Set oc4jadmin password (use the password "oracle" w/o the quotation marks)
    08/03/21 17:13:54 Set OC4J administrator's password (password text will not be displayed as it is entered)
    Enter password:
    Confirm password:
    Confirm password: The password for OC4J administrator "oc4jadmin" has been set.
    08/03/21 17:14:01 The OC4J administrator "oc4jadmin" account is activated.
    4.3.4 OC4J has started if you see the message :
    08/03/21 17:14:16 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    4.3.5 Leave this command prompt open
    4.4 Configure Data Source
    4.4.1 Open a new command prompt via the cmd.exe command
    4.4.2 type "hostname" and then press enter
    4.4.3 Keep this command prompt open for later use
    4.4.4 Open Windows Explorer and navigate to the folder C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config
    4.4.5 Open the file data-sources.xml
    4.4.6 Modify and Save the file so that it will look something like the following :
    4.4.6.1 Note that "hpv2710us" is my hostname found in step 4.4.2
    4.4.6.2 Note that "ORCLDEV" is the name of my Oracle Instance. (Default installation uses ORCL only)
    <connection-pool name="Example Connection Pool">
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"
    user="store"
    password="store"
    url="jdbc:oracle:thin:@//hpv2710us:1521/ORCLDEV">
    </connection-factory>
    </connection-pool>
    4.4.7 Close the text editor
    4.4.8 Close the Windows Explorer
    4.4.9 Close this command prompt (type exit)
    5. Publishing a PL/SQL Package as a Database Web Service
    5.1 Create the config.xml file
    5.1.1 Open Notepad.exe
    5.1.2 Copy and Paste the following :
    5.1.2.1 Note that "hpv2710us" is my hostname found in step 4.4.2
    5.1.2.2 Note that "ORCLDEV" is the name of my Oracle Instance. (Default installation uses ORCL only)
    <web-service>
    <display-name>PLSQL Web Service</display-name>
    <description>PLSQL Sample</description>
    <destination-path>./dbfunc.ear</destination-path>
    <temporary-directory>/tmp</temporary-directory>
    <context>/plsqlsample</context>
    <stateless-stored-procedure-java-service>
    <jar-generation>
    <schema>store/store</schema>
    <db-url>jdbc:oracle:thin:@hpv2710us:1521:ORCLDEV</db-url>
    <prefix>db.func.place.order</prefix>
    <db-pkg-name>dbfunc</db-pkg-name>
    </jar-generation>
    <uri>/dbfunc</uri>
    <database-JNDI-name>jdbc/OracleDS</database-JNDI-name>
    </stateless-stored-procedure-java-service>
    <wsdl-gen>
    <wsdl-dir>wsdl</wsdl-dir>
    <option name="force">true</option>
    <option name="httpServerURL">http://localhost:8888</option>
    </wsdl-gen>
    <proxy-gen>
    <proxy-dir>proxy</proxy-dir>
    <option name="include-source">true</option>
    </proxy-gen>
    </web-service>
    5.1.3 Save file as config.xml in the directory C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config
    5.1.3.1 Note it should be config.xml and not config.txt
    5.1.4 Close the text editor
    5.2 Publish dbfunc Oracle Package as a Web Service
    5.2.1 Open a new command prompt via the cmd.exe command
    5.2.2 CD C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home
    5.2.3 mkdir ear
    5.2.4 CD ear
    5.2.5 set ORACLE_HOME=C:\oracle\product\10.2.0\db_1\oc4j_extended_101330
    5.2.6 set CLASSPATH=.;%ORACLE_HOME%\webservices\lib\wsdl.jar;%ORACLE_HOME%\lib\xmlparserv2.jar;%ORACLE_HOME%\soap\lib\soap.jar
    5.2.7 java -jar %ORACLE_HOME%\webservices\lib\WebServicesAssembler.jar -config C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\config\config.xml
    Please wait ...
    STORE.DBFUNC
    5.2.8 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -deploy -file C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home\ear\dbfunc.ear -deploymentName dbfunc
    08/03/21 17:46:23 Notification ==>Application Deployer for dbfunc COMPLETES. Operation time: 296 msecs
    5.2.9 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -bindWebApp -appname dbfunc -webModuleName dbfunc_web
    5.2.10 java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin oracle -bindAllWebApps -appname dbfunc
    5.2.11 Close this command prompt (type exit)
    6. Test dbfunc Web Service
    6.1 Restart OC4J
    6.1.1 Open the command prompt you used to start OC4J in step 4.1.1/4.3.1
    6.1.2 In the keyboard, hit Ctrl+C
    6.1.2.1 Type "Y" and then hit Enter
    08/03/21 18:02:51 Shutting down OC4J...
    Terminate batch job (Y/N)? Y
    6.1.2.2 Note that the command prompt should still be open
    6.1.2.2.1 If you accidentally closed the command prompt just do the following
    6.1.2.2.1.1 Do 4.1.1 to 4.2.2 and then proceed to 6.1.3
    6.1.3 oc4j -start
    Starting OC4J from C:\oracle\product\10.2.0\db_1\oc4j_extended_101330\j2ee\home...
    08/03/21 18:07:57 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    6.1.4 Leave this command prompt open
    6.2 Use the Web Service to "Order an Item"
    6.2.1 Connect to Oracle using the user STORE and password STORE
    6.2.2 select * from orders
    6.2.2.1 Zero row should return
    6.2.3 Open Internet Explorer
    6.2.4 Navigate to http://localhost:8888/plsqlsample/dbfunc
    6.2.5 Input the following :
    6.2.5.1 param0 value: 1
    6.2.5.2 param1 value: 1
    6.2.5.3 param2 value: 10
    6.2.6 Click the Invoke button
    6.2.7 A pop-up window will appear having the following contents :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <ns1:placeOrderResponse xmlns:ns1="http://db.func.place.order/dbfunc.wsdl" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xsi:type="xsd:string">Order placed with id of 1</return>
    </ns1:placeOrderResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    6.2.8 Go back to SQLPLUS or Toad and execute "select * from orders" again
    6.2.8.1 There should be one row
    ORDER_ID, PRODUCT_ID, CUSTOMER_ID, QUANTITY
    1, 1, 1, 10
    NOTES AND REFERENCES
    =================================================================
    This detailed step-by-step guide was produced with the following article by Jason Price http://www.oracle.com/technology/pub/articles/price_10gws.html

    Success!!!
    I had to grant this permissions:
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', '' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.lang.RuntimePermission', 'setFactory', '' )
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.util.PropertyPermission', 'HTTPClient.socket.idleTimeout', 'write' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', 'localhost', 'resolve' );
    call dbms_java.grant_permission( 'WS_TEST', 'SYS:java.net.SocketPermission', '127.0.0.1:8084', 'connect,resolve' );
    As I wrote earlier, WS_TEST is my user into which I load JAX-RPC client. Note that, if you load JAX-RPC client into user another than SYS, you have NOT to use -s -grant public option (wassam wrote about this too). Another thing is that I (finally) didn't load OC4J. To consume WebService I use utl_dbws.invoke(call_Handle CALL, request SYS.XMLTYPE) function.
    voytec001

Maybe you are looking for