New-MailExportRequest immediately running a second time

Dear PS / EMS experts,
Just quickly - background info.
I recently moved a small accounting firm (18 staff) from SBS 2003 to SBS 2011. Having purchased SBS 2011 Standard over a year ago knowing end-of-support for Exchange 2003 SP3 was 8th April 2014. Today its 11th May and everything is working fairly well -
except the usual suspects (WSUS) & daily network report errors (I read how to suppress those - cool - will do so soon).
This was not a migration (too many things to go wrong IMHO). So I did a controlled train wreck by building a *new* Virtual Server SBS 2011 standard on one of 2 new Windows 2012 physical servers with plenty of grunt 12 TB 64 GB RAM (2 physical servers
for redundancy.) These run on the same subnet and are not domain joined - that's what I want. They are 'aloof' and I can toss VMs around at will using Hyper-V. Just thought I would describe that as it works great. I export the critical VM's monthly. Fabulous
way of backing up / disaster recovery IMHO.
As ExMerge said "are you joking!" when I tried to write out one of the partners mailboxes (7 GB lol). I had to manually export each staff member using Outlook 2010. It worked - took A WHILE. :-) But was
robust. So, over Easter I was able to import all staff PST's to Exchange 2010 SP3 on SBS 2011 - again using Outlook - logging on as each user with reboots etc.
New-MailExportRequest scripts cycling through users. OK, I can do that, and there are nice vintage 2011 PowerShell scripts for this BUT it takes TWO Hours & would wear out the HDD and probably ruin an SSD in a couple of years running this daily.
OK, my question. Having searched the internet for a couple of days I can't seem to find out what happens when I
simply run the (7 GB partners) Mailbox export to the same location the next day. Is the file overwritten? Does the script silently abort as (OMG) the PST file exists! Or, does it SYNC the PST file with all
changes (new email sent /rec / calendar updates etc.). I mean, wouldn't that be fabulous! That would be so cool as a default. Can anyone help me by explaining what a "double export" wil do to the existing PST file?
I know I can filter just todays email for an export at say 2 AM for each user. But then I need to manage little PST files all over the place - until, say, next Sunday when I do a full export again. Like incremental backups in the old days.
Sorry for the wordy post but I wanted to explain this issue. A great answer, I would venture to say, would help many 'admins' in this exact predicament.
Many thanks,
Ken
KeBugCheck(42);

Dear Larry, I wish to backup this small companies email. A pretty good goal I would have thought! With SBS 2003 Backup Exec would take 7 hours to do a Mailbox backup. Yes, I am testing the outcome tonight. It is 2:05 AM and I was sneaking into the kitchen
to raid the chocolate Ice Cream. Which I did.
I see the PS script is doing what it did
all afternoon this Sunday. It is now Monday morning - early hours of. That is, a slight increase of mailbox size is observed. This is incoming spam I guess arriving at the popular staff mailboxes.
So, I can see the PST file is not 'destroyed' by the second run of the PowerShell script. I love this Exchange 2010 and its EMS. Lots of articles on backing up - exporting to PST - fabulous and robust Mailbox backup. The CEO understands PST's can be opened
in Outlook for discovery of email items / legal reasons etc. Ah, I see it has finished at 1:51 AM - so not bad, 40 minutes to run. I used a script from another MVP, Steve Goodman.
In a DR scenario, (say, host HDD E: drive crashes) I simply put back last months SBS 2011 VM export on one of the physical machines and get it to import yesterdays email. Fantastic - _almost_ perfect recovery. I have been doing IT since 1970's
btw when I made my first MPU based Motorola 6800 based board.
I asked the question hoping someone will know _what_ happened tonight. As you have not answered it I will wait patiently for an answer. it seems as if the PST was updated incrementally. Fantastic - 40 minutes. I will RoboCopy the PST's to a safe place as
I finalize this daily backup strategy.  None of the workstations are doing Tax returns at - I see its now.. 2:12 AM :-) Workstation bandwidth? Forget it. :-)
Thanks for your reply anyway. MS documentation does not state what happens. I have observed the 8 GB PST does not go to 0 bytes and then start growing again. It stays at 8 GB and tots up a few more KB on the second run through. So I suspect I have a perfect
backup. So, I will leave my question hanging there & its getting cold! I'm going back to bed!
Ken
KeBugCheck(42);

