Dynamic reload of JSPs, static resources

Not sure if I have the right forum, but here goes.
I am migrating from our existing production environment of Oracle iAS 10g to Oracle Fusion Middleware 11g using WebLogic 10.3.5. In the old environment we would deploy a WAR or an EAR and the app server would create an exploded directory for the deployment. It was then possible to update single JSPs or static HTML pages within the WAR by replacing the file in the exploded directory. It was not necessary to redeploy the WAR/EAR or restart the server for the changes to be recognized.
Is it possible to configure WebLogic 10.3.5 to behave in the same manner?

Without reading the documentation of that XML format (something which you ought to consider doing), I'm going to guess that a value of zero is a special value meaning "Don't ever reload the resources". So if I weren't allowed to read the documentation and I had to do something, I would change the zero to some positive number.
I'm allowed to make half-assed guesses here because this isn't a Struts forum (something which you ought to consider finding). So don't be surprised if I'm wrong.

Similar Messages

  • Authorisation of the static resources OAS10g R2

    Hi,
    I have some static resources (folders with html and image files) referenced in the web server of my OAS 10g release 2.
    The alias ‘myalias’ is defined in the oas10gr2/Apache/Apache/conf/httpd.conf
    <IfModule mod_alias.c>
    /myAlias/ “/folder_root/folder_web_ressources/”
    And this alias is secured (SSO – OID – LDAP) in oas10gr2/Apache/Apache/conf/mod_osso.conf
    <IfModule mod_osso.c>
    <Location /myAlias >
    require valid-user
    AuthType Basic
    </Location>
    When I access a file by his URL, the authentification page is display and having a user and a password I can display my page, which is ok.
    Now I need to restrict the access of certain folders to a given role.
    For eg the user accessing www.domain.com/myAlias/customer/c.html must have the CUSTOMER_ROLE and the user accessing www.domain.com/myAlias/owner/c.html must have the OWNER_ROLE.
    All my roles are defined in LDAP, but I don’t know how I can modify my configuration files to make this role verification.
    It is possible to have something like that ?
    <Location /myAlias/customer >
    require valid-user
    AuthType Basic
    PRIVILEGE CUSTOMER_ROLE
    </Location>
    <Location /myAlias/owner >
    require valid-user
    AuthType Basic
    PRIVILEGE OWNER_ROLE
    </Location>
    Thanks for any suggestion,
    Ivat

    Hi again,
    I do it differently:
    In my web application I have created a virtual directory to my static content (which is dynamically updated by another application).
    1. In WEB-INF\orion-web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://xmlns.oracle.com/ias/dtds/orion-web.dtd">
    <orion-web-app servlet-webdir="/servlet/" directory-browsing="deny" autoreload-jsp-beans="true" autoreload-jsp-pages="true" persistence-path="./persistence">
    <web-app-class-loader search-local-classes-first="true"/>
    <virtual-directory real-path="/server/folder_root/folder_web_ressources" virtual-path="/resources" />
    </orion-web-app>
    2. This alias is secured (SSO – OID – LDAP) in oas10gr2/Apache/Apache/conf/mod_osso.conf
    <IfModule mod_osso.c>
    <Location MyAppRoot/resources >
    require valid-user
    AuthType Basic
    </Location>
    3. I use a servlet filter where, after the authorisation, I do my ROLE check.
    Web.xml
    <filter>
    <filter-name>Filter_VIRTUAL_DIR</filter-name>
    <filter-class>mydomain.servlet.RoleCheckFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>Filter_VIRTUAL_DIR</filter-name>
    <url-pattern>/ resources/*</url-pattern>
    </filter-mapping>
    This “workaround” do my job. I hope that this can help someone.
    Thanks,
    Ivat

  • Servlet with no dynamic code inside jsp pages

    Hello,
              I saw that a servlet is created even if there is no dynamic code inside jsp pages (scriplets & tags). Is it possible to avoid it on bea side ? (I am using portal 8).
              By the way, do you know if is it possible to define apache in order to avoid to send to bea the jsp which have no dynamic code inside ?
              thank you !

    JSP's always generate a servlet on all web containers. Apache/Tomcat is no
              different. If you have static content, make it an HTML page.
              Bill
              "hournon jc" <[email protected]> wrote in message
              news:22255787.1103297053148.JavaMail.root@jserv5...
              > Hello,
              >
              > I saw that a servlet is created even if there is no dynamic code inside
              jsp pages (scriplets & tags). Is it possible to avoid it on bea side ? (I am
              using portal 8).
              >
              > By the way, do you know if is it possible to define apache in order to
              avoid to send to bea the jsp which have no dynamic code inside ?
              >
              > thank you !
              

  • Using static resources

    PortalWebAssets is the default static application resources project, which can include static resources like HTML and images.
    At the moment I'm able to use an image defined under PortalWebAssets using something like this
    <af:image shortDesc="my image" id="img1" source="#{preferenceBean.baseResourceURL}/myImage.png"/>
    Now I need to include a html page in a jspx file.
    How can I do it?
    I already tried to use jsp:include but without success.

    Hi.
    You can achieve it using *<af:inlineFrame>*
    For example if you have a sample.html stored in Web Content folder of PortalWebAssers.jpr you can reference it with:
    *<af:inlineFrame source="#{preferenceBean.baseResourceURL}/sample.html"/>*
    Regards.

  • Adobe form -- Issue in Displaying Dynamic text along with Static text

    Hi All,
    I am having an issue when i am displaying a dynamic text along with static text in adobeforms.
    The dynamic text is slightly coming down and not aligned with the static text. i can see half row it is coming down.
    how to align both texts to be printed in same format.
    Request all of your expert advices in achieving this .
    Thank you in advance.
    Thanks&Regards,
    Phani Miriyaila.

    Hi,
    Select both dynamic and static text in the layout. Goto Object palette -> Layout. Give values to X,Y coordinates and Height & Width. Anchor properly and specify margins as well.
    Select both dynamic and static text in the layout. Right click on it and goto palettes -> Paragraph. It gives you the text alignment options. Align the text and give similar font and size.
    Thanks & Regards,
    Sanoosh

  • Problem in aligning dynamic UI with the static UI

    Hi All,
    I have problem in aligning dynamic UI with the static UI, I am using Matrix layout.
    Static fields are spread over 2 colums and 3 rows:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    Now when a value is selected in C, than E becomes visible, and depending on the values selected in E, there are dynamic UI generated, i.e dynamic lables and depending on some validation it will be either a dropdowns or input fiels or both.
    at run time screen is like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACEdropdown
    dynbSPACEinput field
    if I change my selection in E than layout looks like:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACESPACEdropdown
    dynbSPACESPACEinput field
    Requirment: I need all the lables as well as dropdown/ input fiels in line with the static fields irrespective of my selection in E.
    Something like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dyna   SPACEdropdown
    dynbSPACESinput field
    dyncSPACESdropdown
    All this elements are in a group and that group has 2 transparent containers, 1 for static and for holding dynamic UI.
    I tried playing with the container properties, and also tried fixing width of dynamic UI but still the alignment issue is encountered.
    Can U guys plz give in ur valuable inputs as i need to fix this urgently.
    Regards,
    JJ

    Hi Armin,
    Can you please elaborate your solution ?, I do not have an idea of InvisibleElement & IWDView.resetView() ,
    If you can give me the exact pointer than it would be great and a good learning exp. for me.
    Thanks for the action assignment part, it worked.
    if (wdContext.nodeMaterialClass().size() > 0 && wdContext.currentContextElement().getActionMatCls()) {
         if (wdContext.currentMaterialClassElement().getMaterialClass_Description() != null || !wdContext.currentMaterialClassElement ().getMaterialClass_Description().equalsIgnoreCase(" ")) {
               IWDGroup Searchgroup = (IWDGroup) view.getElement("DynGroup");
    Searchgroup.destroyAllChildren();
    view.getContext().reset(false);
                                                      for (int i = 0; i < wdContext.nodeMaterialCharateristcs().size(); i++) {
                                  //this for label
         IWDLabel CharLabel = (IWDLabel) view.createElement(IWDLabel.class, "label" + i);
         CharLabel.setText(wdContext.nodeMaterialCharateristcs().getMaterialCharateristcsElementAt(i).getDescr_Char());
         CharLabel.setDesign(WDLabelDesign.EMPHASIZED);
         CharLabel.createLayoutData(MatrixHeadData.class);                              CharLabel.setWidth("154px");                              Searchgroup.addChild(CharLabel);
                 further there are conditions to create either dropdown or input field
    Can you please point where and how to apply your solution.
    Regards,
    JJ

  • Need Dynamic Table in JSP page

    Hi Friends,
    I need to build table dynamically in my JSP page.
    My requirement like:
    I have a Button in my JSP page when i click that it should go to another jsp where it will ask me the row and column counts, after i entered some values then i have a button to say OK it should go to the first page again there i want the table for the rows and columns dynamically.
    (like MS- Word when u create table it will ask the row count and column count after that its building a table)
    Please help me....

    Make use of JSTL's c:forEach.

  • How to change the dynamic IP address to Static IP Address in Solaris 10X86

    Hi,
    I have installed Solaris 10X86 in a VM.While installing Solaris I have enabled DHCP.So its created with dynamic IP Address.Now I want to change the dynamic IP address to static IP address.Please anyone can help me to sort out this problem.

    Hi,
    I have installed Solaris 10X86 in a VM.While installing Solaris I have enabled DHCP.So its created with dynamic IP Address.Now I want to change the dynamic IP address to static IP address.Please anyone can help me to sort out this problem.

  • Ejb dynamic reloading

    Hello
    I read about ejb dynamic reloading in a few places in ias documentation and
    i have the following quastions:
    - what will happen if i change deployment descriptors of ejb?
    - what will happen if i change some other classes like value object classes
    or other helper classes?
    - what will happen if i change remote or home interface of ejb?
    Does dynamic reloading work in that sytuation?
    I also found that I have to call create method for stateless session bean
    and entity bean to reflect the changes of dynamic reloading. Is it true?
    Artur

    Hi Artur,
    Please find answer inline.
    Artur Kaszczyszyn wrote:
    Hello
    I read about ejb dynamic reloading in a few places in ias documentation and
    i have the following quastions:
    - what will happen if i change deployment descriptors of ejb?
    - what will happen if i change some other classes like value object classes
    or other helper classes?
    - what will happen if i change remote or home interface of ejb?
    Does dynamic reloading work in that sytuation?
    Dynamic reloading works fine if you change only in Bean Implementation
    class. It does not support change in Home, Remote Interface or any other
    helper class.
    I also found that I have to call create method for stateless session bean
    and entity bean to reflect the changes of dynamic reloading. Is it true?
    Yes it's absolutely correct.
    Thanks
    Deepak

  • Dynamic reloading in iWS 6.0 causes my http session to be lost

    Hi,
    I have a problem with dynamic reloading in iWS 6.0 Sp2 on Solaris 8. I have not set the reload-interval for the class-loader, in fact i haven't included anything related to the classloader in the web-apps.xml file.
    The default behaviour is observed, the classes are reloaded every 30 seconds. So far, so good.
    I have seen that if a change a class, iWS reloads the entire application, destroying all the servlets in it. This destroys my HTTP session.
    The same behaviour is observed in a redeployment, and in a reloading of config files.
    Is there any way of avoiding this?
    Thanks.
    By the way, could anyone describe the classloader architecture of iWS.
    Juan

    Scott,
    Does the problem only occur on MSIE clients? Do this work properly on Communicator? If so, you may be running into a problem with how MSIE determines the maxage for a cookie.
    The criteria that IE uses for creating a new session is the length of time that a session has been alive. For this reason, when a user tries to connect to a web application on the iWS webserver through IE, the time on the client server and on the webserver must be set correctly. Otherwise, the user could experience problems with session data getting lost or discarded by the client.
    This problem does not occur on Netscape browsers, as Netscape browsers set the cookie using the client-side clock and the maxage sent by the server.
    Refer to this technote and see if the helps:
    http://knowledgebase.iplanet.com/ikb/kb/articles/4704.html

  • How to create two level dynamic list using JSP , Java Script and Oracle

    I am new in JSP. And i am facing problem in creating two level dynamic list using JSP ,Java Script where the listdata will come from Oracle 10g express edition database. Is there any easy way in JSP that is available on in ASP.NET.
    Plz response with details.

    1) Learn JDBC API [http://java.sun.com/docs/books/tutorial/jdbc/index.html].
    2) Create DAO class which contains JDBC code and do all SQL queries and returns or takes ID's or DTO objects.
    3) Learn Servlet API [http://java.sun.com/javaee/5/docs/tutorial/doc/].
    4) Create Servlet class which calls the DAO class, gets the list of DTO's as result, puts it as a request attribute and forwards the request to a JSP page.
    5) Learn JSP and JSTL [http://java.sun.com/javaee/5/docs/tutorial/doc/]. Also learn HTML if you even don't know it.
    6) Create JSP page which uses the JSTL c:forEach tag to access the list of DTO's and iterate over it and prints a HTML list out.
    You don't need Javascript for this.

  • Reload a jsp without using javascript

    I need to reload a jsp based on some jsp condition. I know that I can't do something like below:
    <% if (reloadCondition == true) { %>
    <script language="JavaScript">
    document.location.reload()
    </script>
    <% } %>
    Any suggestions?

    You can redirect the page to the same.
    Some thing like :
    <% if (reloadCondition == true)
    response.sendRedirect("same.jsp");
    return;
    %>

  • How we can generate dynamic menu in jsp page

    Hi all,
    how we can generate dynamic menu in jsp page.
    Thanks
    Manjinder

    by reading more about them on the web or in a good book, OR BY HIRING SOMEBODY TO DO SO. ;)

  • How to configure Dynamic Reloading?

    The Java Developer's Guide of iAS 6.0 describes the Dynamic Reloading
    feature can be turn on/off by the registry entry:
    SYSTEM_JAVA\Versioning\Disable
    Would you mind let us know the full path of this entry? We cannot find
    it from kregedit.
    Thanks!
    Angus

    \\SOFTWARE\\iPlanet\\Application
    Server\\6.0\\CCS0\\SYSTEM_JAVA\Versioning\Disable
    Angus Yiu wrote:
    The Java Developer's Guide of iAS 6.0 describes the Dynamic Reloading
    feature can be turn on/off by the registry entry:
    SYSTEM_JAVA\Versioning\Disable
    Would you mind let us know the full path of this entry? We cannot find
    it from kregedit.
    Thanks!
    Angus

  • IAS Dynamic Reloading doesn't reload related classes!

    Hi,
    I am trying to configure dynamic reloading on the development machine [on
    Solaris 5.8] in order to get servlets and classes invoked by those servlets
    updated dynamically without having to restart the process. What I'd done was
    setting the SYSTEM_JAVA/Versioning/Disable value to 0, according to the
    Appendix B in Programmer's Guide.
    Dynamic reloading works fine for individual servlets but not the classes
    that the servlets invoke. I'd tried putting those classes name as
    GX_VERSIONABLE value, but it still didn't work.
    Are there any ways that I can get those classes dynamically reloaded along
    with the servlets? This will greatly save time for our application
    development.
    Any help would be really appreciate.
    Phatrakom S.

    Not that it will be of great help, but I am also unable to dynamically reload a standard class, only those that are of type servlet.

Maybe you are looking for

  • How to have a text box expand to next page

    I already got the text field to expand after i am able to type but when I go to preview the field does not flow to the next page. It hides behind the content I have on page two. How do I get the text field to push the content below it when it expands

  • How do i save edited photo in iPhoto onto another folder

    Anyone can help?..  upload some photo into iphoto.  edited them and trying to save them to a folder in the desktop.  But the pictures appeared to be in their orginal version and not the edited version.

  • What SSD is in the X1?

    Does anyone know what SSDs are in the Thinkpad X1?  126GB & 160GB info (brand, model, read & write speed, etc.) would be helpful.  Thanks.

  • Encoding problems with iDVD 7 (newest update included)

    Hey Guys, I am trying to burn a film on to iDVD using all options...no errors messages on the DVD map.  This is an 86 minutes long film as well as a slideshow. Once I try to burn it though it tells me I have 'there was an error during encoding movie'

  • IPhoto crashes at start-suggestions??

    Hi, A few weeks ago my iPhoto started crashing at startup. The program launches but while it tries to locate the library and load it, the program quits "unexpectedly". The option to restart, report or cancel is given. I've tried all three options wit