File Preview in a web app

Hey all,
Until recently, I was using an inline frame to offer the user "preview" capability of files before they posted them to the server in a web app. Recently, with the additional security added to browsers dis-allowing cross domain scripting I can no longer point a frame to "file://c:/my documents/somefile.txt" for preview. So, I am presented with two options:
1. create a signed applet to allow loading of files from the users local drive - this seems rather time comsuming with all the different files type that need to be handled.
2. Round trip the document in stream only to upload it to the server and send it right back to the browser with the appropriate mime type and let the broswer handle loading the file.
I am leaning towards option two, what do you all think?

I am going with posting the file to the server and wasting the network roundtrip to save myself problems with applets. The app really will only support Firefox and IE, and I was able to create the signed applet that has read rights to the local filesys for both browsers, but the idea of handling different file types and loading plug-ins, etc would be a major hassle. Thanks.

Similar Messages

  • Access file object from flex web app

    Hi all,
    I want to access file object from flex web app. What should i do?
    I have to take array from my XML. In XML there will be only dir path. So for taking file name from dir i have to access it and have to perform for loop on that dir.
    What should I do?
    Any Ideas?
    Thanks,
    -CK

    Hi Michael
    My question is that I dont want to give name of images in XML file.
    In XML file there will be only path of image directory. So I need to find all image name from that image directory.
    Thats why I want to access file object.
    Any ideas?    

  • Can you have a DIAdem file embedded in a web app and then when you click the link to the DIAdem file it invokes DIAdem?

    Can you have a DIAdem file embedded in a web app and then when you click the link to the DIAdem file it invokes DIAdem?

    Hello JCN,
    I will keep in touch with the current Applications Engineer who will be assisting you with this issue and update the forum with the status of the problem. I personally think that your best option would be to create a link that opens DIAdem and then runs a script to load the data from a predetermined file (Rather than a link to the file itself).
    Ian M.
    National Instruments

  • OWA Blank Attachment Preview with Office Web Apps Server

    Environment:  Exchange 2013 CU3 / Office Web Apps Server 2013
    OS:  Windows Server 2012 R2
    After implementing Office Web Apps server per the Integration with Exchange 2013 instructions, attachment previews in OWA show up as blank windows.  The pop up says Opening your mailbox, then goes blank.  I have the WAC endpoint configured in Exchange,
    I can access the discovery URL from the Exchange servers, and I am seeing event 142.  Some forums say that these events should be in the CAS application logs.  I am seeing mine in the Mailbox server app logs.  Has anyone seen a similar issue.
     I have also attempted to view the ULS logs on the Office Web Apps server, but I don't see anything that looks like a rendering request.  But, I also don't know what that request would look like.  The Exchange and Office Web Apps server are
    in the same network with no firewall in between them The local firewalls have also been turned off, so any type of blockage should not be the issue.

    I dont want to be happy too soon, but i think for me this did the trick:
    from time to time, this event appeared in the application eventlog:
    Source: MSExchange Certificate Deployment
    Event ID: 2005
    Task Category: General
    Level: Warning
    Keywords: Classic
    Description:
    Federation or Auth certificate not found: ED2C3E86EBE821AAC2C0DEA85CAB5787E2CAC5F3. Unable to find the certificate in the local or neighboring sites. Confirm that the certificate is available in your topology and if necessary, reset the certificate on the Federation
    Trust to a valid certificate using Set-FederationTrust or Set-AuthConfig. The certificate may take time to propagate to the local or neighboring sites.
    The solution was found here: http://community.spiceworks.com/topic/512374-missing-the-microsoft-exchange-server-auth-certificate
    1. New-ExchangeCertificate -KeySize 2048 -PrivateKeyExportable $true -SubjectName "cn= Microsoft Exchange Server Auth Certificate" -DomainName "*.yourdomain.com" -FriendlyName "Microsoft Exchange Server Auth Certificate" -Services smtp
    Do not accept to replace the SMTP certificate when prompted
    2. Note the thumbprint of the new certificate. Let us assume it is 7A39541F8DF58D4821967DD8F899B27410F7C081
    3. $a=get-date
    4. Set-AuthConfig -NewCertificateThumbprint 7A39541F8DF58D4821967DD8F899B27410F7C081 –NewCertificateEffectiveDate $a
    Accept to continue despite the fact that the certificate effective date is not 48 hours into the future
    5. Set-AuthConfig –PublishCertificate
    6. Make sure to remove any potential reference to the previous certificate (which might not exist anymore) by doing Set-AuthConfig -ClearPreviousCertificate
    Maybe this helps some of you too.

  • With 8.0 version of Firefox, clicking links to .tif files on a java web app are being downloaded as .ppt, .part.ppt., or .ppt.part. The change of name to PPT causes them to associate with powerpoint. IE opens the files normally as .tif as expected.

    When using java based webapp to view a remote directory, clicking .tif files offers the standard "Open" dialog. If you select open, an error is produced saying file is not a valid powerpoint file. Selecting download will download the file as a .ptt, .part.ppt, or .ppt.part file in the temp directory with a seemingly random unique filename as if the system was creating a temp file. Going to the same web app under Internet Explorer works properly and will view or download the file as a .tif image file. This had been working fine previously to the 8.0 update.

    When using java based webapp to view a remote directory, clicking .tif files offers the standard "Open" dialog. If you select open, an error is produced saying file is not a valid powerpoint file. Selecting download will download the file as a .ptt, .part.ppt, or .ppt.part file in the temp directory with a seemingly random unique filename as if the system was creating a temp file. Going to the same web app under Internet Explorer works properly and will view or download the file as a .tif image file. This had been working fine previously to the 8.0 update.

  • Accessing Files in Jar File as part of Web App

    I have put a number of NON-CLASS files in a jar file that resides in WEB-INF/lib in my webapp (running tomcat). These include xml files, xml schemas, images, etc. I would like to give my webapp programmatic access to these non-class files, such as providing the user with a list of all of the xml files in the jar file. I have seen a number of posts on this topic, but no answers.
    I have tried everything that I can think of, to no avail. ServletContext.getResource() with just about any path fails. If I do: ServletContext.getResourcePaths(), I get a list of all of the jar files in WEB-INF/lib (as well as other resources). The jar files are listed as: "jndi:/localhost/WEB-INF/lib/XXXXX.jar". If I use that value in ServletContext.getResource(), it does not work. It appears that I need to set up a JNDI context if I want to get the jar file, using: File f = (File)context.lookup(...). this may or may not work, but I can't figure out how to set up the JNDI context for purposes of tomcat. Right now, this is the only thing that I can think of.
    It would also be great if there was some way to take a path in the jar file, treat it as a directory, and list all of the files in that "directory".

    Thanks. That got me started. You need to put the full path to the file you want. here is the full code, either for getting an individual file or for getting the entire jar file, so that you can enumerate through it and read any file you want (this is for a non-binary file):
    URL url = this.getClass().getResource("/path/path/path/file.xml"); // need full path
    if(url != null)
         JarURLConnection conn = (JarURLConnection)url.openConnection();
         JarFile jarfile = conn.getJarFile();
         JarEntry jarEntry = conn.getJarEntry();
         BufferedReader br = new BufferedReader(new InputStreamReader(jarfile.getInputStream(jarEntry)));
         StringBuffer sb = new StringBuffer();
         String line = null;
         while((line = br.readLine()) != null)
                   sb.append(line);
                   sb.append(System.getProperty("line.separator"));
         br.close();
    String fileContents = sb.toString();

  • Help with best solution for file read/write in web app (not local files)

    Problem in a nutshell...
    I have an AIR app to process images..  organize and add information. This information is read and written to local XML files. This is working fine (if still a be messy... still learning this OOP stuff ;O)
    So... now I am developing my Web gallery app to consume these files for a web gallery (unique concept huh? ;O)
    Reading them in was easy with the Declaration block....
    <fx:Declarations>
    <fx:XML id="galleryXML" source="gaXML.xml"/>
    <fx:XML id="baXML" source="baXML.xml"/>
    <fx:XML id="prjXML" source="prjXML.xml"/>
    <s:XMLListCollection id="galleryList" source="{galleryXML.item}"/>
    <s:XMLListCollection id="baList" source="{baXML.item}"/>
    </fx:Declarations>
    But I want the owner to have a maintenance mode where information can be added/changed and saved back to the XML file on the server. I have read about all the different services available, but I am not that familiar with them. Also I will have no way of knowing what services the user will have available on their host. So... help me out in understanding what the most universal solution would be to be able to read and write XML files stored on the host along with the application.
    I hope that is clear enough, but ask away if any more details will help in the discussion.
    Thanks
    Bob Galka

    Hi Jeba,
    Whenever u are using *"Thread.currentThread().getContextClassLoader()"* Code inside your application means the Files (Resources) which you are looking right now must be poresent in the CLASSPATH...(Bootstrap classloader/ System ClassLoader/ Application ClassLoader/ Sub Module ClassLoader...).
    So when we place a resource (example XML or Properties file) inside the "WEB-INF/classes" directory then it means that file (resource) is available as part of the Module Classloader....So the above code getContextClassloader() will be able to find that resource easily.
    Thanks
    jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • File Load Frequency with Web Apps

              I have noticed the following behavior with WebLogic 6SP2 on windows:
              Reload files (such as jsp or html) if the file has been modified would not work
              for web applications except the default application.
              I tried both without specifying any in the web.xml and specifying explicitly (weblogic.jsp.pageCheckSeconds).
              Both have no effect on the web applications.
              Is this a known bug or something i am missing. Any suggestions are appreciated.
              Sam
              

    this is a known issue in 6.0
              Already fixed in 6.1 (in beta now)
              Sam He wrote:
              > I have noticed the following behavior with WebLogic 6SP2 on windows:
              >
              > Reload files (such as jsp or html) if the file has been modified would not work
              > for web applications except the default application.
              >
              > I tried both without specifying any in the web.xml and specifying explicitly (weblogic.jsp.pageCheckSeconds).
              > Both have no effect on the web applications.
              >
              > Is this a known bug or something i am missing. Any suggestions are appreciated.
              >
              > Sam
              

  • Cannot preview attachments using Office Web App Server 2013 ( Preview )

    Got a lab environment to test Office Web App Server integration with Exchange 2013
    i have followed the instructions given here
    http://technet.microsoft.com/en-US/jj219455
    http://technet.microsoft.com/library/2591b1be-92c4-4192-9f5e-e4e6b319170a
    After all required configuration , i am still unable to preview the office documents from OWA
    Receiving the following messages by clicking on the Preview link next to the attachment:
    Word Document : "Sorry, there was a problem and we can't open this document. If this happens again, try opening the document in Microsoft Word."
    Excel Document: "We couldn't find the file you wanted. It's possible the file was renamed, moved or deleted"
    PowerPoint: "Sorry, we ran into a problem. Please try again"
    As suggested i even see the Application Log the 140 and 142 Event IDs for MSExchange OWA
    Already configured to enable the rendering of attachments through OWAS both on public and private computers:
    This is what I can see in the ULS log on the Web App Server
    WAC Server HttpModule: Beginning request at target [/p/PowerPointFrame.aspx?PowerPointView=SlideShowView&ui=en-US&rs=en-US&WOPISrc=https%3a%2f%2f<Server>%3a443%2fowa%2fuser02%2540<Domain>%2fwopi%2ffiles%2f%40%2fowaatt%3fowaatt%3dLFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%252bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%253d&]
    in session [b373a48e-9fca-445b-a7b2-2966f11b18de]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    UserSessionId=b373a48e-9fca-445b-a7b2-2966f11b18de
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI CheckFileInfo: Start [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    URL generated for WOPI CheckFile Request: https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&access_token=REDACTED_1086&access_token_ttl=0
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof Data: AccessToken Hash '669582051' [1086 bytes], URL 'HTTPS://<Server>/OWA/USER02%40<Domain>/WOPI/FILES/@/OWAATT?OWAATT=LFMTMS01LTIXLTIWODU5NZU2NJITMTE4ODQ1NZE5NY04MDY2NJG5MC0XMTI5VUTGXJ%2BT0AGBAQEAQE1JDE5TSELQZJBHWWTXUTFTZI8YQ3HTSGZXS3IZB1GWZGVFWVHJDKLHBGWWC3F0DNJIQJBZZ0D2EXBDVCTAEEU%3D&ACCESS_TOKEN=REDACTED_1086&ACCESS_TOKEN_TTL=0'
    [1354 bytes], TimeStamp '635169449614353585' [8 bytes]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof: Using Current private key (to sign) that matches Current public key  BgIAAACkAABSU0ExAAgAAAEAAQDhPcfARgzhUlTFzo1jhCPHeoylNWp6pBbq6QM6CVQkbFyp4/I+mDzK4JA+AA3BFWLtpQEB7zIEbdjzhdsuYWYAJWBfvfX/3m2E3WRNhcPV8I2rA2T6qWj5Fb6eMNnoz4n2/1sqUXfyIA8mADXUebe9JNyJ+icPluUX+vTNm4m2IWbEgWmJNkgi9OUAq2hmd2lJifbJW8jNr1qzqBCE3ITFwr0L2svMrxfe5nKXVHbZa0EBYxMwHoc3ZkE0dZ0NPle9pq3MObg2+D5RN/w/B0axTJD7G/fQDpZbdsfvKA8mlyCn/vbNpooq5LgvGowTAWmG/tr1kWetfjePAbjBkIK5
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof - Successfully signed the data with the Current private key [4 ms]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Proof Keys - WS Farm State has no Old key (this is expected if recently installed)
    b373a48e-9fca-445b-a7b2-2966f11b18de
    Cannot create WOPI Proof Token - could not find valid Old proof key data
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) Starting [mode: GET, url: https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&access_token=REDACTED_1086&access_token_ttl=0]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) End Called
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::GetResponseCallback - ContentLength:9327
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::FProcessReadReturn - cbRead:9327
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync::FProcessReadReturn - cbRead:0
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) Setting Completion [Time in ms: 3, Bytes Read: 9327 ContentLength: 9327]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    HttpRequestAsync (WOPICheckFile,WACSERVER) SetCompletion Track start | setting trackers | WebRequest.Create() | Create() returned | setting request headers | setting user agent | setting keep alive | setting timeout callback | Start calling StartResponseProcessing
    | StartResponseProcessing._req.BeginGetResponse() | BeginGetResponse() returned | StartResponseProcessing RETURNS | Start RETURNS | End.AsyncWaitHandle.WaitOne() | GetResponseCallback isSync:False | _req.EndGetResponse() | EndGetResponse() returned | RecordResponse
    OK | _response.GetResponseStream() | _response.GetResponseStream() RETURNED | DoReadLoopFinished | _getStream.BeginRead() | ReadCallback.sync returning | BeginRead() -> sync:True | DoReadLoopFinished.FProcessReadReturn() | FProcessReadReturn._getStream.EndRead()
    | EndR... b373a48e-9fca-445b-a7b2-2966f11b18de
    ...ead() -> 9327 | FProcessReadReturn._responseStream.Write() | FProcessReadReturn RETURNS True | FProcessReadReturn() ->  true | _getStream.BeginRead() | ReadCallback.sync returning | BeginRead() -> sync:True | DoReadLoopFinished.FProcessReadReturn()
    | FProcessReadReturn._getStream.EndRead() | EndRead() -> 0 | FProcessReadReturn._responseStream.Write() | FProcessReadReturn RETURNS False | FProcessReadReturn() -> false | DoReadLoopFinished RETURNS true | GetResponseCallback DoReadLoopFinished ->
    TRUE | SetCompletion False | b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI Http Request Completed [host machine name:, version:, host correlation:]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI: Could not deserialize file metadata [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d,
    e:There was an error deserializing the object of type Microsoft.Office.OpenWebApplication.WopiCheckFileResponse. Encountered unexpected character '<'.]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WOPI: Invalid file metadata [url:https://<Server>:443/owa/user02%40<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d,
    triggers:(No Version No FileName No OwnerId), data:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- Copyright (c) 2011 Microsoft Corporation.  All rights reserved. --> <!-- OwaPage = ASP.auth_logon_aspx -->
      <!-- {57A118C6-2DA9-419d-BE9A-F92B0F9A418B} -->     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">   <html>  <head>  <meta http-equiv="X-UA-Compatible" content="IE=10"
    />  <link rel="shortcut icon" href="/owa/auth/15.0.775/themes/resources/favicon.ico" type="image/x-icon">  <meta ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...http-equiv="Content-Type" content="text/html; CHARSET=utf-8">  <meta name="Robots" content="NOINDEX, NOFOLLOW">  <title>Outlook Web App</title>  <link type="text/css"
    rel="stylesheet" href="/owa/auth/15.0.775/themes/resources/logon.css">  <script type="text/javascript" src="/owa/auth/15.0.775/scripts/premium/flogon.js"></script>  <script type="text/javascript"
    src="/owa/auth/15.0.775/scripts/premium/flayout.js"></script>    <script type="text/javascript">   <!--   var a_fRC = 1;   var g_fFcs = 1;   var a_fLOff = 0;   var a_fCAC = 0;  
    var a_fEnbSMm = 0;  /// <summary>  /// Is Mime Control installed?  /// </summary>  function IsMimeCtlInst(progid)  {   if (!a_fEnbSMm)    return false;     var oMimeVer = null;     try
       {    // TODO: ingore this on none IE browser    //    //oMimeVer = new ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...ActiveXObject(progid);   }    catch (e)   {    }     if (oMimeVer != null)    return true;   else    return false;  }    /// <summary>  /// Render out the S-MIME control
    if it is installed.  /// </summary>  function RndMimeCtl()  {   if (IsMimeCtlInst("MimeBhvr.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k3", "D801B381-B81D-47a7-8EC4-EFC111666AC0", "MIMEe2k3",
    "mimeLogoffE2k3");     if (IsMimeCtlInst("OwaSMime.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k7sp1", "833aa5fb-7aca-4708-9d7b-c982bf57469a", "MIMEe2k7sp1", "mimeLogoffE2k7sp1");
        if (IsMimeCtlInst("OwaSMime2.MimeCtlVer"))    RndMimeCtlHlpr("MimeNSe2k9", "4F40839A-C1E5-47E3-804D-A2A17F42DA21", "MIMEe2k9", "mimeLogoffE2k9");  }    /// <summary>
     /// Helper function to factor out the rendering of the S/MIME control.  /// </summary>  func...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...tion RndMimeCtlHlpr(objid, classid, ns, id)  {   document.write("<OBJECT id='" + objid + "' classid='CLSID:" + classid + "'></OBJECT>");   document.write("<?IMPORT namespace='"
    + ns + "' implementation=#" + objid + ">");   document.write("<" + ns + ":Logoff id='" + id + "' style='display:none'/>");  }   -->  </script>
           <script>            var mainLogonDiv = window.document.getElementById("mainLogonDiv");          var layout = DetermineLayout();          var
    showPlaceholderText = false;          var mainLogonDivClassName;            if (layout == LayoutTypeEnum.Mouse) {              mainLogonDivClassName = "mouse";
             }          else if (layout == LayoutTypeEnum.TouchNarrow) {              mainLogonDivClassName = "tnarrow";              showPlaceholderText
    = true;               ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ... // Output meta tag for viewport scaling              document.write('<meta name="viewport" content="width = 320, initial-scale = 1.0, user-scalable = no" />');          }
             else {              mainLogonDivClassName = "twide";              showPlaceholderText = true;          }    
           function setPlaceholderText() {                  window.document.getElementById("username").placeholder = "domain\\user name";            
         window.document.getElementById("password").placeholder = "password";                  window.document.getElementById("passwordText").placeholder = "password";
             }            function showPasswordClick() {              var showPassword = window.document.getElementById("showPasswordCheck").checked;    
             window.document.getElementById("password"...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...).type = showPassword ? "input" : "password";          }      </script>    </head>  <body class="signInBg" style="background: #f2f2f2 url('/owa/auth/15.0.775/themes/resources/bg_gradient_login.png')
    repeat-x"/>        <noscript>   <div id="dvErr">    <table cellpadding="0" cellspacing="0">    <tr>     <td><img src="/owa/auth/15.0.775/themes/base/warn.png"
    alt=""></td>     <td style="width:100%">To use Outlook Web App, browser settings must allow scripts to run. For information about how to allow scripts, consult the Help for your browser. If your browser doesn&#39;t
    support scripts, you can download <a href="http://www.microsoft.com/windows/ie/downloads/default.mspx">Windows Internet Explorer</a> for access to Outlook Web App.</td>    </tr>    </table>  
    </div>  </noscript>    <form action...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...="/owa/auth.owa" method="POST" name="logonForm" ENCTYPE="application/x-www-form-urlencoded" autocomplete="off">  <input type="hidden" name="destination" value="https://<Server>/owa/user02@<Domain>/wopi/files/@/owaatt?owaatt=LFMtMS01LTIxLTIwODU5NzU2NjItMTE4ODQ1NzE5Ny04MDY2Njg5MC0xMTI5VUtGxj%2bT0AgBAQEAQE1jdE5tSElqZjBHWWtXUTFtZi8yQ3htSGZxS3Izb1gwZGVFWVhjdklhbGwwc3F0dnJiQjBzZ0d2eXBDVCtaeEU%3d&amp;access_token=REDACTED_1086&amp;access_token_ttl=0">
     <input type="hidden" name="flags" value="4">  <input type="hidden" name="forcedownlevel" value="0">      <!-- Default to mouse class, so that things don't
    look wacky if the script somehow doesn't apply a class -->  <div id="mainLogonDiv" class="mouse">      <script>            var mainLogonDiv = window.document.getElementById("mainLogonDiv");
        ... b373a48e-9fca-445b-a7b2-2966f11b18de
    ...     mainLogonDiv.className = mainLogonDivClassName;      </script>      <div class="sidebar">          <div class="owaLogoContainer">      
           <img src="/owa/auth/15.0.775/themes/resources/olk_logo_white.png" class="owaLogo" aria-hidden="true" />              <img src="/owa/auth/15.0.775/themes/resources/olk_logo_white_small.png"
    class="owaLogoSmall" aria-hidden="true" />          </div>      </div>      <div class="logonContainer">   <div id="lgnDiv" class="logonDiv"
    onKeyPress="return checkSubmit(event)">                        <div class="signInImageHeader" role="heading" aria-label="Outlook Web App ">  
                   <img class="mouseHeader" src="/owa/auth/15.0.775/themes/resources/owa_text_blue.png" alt="Outlook Web App " />              </div>
                 <div class="signInInp...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...utLabel" id="userNameLabel" aria-hidden="true">Domain\user name:</div>    <div><input id="username" name="username" class="signInInputText" role="textbox" aria-labelledby="userNameLabel"/></div>
       <div class="signInInputLabel" id="passwordLabel" aria-hidden="true">Password:</div>    <div><input id="password" onfocus="g_fFcs=0" name="password" value=""
    type="password" class="signInInputText" aria-labelledby="passwordLabel"/></div>          <div class="showPasswordCheck signInCheckBoxText">            
     <input type="checkbox" id="showPasswordCheck" class="chk" onclick="showPasswordClick()" />              <span>Show password</span>        
     </div>                <div class="signInError" role="alert" tabIndex="0">              </div>    <div id="expltxt"
    class="signInExpl" role="alert">     ...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ...    </div>    <div class="signInEnter">              <div onclick="clkLgn()" class="signinbutton" role="button" tabIndex="0" >  
                   <img class="imgLnk"                                                
    src="/owa/auth/15.0.775/themes/resources/Sign_in_arrow.png"                                         alt=""><span class="signinTxt">sign
    in</span>              </div>              <input name="isUtf8" value="1" type="hidden"/>    </div>        
     <div class="hidden-submit"><input type="submit" tabindex="-1"/></div>    </div>      </div>       <div id="cookieMsg" class="logonDiv"
    style="display:none">    <div class="signInHeader">Outlook Web App </div>    <div class="signInExpl">Please enable cookies for this Web site.<br><br>Cookies are
    currently disabled by your browser. Outlook Web...
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ... App requires that cookies be enabled. <br><br>For information about how to enable cookies, see the Help for your Web browser.<br><br><br></div>    <div class="signInEnter" >      
        <div onclick="clkRtry()" style="cursor:pointer;display:inline">            <img class="imgLnk"              src="/owa/auth/15.0.775/themes/resources/Sign_in_arrow.png"
               alt=""><span class="signinTxt" tabIndex="0">retry</span>    </div>   </div>      </div>  </div>  </form>
     <script>      if (showPlaceholderText) {          setPlaceholderText();      }  </script>  </body>  </html>  ]
    b373a48e-9fca-445b-a7b2-2966f11b18de
    FileUnknownException loading powerpointframe: Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: WOPI Check File     at Microsoft.Office.Web.Apps.Common.WopiDocument.CheckWopiFile()     at Microsoft.Office.Web.Common.BaseDocumentCache.CheckBaseDocumentInternal(BaseDocument
    baseDoc, BaseUser user, Boolean requiresVersion, String canary, Boolean checkCanary, Boolean fUseCacheLookup)     at Microsoft.Office.Server.Powerpoint.Web.UI.PptWebControl.CheckFileInfo()
    b373a48e-9fca-445b-a7b2-2966f11b18de
    ViewOpenEarlyHelper: no presentation Id, failing.
    b373a48e-9fca-445b-a7b2-2966f11b18de
    IsAuthenticated: False, IsAnonymous: False, AuthType:
    b373a48e-9fca-445b-a7b2-2966f11b18de
    Secure connection detected, redirecting service endpoint from ppt/view.svc/jsonAnonymous to ppt/view.https.svc/jsonAnonymous
    b373a48e-9fca-445b-a7b2-2966f11b18de
    WACServer HttpModule: EndRequest Called b373a48e-9fca-445b-a7b2-2966f11b18de
    Any suggestions ...

    Hi,
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/ded515c8-cc0f-4ad4-bed6-e56a0636be79/exchange-office-web-apps-preview-does-not-work-in-owa-web?forum=exchangesvrclients
    Hope it hleps you!
    Thanks.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Office web apps 2013 March update 2013....pdf preview

    the web application is configured as permissive.
    I did the following
    Remove-OfficeWebAppsMachine
    updated with the march 2013.
    restarted the office web apps 2013 server.
    New-OfficeWebAppsFarm -InternalUrl "https://owa.domain.com" -ExternalUrl "https://owa.domain.com" –CertificateName "*.domain.is" -EditingEnabled
    New-SPWOPIBinding –ServerName "OWA.domain.is" -Application WordPDF
    word / excel preview works
    (Invoke-WebRequest
    https://wac.contoso.com/m/met/participant.svc/jsonAnonymous/BroadcastPing).Headers["X-OfficeVersion"]
    gives an error
    PDF does not open in browser.
    The updates in January were installed automatically.
    Is that maybe the problem?
    I have seen this:
    http://www.wictorwilen.se/sharepoint-2013-enabling-pdf-previews-with-office-web-apps-2013-march-2013-update

    Is it not working only for PDF files? I only used the zone external-https as an example so please confirm that you set the right binding. After all applications have the correct binding you need to create a result type for PDFs:
    Site Settings > (Search) Result Types and then finding the PDF Result Type. Choose to Copy the Result Type.
    Give the new Result Type an appropriate name, “PDF with Preview” for instance. Then scroll down to Actions and in the “What
    should these results look like?” drop-down, choose to use the Word Display Template.
    Regards,
    Andrew J Billings
    Portal Systems Engineer//MCSA,MCSE
    Blog:
    http://www.andrewjbillings.com 
    Twitter:   LinkedIn:
      

  • Office web apps service pack 1 pdf preview

    Hello Experts,
    I have successfully installed and configured OWA Service pack 1 for a sharePoint farm, All office document preview works perfectly only for PDF files not to show preview, are there any special configuration to get this working in SharePoint 2013.
    Thanks

    Hi,
    from Wictor blog
    Before you start fiddling with this, you need to make sure that you have the March 2013 update of Office
    Web Apps Server 2013 (WAC) installed and connected to your farm – if you don’t know for sure, ask your admins – sometimes 
    http://www.wictorwilen.se/sharepoint-2013-enabling-pdf-previews-with-office-web-apps-2013-march-2013-update
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • How to change web-app display name within EAR file?

    Currently we are deploying an EAR file (which contains a web-app and an EJB) per
    BEA recommendations. The web-app shows up on the admin console with '/' as the
    name. Is there anyway to change this to the name I want?
    thx,
    Matt

    FYI - here is the entire content of applicaiton.xml in the EAR file we deploy:
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application
    1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>
    <application>
    <display-name>RVApp</display-name>
    <module>
    <ejb>RVTrackingBean</ejb>
    </module>
    <module>
    <web>
    <web-uri>RVWebApp</web-uri>
    <context-root>/</context-root>
    </web>
    </module>
    </application>
    "Erik Johnson" <[email protected]> wrote:
    >
    No, you can't change that in the console. It's defined in the application's
    application.xml
    descriptor file.
    erik
    "Matt Savino" <[email protected]> wrote:
    Currently we are deploying an EAR file (which contains a web-app and
    an EJB) per
    BEA recommendations. The web-app shows up on the admin console with'/'
    as the
    name. Is there anyway to change this to the name I want?
    thx,
    Matt

  • Offie Web Apps 2013 randomly fail to render a file with an authentication issue on Firefox

    Hello,
    I’m facing an issue when refreshing a SharePoint page with an embedded Office file (rendered through Office web apps).
    When I refresh the page, the Office Web Apps frame doesn’t render the file (randomly) and returns an error (in the frame. Everything around the frame in SharePoint is OK):
    “Sorry you don’t have access to this content”
    Just after receiving the error, if I refresh the page again, everything works for a couple of tries and then the error show up again...
    Here is my configuration:
    SharePoint 2013 Server SP1 (15.0.4569.1000) farm English version
    Office Web Apps farm English version
    SSL Offloading through load balancer for both farm
    Issue:
    1<sup>st</sup> load of the page with IE, Chrome and Firefox > OK
    Page refresh with IE/Chrome > OK
    Page refresh with Firefox > random KOs
    Tests:
    Test with FireFox version 24/27/32 > same results
    Test from Windows/OSx > same results
    Test with 1 WFE and 1 WAC server > same results
    Test with network.negotiate-auth.allow-insecure-ntlm-v1;True
    on FF > same results
    In the ULS logs, I found this entry which seems strange even though I’m authenticated on SharePoint (see the complet log below):
    Non-OAuth request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0
    Followed by
    System.UnauthorizedAccessException:   Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)),   StackTrace:   
    at   Microsoft.SharePoint.SPWeb.InitWeb()      
    at Microsoft.SharePoint.SPWeb.get_WebTemplateConfiguration()    
    at   Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl,   Page page, String name, Boolean localizable, Boolean defer, Boolean   loadAfterUI, String language, Boolean injectNoDefer, Boolean   controlRegistration,
    Boolean loadInlineLast, Boolean ignoreFileNotFound)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page,   String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String   language, String uiVersion, String ctag)    
    Microsoft recommendations about FireFox:
    Lastest versions of IE, Chrome and Firefox should work
    http://technet.microsoft.com/en-us/library/cc263526(v=office.15).aspx
    Other details:
    I’m not testing with the farm account.
    Some of my company’s users need to use Firefox as their everyday browser.
    Again, everything works with IE and Chrome.

    Search "17efba9c-d283-80e1-2ddf-9311dd77dd1c" (41 hits   in 1 file)
    Line 44019: 09/22/2014 11:50:04.86 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    Logging Correlation Data      
    xmnv
    Medium  
    Name=Request   (GET:https://intranet.mycompany.com:443/poles/crc/wiki/_layouts/15/WopiFrame.aspx?sourcedoc=/poles/crc/wiki/Documents/confidentiality%20-%20data%20protection_SDE_2014.05.06_v1.0.pptx&action=embedview&wdAr=1.3333333333333332)
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44020: 09/22/2014 11:50:04.86 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    Authentication Authorization  
    agb9s
    Medium  
    Non-OAuth request. IsAuthenticated=False, UserIdentityName=,   ClaimsCount=0
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44021: 09/22/2014 11:50:04.86 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    Logging Correlation Data      
    xmnv
    Medium  
    Site=/poles/crc
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44022: 09/22/2014 11:50:04.86 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    Authentication Authorization  
    aib35
    Medium  
    SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing   access token
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44028: 09/22/2014 11:50:04.87 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    Authentication Authorization  
    aib35
    Medium  
    SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing   access token
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44030: 09/22/2014 11:50:04.87 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    aat87
    Monitorable
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44032: 09/22/2014 11:50:04.87 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    8e2s
    Medium  
    Unknown SPRequest error occurred. More information: 0x80070005
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44033: 09/22/2014 11:50:04.87 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    aix9j
    High    
    SPRequest.GetPageListId: UserPrincipalName=, AppPrincipalName=   ,bstrUrl=https://intranet.mycompany.com/poles/crc/wiki/_layouts/15/WopiFrame.aspx?sourcedoc=/poles/crc/wiki/Documents/confidentiality   - data protection_SDE_2014.05.06_v1.0.pptx&action=embedview&wdAr=1.3333333333333332
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44034: 09/22/2014 11:50:04.87 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    System.UnauthorizedAccessException: Access is denied. (Exception from   HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   
    at   Microsoft.SharePoint.SPContext.get_ListId()    
    at Microsoft.SharePoint.SPContext.get_List()    
    at   Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl,   Page page, String name, Boolean localizable, Boolean defer, Boolean   loadAfterUI, String language, Boolean injectNoDefer, Boolean
      controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page,   String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String   language, String uiVersion, String ctag)    
      at Micros...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44035: 09/22/2014 11:50:04.87*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...oft.SharePoint.WebControls.ScriptLink.Register(String uiVersion,   Control ctrl, Page page, String name, Boolean localizable, Boolean   defer)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page,   String name, Boolean localizable, Boolean defer)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String   strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl,   Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page   page, String strFile, Boolean localizable)      
    at   Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl,   Page page, String name, ...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44036: 09/22/2014 11:50:04.87*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...Boolean localizable, Boolean defer, Boolean loadAfterUI, String   language, Boolean injectNoDefer, Boolean controlRegistration, Boolean   loadInlineLast, Boolean ignoreFileNotFound)    
    at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control   ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean   loadAfterUI, String language, String uiVersion, String ctag)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl,   Page page, String strKey, String strFile, Boolean localizable)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)    
    at System.Web.UI.Control.LoadRecursive()    
    at   System.Web.UI.Control.LoadRecursive()      
    at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Co...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44037: 09/22/2014 11:50:04.87*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...ntrol.LoadRecursive()     at   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,   Boolean includeStagesAfterAsyncPoint)      
    at System.Web.UI.Page.ProcessRequest(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at   System.Web.UI.Page.ProcessRequest()      
    at System.Web.UI.Page.ProcessRequest(HttpContext context)    
    at   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter   writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path,   VirtualPath filePath, String physPath, Exception error, String   queryStringOverride)    
    at   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean   preserveForm)    
    at   System.Web.HttpServerUtility.Transfer(String path)    
    at Microsoft.SharePoint.Utiliti...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44038: 09/22/2014 11:50:04.87*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...es.SPUtility.TransferToErrorPage(String message, String linkText,   String linkUrl)    
    at   Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame   frame)    
    at   Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame   frame)    
    at   System.Web.UI.Control.LoadRecursive()      
    at System.Web.UI.Page.ProcessRequestMain(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,   Boolean includeStagesAfterAsyncPoint)      
    at System.Web.HttpContext.InvokeCancellableCallback(WaitCallback   callback, Object state)    
    at   System.Web.UI.Page.LegacyAsyncPageBeginProcessRequest(HttpContext context, AsyncCallback   callback, Object extraData)    
    at   System.Web.HttpApplication.CallHa...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44039: 09/22/2014 11:50:04.87*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...ndlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&   completedSynchronously)    
    at   System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception   error)    
    at   System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext   context, AsyncCallback cb)    
    at   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest   wr, HttpContext context)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at Sys...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44040: 09/22/2014 11:50:04.87*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...tem.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr   pHandler, RequestNotificationStatus& notificationStatus)    
    at   System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler,   RequestNotificationStatus& notificationStatus)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)  
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44041: 09/22/2014 11:50:04.87 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    8e2s
    Medium  
    Unknown SPRequest error occurred. More information: 0x80070005
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44042: 09/22/2014 11:50:04.87 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    aix9j
    High    
    SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName=   ,bstrUrl=https://intranet.mycompany.com/poles/crc/wiki/_layouts/15/WopiFrame.aspx?sourcedoc=/poles/crc/wiki/Documents/confidentiality   - data protection_SDE_2014.05.06_v1.0.pptx&action=embedview&wdAr=1.3333333333333332
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44043: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    System.UnauthorizedAccessException: Access is denied. (Exception from   HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   
    at   Microsoft.SharePoint.SPWeb.InitWeb()      
    at Microsoft.SharePoint.SPWeb.get_WebTemplateConfiguration()    
    at   Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl,   Page page, String name, Boolean localizable, Boolean defer, Boolean   loadAfterUI, String language, Boolean injectNoDefer, Boolean   controlRegistration,
    Boolean loadInlineLast, Boolean ignoreFileNotFound)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page,   String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String   language, String uiVersion, String ctag)    
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44044: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...at Microsoft.SharePoint.WebControls.ScriptLink.Register(String   uiVersion, Control ctrl, Page page, String name, Boolean localizable, Boolean   defer)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page,   String name, Boolean localizable, Boolean defer)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String   strKey, String strFile, Boolean registerDependencies, Control ctrl, Page   page)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl,   Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page   page, String strFile, Boolean localizable)      
    at   Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl,   Page page, Stri...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44045: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...ng name, Boolean localizable, Boolean defer, Boolean loadAfterUI,   String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean   loadInlineLast, Boolean ignoreFileNotFound)    
    at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control   ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean   loadAfterUI, String language, String uiVersion, String ctag)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control   ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at   Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)    
    at   System.Web.UI.Control.LoadRecursive()      
    at System.Web.UI.Control.LoadRecursive()    
    at   System.Web.UI.Control.LoadRecursive()      
    at System.Web.UI.Control.LoadRecursive()    
    at System....
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44046: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...Web.UI.Control.LoadRecursive()      
    at System.Web.UI.Page.ProcessRequestMain(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at   System.Web.UI.Page.ProcessRequest()      
    at System.Web.UI.Page.ProcessRequest(HttpContext context)    
    at   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter   writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path,   VirtualPath filePath, String physPath, Exception error, String   queryStringOverride)    
    at   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean   preserveForm)    
    at   System.Web.HttpServerUtility.Transfer(String path)    
    at Microsoft.SharePoin...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44047: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...t.Utilities.SPUtility.TransferToErrorPage(String message, String   linkText, String linkUrl)    
    at   Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame   frame)    
    at   Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame   frame)    
    at   System.Web.UI.Control.LoadRecursive()      
    at System.Web.UI.Page.ProcessRequestMain(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,   Boolean includeStagesAfterAsyncPoint)      
    at System.Web.HttpContext.InvokeCancellableCallback(WaitCallback   callback, Object state)    
    at   System.Web.UI.Page.LegacyAsyncPageBeginProcessRequest(HttpContext context, AsyncCallback   callback, Object extraData)    
    at   System.Web.HttpApplicati...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44048: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...on.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&   completedSynchronously)    
    at   System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception   error)    
    at   System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext   context, AsyncCallback cb)    
    at   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest   wr, HttpContext context)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags) 
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44049: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...   at   System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler,   RequestNotificationStatus& notificationStatus)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr   pHandler, RequestNotificationStatus& notificationStatus)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)  
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44051: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ajji6
    High    
    Unable to write SPDistributedCache call usage entry.
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44052: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    8e2s
    Medium  
    Unknown SPRequest error occurred. More information: 0x80070005
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44053: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    aix9j
    High    
    SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName=   ,bstrUrl=https://intranet.mycompany.com/poles/crc/wiki/_layouts/15/WopiFrame.aspx?sourcedoc=/poles/crc/wiki/Documents/confidentiality   - data protection_SDE_2014.05.06_v1.0.pptx&action=embedview&wdAr=1.3333333333333332
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44057: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    System.UnauthorizedAccessException: Access is denied. (Exception from   HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   
    at   Microsoft.SharePoint.SPWeb.InitWeb()      
    at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()    
    at   Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter   writer)    
    at   Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)    
    at   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,   ControlAdapter adapter)    
    at   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,   Boolean includeStagesAfterAsyncPoint)      
    at System.Web.UI.Page.ProcessRequest(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at   System.Web.UI.Page.ProcessRequest()      
    at System.Web.UI.Page.P...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44058: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...rocessRequest(HttpContext context)      
    at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler,   TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath   path, VirtualPath filePath, String physPath, Exception error, String   queryStringOverride)    
    at   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean   preserveForm)    
    at System.Web.HttpServerUtility.Transfer(String   path)    
    at   Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message,   String linkText, String linkUrl)    
    at   Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame   frame)    
    at   Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame   frame)    
    at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Page.Pro...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44059: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...cessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean   includeStagesAfterAsyncPoint)    
    at   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,   Boolean includeStagesAfterAsyncPoint)      
    at System.Web.HttpContext.InvokeCancellableCallback(WaitCallback   callback, Object state)    
    at   System.Web.UI.Page.LegacyAsyncPageBeginProcessRequest(HttpContext context, AsyncCallback   callback, Object extraData)    
    at   System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep   step, Boolean& completedSynchronously)      
    at   System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception   error)    
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext   ...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44060: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...context, AsyncCallback cb)       at   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest   wr, HttpContext context)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at   System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler,   RequestNotificationStatus& notificationStatus)    
    at   System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler,   RequestNotificationStatus& notificationStatus)    
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr   ro...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44061: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...otedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData,   Int32 flags)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)  
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44062: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    8e2s
    Medium  
    Unknown SPRequest error occurred. More information: 0x80070005
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44063: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    aix9j
    High    
    SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName=   ,bstrUrl=https://intranet.mycompany.com/poles/crc/wiki/_layouts/15/WopiFrame.aspx?sourcedoc=/poles/crc/wiki/Documents/confidentiality   - data protection_SDE_2014.05.06_v1.0.pptx&action=embedview&wdAr=1.3333333333333332
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44064: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    System.UnauthorizedAccessException: Access is denied. (Exception from   HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   
    at   Microsoft.SharePoint.SPWeb.InitWeb()      
    at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()    
    at   Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter   writer)    
    at   Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)    
    at   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,   ControlAdapter adapter)    
    at   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,   Boolean includeStagesAfterAsyncPoint)      
    at System.Web.UI.Page.ProcessRequest(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at   System.Web.UI.Page.ProcessRequest()      
    at System.Web.UI.Page.P...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44065: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...rocessRequest(HttpContext context)      
    at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler,   TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath   path, VirtualPath filePath, String physPath, Exception error, String   queryStringOverride)    
    at   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean   preserveForm)    
    at System.Web.HttpServerUtility.Transfer(String   path)    
    at   Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message,   String linkText, String linkUrl)    
    at   Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame   frame)    
    at   Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame   frame)    
    at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Page.Pro...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44066: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...cessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean   includeStagesAfterAsyncPoint)    
    at   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,   Boolean includeStagesAfterAsyncPoint)      
    at System.Web.HttpContext.InvokeCancellableCallback(WaitCallback   callback, Object state)    
    at   System.Web.UI.Page.LegacyAsyncPageBeginProcessRequest(HttpContext context, AsyncCallback   callback, Object extraData)    
    at   System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep   step, Boolean& completedSynchronously)      
    at   System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception   error)    
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext   ...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44067: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...context, AsyncCallback cb)       at   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest   wr, HttpContext context)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)    
    at   System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler,   RequestNotificationStatus& notificationStatus)    
    at   System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler,   RequestNotificationStatus& notificationStatus)    
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr   ro...
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44068: 09/22/2014 11:50:04.89*
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    General                       
    ai1wu
    Medium  
    ...otedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData,   Int32 flags)    
    at   System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr   rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32   flags)  
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44069: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    Micro Trace                   
    uls4
    Medium  
    Micro Trace Tags: 0 nasq,1 agb9s,1 aib35,13 aib35,2 aat87,0 aix9j,0   ai1wu,0 aix9j,0 ai1wu,3 ajji6,1 aix9j,0 ai1wu,0 aix9j,0 ai1wu
    17efba9c-d283-80e1-2ddf-9311dd77dd1c
    Line 44070: 09/22/2014 11:50:04.89 
    w3wp.exe (0x15EC)                       
    0x0AAC
    SharePoint Foundation         
    Monitoring                    
    b4ly
    Medium  
    Leaving Monitored Scope (Request   (GET:https://intranet.mycompany.com:443/poles/crc/wiki/_layouts/15/WopiFrame.aspx?sourcedoc=/poles/crc/wiki/Documents/confidentiality%20-%20data%20protection_SDE_2014.05.06_v1.0.pptx&action=embedview&wdAr=1.3333333333333332)).
      Execution Time=33.433439166151
    17efba9c-d283-80e1-2ddf-9311dd77dd1c

  • Weblogic 10.1 web apps merge log4j log files into single log file

    Hi
    I have deployed multiple web applications on my weblogic (v 10.1 - JDK 1.5.0_12). I am using log4j-1.2.13.jar in a four different web applications.
    The location for the files are - WEB-INF\lib\log4j-1.3.13.jar and WEB-INF\classes\log4j.properties
    When I deployed all the four webapps in weblogic - we found that all of the apps started writing their logs into the logfile which is configured in the log4j of the first web apps log file. The "first web app" is the web app which is the first app deployed in weblogic.
    I have deployed all the four webapps in Tomcat and found that four separate log files get created. Hence, this problem is unique to Weblogic.
    Any suggestions on what the problem could be? I have been battling with this issue for over a week- and have exhausted all ideas.
    Thank you,
    Ronak S.

    Hi ,
    Read all about your issue here :
    Weblogic 10.0 and Log4j classpath problem
    Issue is that the Weblogic system classloader includes log4J already..
    Use "Filtering ClassLoader" a mechanism to configure deployment descriptors to explicitly specify that certain packages should always be loaded from the application, rather than being loaded by the system classloader.
    see: http://e-docs.bea.com/wls/docs100/programming/classloading.html#wp1097187
    Example:
    Add following to your META-INF/weblogic-application.xml
    <prefer-application-packages>
    <package-name>org.apache.log4j.*</package-name>
    </prefer-application-packages>
    Exclude all library packages used within your applcation to have full control over what is used by the application.
    regards,
    Kris

  • Specify a file location in web app structure?

    I wish to store several small properties in a file for my web app, but how to control where they go? for instance (used in a class called from a jsp):
    FileOutputStream out = new FileOutputStream("tempFile.prop");
    out.println("test out");
    out.close();where does tempFile.prop go? Right now it appears to go into the root directory of the web app, but I would like to be able to dump it into web-inf, or in some other folder in my application.
    How do I specify a relative file location in the web app structure?
    On most runs of the app, the file is stored in the root folder of my app (the context?)
    Can I code relative paths from there, and how do i gaurantee where the files will go?
    I have tried several different things, and most of the time the behavior is as reported, but on a number of occaisions, the files go into tomcat/bin. WHAT? WHY? anyway, if there are any tried and true rules on this, let me know.
    Thank you

    Check out the File class, which can check the directory and file's existance (and other properties). I would simply create servlet that checks/writes to a file in which you can actually specify the path to the file, whether absolute (c:\\..\\..\\kf.prop) or relative (using servlet context to get to the webapp folder and then to various directories below that).
    Good luck

Maybe you are looking for

  • Duplicate songs in my 4S but not in iTunes.

    I have duplicate songs in my iPhone 4S. But everything is normal in library. I have unchecked the "Sync Music" and then tried to syncronize. I thought that this would delete all songs from my iPhone, so after that I would add my songs again and I wou

  • How to capture check box click in ALV

    Hi, I have requirement in which after displaying the ALV out put, immediately when the check box is checked i need to capture it and proceed with further coding with that input. Check box click is not getting captured in "USER COMMAND or LINE SELECTI

  • Trying to choose a method for wireless access (non-Safari question)

    This isn't a Safari question, but I think plenty of Safari users would hopefully know an answer to it....and I'm not sure where else to ask: I'd like to be able to access Wi-Fi when I'm travelling-- which isn't very often, so I'm not keen on spending

  • Updated to OSX Maverick and now I can't stream shows from DirectTV.

    I recently updated my macbook pro to OSX Maverick and now I can't stream shows from DirectTV.

  • Delivery deleted but requirements are still shown in MD04

    Hi Gurus, I have an issue , where the item has been deleted from the delivery . However the requirements for the material are still being shown in MD04. I want the requirements should be removed from MD04. Please help me  in  resolving this issue. Th