Similar Messages

  • Power supply freezes after running vi second time

    Hello,
    I am just starting my adventures in brave new world of LabView and I run into a problem with my first serious vi which is controling CPX400DP power supply and DPO4104 oscyloscope.
    What my vi should be doing:
    First it sets current levels of both channels of power supply (e.g. 5V on first, 0V on second) and size of the jump (e.g. 0.5V). Then vi should change both current levels by size of the jump and repeat till the current levels of both channels would be reverse to the start value (in this case, 0V on first channel, 5V on second). Also before every current change the vi would save to file mean of measurements out of the waveform from oscyloscope.
    What my vi is doing:
    At first run it seems that it's doing everything in order (new text file with resonable numbers is created). However, when I try to run the vi a second time my power supply freezes short after few current changes. I can stop the execution of the vi in LabView (it does take a while though) but to successfully run the vi again I must reset my power supply (turn it off and on).
    I tried to go around this problem by modyfing the vi in a way that it would do what I want multiple times during running the vi only once but unfortunately that didn't work.
    If anyone would have any suggestions about what I am doing wrong or how to help fix this problem feel free to share I don't bite... much  But seriously, I'm stuck with this problem for over a week and I'll be glad for any tips 
    Thanks!
    Waldek.
    PS Sorry if I am not clear somewhere but I'm not used to talk about programing in English
    PSS In attachments are my main vi and two sub vis.
    Solved!
    Go to Solution.
    Attachments:
    controling_power_supply_NEW.vi ‏29 KB
    current_changer.vi ‏17 KB
    waveform_reader_saver.vi ‏21 KB

    Revan-Ghost wrote:
    Thanks for a suggestion Bill but could you elaborate a bit on "try inserting ;*OPC? after every setup command"? I understand what that would do, concept wise, but as a new user I don't know how to do that in LabView. And Good Uncle Google doesn't say anything about " ;*OPC? " and insist on talking about OPC servers instead.
    I'm sorry - I was looking at the manual and failed to realize that the missing subVIs from your code were actually drivers for your power supply, so you may not be able to implement this (unless the drivers themselves have the "Operation Complete" capability - hopefully the drivers came with documentation).  Else, you may be stuck having to hardcode waits after each command.
    If you wrote your own drivers, this is how you would send the command to set output 1 to 1 Volt:
    V1 1;*OPC?
    The V1 1 sets your voltage to 1 Volt.  To tack on another command, you use the semicolon.  The *OPC? command forces it to return send a "1."  SInce the commands are acted upon sequentially, the power supply can't send the "1" until it is done processing the command to set it to 1 Volt.  After that command is complete, the "1" is sent, you read the 1 out of the buffer and move on.  This avoids issues where you pile on too many commands at once.  I checked the manual and it supports this feature.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Thread won't run a second time

    Using JDK 1.4.1 on a Windows 2000 box
    After a thread is created, started and completes, it is not possible to start the same thread object a second time.
    I'm not sure what's going on here. It seems that a thread pool implementation could never work if what I've found is true. This seems unlikely, but my test program is very simple. If you run it you will notice that run() is called after the first start(), but not after the second. The isAlive() state returns false as expected after the join(), so it appears the thread has finished executing. I've tried sleeping in various ways waiting for the thread to start the second time, but it never starts.
    public class ThreadTest
        private static class MyThread extends Thread
            final public void run()
                System.out.println( "run() called" );
        private static void testThreadRestart()
            for ( int i = 0; i < 10; i++ )
                System.out.println( i );
                try
                    MyThread thread = new MyThread();
                    System.out.println( "start() called 1" );
                    thread.start();
                    thread.join();
                    System.out.println( "thread.isAlive() = " + thread.isAlive());
                    //Thread.sleep( 60000 );
                    System.out.println( "start() called 2" );
                    thread.start();
                    thread.join();
                    System.out.println( "thread.isAlive() = " + thread.isAlive());
                    // Try a sleep loop to wait for the thread to start.
                    for ( int j = 0; j < 1000; j++ )
                        Thread.sleep( 1 );
                    //Thread.sleep( 60000 );
                catch ( InterruptedException e )
                    // do nothing
        public static void main( String[] args )
            testThreadRestart();
    }

    I found the following information in "Concurrent Programming in Java" 2nd Edition, by Doug Lea.
    "Threads are not restartable, even after they terminate. Invoking start more than once results in an InvalidThreadStateException."
    The first part seems to be true, but the second part is only true if the thread is still alive. Once the thread completes, calling start() a second time results in no exception and no action.
    I did not find any such information in Sun's documentation.
    Apparently a thread pool implementation relies on threads that never "finish". That is the thread object never exits the run() method, but employs a mechanism by which it accepts new tasks, executes them. When the task completes, the thread's run() method loops and waits for a new task. run() is never exited.

  • C++/CUDA DLL fails to give correct results when running a second time

    Hi all.
    I just finished writing a C++/CUDA DLL that runs in labview.
    It passes a 3d array, crunches the data, then spits out some results as a 2d array.
    When I open labview, and run it, I get the predicted results. However if I run the labview code again, it gives me garbage data.
    I have to not only close the open VI, but all of labview itself, reopen it, and then it will work again for one run.
    I read a thread on somthing similar to this happening with C++ code due to the way labview handled threads, however this was over 10 years ago, and it seems that since LV 2008 this has been fixed. I am running LV 2011.
    In my code, I checked that all dynamic memory allocated gets deleted, both on the GPU and CPU so other than that, I'm not sure what the problem could be. What changes when I call the DLL a second time?
    Please ask me to clarify anything that you might need to know about the program, and its implimentation.
    I have written other labview DLLs in just C++ that have not had this problem, so I wonder if it is a CUDA specific thing, or maybe somthing else I am overlooking.

    It seems to be that something not properly closed. What you can try is - unload DLL.
    CUDA Compute Context should be theoretically not necessary if your CUDA functions executed "all in one call" (and properly closed at all). The reason for NI Compute is following: it is not guaranteed that thread safe DLL calls will be called in the same thread. So, for example if you have three separate DLL calls in LabVIEW, for example - transfer data to GPU memory, compute, transfer back to the host - they should be done in the same thread (in CUDA terms all functions should be executed within same context). You can call these functions in UI thread - it will work, but the UI thread will be blocked. Or you can mark calls as thread safe, and using NI Compute - then all three calls will be done within same thread and this thread is separated from UI thread.
    Andrey.

  • Can I run a second Time Machine on one computer?

    Hi guys,
    Is there any way I can run two Time Machines for one computer? I want to have one external Time Machine backup sitting on my desk, and another stored offsite for safe keeping, then swap them over every few days so that they are both generally up to date.
    Any ideas?

    not across internet. you can back up across local network to a Time Capsule, a drive connected to Airport extreme base station or another mac running leopard, leopard server or a Xsan storage device. all other network backups are unsupported. and it's definitely not possible to do it over internet.

  • Created new page, upon opening for second time, not finding css or doc

    I created a brand new page. I created CSS styles. I made the CSS an external style sheet. I worked on the document for a couple of hours, then closed and quit DW CS4. Finally got back to working on it today. When I open the document and make a change to one of the previously created CSS rules, I get an error that says "an unexpected error occurred while trying to read style-sheet information." I hit ok.
    When I click on the name of the css external style sheet, pennyhill.css that shows at the top left of my index.html page, it says pennyhill.css cannot be found. if the file exists on the server, use the files panel to get the file from the server. If I click back on the source code to the left of the css fle name, it tells me the index.html file cannot be found.
    I searched this forum and tried a couple of things that were suggested to others having similar problems. I have links relative to document clicked in the manage sites area and in preferences>preview in browser I have preview using temp file checked. I think I have a path problem but for the life of me I just don't know how to fix this.
    Here is a url to the page:
    http://www.pennyhillfurnishings.com
    Can anyone help? Thanks.

    I am just trying to be thorough. You are asking the questions, and I am answering not just for you but for others who may happen upon your question and want to know a little more.
    Regarding buggy-ness: It's all personal opinion, after all. I have not had any buggy experiences with DW. Your friend has, and that's her experience, which is valuable. Personal stories both. If you have buggy experiences with DW, then you will also think it buggy. A lot depends on the rest of your computer system, what operating system you are using, etc. etc. But I still do not believe that it is, across the board, buggy.
    What do you think the difference between Save and Save All is? You have actually figured it out, even if you have not articulated it. Save saves the file that you are working on. Period. It does not save the auxiliary files at the same time. Save All saves all files that are open in DW at the time.
    I am not Adobe. I have no idea why they chose to make both a Save and a Save All. But I use both of them daily.
    Dreamweaver gives you many choices in terms of your personal use of the program. What it does not do is duplicate the functioning of another program...like GoLive...completely. It is Dreamweaver, it is not GoLive. Things you like there may not appear here, etc.
    I apologize for making you feel that I am being condescending, and ignorant is a term I would NEVER use. But the fact remains that as we learn (and yes, we are all still learning), we develop our intuitions for a program. I learn something new every day, and I've been at it a while.
    My question for you is, what possible difference does it make to you that there are both a Save and a Save All? It is not common, in my experience, for features to become fewer as a software product progresses through time. I'm unaware of any noticeable savings (in any dimension) to limiting the functions to simply a Save All.
    In fact, I frequently have open files in one website and files from another defined website that I am using for reference. I do not always want those reference pages to be saved when working in the first site. I realize they will always be saved in the correct place, but if I am altering them on the fly to see if something will work, I do not always want to save my experimentation.
    So I guess that's the long-form answer to your, "You uppity woman, you," but that's how it is.
    I wish you only the best,
    Beth

  • New Issues with Flash builder - Second time you do search from imported Tutorial file it breaks with AS error

    Okay, so I had an issue with the Design View that was broke because of the <s:text> tag inside of the <s:RichText> tag. Adobe fiexed that in one of the next released builds (discussion here in fourms). So I took the tutorial file (again) and started to work on it and all went okay, except that the 'tracking' method on the ricktext tag was taken out. Forums mentioned that. So on import of the 'tutorial' fxp from FC to Flex builder, you get several errors because FC still builds the fxp file with 'tracking' property being used in the RichText tag. No biggie, i just remapped to trackingLeft property in the effected files. Now mind you in  the older build that I had this project, worked fine, with the exception of the 'design view' issue with the <s:text> file borking the design view. Bug on it said it was fixed with the next build. which it was but this now when you take the EXACT same code and compile and run it the seach will break each and everytime. Think it has or may have something to do with Adobe taking out the 'tracking' property on the richtext tag.
    anyone else having this issue?
    attaching the fxp file
    btw, posted as a bug FB-21116
    https://bugs.adobe.com/jira/browse/FB-21116
    Craig

    I can recreate the problem but I haven't seen it reported
    before. WebHelp has an option that would let you avoid the input
    box in the Index but not FlashHelp.
    There is information in Snippet 1 on my site about TOC
    synchronisation but I don't know if it will help with FlashHelp.
    Please report this bug via the Adobe site.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • My MacBook Pro won't shutdown and can't force it to turn off using the power button.  My computer is few months new and this is the second time that I have problems.... hate it!

    I close my computer and when I open it to wake it up,it didn't no respond.  The screen is black and can turn it off holding the power buttom.  Also, I cannot remove the battery beacuse the stupid thing is sealed... help!!!  I just bought my Mac and this is the secon time I had problems with it.  It already had the motherboard replaced... *****!!!

    I need to work on my computer now... and the store is closed, that is why I am using this site to see if someone has a quick solution.
    Why in the world Mac makes a computer with a battery that is not easy to pull out or rest???. Should I unscrew the bottom cover and try to remove the battery? Is there a reset button?
    I am hating Mac now... I have never has so many problems with a computer and few solutions at hand... it seems that this is a common problem but it has been delete from the forums in the Mac site...
    What is going on???

  • A ERROR when I run VL01N second times, why?

    when I click "post goods issue" in vl01n, the order saved success, but when I re-enter vl01n and re-input this order number, the system display "No devivery-relevant items in order 0000000008, order type OR, message no.VL455, why?  why system display this error message

    hi
    once you PGI was done after that you cannot create the delivery again
    if you want to delivery partially you need to maintain changes in the copying control from sales doc to delivery doc and in item category also you need to maintain corresponding settings for exces delivery and under delivery
    if the system is giving message take the help of ABAPer
    regards
    srini

  • Cannot run a jsp a second time in WebLogic Portal 10.3

    I have an index.jsp that has bunch of links that build pdfs.
    here's the code from the jsp that builds the links
    <netui:anchor action="openDocumentForView" target="new">view
         <netui:parameter value="${container.index}" name="id"/>
    <netui:parameter value="${container.item.documentType}" name="type"/>
    <netui:parameter value="${container.item.imageToken}" name="imageToken"/>
    <netui:parameter value="${container.item.tokenId}" name="
    </netui:anchor>
    the idea is that it opens a new window and streams a pdf.
    The action in the jpf does the forward like this
         URI uri = new URI("showImage.jsp");
         System.out.println("uri = " + uri.toString());
         return new Forward(uri, true);
    the showImage.jsp looks like this:
    <%@ page import="java.io.*, java.util.*"%>
    <%
    System.out.println("showImage.jsp ran....");
    response.setContentType("application/pdf");
    byte[] pdf = (byte[]) request.getSession(false).getAttribute("imageObject");
    request.getSession(false).removeAttribute("imageObject");
    response.getOutputStream().write(pdf);
    response.getOutputStream().flush();
    response.getOutputStream().close();
    %>
    What happens is:
    I click on one link
    the new window opens
    in the controller the pdf is built & put in the session
    in the new window, showImage.jsp is loaded and the pdf is displayed.
    Then I close the showImage.jsp window, in the first window I click another link
    in the controller the new pdf is built & put in the session
    in the new window the previous pdf is sent to the user.
    the jsp doesn't run a second time ( there's a print statement that never runs, so I know the jsp never runs, and a few other tests).
    It's not cached in the browser, I've used response.setHeader to prevent other caching.
    so I'm stumped.
    Does anyone know how to get this jsp to run everytime it's called?
    Thanks
    John
    Edited by: user11142479 on Mar 9, 2011 12:51 PM

    I don't recall the product shipping a facet called Mobility Framework. This might have come from another product called WebLogic Mobility Server. I do not believe that this product exists anymore since the Oracle purchase of BEA. This product came from a partner called MobileAware and I think you can still purchase it from them if you require it.
    However, you might want to read about the native capabilities in WLP for handling multiple devices. Read:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portals/multichannel.html to see if this is sufficient for your requirements.
    Brad

  • Error While running the prgram in Second time...Frank Could u pls check th

    Hi,
    I am using JDeveloper 11g.
    I have created a web application using ADF Business Components. Here I created a Bar Graph. When I am running the first it works fine. But when I try to run the second time it is giving some errors like Error 500 - Internal Server Error.
    Kindly help me...
    Thanks in Advance
    Regards,
    Jithesh.

    Hi Timo,
    Thanks a lot for the response.
    I am searched as per your advise but still ma problem is there... I am not getting any proper solution for this
    In the setDomainEnv.cmd file I am unable to find the PermGen size as you said...In the file I got the following line.
    set MEM_PERM_SIZE=-XX:PermSize=48m
    Is this I hv to change or something else. I am attaching the same file contents. Kindly help me....
    set ORACLE_HOME=C:\Oracle\Middleware\jdeveloper
    set WL_HOME=C:\Oracle\Middleware\wlserver_10.3
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
    set BEA_JAVA_HOME=
    set SUN_JAVA_HOME=C:\Oracle\Middleware\jdk160_05
    if "%JAVA_VENDOR%"=="BEA" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
         if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Sun
              set JAVA_HOME=C:\Oracle\Middleware\jdk160_05
    @REM We need to reset the value of JAVA_HOME to get it shortened AND
    @REM we can not shorten it above because immediate variable expansion will blank it
    set JAVA_HOME=%JAVA_HOME%
    for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
    set SAMPLES_HOME=%WL_HOME%\samples
    set DOMAIN_HOME=C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    set LONG_DOMAIN_HOME=C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
    if "%DEBUG_PORT%"=="" (
         set DEBUG_PORT=8453
    if "%SERVER_NAME%"=="" (
         set SERVER_NAME=DefaultServer
    set POINTBASE_FLAG=false
    set enableHotswapFlag=
    set PRODUCTION_MODE=
    set doExitFlag=false
    set verboseLoggingFlag=false
    for %%p in (%*) do call :SET_PARAM %%p
    GOTO :CMD_LINE_DONE
         :SET_PARAM
         for %%q in (%1) do set noQuotesParam=%%~q
         if /i "%noQuotesParam%" == "nodebug" (
              set debugFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "production" (
              set DOMAIN_PRODUCTION_MODE=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "notestconsole" (
              set testConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noiterativedev" (
              set iterativeDevFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
              set logErrorsToConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "nopointbase" (
              set POINTBASE_FLAG=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "doExit" (
              set doExitFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "noExit" (
              set doExitFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "verbose" (
              set verboseLoggingFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "enableHotswap" (
              set enableHotswapFlag=-javaagent:%WL_HOME%\server\lib\diagnostics-agent.jar
              GOTO :EOF
         ) else (
              set PROXY_SETTINGS=%PROXY_SETTINGS% %1
         GOTO :EOF
    :CMD_LINE_DONE
    set MEM_DEV_ARGS=
    if "%DOMAIN_PRODUCTION_MODE%"=="true" (
         set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
    if "%PRODUCTION_MODE%"=="true" (
         set debugFlag=false
         set testConsoleFlag=false
         set iterativeDevFlag=false
    @REM If you want to override the default Patch Classpath, Library Path and Path for this domain,
    @REM Please uncomment the following lines and add a valid value for the environment variables
    @REM set PATCH_CLASSPATH=[myPatchClasspath] (windows)
    @REM set PATCH_LIBPATH=[myPatchLibpath] (windows)
    @REM set PATCH_PATH=[myPatchPath] (windows)
    @REM PATCH_CLASSPATH=[myPatchClasspath] (unix)
    @REM PATCH_LIBPATH=[myPatchLibpath] (unix)
    @REM PATCH_PATH=[myPatchPath] (unix)
    call "%WL_HOME%\common\bin\commEnv.cmd"
    set WLS_HOME=%WL_HOME%\server
    set MEM_ARGS=-Xms256m -Xmx512m
    set MEM_PERM_SIZE=-XX:PermSize=48m
    set MEM_MAX_PERM_SIZE=-XX:MaxPermSize=128m
    if "%JAVA_VENDOR%"=="Sun" (
         if "%PRODUCTION_MODE%"=="" (
              set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
    @REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
    if "%JAVA_VENDOR%"=="Sun" (
         set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="HP" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    @REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
    if NOT "%USER_MEM_ARGS%"=="" (
         set MEM_ARGS=%USER_MEM_ARGS%
    set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%
    @REM To use Java Authorization Contract for Containers (JACC) in this domain,
    @REM please uncomment the following section. If there are multiple machines in
    @REM your domain, be sure to edit the setDomainEnv in the associated domain on
    @REM each machine.
    @REM
    @REM -Djava.security.manager
    @REM -Djava.security.policy=location of weblogic.policy
    @REM -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy
    @REM -Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.PolicyConfigurationFactoryImpl
    @REM -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleMapperFactoryImpl
    set EXTRA_JAVA_PROPERTIES=-Ddomain.home=%DOMAIN_HOME% -Doracle.home=%ORACLE_HOME% -Doracle.security.jps.config=%DOMAIN_HOME%\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
    set ARDIR=%WL_HOME%\server\lib
    pushd %LONG_DOMAIN_HOME%
    @REM Clustering support (edit for your cluster!)
    if "%ADMIN_URL%"=="" (
         @REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
    ) else (
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
    if NOT "%LOG4J_CONFIG_FILE%"=="" (
         set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%
    @REM Clear the pre_classpath here in case an application template wants to set it before the larger pre_classpath is invoked below
    set PRE_CLASSPATH=
    set JAVA_DEBUG=
    if "%debugFlag%"=="true" (
         set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
    ) else (
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
    if NOT exist %JAVA_HOME%\lib (
         echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
         echo Please edit your environment and set the JAVA_HOME
         echo variable to point to the root directory of your Java installation.
         popd
         pause
         GOTO :EOF
    if "%POINTBASE_FLAG%"=="true" (
         set DATABASE_CLASSPATH=%POINTBASE_CLASSPATH%
    ) else (
         set DATABASE_CLASSPATH=%POINTBASE_CLIENT_CLASSPATH%
    set POST_CLASSPATH=
    set POST_CLASSPATH=%ORACLE_HOME%\modules\features\adf.share_11.1.1.jar;%POST_CLASSPATH%
    set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%;%ARDIR%\xqrl.jar
    @REM PROFILING SUPPORT
    set JAVA_PROFILE=
    set SERVER_CLASS=weblogic.Server
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
    @REM -- Setup properties so that we can save stdout and stderr to files
    if NOT "%WLS_STDOUT_LOG%"=="" (
         echo Logging WLS stdout to %WLS_STDOUT_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
    if NOT "%WLS_STDERR_LOG%"=="" (
         echo Logging WLS stderr to %WLS_STDERR_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
    @REM ADD EXTENSIONS TO CLASSPATHS
    if NOT "%EXT_PRE_CLASSPATH%"=="" (
         set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
    if NOT "%EXT_POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
    if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    @REM SET THE CLASSPATH
    set CLASSPATH=%PRE_CLASSPATH%;%WEBLOGIC_CLASSPATH%;%POST_CLASSPATH%;%WLP_POST_CLASSPATH%
    set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    Jithesh.

  • Error While running the prgram in Second time..Frank Could u pls check this

    Hi,
    I am using JDeveloper 11g.
    I have created a web application using ADF Business Components in JSF pages(Created the Bar Graph). When I am running the first it works fine. But when I try to run the second time it is giving some errors like Error 500 - Internal Server Error.
    Kindly help me...
    Thanks in Advance
    Regards,
    Jithesh.

    So what do you find in the log files, or console output?
    --olaf                                                                                                                                                                                               

  • Running New-MailBoxExportRequest a second time to same PST(s)

    Originally asked in SBS 2011 forum yesterday - Now asking here: I recently moved a small accounting firm (18 staff) from SBS 2003 to SBS 2011. Having purchased SBS 2011 Standard over a year ago knowing end-of-support for Exchange 2003 SP3 was 8th April
    2014. Today its 11th May and everything is working fairly well - except the usual suspects (WSUS) & daily network report errors (I read how to suppress those - cool - will do so soon). So, for a few dollars I have AD, Exchange 2010 SP3, wsus and this setup
    is perfect for this small company. Other 2012 servers do LOB apps. SBS does Exchange. Excellent.
    This was not a migration (too many things to go wrong IMHO). So I did a controlled train wreck by building a *new* Virtual Server SBS 2011 standard on one of 2 new Windows 2012 physical servers with plenty of grunt 12 TB 64 GB RAM (2 physical servers
    for redundancy.) These run on the same subnet and are not domain joined - that's what I want. They are 'aloof' and I can toss VMs around at will using Hyper-V. Just thought I would describe that as it works great. I export the critical VM's monthly. Fabulous
    way of backing up / disaster recovery IMHO.
    As ExMerge said "are you joking!" when I tried to write out one of the partners mailboxes (7 GB lol). I had to manually export each staff member using Outlook 2010. It worked - took A WHILE. :-) But was
    robust. So, over Easter I was able to import all staff PST's to Exchange 2010 SP3 on SBS 2011 - again using Outlook - logging on as each user with reboots etc.
    New-MailExportRequest scripts cycling through users. OK, I can do that, and there are nice vintage 2011 PowerShell scripts for this BUT it takes TWO Hours & would wear out the HDD and probably ruin an SSD in a couple of years running this daily.
    OK, my question. Having searched the internet for a couple of days I can't seem to find out what happens when I
    simply run the (7 GB partners) Mailbox export to the same location the next day. Is the file overwritten? Does the script silently abort as (OMG) the PST file exists! Or, does it SYNC the PST file with all
    changes (new email sent /rec / calendar updates etc.). I mean, wouldn't that be fabulous! That would be so cool as a default. Can anyone help me by explaining what a "double export" wil do to the existing PST file?
    I know I can filter just todays email for an export at say 2 AM for each user. But then I need to manage little PST files all over the place - until, say, next Sunday when I do a full export again. Like incremental backups in the old days.
    Sorry for the wordy post but I wanted to explain this issue. A great answer, I would venture to say, would help many 'admins' in this exact predicament.
    Many thanks,
    Ken
    KeBugCheck(42);

    Troy, I would expect to indeed write out two new files. The 2nd one overwriting the first one; both times, with exactly the range asked for. After all, these files are used for legal purposes. If the date range contained history items simply
    because the IT admin didn't erase the earlier export, that would be poor functionality.
    When I did the first export of this company, the whole process took 1 hour and 50 mins. It now just takes 40 minutes. Other factors though! The VM disk is self expanding on the Backup VM. So it would have had to grow the first time.
    If I get a chance I will do your test, but I would then be looking at reporting this as a
    bug to Microsoft! If the file just updated!
    Not specifying a date range (with export to same PST file) should be covered in the documentation. One would expect the file to be "re-done". However watching the target file, it just sits there around 8.4 GB with just a few KB being added on the
    second run through. It 'looks' like it is being updated intelligently. That is, existing items are not overwritten. With the PST file structure being fairly complicated (not just a linear file), we need someone who knows to chime in and let us know what is
    happening.
    I haven't tried doing just this mailbox. I will do that on one of the exported SBS 2011 sets of Hyper-V files. I will run that up on an isolated virtual private network and do some tests.
    The bottom line though is because I am asking about an undocumented 'feature' :-) I was hoping someone who knew exacty what was going on could answer this. Thanks for your thoughts.
    Ken
    KeBugCheck(42);

  • My new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.

    my new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.
    At first my computer had issues. Once it go to sleep it will not back again. I dropped my laptop at apple store to fix it. After 10  days they returned my laptop saying they were no able to fix the problem so they replaced motherboard aiming if that might help. Acttually that didn't help.I had same issue again. I visited apple store again. This time they said they could fix, if I will allow them to format the harddrive. I said ok. They formatted it. It was working fine for few daysAfter few days compter is taking.even more than 15 min to shutdown. Now computer has another problem. It is being hang frequently like every 20'to.30 min.
    I don't know what to do? I still have one month left on first year warranty. I have requested couple times to apple associates either to fix or replace or refund. They are showing me rude behavior. They are not understanding my situation. I am a student. I need to do lot of home work. Since last three month my mac book and apple associates giving me hard time. Any suggestions are welcome.

    Contact Apple Customer Care - not Apple Care - Customer Support. Have your receipts handy and/or case numbers. Be patient, be calm, and tell your story just as you have here. I get the sense you are not in the US and don't have access to an Apple Store but are going to an independent shop. This makes using Customer Support all the more important. If phoning isn't viable, use registered mail.
    Since time is running short, be prepared to purchase AppleCare to exennd your warranty 2 more years. Yes, you shouldn't have to do this, but it gives you added protection and more opportunities over the next 2 years to claim a replacement computer if you don't get one immediately. After dealing with a similar unhappy situation with a Mac in the late 1990s I finally got a replacement computer and reimbursed for the AppleCare policy.

  • Error 1172, an error running a VI in the second time call of the DLL

    Hello All,
    I am a beginner in labVIEW.
    I have to write a test program in labVIEW which uses a DLL created by other programmer.
    I called the DLL from my labVIEW to control DIOs, a serial port, communicate with a slave device, perfrom a flashing task.
    While testing the program, I found that the program is OK if I use it just once, however, if I want to run it coninuously using a Do-While Loop, it failed with
    Error 1172.
    As far as I could understand, it seems that the DLL creates a log file in C:\ while it was called for the first time, and the process does not stop taking control of this log file even after the DLL is closed.
    Then when the DLL is called for the second time, it looks for the same log file to write new info but as it was taken control by the previous process, there comes an error.
    Please find the attached files.
    Hope there would be somebody who is able to help me to point out my mistakes in my vi or suggest me a solution for it.
    Thanks and Best Regards
    Aung
    (As the system does not accept the DLL attachment, I changed the extension to .pdf for the DLL File)
    Solved!
    Go to Solution.
    Attachments:
    I Basic Flasher.vi ‏60 KB
    Failure.xls ‏86 KB

    -message deleted -
    Message Edited by Ray.R on 11-17-2009 08:01 PM

Maybe you are looking for

  • The infamous Conditional Formatting and page numbers

    I've been digging through these posts and I see that conditional formatting and page numbers is a common topic, but none of the posts I've seen seem to come up with an answer to my suituation: (Apologies in advance, I know this has been covered in ma

  • Refresh graph properties (colors...) when front panel not opened

    I have a problem with setting the plot properties of a multiple xy-graph. I first pass the data (n plots, number variable) to the graph control, THEN I set the according properties like color, line style etc. by a property node beginning with "active

  • Ipod touch backlight issue

      l have a backlight that went out the i touch is fine but no light. No water damage about two yrs old. Suggestions?

  • How can I see the calendar list view with ios7.1

    Can't find a way to see the list view ( the only useful view) since I upgraded to ios7.1 on the iPhone 5c

  • Auto login into web then maintain session

    I wanna create a java application that will be used to access a web page with username, password and captchaText. Since I cannot read the capchaText via java programming, user have to write it down after viewing the JEditorPane. Thanks in advance...