Static contents

A weblogic domain with at least 2 managed servers on it and configured a web
application to serve
static contents and it works great.
When I add more images or htmls or any resources, then only the admin server
picks it but not the
managed servers. I have to redeploy the web application for the managed
servers to see it.
Does anybody know how setup the web application/managed servers pick up the
new static resources
without having to redeploy the web application? I can always use different
web server for it but it
increases the complexcity of the configuration for weblogic and apache/iis
Please provide some idea.
Thanks
/selvan

Selvan,
Here's the info on how to refresh data files without redeploying. In
6.1, this functionality is included in the release. For 6.0, I believe
this tool was added in 6.0 sp2 rp2, but I'm not certain. If the tool
doesn't exist in the version you have, contact support to get the
correct service pack.
     -- Jim
WebAppComponents can be refreshed without having to redeploy the whole
application. any file that doesn't have classloading implications can be
refreshed. (also known as static data). Examples of files that can be
refreshed are: .jsp , .html, .gif, .jpg, .xml, .txt etc. Files that
cannot be refreshed are class files, like ejb's, or other java classes.
Data refresh in 6.0:
In 6.0, there is a separate command line tool:
weblogic.management.tools.WebAppComponentRefreshTool
that can be invoked either on the command line, or can be constructed
from within another java application. For information on how to run the
tool from the command line, run 'java
weblogic.management.tools.WebAppComponentRefreshTool' with no arguments.
public WebAppComponentRefreshTool(String adminServerUrl,
String username,
String password,
String appName,
String compName,
String[] jsps)
username - the authenticated user...typically system
password - the authenticated user's password
appName - the name of the application (the mbean name)
compName - the name of the component (the mbean name)
jsps - an array of files to refresh.
the appName, and compName are taken from the entries in config.xml. here
is an example:
<Application
     Deployed="true" Name="MyApp"
     Path=".\config\mydomain\myapps\MyApp">
     <WebAppComponent
          Name="MyWebAppComponent"
          Targets="managedServer,myserver"
          URI="MyWebAppComponent"/>
</Application>
in this case:
appName would be MyApp
compName would be MyWebAppComponent
Data refresh in 6.1:
refresh in 6.1 works the same way as it does in 6.0, but it has been
folded into the weblogic.deploy command. you can still do refresh from
either the command line, or from within a java application, but you can
use weblogic.deploy to do it.
Selvan Ramasamy wrote:
>
A weblogic domain with at least 2 managed servers on it and configured a web
application to serve
static contents and it works great.
When I add more images or htmls or any resources, then only the admin server
picks it but not the
managed servers. I have to redeploy the web application for the managed
servers to see it.
Does anybody know how setup the web application/managed servers pick up the
new static resources
without having to redeploy the web application? I can always use different
web server for it but it
increases the complexcity of the configuration for weblogic and apache/iis
Please provide some idea.
Thanks
/selvan

