Offline web apps

I need to write a web app that will be deployed on an intranet and also on offline laptops (no network connection). I'm going to use Tomcat as the servlet container for the intranet version. Would it be "normal practice" to install Tomcat on the laptops or would the perfomance to too poor ? If this is a reasonable approach, how do I prevent others accessing the local Tomcat server when the laptop goes online ? If it isn't, what are the alternatives. I'd like to know how others have approached this problem.
Thanks in advance.

Thx for reply.
I don't believe this is what I'm after.
I think the only way I can run a web app is using a web server (I need to run servlets which require database acsess), but an alternative server needs to be available when the laptop is off line (ie running on the laptop). Is there is a lightweight web server that is easy to install without lots of overhead (in a similar way that MS have a Personal Web Server) ?
Or alternatively is there a framework I can use which wraps up the web app and makes it look like a web application running off localhost ?

Similar Messages

  • IOS 4 offline web apps broken

    Hi,
    I have a few web applications on my iPad that have offline functionality through HTML application caching and client side DBs. These worked great (and still do) under iOS 3, but when I upgraded to iOS 4 they stopped working in offline mode. Has anybody else seen this issue? Is there a problem in iOS 4 with this HTML 5 functionality?
    Thanks,
    Simon

    Apparently I should have phrased my question differently. Is there a difference between iOS 3 and iOS 4 in how they handle offline application caching or client side databases? I assume something must have changed since the same HTML5 apps that are still currently working in iOS 3 no longer work in iOS 4.

  • Publishing to Azure Web App when using nuget "Microsoft.SqlServer.Types" crashes WebDeploy

    I have a project where I use "Microsoft.SqlServer.Types" that loads an assembly manually as part of the package.
    The problem arises when I publish this via Visual Studio. I get an error that the file is already in use from WebDeploy. This is probably because of how the assemblies are loaded or something that makes them locked.
    Repro steps:
    Create an ASP.NET web and add nuget package "Microsoft.SqlServer.Types" and make sure you load the assembly using the provided ReadMe.txt in your App_Start.
    Deploy to Azure Web App.
    Deplay again when the app is up and running - you'll get the error.
    Does WebDeploy have an option for shutting down the site when updating or something like that? This error also apply to any WebJobs that also use the "Microsoft.SqlServer.Types" package.

    there is a way to take the site down during publishing please read through this blog post 
    http://blogs.msdn.com/b/webdev/archive/2013/10/30/web-publishing-updates-for-app-offline-and-usechecksum.aspx
    please read the part about appoffline
    Thanks, Hosam

  • Office Web Apps is HTTP, But, Want to change it to HTTPS - How ?

    Forum,
    We have deployed and configured a single Office Web Apps server farm to use HTTP, Using TechNet instructions e.g.:
    New-OfficeWebAppsFarm -InternalURL "http://servername" -AllowHttp -EditingEnabled
    New-SPWOPIBinding -ServerName <WacServerName> -AllowHTTP
    Set-SPWOPIZone -zone "internal-http"
    AllowOAuthOverHttp to True
    And everything is working perfectly fine !
    We now need to change it to use HTTPS and we have a certificate for that. But, Since it has been already configured with HTTP and it already has a configured binding, How can I change all this to HTTPS ?

    you can try rebuilding the binding at SharePoint server  -
    https://technet.microsoft.com/en-us/library/ff431687
    Remove-SPWOPIBinding -All:$true
    New-SPWOPIBinding -ServerName <WacServerName>
    Get-SPWOPIZone
    // Take note of the WOPI zone that is displayed.
    Set-SPWOPIZone -zone "external-https"  
    //If the results from Step 3 show that internal-https and the SharePoint farm is internal only, you can skip this step. If you have a SharePoint farm that’s internal and external, you need to run the following command to change the zone to external-https.
    Or try by Rebuilding the OfficeWebApps Farm  -
    http://blogs.technet.com/b/office_web_apps_server_2013_support_blog/archive/2013/12/20/office-web-apps-2013-rebuild-your-farm-in-a-few-easy-steps.aspx
    Take farm offline
    Remove each machine (parent and child) from the farm
    Recreate the farm - New-OfficeWebAppsFarm -InternalUrl "https://server.domain.com" -EditingEnabled -CertificateName *.domain.com
    Rebuild the bindings on SharePoint Server : As explained above
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Office Web Apps Redundancy

    I have Office web apps running on my SharePoint installation.
    The question i have is this
    If my OWA server goes down how do i configure SharePoint to use the client automatically instead of falling over when handling documents.
    the libraries are set to Use the server default(open in browser).So currently if the OWA servcer goes offline then it would require a administrator to change the server default, is there anyway this can be automated so that is the case of the OWA server
    going offline. the client will be used?

    You can install two OWA servers. then register your sites with the other server when one goes down. It's the same procedure as when you originally setup the connection between SharePoint and OWA.

  • Creating An iPhone Web App

    I am creating a web app for the iPhone. The program I am trying to build, is an Inventory web app. I am trying to make the web app add, remove, and movie certain items to different rooms within this app. I know the task I am taking on is big, but I plan to learn. I new to programming. Can anyone help me threw the process.
    p.s.- I started up Dashcode, and starting using the browser template, and I managed to play around with that, But I need help.
    Any help would be appreciated.

    I too would like to know this. As sometimes you can't go online, being able to create web apps that can be used offline, simple ones, like games maybe, that could be stored "locally" on the iPhone, or more appropriately the iPod Touch (Since it has no 3G and Wifi isn't everywhere) so you could use them when in an area without internet access.

  • Offline mgs apps

    can anyone from usa receive my text using the same app from offline while I'm sending from online?
    suggest me some apps rerelated thank you:)

    Thx for reply.
    I don't believe this is what I'm after.
    I think the only way I can run a web app is using a web server (I need to run servlets which require database acsess), but an alternative server needs to be available when the laptop is off line (ie running on the laptop). Is there is a lightweight web server that is easy to install without lots of overhead (in a similar way that MS have a Personal Web Server) ?
    Or alternatively is there a framework I can use which wraps up the web app and makes it look like a web application running off localhost ?

  • Detail on High Availability options for Web Apps

    Hi,
    I do really struggle to locate actual information on Azure Availability offerings / capabilities...as an Infrastructure Architect it has bugged me for years now with Azure offerings!
    Something that simply states the availability within any local DC and options for true HA over 2 or more DC's.
    We are moving away from using Web Roles to Web Apps for solutions for our clients. I understand the principles of fault domains, etc. with Web Role requirements for min. of 2 to (mostly) avoid MS update disruption within a single DataCenter, but cannot locate
    similar info. with regard to Web Apps.
    Really appreciate if someone could point me to some appropriate detail as I've failed....
    (Also, cannot find anything on DocumentDB....)
    Many Thanks,
    Lee

    Hi,
    High Availability of a running service always comes with a cost, and priorities will be app-specific. If it's the web tier, then you may indeed want to consider hosting in multiple geo's. If it's a backend processing tier, sometimes it's "ok" to
    let a service go offline, as long as requests are queued up. If it's the storage system (preventing queueing of messages), perhaps an alternate queue in a different data center could be available for redundancy purposes.
    I would request you to check this article:
    https://msdn.microsoft.com/en-us/library/azure/dn251004.aspx
    Hope this information helps.
    Regards,
    Azam khan

  • Firefox not honoring "Offline Web Content And User Data" settings

    Firefox always accepts offline web content and user data, I never get any notification regardless of the "tell me when a website asks to store data for offline use" setting (found in Preferences > Advanced > network).
    I also completely cleared the about:permissions tab. Regardless of the "All sites > Offline storage" setting, offline storage is always allowed.
    Here is a step- by step guide to reproduce my issue.
    1. Make sure about:permissions is clear
    2. make sure the list at: preferences > Network > "The following websites are ...." is also clear
    3. Close the preferences window
    4. Go to go to http://appcachefacts.info/demo/ ... No notification regarding offline cache will be shown.
    5. Open the preference window, the list at preferences > Network > "The following websites are ...."
    Will now be populated with http://appcachefacts.info (1.1MB)
    This list entry persists even after closing the browser window and re-opening it.
    This happens with complete disregard to the settings described in the first paragraph.
    I found a related issue, but it is old and archived:
    https://support.mozilla.org/he/questions/981189

    Firefox will store small amounts (less than 50 MB) of data without asking for permission.
    *offline-apps.allow_by_default;true
    *offline-apps.quota.warn;51200
    You can toggle the offline-apps.allow_by_default pref to false to make Firefox ask.

  • Games/Web Apps?

    Are there any games on the iPod touch? Or these web apps I'm reading about, can you download those to your touch and use them like games or can u just get to them thru the internet?
    Definitely needs to be games. What else will I do during lectures?

    Pay attention!
    But Web Apps are only available when you're online.
    "Offline Games" aren't available yet, but they probably will be with time.

  • Using Office Web Apps Server with SharePoint Foundation 2013

    I want to know whether I can configure Office Web Apps server to edit Excel documents on a SharePoint Foundation 2013 site.
    I came across a TechNet article that states that "When used together with SharePoint Server 2013, Office Web Apps Server provides updated versions of Word Web App, Excel Web App, PowerPoint Web App, and OneNote Web App".
    However, later in the same article, it states "If your organization licenses Office 2013 through a Volume Licensing program, you can enable Office Web Apps editing for SharePoint 2013 on-premises" (without mentioning Foundation or Server).

    Hi Lemesnil,
    The Office Web App server should support the Edit licenses for SharePoin Foundation 2013, Office Web App is free to
    download, you can also try installing and configuring in a test environment, see more from the below article applied to SharePoint Foundation 2013.
    http://support.microsoft.com/kb/2886404/en-us
    http://blogs.technet.com/b/speschka/archive/2012/12/31/enabling-licensing-and-editing-for-office-web-apps-in-sharepoint-2013.aspx
    Anohter useful article aobut how to license Office Web App server, you can take a look.
    http://blogs.technet.com/b/volume-licensing/archive/2013/05/22/how-to-license-office-web-apps-server.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Web app security not working

    Hi,
    I am using WebLogic 8.1 platform. I am trying to create a very basic secure web
    app.
    I created an App and created a web project. In it, I deleted the controller, etc
    and just have index. jsp. All the index.jsp does is: <%= request.getRemoteUser()
    %>
    In web.xml I have
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Success</web-resource-name>
    <url-pattern>*.jsp</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>*</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>default</realm-name>
    </login-config>
    <security-role>
    <role-name>*</role-name>
    </security-role>
    In weblogic.xml I have
    <security-role-assignment>
    <role-name>dealers</role-name>
    <principal-name>dealer1</principal-name>
    </security-role-assignment>
    When I run the app, it just renders the JSP and does not challenge me to login.
    Can you please help what is that I am doing wrong here?
    Thanks,
    John

    "john hryn" <[email protected]> wrote in message
    news:3fce2551$[email protected]..
    >
    Hi,
    I am using WebLogic 8.1 platform. I am trying to create a very basicsecure web
    app.
    I created an App and created a web project. In it, I deleted thecontroller, etc
    and just have index. jsp. All the index.jsp does is: <%=request.getRemoteUser()
    %>
    In web.xml I have
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Success</web-resource-name>
    <url-pattern>*.jsp</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>*</role-name>I think you should have dealers instead of *
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>default</realm-name>
    </login-config>
    <security-role>
    <role-name>*</role-name>And here too.
    </security-role>
    In weblogic.xml I have
    <security-role-assignment>
    <role-name>dealers</role-name>
    <principal-name>dealer1</principal-name>
    </security-role-assignment>

  • Office Web Apps is not working

       Hi,
         We have tried to deploy Office Web Apps Server but, after a number of tests, we haven't been able to view PowerPoint presentations. We tested "everything" but it didn't work.
         Finally, to simplify and focus the problem, we just deployed Office Web Apps Server "on its own", that is: just Internal URL, HTTP, Open From URL Enabled and sharing docs from a shared folder in the same server. So we have:
         \\wacserver\share\<Docs> (Excel, Word and PowerPoint)
         http://wacserver
         They work both "/hosting/discovery" and "/op/generate.aspx".
         If we try to view Excel doc, it works. If we try to view Word or PowerPoint, id doesn't work.
         For PowerPoint, it appears the PowerPoint Web Apps frame (FILE, START SLIDE SHOW, SLIDE - OF -, NOTES...) and, in the center, an animation 
    "PowerPoint Web App .....". After a couple of minutes, it stops with "Either you've lost network connectivity or our server is to busy to handle your request".
         What we have seen from different sources:
    FIDDLER
    ======
         /op/view.aspx?... Response 200
         /p/PowerPointFrame.aspx?... Response 200
         /p/imagehandler.ashx?... Response 202
         13 petitions to /p/ppt/view.svc/jsonAnonymous/GetPresentation Response 200
    PROCESS MONITOR
    ==============
         There were some folders and registry keys Network Service was trying to access with ACCESS DENIED response. We gave it permissions and they disappeared.
         SYSTEM is trying to access some registry keys (SpellingWcfprovider.exe => HKU\S-1-5-18, ImagingService.exe => HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options, and 2 or 3 more). It gets an ACCESS DENIED
    but SYSTEM, we have checked, has "Full control" permissions in those keys or folders.
         These errors appear by Office Web Server running itself, although we are not making a PowrPoint file request.
    ULS
    ===
         Several times, it tries to find the PowerPoint presentation in the caché, doesn't find it, manage to get it but, when trying to put it in the cache, it receives a disk space error:
    Determined file name [PowerPoint.pptx] from [\\wacserver\share\PowerPoint.pptx]
    AFileFetcher: Starting Unc download at [\\wacserver\share\PowerPoint.pptx]
    Begining UNC Download for [\\wacserver\share\PowerPoint.pptx]
    Reading next block of bytes for [\\wacserver\share\PowerPoint.pptx]
    End reading block of bytes for [\\wacserver\share\PowerPoint.pptx]
    Reading next block of bytes for [\\wacserver\share\PowerPoint.pptx]
    End reading block of bytes for [\\wacserver\share\PowerPoint.pptx]
    AFileFetcher: Done downloading file. [\\wacserver\share\PowerPoint.pptx]
    Downloaded file from final URL [\\wacserver\share\PowerPoint.pptx] with SHA256 [Y/whX0EzCZJQdHym/OPrMdrNVg0h8SwrC0TehaKIQdU=]
    AFileFetcher: Will cache web file info to memory cache. [\\wacserver\share\PowerPoint.pptx]
    Starting WriteStreamToDiskCache
    Creating channel to DiskCache: http://wacserver:809/diskcache/DiskCache.svc
    MachineTransfer [SourceMachine:wacserver, SourceMachineVersion:15.0.4543.1000, TargetMachine:wacserver, TargetMachineVersion:15.0.4551.1011, Method:DiskCacheService.PutCacheData]
    PutCacheData: [167F6AC792AE9B53BEA7CD135A35C18F0710CF5916C49DD5804C9E29CF9149CA55D1C8D1AD526B45B91801E1502B2BCD, d1c8d155-52ad-456b-b918-01e1502b2bcd, 50758, wacserver]
    PutCacheData: Writing to C:\ProgramData\Microsoft\OfficeWebApps\Working\d\1CA\167F6AC792AE9B53BEA7CD135A35C18F0710CF5916C49DD5804C9E29CF9149CA55D1C8D1AD526B45B91801E1502B2BCD
    Not enough disk space to write.  Sleeping once.
    Not enough disk space to write.  Giving up.
    PutCacheData Response: [False]
         The cache folder has enough disk size and PowerPoint.pptx file is just 30 KB.
         It repeats this flow 3 times (as for the first HTTP requests).
         During the 2 minutes test (until it fails) there are 14 traces like:
    Failed to create process object for pid 7780 with exception System.ArgumentException: Process with an Id of 7780 is not running.     at System.Diagnostics.Process.GetProcessById(Int32 processId)     at Microsoft.Office.Web.Common.RequestPipe.ProcessManager.TryGetProcessObject(Int32
    pid).
         We have tried a number of things but none has worked. The farm has just one server and it says ist's unhealthy. We have Windows Server 2008 R2 SP1. We have read some ways to fix the health, like HTTP Activation feature, but it only works
    for Windows Server 2012 as fas as we know.
         Has anybody experienced something like this or have a posible solution? Office Web Apps Server should be so easy to deploy but we have spent a lot of time with this.
         Thank you very much. Your help will be very appreciated.
         Kind regards.

    Hi John,
    According to your description, my understanding is that you cannot view the PowerPoint files in Office Web Apps in SharePoint.
    Was there any error when you view the PowerPoint files in Office Web Apps?
    You can troubleshoot the error following the link below:
    http://technet.microsoft.com/en-us/library/ff431687.aspx#tshoot
    I also recommend to re-configure SharePoint to use the Office Web Apps Server to see if the issue still occurs.
    http://technet.microsoft.com/en-us/library/ff431687.aspx#ConfigureMain
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How can I use more than one Data Provider in my web Apps

    I am trying to use two different data provider in my web apps to run two different queries from the same table ,the data provider A is working correctly but when I attempt to run data provider B ,It display an error page ,here is the error message : Exception Details :javax.servlet.ServletEx ception
    java.lang.RuntimeException: java.sql.SQLException : Cannot connect .Both dataSourceName and url properties are null.

    Hi,
    You can use more than one data provider in your application. However if you have defined a dataprovider for a particular table already, and wish to bind a component, select the component and use its context menu to Bind to Data...

  • Possible to have two login configs in same web app?

    Sorry for not having tried this first, my server and webapp are in a state
    of flux at this moment, but I wanted to see what the consensus is out there,
    not just whether I can or cannot make something work quickly.
    If I have two types of things that might be called in my Web App (WAR) in
    different ways (eg, browser accessing via HTTP by users that want to login
    via pretty forms, and SOAP clients that may access functionality through the
    same servlets (but with alternate Servlet Path Info after the servlet name
    in the URL)), is there ANY way I can have multiple login configs, each tied
    to a different security constraint within that web app?
    In other words, with a servlet of /frazzleblitz and security constraints
    like:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Foo</web-resource-name>
    <url-pattern>/frazzleblitz/doFooBar</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>FoobarBrowserUsers</role-name>
    </auth-constraint>
    </security-constraint>
    and the SOAP constraint (for all users of incoming SOAP requests):
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Foo</web-resource-name>
    <url-pattern>/frazzleblitz/doFooBar</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>FoobarBrowserUsers</role-name>
    </auth-constraint>
    </security-constraint>
    where my frazzleblitz controller knows whether the incoming request is
    browser vs SOAP based by the path info after the servlet name
    Can I associate the first security constraint with a FORM based login
    config, and the second security constraint with a BASIC AUTH login config
    since I could in theory require SOAP clients to send in credentials in a
    HTTP BasicAuth header, but I can't expect a SOAP client to be HTTP
    Redirected to a login form and then to enter the right credentials into a
    user type form and then be redirected back to an app...
    Seems to me the J2EE Security spec is really lacking in the area of
    programmatic authentication (allowing my SOAP code to get credentials out of
    the request envelope and call an API to login myself). Yeah, WebLogic has
    the ServletAuthentication weak() API, but these apps need to be J2EE
    compliant and work across J2EE servers... Anybody know of any improvements
    coming in the J2EE security space to address such functionality needs?
    Thanks in advance
    Mike

    Sorry, hit send accidentally before finishing the second security
    constraint - I've fixed it up below to reflect what I meant...
    "Mike" <[email protected]> wrote in message
    news:[email protected]...
    Sorry for not having tried this first, my server and webapp are in a state
    of flux at this moment, but I wanted to see what the consensus is outthere,
    not just whether I can or cannot make something work quickly.
    If I have two types of things that might be called in my Web App (WAR) in
    different ways (eg, browser accessing via HTTP by users that want to login
    via pretty forms, and SOAP clients that may access functionality throughthe
    same servlets (but with alternate Servlet Path Info after the servlet name
    in the URL)), is there ANY way I can have multiple login configs, eachtied
    to a different security constraint within that web app?
    In other words, with a servlet of /frazzleblitz and security constraints
    like:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Foo</web-resource-name>
    <url-pattern>/frazzleblitz/doFooBar</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>FoobarBrowserUsers</role-name>
    </auth-constraint>
    </security-constraint>
    and the SOAP constraint (for all users of incoming SOAP requests):
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Bar</web-resource-name>
    <url-pattern>/frazzleblitz/doSOAPRequest</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>SOAPUsers</role-name>
    </auth-constraint>
    </security-constraint>
    where my frazzleblitz controller knows whether the incoming request is
    browser vs SOAP based by the path info after the servlet name
    Can I associate the first security constraint with a FORM based login
    config, and the second security constraint with a BASIC AUTH login config
    since I could in theory require SOAP clients to send in credentials in a
    HTTP BasicAuth header, but I can't expect a SOAP client to be HTTP
    Redirected to a login form and then to enter the right credentials into a
    user type form and then be redirected back to an app...
    Seems to me the J2EE Security spec is really lacking in the area of
    programmatic authentication (allowing my SOAP code to get credentials outof
    the request envelope and call an API to login myself). Yeah, WebLogic has
    the ServletAuthentication weak() API, but these apps need to be J2EE
    compliant and work across J2EE servers... Anybody know of anyimprovements
    coming in the J2EE security space to address such functionality needs?
    Thanks in advance
    Mike

Maybe you are looking for