6.1 - BUG - ServletContext.getResourcePaths() returns paths with //

In 6.1 SP1, ServletContext.getResourcePaths(String path) returns paths which use the string "//" as one of the directory separators, instead of paths with only one "/".
Example:
application.getResourcePaths("/webapp/")would return a Set containing
/webapp//dir1/
/webapp//home.html
/webapp//META-INF/
/webapp//WEB-INF/instead of
/webapp/dir1/
/webapp/home.html
/webapp/META-INF/
/webapp/WEB-INF/

In 6.1 SP1, ServletContext.getResourcePaths(String path) returns paths which use the string "//" as one of the directory separators, instead of paths with only one "/".
Example:
application.getResourcePaths("/webapp/")would return a Set containing
/webapp//dir1/
/webapp//home.html
/webapp//META-INF/
/webapp//WEB-INF/instead of
/webapp/dir1/
/webapp/home.html
/webapp/META-INF/
/webapp/WEB-INF/

Similar Messages

  • Why does the Java method ServletContext.getResourceAsStream return null with a know good path to an xsl file?

    iPLANET ISSUE
    Why does the Java method ServletContext.getResourceAsStream return null with a know good path to an xsl file?
    CODE
    ServletContext context = mpiCfg.getServletConfig().getServletContext();
    // Debugging
    out.print(context.getServerInfo());     // Get server info
    out.print(“getRealPath = ” + context.getRealPath("WEB-INF/xsl/RedirectToAcs.xsl"));
    String strXslName = "RedirectToAcs.xsl";
    InputStream is = context.getResourceAsStream("WEB-INF/xsl/"+ strXslName);
    TRACE FROM THE LOG
    [26/Jul/2002:08:23:15] info ( 2868): [0][][ClearCommerceCcpaMpi][]getServerInfo() = iPlanet-WebServer-Enterprise/6.0, getRealPath() = C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl\RedirectToAcs.xsl
    [26/Jul/2002:08:23:15] info ( 2868): [0][][ClearCommerceCcpaMpi][]strXslName = RedirectToAcs.xsl, is = null
    [26/Jul/2002:08:23:15] info ( 2868): [1][][ClearCommerceCcpaMpi][16]ResourceAsStream is null
    [26/Jul/2002:08:23:15] info ( 2868): [1][][ClearCommerceCcpaMpi][30]Problem reading XSL file.
    DIRECTORY DUMP
    C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl>dir
    Volume in drive C has no label.
    Volume Serial Number is 9457-EBF4
    Directory of C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl
    07/22/2002 05:54p <DIR> .
    07/22/2002 05:54p <DIR> ..
    07/22/2002 05:54p 3,086 RedirectToAcs.xsl
    07/22/2002 05:54p 3,088 Response.xsl
    2 File(s) 6,174 bytes
    2 Dir(s) 1,797,405,696 bytes free

    I think there's supposed to be a forward slash before WEB-INF.
    InputStream is = context.getResourceAsStream("/WEB-INF/xsl/"+ strXslName);

  • [svn] 4793: Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds

    Revision: 4793
    Author: [email protected]
    Date: 2009-02-02 11:20:06 -0800 (Mon, 02 Feb 2009)
    Log Message:
    Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds
    Fix: When calculating the bounds position we should take into account the implicit scaling factor actualSize/naturalSize. Also did some refactoring, getting rid of the protected method calculateTopLeft.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17734
    Reviewer: Ryan
    tests: mustella gumbo/layout/GraphicElement
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17734
    http://bugs.adobe.com/jira/browse/SDK-17734
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s

    Thank you so much for replying.
    Yes I have removed and reinstalled WMP.
    I had good results with the PD6 application installed on the default path onto the C: drive with the one exception that if the application was launched by accident and the user data path was not available, the PD6 application would blow away my custom user path registry settings. Now that I know what they are I have made a .reg file to repair my registry to my desired user data paths.
    Installing the application on the removable drive appeared to help prevent me from launching the application by accident and overwriting my registry with default user paths.
    So which is the less of the two evils?
    If the application directory is not available, windows media player still tries to launch the .msi for installing PD6.
    If I install the application to the C: drive but the user data to the removable drive, launching the PD6 application without the user data drive will still corrupt my registry settings for a user data path.
    Both these issues seem like a logical (if not easy) fix that should be done in the PD6 application and installation package. I mean really, cannot anyone tell me why windows media player is checking the PD6 application directory? Why in PD4 did we have an option control for setting the user data path from the PD4 application? Why is this option not in the PD6 application, just the installer?
    I am given a choice during installation to move the user data to another non default location. Why else would this be provided if not to accommodate my kind of request to store the user data into an alternate location other than “My Document”. Certainly Palm is not trying to force the users on how to protect and store their personal data?
    Post relates to: Centro (Verizon)

  • Return PO with delivery  (Movment type 161)

    Hi Guys,
    I created a Return PO (the Return indicator is checked in the PO) for an inventory Material. No Comfirmation Key is maintained,
    I tried VL10B and saw this PO appears there.Created an outbound delivery , Pick TO and Did PGI ( Generated a Material Doc with mvt type 161), and send it to the vendor?
    And when we get the replacement parts from the vendor against return PO , I tried to do GR using Material document for return PO) I get below error?
    While doing the GR (MIGO) for this PO, system issues message:
    Document XXXXXX does not contain any selectable items.
    Why I can't do GR for this Return PO in MIGO? Is this a bug?
    Anything to do with Vendor / Material Master setup?
    I am on ECC 6.0
    Thanks
    Kodali

    Hi,
    as per following SAP help you can,what i understood
    [http://help.sap.com/saphelp_45b/helpdata/EN/a5/63351643a211d189410000e829fbbd/content.htm]
    Regards
    Kailas Ugale

  • FLEX debugger not hitting breakpoints, because Flash sometimes embeds source file paths with wrong letter case?

    I was trying to figure out why breakpoints were working fine for source files in some locations but not others.  FlashDevelop's debugger (which I believe is actually the FLEXSDK debugger) was successfully connecting, tracing output, and hitting breakpoints in SOME files, but not others.
    I downloaded SWFInvestigator from Adobe Labs and checked the embedded debug paths for various source files to see what was going on.
    I discovered that files in which no breakpoints could be hit had their paths embedded in all lowercase (e.g. "c:\users\username\desktop\source\myproject" instead of "C:\Users\username\Desktop\source\MyProject").
    So I have two questions:
    First, is this a Flex debugger issue, or a FlashDevelop plugin issue? Letter case shouldn't matter or interfere with matching file paths in Windows.
    Second, what could possibly influence the letter case of embedded paths in a SWF output by Flash Professional (CS6), such that they are sometimes all lowercase and other times maintain the same case from the file system?  And why would that affect a debuggers ability to hit breakpoints in Windows 7?  I am compiling in multiple ways. Sometimes clicking Publish within Flash. Sometimes the file being published is not even open in Flash, and my JSFL script file is passed to Flash.exe containing embedded file paths to open the document. Usually, everything seems to work fine, no matter where I publish from, regardless of whether the FLA file is open or not. I'm honestly starting to believe that it depends on how the FLA was last opened in Flash Professional, as though it saves some sort of last access path internally and uses that to embed debug information.

    I don't think it's the source path in my case, because it's simply the dot ".", although I did check that because it would most likely influence the embedded paths.
    In the library path, I use relative paths exclusively, since all my individual project folders exist in the same "source" folder.
    Here's how I arrived at the conclusion that something more complex or "stateful" must be occuring:
    I publish my files with a one-click application, which does the following
    updates version timestamps (static constants) in specific files via regex match
    fills in a JSFL template with the FLA filename and writes the JSFL file to disk, then passes the JSFL file path to flash.exe for publication
    the JSFL then runs a command, which signals the main application via cross-process communication that the script has finished publishing
    That all makes it easy for me to update and publish multiple projects and deploy them, with a single click.  Here is the JSFL template I created, which has been drastically simplified since the days where it used to search to see if the file was open in Flash, select the document, and call publish.  Now it just uses the publishDocument method to silently publish files without opening them.
    var filepath = "FLAFILEPATH"; //template parameter: the URI (beginning with "file:///") of the FLA file to publish
    fl.publishDocument( filepath, "PUBLISHPROFILENAME" );
    FLfile.runCommandLine("COMPLETECOMMAND");
    The C# app replaces the strings in all caps with the actual values.  The COMPLETECOMMAND is actually populated with the application's own executable path, along with a "complete" switch, which lauches a 2nd instance, which handles the complete switch by broadcasting a signal over an interprocess channel and then terminates.  The main instance captures the signal, triggers a wait handle, and continues with publishing the next file.  Here is the core code for it:
    private string fillTemplate( string fla_directory, string fla_filename, string publish_profile_name )
        string fileuri = "file:///" + Path.Combine( fla_directory, fla_filename ).Replace( '\\','/' );
        return EmbeddedResources.OpenAndPublish //JSFL template file embedded as string resource
            .Replace( "FLAFILEPATH", HttpUtility.JavaScriptStringEncode( fileuri ) )
            .Replace("COMPLETECOMMAND", HttpUtility.JavaScriptStringEncode( "\"" + Application.ExecutablePath + "\"" + " -publishcomplete" )) //call self with -publishcomplete switch to signal main instance's publishCompleteSignal
            .Replace("PUBLISHPROFILENAME", HttpUtility.JavaScriptStringEncode( publish_profile_name ) );
    private static readonly string FLASH_PATH = @"C:\Program Files (x86)\Adobe\Adobe Flash CS6\Flash.exe";
    public void publish( string fla_directory, string fla_filename, string publish_profile_name )
        Program.publishCompleteSignal.Reset();
        string template = fillTemplate( fla_directory, fla_filename, publish_profile_name );
        string curdir = Environment.CurrentDirectory;
        string tempJSFLfilepath = Path.Combine( curdir, "temp_script.jsfl" );
        File.WriteAllText( tempJSFLfilepath, template );
        Process p = Process.Start( FLASH_PATH, tempJSFLfilepath );
        Program.publishCompleteSignal.WaitOne( 30000 ); //timeout after 30 seconds
    Here's where it gets interesting.  The FLAFILEPATH has ALWAYS been passed in as all lower case, yet this publication method has worked 99% of the time for hundreds of publish operations every day.  This applies to both the publication of the first SWC, which is referenced by the second published SWF (both were being published with lowercase paths), yet the paths for the main SWF were remaining in lowercase, while those in the referenced SWC were maintaining the correct case from the file system.
    So there may be any number of things going on here.  SWCs may be published differently than SWFs, such that SWCs always have the correct letter case for debug source files, regardless of how the source FLA project was opened.  Ensuring the path passed to publishDocument uses the right case definitely fixes the problem, but it doesn't explain why it usually worked, despite having always been passing a lowercase string.  The only variable I can think of in all of this is Windows itself or Flash, such as whether the document was open in Flash at the time the silent JSLF publishDocument command ran, and how that FLA was last opened (via shortcut, via "recent documents" in Flash, via recent documents in Windows.  It has to be something, even if it's something as obscure as how the folder path was last accessed in windows, although I strongly suspect it's just how (in terms of path case) the FLA was last opened in Flash.
    In any case, I'm happy that passing the right case to JSLF's publishDocument command fixes the problem, so I'm not going to spend any more time trying to figure out how opening the FLA in various ways could affect the embedded debug paths.  The only thing that should be done is to address how paths with the wrong case are handled when they do get embedded that way for whatever reason.  Perhaps the flex debugger should be updated to use case-insensitive matches in case-insensitive file systems, unless, perhaps, this is a FlashDevelop debugger issue after all.

  • How do i turn off the 'Return Path' info in mac mail!

    I don't know where it came from? how i turned it on or worse....how to turn this 'return Path' info off.
    Please can someone help me.
    I have lines of information with the follow starting with 'Return-Path:'All under my
    FROM:
    CC:
    SUBJECT:
    TO:
    Headers in mac mail, please can some one tell me how to get rid of it! and tell me what its all about?

    Sounds like you're seeing the full e-mail headers in Mail, rather than just the From, Subject, Date and To lines like normal. Is this in every message or just one? If it's just one, select it and press command-shift-H, or choose View -> Message -> Default Headers.
    Alternately, if you're seeing it in every message, go to Mail -> Preferences, click the Viewing icon and set the "Show header detail" pop-up to Default.
    Message was edited by: Thomas A Reed

  • BUG: Popup in page fragment; with many regions and popup binded to backing.

    BUG: Popup in page fragment; with many regions and popup or parent binded to backing bean.
    JDEV11.1.2.1 Popup will not popup.(sometimes works if using RichPopup.Show() in backing bean Java code.)
    I have a bug (Popup will not popup)that only happens when I have more than one of the same region.
    And I have a popup in the page fragment is binded to backing bean.
    My SR guy is out today but we plan to enter one.
    test.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
        <jsp:directive.page contentType="text/html;charset=UTF-8"/>
        <f:view>
            <af:document title="test" id="d1">
                <af:form id="f1">
                    <af:panelGroupLayout id="pgl1" layout="horizontal">
                        <af:outputText value="BUG JDEV11.1.2.1 and IE7. Broken Popup! If I have a jsff fragment and I have many regions of this fragment."
                                       id="ot2"/>
                        <af:outputText value="Inside the fragment I have a popup. If that popup or its parent are binded to a Backing Bean the popup doesn't work."
                                       id="ot1"/>
                    </af:panelGroupLayout>
                    <!-- with a single region it also works (with bindings in place in fragment). -->
                    <af:region value="#{bindings.taskflowemp1.regionModel}" id="r1"/>
                    <af:region value="#{bindings.taskflowemp2.regionModel}" id="r2"/>    
                    <!--
                    <af:region value="#{bindings.taskflowemp3.regionModel}" id="r3"/>
                    <af:region value="#{bindings.taskflowemp4.regionModel}" id="r4"/>
                    -->
                </af:form>
            </af:document>
        </f:view>
    </jsp:root>region.jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:group id="g1">
      <!-- If I remove the binding for popop or popup group, the popup works fine. -->
    <!--Working code here
        <af:group id="g2">
          <af:popup childCreation="deferred" autoCancel="disabled" id="p1" >
        -->
           <!-- Problem code here   -->
        <af:group id="g2" binding="#{TestBean.popupGroup}">
          <af:popup childCreation="deferred" autoCancel="disabled" id="p1" binding="#{TestBean.testPopup}"> 
            <!-- End problem code -->
            <af:dialog id="d2" title="Dialog Title">
              <f:facet name="buttonBar"/>
              <af:outputText value="Dialog Contents" id="ot100"/>
            </af:dialog>
          </af:popup>
        </af:group>
        <af:panelGroupLayout id="pgl1">
          <af:panelBox text="Region" id="pb1">
            <f:facet name="toolbar"/>
            <af:commandButton text="showPopupBehavior" id="cb1" >
              <af:showPopupBehavior popupId="p1"/>
            </af:commandButton>
            <af:commandButton text="AdfPage.PAGE.findComponent JavaScript" id="cb2" actionListener="#{TestBean.popupTestJavaScript}"/>
            <af:commandButton text="RichPopup.Show() Java" id="cb3" actionListener="#{TestBean.popupTestJava}"/>
          </af:panelBox>
        </af:panelGroupLayout>
      </af:group>
    </jsp:root>TestBean.java
    package view;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.RichPopup;
    import org.apache.myfaces.trinidad.component.UIXGroup;
    import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
    import org.apache.myfaces.trinidad.util.Service;
    public class TestBean {
        private RichPopup testPopup;
        private UIXGroup popupGroup;
        public TestBean() {
        public void setTestPopup(RichPopup testPopup) {
            this.testPopup = testPopup;
        public RichPopup getTestPopup() {
            return testPopup;
        public void popupTestJava(ActionEvent actionEvent) {
            if(testPopup != null){
                RichPopup.PopupHints ph = new RichPopup.PopupHints();
                testPopup.show(ph);
            }else{
                System.err.println("TestBean.testPopop IS NULL!");
        public void popupTestJavaScript(ActionEvent actionEvent) {
            showPopupTest("r1:0:p1");
        private static void showPopupTest(String popupId) {
            FacesContext facesContext = FacesContext.getCurrentInstance();
            ExtendedRenderKitService service =
                Service.getRenderKitService(facesContext,
                                            ExtendedRenderKitService.class);
            service.addScript(facesContext,
                              "AdfPage.PAGE.findComponent('" + popupId + "').show();");
        public void setPopupGroup(UIXGroup popupGroup) {
            this.popupGroup = popupGroup;
        public UIXGroup getPopupGroup() {
            return popupGroup;
    }

    Thanks that fixed the problem.
    "a user error"
    Well I followed your book! Chapter 6 of the "Oracle Fusion Developer Guide - Working with Bounded Task Flows in ADF Regions". I think this comes back to book writer error. I found almost no mention of BackingBeanScope in this chapter. Don't you think this would be an important note?
    "did you know that there is a Java API (on the RichPopup instance) to launch a popup ?"
    Yes I posted in my code! If you read the above code you would see it there.
    I don't really understand why the scope of the bean has anything to do with af:showPopupBehavior or AdfPage.PAGE.findComponent.

  • OneDrive stopped returning files with a "+" in its file name.

    Hi,
    My app creates a folder in OneDrive in the name of the app and saves a data file with the same name in it.  My app name contains a "+" in the name.  For example "Menu+ Inventory.dat"
    All was working well for last couple of years and suddenly OneDrive is not returning files with a "+" in its name for the last few days.  Many of my app users will loose data if the file couldn't be retrieved from OneDrive.
    // Runs a search query on SkyDrive to find a matching file.
    function searchForFile(path) {
    var whenFolderFound = _searchForFolder();
    var skyDriveSearchPath = "/me/skydrive/search?q=" + path;
    // Runs async search for the user-specified file.
    var whenFilesFound = WL.api({
    path: skyDriveSearchPath,
    method: "GET"
    }).then(function (response) {
    if (response != null) {
    return WinJS.Promise.wrap(response);
    } else {
    inMemoryFile = null;
    return WinJS.Promise.wrap(false);
    In the SkyDrive Roaming Data sample, in the above function, if the skyDriveSearchPath has the above mentioned filename, the response doesn't have the file.  The sample app will create the file, save data with that name, but does not read the file. It
    can read other files with no "+" in the file name.
    Is there a change in OneDrive naming specs recently? 

    Sorted. Well sort of. I still have the problem but I know why. Apparently O2 will not allow anyone to send an attachment which has a space in the name. They claim that this reduces spam - no idea why they think that will stop spam but there you go...

  • How to modify "From" header when certain condition met on "Return-Path" header

    We are activating TLS enforcement (STARTTLS) between our customer domain (@tls.customer.com) and their business partner (@tls.partner.com) on internet MTA (Cisco ESA C370 running AsyncOS 8.0.1-023)
    Customer is managing their internal mail infrastructure and have user mail domains based on country. So for example user X in Switzerland will have sender address: [email protected]
    My understanding is that their are using IQ Suite software to re-write sender address into [email protected] to be able to enforce TLS based on this domain.
    So far so good until the business partner at receiving end mentioned that they receive reply-to: [email protected] but from: [email protected]
    And this will interfere with the policy at their end that require both sender header fields to be the same.
    My customer mentioned that they have modified both "From" and "Sender" fields using IQ Suite but somehow on our IronPort we are seeing both appears on "From":
    From: <[email protected]>, <[email protected]>
    And on message tracking I can see DKIM matching on [email protected] rather than on [email protected]
    Message 218480027 (51299 bytes) from [email protected] ready.
    10 Feb 2015 09:13:27 (GMT +01:00)     Message 218480027 matched per-recipient policy DEFAULT for outbound mail policies.
    10 Feb 2015 09:13:27 (GMT +01:00)     Message 218480027 is not signed. No domain key profile matches [email protected]
    10 Feb 2015 09:13:27 (GMT +01:00)     Message 218480027 successfully signed. DKIM ch.customer.com-DKIM matched ch.customer.com.
    10 Feb 2015 09:13:27 (GMT +01:00)     Message 218480027 queued for delivery.
    So I suspect that customer internal mail still has [email protected] on "From" header and [email protected] on "Return-path" header.
    The question is how can I modify "From" header to match that on "Return-path" before sending it to partner.
    Appreciate the feeback.

    From my tests and knowledge.
    We cannot manipulate the From: header to use the variable of the return-path/envelope sender.
    However if you know specifically what to re-write then we can specially re-write the From: header to a specific address.
    This is done as;
    Content filter or message filter condition set
    Action would be:
    insert-header("From", "[email protected]")
    This is all i can think of for this type of request

  • How to run cdb -c with a command that contains paths with spaces?

    CDB has a -c command line option that runs a specified command, sort of like
    cmd -c, I suppose. Here's what I need to run:
    cdb.exe -c "!itoldyouso \"c:\Program Files (x86)\My Software\1.exe\" \"c:\Development\my-software\bin\1.pdb\";q" "notepad.exe"
    Note that here I've tried escaping quotes around paths with \. No luck. I've also tried
    ^ and """ (triple quote). All I get is this:
    0:000> cdb: Reading initial command '!itoldyouso "c:\Program Files (x86)\My Software\1.exe" "c:\Development\my-software\bin\1.pdb";q'
    c:Program - ignored. The input name/address could not be resolved to a loaded module.
    Files - ignored. The input name/address could not be resolved to a loaded module.
    (x86)My - ignored. The input name/address could not be resolved to a loaded module.
    Software1.exe - ignored. The input name/address could not be resolved to a loaded module. Could not find module c:program ^ Extra character error in '!itoldyouso "c:\Program Files (x86)\My Software\1.exe" "c:\Development \my-software\bin\1.pdb";q'
    The command is passed to CDB correctly, but CDB itself doesn't know how to parse quotes.

    Hmm,
    !itoldyouso with spaces in path does not even work, when started inside cdb or windbg for me.
    But something like this reports success:
    cdb.exe -c ".reload /f /i \"'C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerStub\Debug\DebuggerStub.
    exe'=0x6000000,0x1b000\"" notepad.exe
    Microsoft (R) Windows Debugger Version 6.3.9431.0 X86
    Copyright (c) Microsoft Corporation. All rights reserved.
    CommandLine: notepad.exe
    ************* Symbol Path validation summary **************
    Response Time (ms) Location
    OK C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerStub\De
    bug
    OK C:\Windows\symbols\dll
    Deferred srv*C:\Symbols\MsSymbols*http://msdl.microsoft.com/download/symbols
    Symbol search path is: C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerStub\Debug;C:\Windows\symbols\d
    ll;srv*C:\Symbols\MsSymbols*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    ModLoad: 007c0000 007e8000 notepad.exe
    ModLoad: 77540000 77668000 ntdll.dll
    ModLoad: 77460000 7753d000 C:\Windows\system32\kernel32.dll
    ModLoad: 75c70000 75d36000 C:\Windows\system32\ADVAPI32.dll
    ModLoad: 75f60000 76022000 C:\Windows\system32\RPCRT4.dll
    ModLoad: 75ed0000 75f1c000 C:\Windows\system32\GDI32.dll
    ModLoad: 77680000 7771d000 C:\Windows\system32\USER32.dll
    ModLoad: 761d0000 7627a000 C:\Windows\system32\msvcrt.dll
    ModLoad: 77720000 77793000 C:\Windows\system32\COMDLG32.dll
    ModLoad: 75c10000 75c69000 C:\Windows\system32\SHLWAPI.dll
    ModLoad: 749c0000 74b5e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.1830
    5_none_5cb72f2a088b0ed3\COMCTL32.dll
    ModLoad: 76920000 77431000 C:\Windows\system32\SHELL32.dll
    ModLoad: 6f750000 6f792000 C:\Windows\system32\WINSPOOL.DRV
    ModLoad: 76310000 76455000 C:\Windows\system32\ole32.dll
    ModLoad: 76280000 7630e000 C:\Windows\system32\OLEAUT32.dll
    (fc8.1738): Break instruction exception - code 80000003 (first chance)
    eax=00000000 ebx=00000000 ecx=0015fa34 edx=775a5b44 esi=fffffffe edi=00000000
    eip=775886ce esp=0015fa4c ebp=0015fa7c iopl=0 nv up ei pl zr na pe nc
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
    ntdll!DbgBreakPoint:
    775886ce cc int 3
    0:000> cdb: Reading initial command '.reload /f /i "'C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerS
    tub\Debug\DebuggerStub.exe'=0x6000000,0x1b000"'
    *** WARNING: Unable to verify timestamp for 'C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerStub\Debu
    g\DebuggerStub.exe'
    0:000> lm
    start end module name
    007c0000 007e8000 notepad (deferred)
    06000000 0601b000 DebuggerStub M (private pdb symbols) c:\users\sammy\documents\visual studio 2010\projects\debuggerstub\debug\DebuggerStub.pdb
    6f750000 6f792000 WINSPOOL (deferred)
    So a backslash looks not so bad, else one can try to use a script-file with "-c" arg. 
    With kind regards

  • How to create path with arrowhead?

    Hello. I have a document with a single path in it. How can I apply arrowhead efect to this path? I tried using Beautiful strokes suite, but was only able to get arrowhead from existing path. How can I get one if there is no path with arrowheads in the document?

    Yeah, it's really not obvious at all how to do this.
    The key is to use the AIBeautifulStrokesSuite. The steps are as follows:
    Get the art style of the path (AIArtStyleSuite::GetArtStyle()).
    Parse the style (AIArtStyleParserSuite::NewParser(), ParseStyle()).
    Get the focus stroke (AIArtStyleParserSuite::GetFocusStroke), which gets you an AIParserPaintField.
    Populate the AIParserPaintField into a CPaintField (see below for code)
    Use AIBeautifulStrokesSuite::SetArrowheadOptions, and pass CPaintField::GetEffectsDictionary() to the first parameter.
    Call CPaintField::Save().
    Create a new art style (AIArtStyleParserSuite::CreateNewStyle()).
    Apply the style to the path (AIArtStyleSuite::SetArtStyle()).
    Dispose of the parser (AIArtStyleParserSuite::DisposeParser()).
    Note that I was only interested in the 'main' stroke so I used the focus stroke (which in 99% of cases will be the only stroke). If you want to handle multiple strokes, you can iterate over all the paint fields in the style by calling AIArtStyleParserSuite::CountPaintFields() on your parser after parsing the style. You just have to test each one to see if its a stroke or a fill, since obviously you can't apply arrowheads to fills!
    The arrow head itself is set by passing in an AIPatternHandle, which is the handle to a symbol. You can set the start or end, and the other parameters are just the scale to use for the symbols and the alignment of the arrowheads (ArrowTipAlignment, found in AIBeautifulStrokes.h). The standard arrowheads are stored in an AI file in found in Support Files\Required\Resources\en_US (or whatever your language is). You get the path to this folder at runtime using AIFolders::FindFolder() and passing it kAIRequiredLocalizedResourcesFolderType. The filename is Arrowheads.ai.
    If you want to read the AI file as a library, you need to use AIPathStyleSuite::ImportStyles(). You pass it the path to the AI file and it will give you an AIDocumentHandle in return. You can use this handle with methods like AISymbolSuite::GetNthSymbolPatternFromDocument(). Just be sure to retarget anything you load for your current document; to do that, you use AISymbolSuite::RetargetForCurrentDocument(). If you don't retarget the style, you'll add a reference to art that doesn't exist in your document and when you close Illustrator, it will crash (because it will try to free up the symbol twice, once for your document & once for the library you loaded, but it only existed once!).
    CPaintField is a little utility class I created that basically wraps some code I was given by Adobe, so I'm happy to share it. Its useful whenever you're dealing with AIBeautifulStrokesSuite type stuff. THROW_EXCEP_IF() is a macro we use that checks error to see if its kNoErr, and if its not, we throw an exception. You can replace that with your own error checking, or just remove them, as you wish
    class CPaintField {
    public:
      CPaintField(AIParserPaintField& paintField);
      virtual ~CPaintField();
      AIDictionaryRef GetEffectsDictionary() const;
      void Save();
    private:
      ai::Ref<AIDictionaryRef> m_effectsDictionary;
      ai::Ref<AILiveEffectParameters> m_newEffectParams;
      AIParserPaintField& m_paintField;
      AILiveEffectHandle m_paintFieldEffect;
    CPaintField::CPaintField(AIParserPaintField& paintField) : m_paintField(paintField), m_paintFieldEffect(0)
      ai::Ref<AIDictionaryRef> oldBSDict;
      AILiveEffectParameters oldEffectParams = 0;
      AIErr error = sArtStyleParser->GetPaintLiveEffectInfo(paintField, &m_paintFieldEffect, &oldEffectParams);
      THROW_EXCEP_IF(error);
      bool acceptsBSOptions = true;
      if (oldEffectParams) {
        // If an old effect parameters dictionary already exists then we need to clone it,
        // so that the modifications will be done to a new art style, not to the old one.
        // We don’t do this until we discover whether or not the object will accept
        // Beautiful Strokes, though, because it may be that we are not modifying anything.
        acceptsBSOptions = true;
        AIErr error = sBeautifulStrokes->GetParamsDict(oldEffectParams, *(oldBSDict << ai::Replace));
        THROW_EXCEP_IF(error);
        if (acceptsBSOptions) {
          // Create an empty effect params dict
          AIErr error = sLiveEffect->CreateLiveEffectParameters( m_newEffectParams << ai::Replace );
          THROW_EXCEP_IF(error);
          // Clone all the contents of the oldEffectParams into the newEffectParams
          AIErr error = sDictionary->Copy(m_newEffectParams, oldEffectParams);
          THROW_EXCEP_IF(error);
      } else {
        // If there are no oldEffectParams, then the stroke can accept Beautiful Stroke options,
        // but we will have to convert it into an active style first. We do this by creating
        // a live effect param dictionary, and attaching it to the focalStroke. 
        AIErr error = sLiveEffect->CreateLiveEffectParameters(m_newEffectParams << ai::Replace);
        THROW_EXCEP_IF(error);
        AIStrokeStyle strokeStyle;
        AIArtStylePaintData paintData;
        AIErr error = sArtStyleParser->GetStroke(paintField, &strokeStyle, &paintData);
        THROW_EXCEP_IF(error);
        // It is also necessary to transfer the StrokeStyle into the effect params dictionary
        // ourselves, because AIArtStyleParser doesn’t do so for us.
        AIErr error = sDictionary->Set(m_newEffectParams, sDictionary->Key(kStrokeStyleKey), sEntry->FromStrokeStyle(&strokeStyle));
        THROW_EXCEP_IF(error);
      if (m_newEffectParams && acceptsBSOptions) {
        if (oldBSDict) {
          // If we had an oldBSDict, we must have one in the cloned effect params as well.
          // So pull the new Beautiful Strokes parameter dictionary out of there.
          AIErr error = sBeautifulStrokes->GetParamsDict(m_newEffectParams, *(m_effectsDictionary << ai::Replace));
          THROW_EXCEP_IF(error);
        } else {
          // Insert a blank Beautiful Strokes dictionary into the new effects dictionary. 
          AIErr error = sBeautifulStrokes->CreateParamsDict(m_newEffectParams, *(m_effectsDictionary << ai::Replace));
          THROW_EXCEP_IF(error);
    CPaintField::~CPaintField()
    void CPaintField::Save()
      AIErr error = sArtStyleParser->SetPaintLiveEffectInfo(m_paintField, m_paintFieldEffect, m_newEffectParams);
      THROW_EXCEP_IF(error);
    AIDictionaryRef CPaintField::GetEffectsDictionary() const
      return m_effectsDictionary;

  • RETURNED MAIL WITH MY ADDRESS NOT SENT BY ME?

    Received 3 emails today, all with similar addressing but from different systems. All included my email address as the
    return path but usually with an
    unknown name listed with my email address. Any help on why this is happening and what this is appreciated. Below is a
    summary of the email with my address removed. I noted that my IP was not in any part of these emails...
    This is the mail system at host hm995.locaweb.com.br.
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    For further assistance, please send mail to <postmaster>
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    The mail system
    <[email protected]>: host cdptpa-smtpin02.mail.rr.com[75.180.132.244]
    refused to talk to me: 554 5.7.1 - ERROR: Mail refused - <201.76.51.156> -
    See http://www.mail-abuse.org/cgi-bin/lookup?201.76.51.156
    Reporting-MTA: dns; hm995.locaweb.com.br
    X-Postfix-Queue-ID: 1ECB057AA1C7D
    X-Postfix-Sender: rfc822; amyan***@mac.com
    Arrival-Date: Sat, 31 Jul 2010 08:01:35 -0300 (BRT)
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 4.7.1
    Remote-MTA: dns; cdptpa-smtpin02.mail.rr.com
    Diagnostic-Code: smtp; 554 5.7.1 - ERROR: Mail refused - <201.76.51.156> - See
    http://www.mail-abuse.org/cgi-bin/lookup?201.76.51.156
    From: Jennelle Tighe <@mac.com>
    Date: July 31, 2010 7:01:34 AM EDT (CA)
    To: [email protected],[email protected],[email protected],jackie.shaw4@ntlwor ld.com,[email protected],
    [email protected],[email protected],[email protected],grea [email protected],[email protected]
    Subject: [SPF:fail] cunningham.alan sgranato
    http://snipr.com/zzvxc
    Message from yahoo.com.
    Unable to deliver message to the following address(es).
    <[email protected]>:
    This user doesn't have a yahoo.com account ([email protected]) [0]
    --- Original message follows.
    Return-Path: <
    Received-SPF: softfail (mta1142.mail.sk1.yahoo.com: domain of transitioning does not designate 201.76.51.159 as permitted sender)
    X-YMailISG: q9V8txgcZApmSlNeYOOXLfMX8TOFOY_1uiuaiiP5wPDE0jUg
    4UmUQldoccccVjHzzkTW3dDJekNwKkCGsSkTL8H3D7_0DuV7P6HDLJ652ylv
    QyD0d08BJq7apaQgnekuLQPSiq4GVxRykfxumsg.thXY8HbaaO_LDbpjHLrq
    wUM9tyWFIBDYOkF4OYhTTTod1eUs8KFZCbaDWxL3DDcjOe9aLhf5wM6HpN
    IH.aPpHLVEVzxWkt3BE99Lms5ZAnzlTrXGdZeZMoml3wvygYdy70JY.j62
    HVykt7lTdYK7hkgKCDIU2ZohE6D6k4VgCLHfG.lWTsK.iD_4CgG3DabGej7a
    v3xSS1qx3SH2NtoaBXi9dFzgjP2PvwDodw3MZ_minTL7ctsnnhGAV2ppUVYj
    wwBoOMJCUqdGuUlfquAhyYyrKaPiVnF19EW7L0jxhybaKVn3QlsU0pO33LFK
    twUd3iEVzTi8alNinIWbMQDR7j6IxRUVjtYfbBnCNfH3nAL2UastSDWNtSne
    c12SCBVHrJ.aeJpOe.JwiaRsmNHfsIFhMcs32Ji1tiq.WJPE7e3Sqkpf3XJI
    QxoFdso95VzMubbJBUHnJQ0kkEPs9e8VwMwf.6jUQfnBBRvW73sFnm_BkiHN
    9mq6hflNYTdRCSOF
    X-Originating-IP: [201.76.51.159]
    Authentication-Results: mta1142.mail.sk1.yahoo.com from=mac.com; domainkeys=neutral (no sig); from=mac.com; dkim=neutral (no sig)
    Received: from 127.0.0.1 (EHLO smtp-shared-995.locaweb.com.br) (201.76.51.159)
    by mta1142.mail.sk1.yahoo.com with SMTP; Sat, 31 Jul 2010 04:01:36 -0700
    Received: from hm995.locaweb.com.br (smtp-shared-995.locaweb.com.br [201.76.51.145])
    by smtp-shared-995.locaweb.com.br (Postfix) with ESMTP id 22E7B57AA1CC0;
    Sat, 31 Jul 2010 08:01:35 -0300 (BRT)
    Received: from hm741.locaweb.com.br (hm741.locaweb.com.br [200.234.200.125])
    by hm995.locaweb.com.br (Postfix) with ESMTP id 1ECB057AA1C7D;
    Sat, 31 Jul 2010 08:01:35 -0300 (BRT)
    Received: by hm741.locaweb.com.br (Postfix, from userid 896)
    id 10DC71A5BD1; Sat, 31 Jul 2010 08:01:34 -0300 (BRT)
    X-Locaweb-ID: 63325679646D56794F69426F625463304D53357362324E68643256694C6D4E76625335696369776 764584E6C636D356862575536494
    74E796458706C61584A765A47397A6457777559574D3D
    To: [email protected],[email protected],[email protected],jackie.shaw4@ntlwor ld.com,[email protected],
    [email protected],[email protected],[email protected],grea [email protected],[email protected]
    Subject: [SPF:fail] cunningham.alan sgranato
    X-PHP-Script: www.cruzeirodosul.ac.gov.br/xlancyber/imagens/img/list.php for 212.117.165.179
    From: Jennelle Tighe <
    Message-Id: <[email protected]>
    Date: Sat, 31 Jul 2010 08:01:34 -0300 (BRT)
    X-Virus-Scanned: clamav-milter 0.95.1 at hm995
    X-Virus-Status: Clean
    X-SPF-Scan-By: smf-spf v2.0.2 - http://smfs.sf.net/
    Received-SPF: SoftFail (hm995.locaweb.com.br: transitioning domain of
    does not designate 200.234.200.125 as permitted sender)
    receiver=hm995.locaweb.com.br; client-ip=200.234.200.125;
    envelope-from=<; helo=hm741.locaweb.com.br;
    <a class="jive-link-external-small" href="http://">http://snipr.com/zzvxc
    * MESSAGE TRUNCATED *
    <Edited by Host>

    I don't think they need an IP, If I were to send an eMail that had your addy spoofed, when it git returned it would get returned to you.
    If you don't recognize any of those names in the TO: line, then no worry, you just ignore the thing... I doubt you have any worries, & even less control of these things.
    EDIT:
    http://en.wikipedia.org/wiki/E-mail_spoofing
    http://www.windowsecurity.com/articles/Email-Spoofing.html
    Message was edited by: BDAqua

  • Setting the 'Return-Path' of emails sent using the send email behaviour

    Hi,
    How do I set the 'Return-Path' of emails sent using the send email behaviour? I am having troubles because the emails sent from my page are being filtered out as spam when they should be coming through. the text is the following (it is the notification of an e-card to the recipient):
    Dear Bart
    We've decided this year to share our holiday greetings while also showing our commitment to protect the planet. Since it takes 24 mature trees to
    produce one ton of greeting cards, this e-card shares our holiday wishes with both you and future generations.
    Please follow the link below.
    Best Wishes,
    John
    http://www.jdgcsfiles.com/_ecards/viewcard.php?ID_cnt=297
    I suspect that it has something to do with the return path setting.
    Can anyone help me on this one and get it through the spam filters of most email clients?!
    Thanks,
    NIk

    Hi Nik,
    so far the only "flagged as spam" reason I know of is, that ADDT curreently misses to insert the current date/time -- please try the fix mentioned in the thread http://www.adobeforums.com/webx/.3c034953/5 and see if it helps
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • One CSS LB two firewalls, DMZ, return path?

    Hi,
    I have a client wanting to setup their (only)CSS to load balance two firewalls on the public side, servers in the DMZ, and return path through the firewalls. I recommended they keep the CSS off the public side, but they want the external FWLB. My question is, is it as simple as setting up another VLAN for the CSS on the public side then VIPing the FW addresses?
    I saw the docs on FWLB, but it states you cannot use NAT, how is security accomplished through the firewalls then?
    Thanks in advance,
    Bob James

    I typically don't assign public IP's on my Internet facing firewalls. The public addresses reside on a device behind the firewall. Then you simply configure your rules to allow access to the public IP's as needed. In my opinion this is more secure than having public IP's and NAT on your firewalls.
    I use two LB's to load balance firewalls. I'm not sure it would work with only one?

  • UNIX path AND  Do shell script path with spaces

    I am trying to building a interface with buttons to execute shell commands when the button is pressed. Below press button execute code.
    I am new to AppleScript and Xcode and Interface builder. I have read different post referencing spaces but I still don't understand.
    THIS COMMAND DOESN'T WORK IT'S SOMETHING TO DO WITH SPACES.
    How would I fix this to work.
    on clicked theObject
    do shell script "rm /Library/Preferences/com.netopia.netOctopus\ Agent.preferences"
    end clicked
    This works (Below) no spaces in the path
    on clicked theObject
    do shell script "open /System/Library/PreferencePanes/SharingPref.prefPane/"
    end clicked
    ALL Mac OS X (10.4.6)
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.8)  
    ALL   Mac OS X (10.4.8)  

    Camelot's explanation was good, but you don't seem to get it, so I'll take a crack at explaining as well.
    First off, you need to understand what "do shell script" does and does not do. "do shell script" takes a string from AppleScript and passes it to a shell interpreter. It does not check in advance that this string makes sense. (That is impossible to do, in fact.) It just passes it along. The shell interpreter then converts the string into a command, or series of commands, and attempts to run them.
    In AppleScript, quotation marks around something make that something a string. So, for example:
    "rm "
    is a string containing a letter r, a letter m, and then a space. Some commands can also return a string, which can then be stored in a named variable, as for example:
    set a_variable to (the text returned of display dialog "Hi!" default answer "Some text")
    When you wish to put two strings together in AppleScript, you use the & operator, as in:
    "String 1" & "String 2"
    In this example, there is no space at the end of the first string, and none at the beginning of the second, so the result is:
    "String 1String 2"
    All clear so far?
    When a shell interpreter attempts to convert a string into commands, it has to split the string into pieces. A space signifies a break between pieces. In order to put a space into a single item, you can do a number of things. You can put the whole item in quotation marks (single or double), which is known as "quoting":
    '/A/Path/With/A Space'
    or you can put a backslash before the space, which is known as "escaping":
    /A/Path/With/A\ Space
    You can combine quoting and escaping if you do it right. For example, the backslash also lets you use a quotation mark inside a single item which is quoted:
    "/A/Path/With/A Space/And/A\"Quotation/Mark"
    There are further rules and substitutions that sometimes border on the arcane.
    In order to simplify things, Apple created the command "the quoted form of". This command takes a string and returns a new string which is properly set up so that it will be just one item when split up for the command line. It will add quotation marks, backslashes, or whatever.
    So, to put things together:
    "rm " & the quoted form of thePath
    is a way of saying to AppleScript "take the string in the variable named thePath, and quote it for the command line; then stick it on the end of a string containing an r, an m, and a space."
    When you pass this to "do shell script", it will break things up in such a way that it hands thePath to the rm command, which will attempt to remove whatever is represented by thePath. (Adding the "-r" in there just tells the rm command "if this is a directory, get rid of it and all its contents". Otherwise rm will complain if the item is a directory.)
    I think, however, you may just have the path wrong. In one of the spots where you gave the POSIX path, it had a backslash (\) at the end instead of a forward slash (/). As Camelot says, a forward slash means that the item is a directory and not a plain file. But if you really meant the backslash, it suggests that the item is a plain file, but has a space at the end (or some other character that mystifies the command line). It's an escape.
    Try making a new script in Script Editor which says
    ">" & (the POSIX path of (choose file)) & "<" at the end, that's the culprit.
    (And if it won't let you select the file when you run the script, it means that the item is actually a folder.)

Maybe you are looking for

  • By mitake deleted IDT high defenition audio codec driver

    I accidently uninstall IDT hd audio codec driver in control panel now i want to install it where can i find it HP Pavilion g6

  • RFBIBL00 and One time Vendor (BSEC)

    I was hoping to use RFBIBL00 to post FI documents. The requirements include entering one time vendors (BSEC). RFBIBL00 does not include a structure for BSEC. I wanted to use RFBIBL00 instead of IDocs to simplify the error maintenance for the user. Si

  • How to use the Packager for iPhone ?

    Hi What`s up guys?? I Download the Packager for iPhone and i can`t used this ? please help me and show me in picture how to use this.

  • Web Gallery File Datestamp Unexpected?

    O Learned Denizens, I notice an "undocumented feature" that caused me some confusion. I scribe it here to save others the same confusion, maybe. I use the Web module a lot to publish galleries. It rocks. I use Matthew Campagna's web templates - they

  • GCC based LabVIEW experienced professional

    Worked in the USA with Freescale Semiconductors for 10 years and have intensely used LabVIEW for various purposes. Recently moved to the Gulf Cooperation Council to look for career opportunities here. Open to all forms of discussion for opportunities