Similar Messages

  • Anonymous vs session-based static content

    I am running the 7.0 Portal and I am running into a problem where all my static content is being served from within a session context, or not anonymously. This is causing MAJOR performance hits. Eventually, when this app hits production, all static content will be served off of an Apache box, but is there not a setting somehwere that will allow the BEA web server to serve this content anonymously?
    Thanks,
    Justin

    A recent blog on this subject: http://www.extended-content.com/logged-out-of-ucmwebcenter-content-after-opening-an-adf-page/

  • Use of fonts embedded in photoshop for commerical use? (Static content, like images)

    Hello.
    I am developing a Mobile game for Android, and I can't stop thinking about if i am in the clear when it comes to the use of fonts. I've searched the web, but can't really find a clear answer.
    I am using only font embedded in photoshop/illustrator, and only displaying them in static content, such as Images/logos. So my question is, am I in the clear, or do I need som kind for special license for this?
    FYI I am mostly using the MonoType Impact font. I stumbled over this though, its Monotypes Imaging EULA for fonts ( I think). It says :
    You may embed static graphic images into an electronic document, including a Commercial Product, (for example, a "gif") with a representation of a typeface and typographic design or ornament created with the Font Software as long as such images are not used as a replacement for Font Software, i.e. as long as the representations do not correspond to individual glyphs of the Font Software and may not be individually addressed by the document to render such designs and ornaments.
    Would appreciate any help, thanks!

    you can access them from <bpelx:exec> activity and you can pass these returned document to underlying java class.
    Re: getVariableData in Java Exec

  • Apply Filter to static content

    Hi,
    I am writing a filter very similar to the one outlined in http://developer.java.sun.com/developer/JDCTechTips/2001/tt0626.html#tip2.
    I would like this filter to be applied to all static content on the web server.
    I have found a problem that the filter only gets applied to content stored under the context root of the web module that it is defined in.
    Does anyone know of a work-around to allow a filter to be applied to content outside of its web-module?
    Alternatively does anyone know of a way to store the content which appears at the root of a web module in a location other than its web-module? This is currently unacceptable as the physical path changes every time the module is deployed and graphic designers will expect to be able to upload new content without packaging it in a web-module!
    I have considered adding the filter to the /config/web.xml file however I am reliably informed that this will not be applied to any web-modules and will not be able to share session or context state with other servlets and filters in its own web-modeule.
    I am using SunOne Application Server 7.
    Thanks in advance for any help.

    I don't think filters are really the way to go about this, rather, create a servlet that handles requests something along these lines:
    void service(HTTPServletRequest request, HTTPServletResponse response) {
      // get document root, base directory for all the xml files
      String docRoot = request.getServletConfig().getParameter("docroot");
      // get the document name
      String path = request.getPathInfo();
      // do some checking on path to make sure it doesn't contain
      // '..' or anything like that, throw an exception if it does.
      // create a java.io.File object representing the file:
      File file = new File(docRoot, path);
      if (/*browser is IE6*/) {
        // open the file (using FileInputStream) and copy it to
        // request.getOutputStream()
      else {
        // pass the file through an xslt transformation that outputs
        // to request.getOutputStream()
    }If this servlet is bound to a context called "context1", and the servlet is bound to "xml", requests for eg. /context1/xml/dira/dirb/doc1.xml will result in request.getPathInfo() returning "/dira/dirb/doc1.xml", given that the servlet-mapping element in web.xml is specified correctly (use a wild card: /xml/*).
    And be warned, I just typed this in without trying to compile it, so it probably contains bugs!

  • I work in a public library and we have two ipod touch and two ipod nanos we would like to circulate for our patrons. Any advice on how we can do this? Should we allow patrons to set the device up for personal use or download static content?

    I work in a public library and we have two ipod touch and two ipod nanos we would like to circulate for our patrons. Any advice on how we can do this? Should we allow patrons to set the device up for personal use or download static content?

    With the Nanos, you should have no problem lending them loaded with audiobooks from Librivox, etc.
    As for the iPod Touches, I'm not sure the question is whether you should allow patrons to set up the device for personal accounts, but whether you can prevent them from doing so. Prepare to to a factory restore every time one is returned.

  • Wls 9.1 doesn't pick up changes to static content in production mode

    Hi Everybody,
              I'm running wls 9.1 on XP in production mode as a stand-alone server. My web app is deployed in exploded format in an external directory.
              I'm trying to force the server to pick up the changes to static content like JSPs automatically and it's not working.
              1. I've set pageCheckSeconds = 1 in weblogic.xml and even though server picks this setting up it does nothing about it.
              2. I tried weblogic.Deployer utitlity to redeploy just one jsp file and it's not working because it's unable to get the full path to a source file. Can this happen due to application Context Path not being set properly?
              Does anybody come across issues like this?
              Thanks.
              Paul.

    Hi Everybody,
              I'm running wls 9.1 on XP in production mode as a stand-alone server. My web app is deployed in exploded format in an external directory.
              I'm trying to force the server to pick up the changes to static content like JSPs automatically and it's not working.
              1. I've set pageCheckSeconds = 1 in weblogic.xml and even though server picks this setting up it does nothing about it.
              2. I tried weblogic.Deployer utitlity to redeploy just one jsp file and it's not working because it's unable to get the full path to a source file. Can this happen due to application Context Path not being set properly?
              Does anybody come across issues like this?
              Thanks.
              Paul.

  • Static content in iAS 6.5 (for JavaWebstart)

    Hello,
    I'm using iAS 6.5.
    I want to serve a jar file for JavaWebstart in a J2EE App (including a war file)
    That works, but it tooks a very long time before Webstart is loading this Jar and it is fully reloaded every time i access that App from Webstart.
    When I put this jar file into the iPlanet Webserver it is loaded much faster and will not be reloaded every time i access this jar file with Webstart.
    1. Is it possible to serve static content in iAS that Webstart is not fully reloading every time, instead of only checking the header informations for a newer version?
    2. Can you give me a link to an iPlanet documentation about how to handle static content iAS/iWS !
    3. Will be the iPlanet Webserver Settings (e.g. KeepAlive) ignored, when i run Webcontent from the Applicationserver (../NASApp/...)?
    Kinds
    Regards

    JAX-RPC, JAX-M and other JAX-x are tested with JDK 1.3.x and higher. Since iAS 6.5 uses jdk 1.3.1, I think JAX-RPC, JAX-M can be used in iAS 6.5. -Officially, as far as I know, iAS 6.5 does not provide any support for JAX-pack.
    Sun ONE AS 7 fully supports JAX-pack, and it has a tool, XRPCC, (now wscompile and wsdeploy) which generates stubs, ties and WSDLs for the services. Also the same tool can be used to generate the stubs, client side artifacts, from any WSDL file.
    And also JAX-run time provides SOAP 1.1, UDDI v2 Registry access and WSDL support. Interoparability between JAX-Run time and other SOAP 1.1 implementations is also tested successfully.
    There are several third partly tools available from different vendors (around 10-12), you may wish to search for them in google. And with that you may generate WSDL for your Apache SOAP services.
    If you are planning to have a standalone web services client, then you can directly use JWSDP at the client side to communicate with the Apache SOAP services on the iPlanet Application Server 6.5.
    Please get back for any further assistance.

  • DefaultServlet bug? forwarding to static content under WEB-INF

    I've encountered what seems to be a bug in the DefaultServlet in WebServer 7.0u2, when trying to do a requestDispatch->forward to static content (e.g., a .png file) under WEB-INF. In general, I can forward into content under WEB-INF, and my servlet works fine when forwarding to dynamic content under WEB-INF (e.g., a .jsp file), but when I try to forward to static content, a 404 error is sent. The same servlet also works fine if I put the static content outside of WEB-INF. In summary:
    forwarding to /WEB-INF/foo.png responds with error 404 (even though the content exists)
    forwarding to /WEB-INF/foo.jsp works fine
    forwarding to /other-dir/foo.png works fine
    I'm baffled as to why I can't forward to static content under WEB-INF. I have a very simple web.xml file, and no suffix-based mappings, so the only servlet that should be responding to the forward is the servlet container's DefaultServlet. Is there some bug in DefaultServlet? Am I misunderstanding something?

    pl. upgrade to latest update (web server 7 u5 as of now) and see if your problem is still reproduced.

  • Caching static content in ADF

    Helllo ,
    I'm using Jdeveloper 10g ,
    I hope If any one can help me in caching static content in my page " Images and CSS and JS libraries "
    I use The AFC library and the page cach the static content for the same window , but if I open new window the page will load the static content another time is that " browser caching "
    I want to cache this content in the client PC not in page Scope only .
    and If I have miss understanding for caching concept I will be owe to you if you give me the correct concept
    rgds

    Hi,
    the AFC provides server side caching in that the dynamic parts are not re-build if not required. On the client side its the browser that usually takes care of the content caching
    Frank

  • Web archives and static content

    Most (at least all that I have seen) of the documentation
    and discussions surrounding Web Archives seem to assume that
    the web applications static content (images, ..etc) will always
    reside within the WAR.
    If your application contains a large amount of static content,
    and your intendend operating environment involves the
    webserver seperated from the application server, the
    resulting network traffic between the webserver and
    application server could be excessive due to the
    large amount of static content.
    Is there any documentation discussing the placement of
    the static content on the webserver within an
    (web archive based) Web Application
    (specifically, application design considerations)?
    Is this even possible?

    You should be able to put the static content anywhere and just refer to it by it's absolute URL (as opposed to relative URL).

  • Serve up Static Content - configuration?

    Hello!
    How can I configure WEB AS to serve up static files from an external folder? Is there a configuration in WEB AS to map a context to an external folder with static files?
    Thanks
    /Ray

    Hi Ray,
    Eddy's reply refers to setting the option on the ICM. In case you don't use the ICM, but just the Web AS Java, you can do that using the HTTP Provide Service. You can either create a virtual host (this is the term on Web AS Java for virtual directory ) and set your external directory with static content as its root directory. You can refer to the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0b/fbf5a47928f84e8d0beba8371508e6/frameset.htm">documentation</a> for details about the configuration procedure.
    Regards,
    Ivo

  • Error: Static content was not deployed. Please ask your system admin

    One of my users is getting the following error Static content was not deployed. Please ask your system administrator for assistance.
    Has anyone had this before or does anyone know what this is referencing. This happens each time she runs a report and the report does not format correctly.
    At the moment it only looks to be her but i dont think this is system settings as she is running Citrix and all other existing users on Citrix are not complaining.

    JE,
    I've seen it, it happens randomly to some users and no others, we saw it last year for a few weeks then it stop and restarted again in Jan then stopped again. Log a call with CC and give them this CR# 12-1QK0RRZ, the last update I have on this is "Understand that this will require some code changes before its fixed .However, I am unable to provide you an estimated time of implementation at this time. I will update you as soon as I hear more on this one." but that was in March.
    2 things it doesn't happen in Firefox if that is an option for the user AND we found if you signed into staging then back into prod it made it go away, dont' ask me how or why but it seemed to work for us.
    good luck ;-D
    Alex

  • Host static content from Weblogic

    I have a need to host static content from my weblogic server in order to mimic the functionality of our old OHS server. In our case we used Apache rewrite rules in our old server that would catch someone trying to access the server directly by URL or trying to come in through HTTP instead of HTTPS and then pull the switch-a-roo on them and direct them directly to our APEX instance over a HTTPS connection. Is there a way to accomplish this same thing with weblogic without an Apache server acting as your front end?
    I found this article here http://blogs.oracle.com/middleware/2010/06/publish_static_content_to_weblogic.html about hosting static content but in my case I need the content actually at the root level (example http://domain.com/index.html) where I can throw in javascript redirect headers.
    The way I set this up was I have two servers on one box. The first server services standard HTTP requests on port 80. It will do nothing but redirect to the corresponding location on the same machine but over HTTPs on port 443.
    The server running on port 443 actually runs the APEX listener. I would like to deploy something similar to the first one that shows its content at https://server.domain.com to redirect to the Apex listener. I thought I might could repackage the apex listener to accomplish this but I would rather do it as a separate deployment rather than risk damaging our modified production copy of the APEX Listener.
    Anyone have any thoughts?

    What about using a virtual host? Create a virtual host and only target your application to that host.
    http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e13952/taskhelp/virtual_hosts/VirtualHosts.html
    Then within that virtual host, do something like this to force HTTPS:
    http://weblogicserver.blogspot.com/2009/11/force-confidentiality-for-web.html
    Then have an application that catches everything else deployed to the same server for other IP/hostnames and redirects to that virtual host. I haven't tried it, but I think that might do what you're asking about.

  • Websites and AirPlay - How to view static content?

    We want to use the iPad to show clients various websites (static content not video) and for that content to be shown on a larger screen. I thought that I could do this through AirPlay but from what I've read this isn't possible.
    Does anyone know of a way to do this or an app that allows us to do this?
    Many thanks

    Welcome to the Apple Community.
    (First of all may I thank you for my recent dividend, I hope they're going to get a little higher though)
    If the static content is pictures or photographic, you can use the photo feature of the Apple TV rather than websites. If however your content is indeed web pages, take note that web pages with text in any case do not display well on a TV and you'd be much better investing in a large monitor to show your clients such websites.

  • How can I get the value for static content of 1 jsp into another jsp

    Hi, I have a jsp which have a header ,now i want this header value in another jsp dynamically.Can u tell me how I can do it?

    What I want to know is that , is it possible to get the value of a static content of one jsp into another jsp,something like getParameter() method that we use to get the value of a field in the jsp to a servlet,or to another jsp,the only difference here is I do not have a field here but a static jsp content .

  • Serving static content from a directory

    Is it possible to configure WebLogic to serve static content (files) from a directory via an HTTP GET?
    What I need is similar to the Apache functionality of publishing a directory by mapping a URL (http://weblogic.server.xx/somePrefix) to a directory on the file-system (e.g. /path/to/some/dir) and allow one to:
    - list the directory content by visiting the URL
    - fetch files by doing an HTTP GET (this would be by clicking on a file in the listing)
    Can one do this without adding a separate HTTP server on the same machine as WebLogic?

    I believe if you created a WEB-INF directory at that location and added a skeleton web.xml file, you could specify that location when you deployed a new application from the admin console. I believe there should be an option to allow listing the directory contents, perhaps somewhere in the server definition tabs.

Maybe you are looking for

  • Snap-To-Grid Finder feature doesn't work for mounted data CDs (Icon View)

    I always use Icon View in Finder. And I AM aware of the CMD+J --> Arrange by --> Snap-To-Grid feature. I've set it for all my other Finder windows for my startup drive, and it works. (Actually, I set it to auto-arrange by Kind.) I've even used it as

  • Duplicate nodes in hierarchy

    Hi all, I am currently working on building dynamical (build via FM) hierarchies. My problem is as following: How can I build a hierarchy that uses masterdata texts for its nodes that can be multiple times in the hierarchy? See product hierarchy examp

  • HTTP Status 500 Exception

    Were other institutions getting this HTTP Status 500 Exception earlier this week? We were getting the exception intermittently, before iTunes U launched, and sometimes while navigating around within iTunes U. HTTP Status 500 - type Exception report m

  • Palm Desktop stores Email Data where??? *Need help please*

    Where in Palm Desktop does it store information about Email accounts in Versamail? I am trying to pull up some old account information that will deleted by accident on my phone. Is there anyway to view what data was hotsynced with Palm Desktop? Thank

  • HT4847 iphone won't let me delete things from icloud

    I am trying to clear my icloud storage and it wont let me