Changes in iAS6.5's web.xml don't take effect

After the cust deployed his application he modified some parameters in
the web.xml file of his application. He then restarted the application
server after but the changes didn't take effect. Is this the
expected behavior as they would need to custom web.xml
and expand the war file before deploying to see the changes reflected in the
pages because changing those after deployment doesn't work.
Thanks for your help,
Gaetan

In response to author 97:
are made in the registry during the deployment processI tried redeploying a sample web application using <init-param> and cannot find a trace of the newly referenced variable.
Could you indicate in which regitry path should it be found?
thanks,
Gaetan

Similar Messages

  • What changes i should made in web.xml for using jsp/xml using weblogic

    Hi all,
    I just know some changes has to made in web.xml or weblogic.xml if i have to use weblogic for jsp/xml.
    Pls. anybody post the steps to intereaction with xml using weblogic.
    I am using jdk1.4

    The problem is solved.
    The information is given at
    http://e-docs.bea.com/wls/docs61/webapp/webappdeployment.html

  • Proxy settings of chrome or chromium don't take effect

    I'm using archlinux+kdemod 4.5.
    The proxy setting of all versions of chrome or chromium seems not to take effect because my ip address doesn't change(http://www.ip-adress.com/) .
    I also tried swithcy! proxy but it doesn't help.
    However, starting the chrome with "--proxy-server=ip:port" can enable the proxy.
    any ideas?
    thx~

    fsckd wrote:Do you use the all_proxy environmental variable?
    env | grep proxy
    output nothing.

  • My reviews don't take effect in the iTunes store.

    My issue is with leaving reviews. Mine don't seem to take effect in the iTunes store.
    This is the most explicit example I got : When I try to edit a review that I know I posted, I have literally nothing, instead of my previous review. It's like I never reviewed the article. It's like this for every article: apps, music, movies or TV Shows ...
    Of course I don't find my review if I search for it manually.
    Sincerely.

    iTunes store support is taking care of the problem, thank you.

  • Theme changes don´t take effect

    Hi,
    I recently wondered why the theme of my LXDE installations doesn´t really look good:
    http://upload.worldofplayers.de/files10/lxde.jpg
    Particulary, Midori is rather ugly:
    However, other screenshots of LXDE proove that it can look much better:
    https://wiki.installgentoo.com/images/1 … t_LXDE.png
    Sometimes Midori looks really nice, for instance in this screenshot:
    http://midori-browser.org/images/screen … ressed.png
    In order to change the appearance, I´ve already installed gtk-engines. Now I have several themes like Clearlooks at choice in LXAppearance. Unfortunately, clicking the apply-button doesn´t affect the appearance, neither the preview window.
    What´s going wrong?
    Please excuse linguistic mistakes, i´m from Germany.
    Thanks!
    superuser
    Last edited by superuser (2015-04-13 19:52:05)

    .xinitrc:
    exex startlxde
    lightdm.conf (I removed the unused lines):
    [LightDM]
    minimum-vt=1
    run-directory=/run/lightdm
    greeter-session = lightdm-gtk3-greeter
    display-setup-script = /usr/bin/lightdmxrandr
    [SeatDefaults]
    session-wrapper=/etc/lightdm/Xsession
    display-setup-script =/usr/bin/lightdmxrandr
    users.conf:
    [UserList]
    minimum-uid=1000
    hidden-users=nobody nobody4 noaccess
    hidden-shells=/bin/false /usr/bin/nologin
    Besides, I forgot to mention that I´m using a virtual machine, namely VMWare Player.
    As you may have seen, the font is rather hard to read in Midori.
    What is also remarkable is that the system reacts often very sluggishly, especially when clicking the LXDE button or marking text.
    Last edited by superuser (2015-04-13 20:47:44)

  • Screensaver changes don't take effect

    I went into System Preferences/Desktop&ScreenSaver/Screensaver/Options to change a couple of things, and then I went into Hot Corners to add hot corners, but after I exited the Screensaver screen, none of my changes took effect. There doesn't seem to be any OK or Apply button to start any of the changes... How can I get my changes to work?

    .xinitrc:
    exex startlxde
    lightdm.conf (I removed the unused lines):
    [LightDM]
    minimum-vt=1
    run-directory=/run/lightdm
    greeter-session = lightdm-gtk3-greeter
    display-setup-script = /usr/bin/lightdmxrandr
    [SeatDefaults]
    session-wrapper=/etc/lightdm/Xsession
    display-setup-script =/usr/bin/lightdmxrandr
    users.conf:
    [UserList]
    minimum-uid=1000
    hidden-users=nobody nobody4 noaccess
    hidden-shells=/bin/false /usr/bin/nologin
    Besides, I forgot to mention that I´m using a virtual machine, namely VMWare Player.
    As you may have seen, the font is rather hard to read in Midori.
    What is also remarkable is that the system reacts often very sluggishly, especially when clicking the LXDE button or marking text.
    Last edited by superuser (2015-04-13 20:47:44)

  • Group dock settings in WGM don't take effect

    Hi,
    when I change the settings for the dock in a group, users logging in still get what they had before. I set it to always manage this setting.
    I've tried both adding it to their dock and not, nothing works. Is there a secret "Apply now" button somewhere?
    Clients and Server are 10.4.6.
    Any hints would be appreciated.
    Torsten
    This quote from the manual does not prove true for me: "You can update a computer’s managed preference cache regularly. The computer checks the server for updated preferences according to the schedule you set. The cache is also updated automatically every time a change is made to any of the managed preferences within Workgroup Manager." Rebooting doesn't do the trick either.

    Keep in mind that there are Dock settings at the Computer level, at the Group level, and at the individual User level. The system will try to combine them in a reasonable way.
    If a setting for each User is managed always, group settings will have little or no effect.

  • Details of web.xml

    This is what I have written in my version of web.xml,
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
         PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <jsp-file>/sampleapp/login.jsp</jsp-file>
    </web-app>But on typing http://localhost:8080/sampleapp
    I get the directory structure.Why's that?
    help appreciated
    As

    First, don't use /sampleapp/login.jsp... just use
    login.jsp. The purpose of the welcome file list
    (which I think is a little misleading due to it's
    name) is to define one or more default files to use
    when the URL refers to a directory. Instead of giving
    the directory listing (which can be disabled
    elsewhere), it'll give the first of the files in the
    list (there can be more then one <welcome-file> in
    <welcome-file-list>). It's not the file to show for
    any URL that is a directory, it's the file to look for
    in the specified directory.
    I did change the jsp-file tag to welcome-filetag,...
    Did you include the <welcome-file-list> tags around
    the <welcome-file> tags?Thanks for the reply.I did include the <welcome-file-list> tag around the <welcome-file> tag and changed the contents of the web.xml to include only login.jsp.But it still gives me the directory structure.Any help
    AS

  • Can DOCTYPE in web.xml Be "Localized"

    At times when starting WebLogic Server 5.1 (sp6) in a Windows NT
    environment, our internet connection is slow and the DTD file specified in
    the web.xml file cannot be resolved. I have been able to get around this
    problem by changing the DOCTYPE in the web.xml file as follows:
    From:
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    To:
    <!DOCTYPE web-app SYSTEM
    "file:/d:\weblogic\examples\webapp\ensodex\WEB-INF\web-app_2_2.dtd">
    I have placed a copy of Sun's web-app_2_2.dtd file in the specified
    directory, and WLS starts up just fine and I can access our web application
    without any problems, but ....
    Is there any way to simplify the DOCTYPE specification so that the full,
    explicit path doesn't have to be specified. A co-worker has been able to
    resolve the issue with an Orion server with the following specification,
    <!DOCTYPE web-app SYSTEM "web-app_2_2.dtd">, but I have been unable to get
    this to work in the WebLogic environment.
    I've read the BEA online documentation, and tried placing the
    web-app_2_2.dtd file under the document root (defined as
    weblogic.httpd.documentRoot=public_html/ in our weblogic.properties file,
    but WLS was still unable to locate the file.
    Our intent is to place the web-app_2_2.dtd file under WEB-INF along with the
    web.xml file since WLS is able to locate the web.xml file successfully, yet
    we don't want to have to specify an explicit path to web-app_2_2.dtd file
    since this would have to be customized each time the web application is
    installed in a different hardware/operating system environment.
    Thanks in advance for any suggestions.
    John J. Feigal Voice (651)766-8787 (main)
    Sr. Technical Consultant (651)766-7249 (direct)
    Ensodex, Inc. Fax (651)766-8792
    4105 N. Lexington Ave., Suite 150 email [email protected]
    Arden Hills, MN 55126 WebSite http://www.ensodex.com

    If I remember correctly from the spec, anything that follows SYSTEM is
    basically arbitrary, meaning the parser can interpret it as it may. It is
    possible that Orion uses a different parser implementation or version. The
    other possibility has to do with where the file would have to be in order to
    be found; it might have to be in the JAR in the directory with the XML, or
    it might have to be in the "working directory" that WebLogic is launched
    from (i.e. the weblogic directory).
    When we had this problem, we inlined the DTD into the XML, which is
    supported by the XML specification.
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    +1.617.623.5782
    WebLogic Consulting Available
    "John J. Feigal" <[email protected]> wrote in message
    news:[email protected]...
    At times when starting WebLogic Server 5.1 (sp6) in a Windows NT
    environment, our internet connection is slow and the DTD file specified in
    the web.xml file cannot be resolved. I have been able to get around this
    problem by changing the DOCTYPE in the web.xml file as follows:
    From:
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    To:
    <!DOCTYPE web-app SYSTEM
    "file:/d:\weblogic\examples\webapp\ensodex\WEB-INF\web-app_2_2.dtd">
    I have placed a copy of Sun's web-app_2_2.dtd file in the specified
    directory, and WLS starts up just fine and I can access our webapplication
    without any problems, but ....
    Is there any way to simplify the DOCTYPE specification so that the full,
    explicit path doesn't have to be specified. A co-worker has been able to
    resolve the issue with an Orion server with the following specification,
    <!DOCTYPE web-app SYSTEM "web-app_2_2.dtd">, but I have been unable to get
    this to work in the WebLogic environment.
    I've read the BEA online documentation, and tried placing the
    web-app_2_2.dtd file under the document root (defined as
    weblogic.httpd.documentRoot=public_html/ in our weblogic.properties file,
    but WLS was still unable to locate the file.
    Our intent is to place the web-app_2_2.dtd file under WEB-INF along withthe
    web.xml file since WLS is able to locate the web.xml file successfully,yet
    we don't want to have to specify an explicit path to web-app_2_2.dtd file
    since this would have to be customized each time the web application is
    installed in a different hardware/operating system environment.
    Thanks in advance for any suggestions.
    John J. Feigal Voice (651)766-8787 (main)
    Sr. Technical Consultant (651)766-7249 (direct)
    Ensodex, Inc. Fax (651)766-8792
    4105 N. Lexington Ave., Suite 150 email [email protected]
    Arden Hills, MN 55126 WebSite http://www.ensodex.com

  • Configuring web.xml for OpenSSO

    Hello!
    I am developing simple web application and want to use opensso in my web application.I have downloaded opensso,deployed and configured ,so i dont need how to configure web.xml ,what filters and jars i needed,i have the simple web.xml
    <web-app>
         <security-constraint>
              <web-resource-collection>
                   <web-resource-name>admin</web-resource-name>
                   <url-pattern>/admin/*</url-pattern>
              </web-resource-collection>
              <auth-constraint>
                   <role-name>admin</role-name>
              </auth-constraint>
         </security-constraint>
         <login-config>
              <auth-method>FORM</auth-method>
              <form-login-config>
                   <form-login-page>/login.jsp</form-login-page>
                   <form-error-page>/error.jsp</form-error-page>
              </form-login-config>
         </login-config>
         <security-role>
              <role-name>admin</role-name>
         </security-role>
    </web-app>so what filter should i add in web.xml so that when i access admins page <url-pattern>/admin/*</url-pattern>it should redirect to opensso s login page?

    Yes, I restarted the app server after making changes to web.xml file. No effects.

  • Deployment plan to update web.xml

    Hello,
    Is it possible to use a deployement plan to update the web.xml file of an war inside an ear ?
    I would like to map a servlet on a new URI using a new workmanager by configuration (I mean once my application is built) I suppose it is possible to use the deployment plan to add a section inside the web.xml.
    For example, I would like to add the folowing section :
    <servlet>
    <servlet-name>DummyServlet</servlet-name>
    <servlet-class>com.company.servlets.DummyServlet</servlet-class>
    <init-param>
    <param-name>wl-dispatch-policy</param-name>
    <param-value>DummyWorkManager</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>DummyServlet</servlet-name>
    <url-pattern>/myDummyServlet</url-pattern>
    </servlet-mapping>
    Thank you for helping me on this point
    Best Regards,
    C.

    To my knowledge you can not add elements to your deployment descriptors, but you can change them, for example
    say we have the following ejb-jar.xml
    <ejb-jar ...>
        <enterprise-beans>
            <session>
                <ejb-name>Bedrijf</ejb-name>
                <env-entry>
                    <env-entry-name>something</env-entry-name>
                    <env-entry-type>java.lang.String</env-entry-type>
                    <env-entry-value>iets</env-entry-value>
                </env-entry>
            </session>
        </enterprise-beans>
    </ejb-jar>and we want to change the value of something. Now we can generate a plan.xml (for example by using weblogic.Plangenerator
    http://download.oracle.com/docs/cd/E13222_01/wls/docs90/deployment/wlplangenerator.html). When we do this for an EAR
    file we get something like the following:
    <?xml version='1.0' encoding='UTF-8'?>
    <deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd">
      <application-name>test</application-name>
      <variable-definition>
        <variable>
          <name>SessionDescriptor_timeoutSecs_12870427304900</name>
          <value>1800</value>
        </variable> 
        <variable>
            <name>something</name>
            <value>anders</value>
        </variable>
      </variable-definition>
      <module-override>
        <module-name>EJBSessionBeans.ear</module-name>
        <module-type>ear</module-type>
        <module-descriptor external="true">
          <root-element>weblogic-application</root-element>
          <uri>META-INF/weblogic-application.xml</uri>
          <variable-assignment>
            <name>SessionDescriptor_timeoutSecs_12870427304900</name>
            <xpath>/weblogic-application/session-descriptor/timeout-secs</xpath>
          </variable-assignment>
        </module-descriptor>
        <module-descriptor external="false">
          <root-element>application</root-element>
          <uri>META-INF/application.xml</uri>
        </module-descriptor>
        <module-descriptor external="true">
          <root-element>wldf-resource</root-element>
          <uri>META-INF/weblogic-diagnostics.xml</uri>
        </module-descriptor>
      </module-override>
      <module-override>
        <module-name>Model.jar</module-name>
        <module-type>ejb</module-type>
        <module-descriptor external="true">
          <root-element>weblogic-ejb-jar</root-element>
          <uri>META-INF/weblogic-ejb-jar.xml</uri>
        </module-descriptor>
        <module-descriptor external="false">
          <root-element>ejb-jar</root-element>
          <uri>META-INF/ejb-jar.xml</uri>
           <variable-assignment>
            <name>something</name>
            <xpath>/ejb-jar/enterprise-beans/session/[ejb-name="Bedrijf"]/env-entry/[env-entry-name="something"]/env-entry-value</xpath>
            <operation>replace</operation>
          </variable-assignment>
        </module-descriptor>
      </module-override>
      <module-override>
        <module-name>Userinterface.war</module-name>
        <module-type>war</module-type>
        <module-descriptor external="true">
          <root-element>weblogic-web-app</root-element>
          <uri>WEB-INF/weblogic.xml</uri>
          <hash-code>1287042734068</hash-code>
        </module-descriptor>
        <module-descriptor external="false">
          <root-element>web-app</root-element>
          <uri>WEB-INF/web.xml</uri>
        </module-descriptor>
      </module-override>
      <config-root>...</config-root>
    </deployment-plan>To this plan.xml we added a variable definition
    <variable-definition>
          <variable>
            <name>something</name>
            <value>anders</value>
        </variable>
    </variable-definition>To change the contents of the variable something we add the following to the ejb-jar module section
    <module-descriptor external="false">
          <variable-assignment>
            <name>something</name>
            <xpath>/ejb-jar/enterprise-beans/session/[ejb-name="Bedrijf"]/env-entry/[env-entry-name="something"]/env-entry-value</xpath>
            <operation>replace</operation>
          </variable-assignment>
        </module-descriptor>The same steps can be followed when you want to change the contents of your web.xml (but note that the elements must be present
    otherwise the xpath assignment will not work)

  • Configuring web.xml for Weblogic Server 5.1

    Hi,
    I am working on Weblogic Server (WLS) 5.1 SP 12. I have a web application running on it. At present, it does not have a web.xml file. I want to use Front Controller pattern, and therefore I need to have a web.xml file (to specify the URL Pattern for Front Controller) inside WEB-INF directory on server. I have placed the web.xml file inside WEB-INF directory of application, and have marked the URL pattern. However, the application is not taking into consideration that thing, i.e. mu front controller is not getting into picture, its entry is being ignored. How to make sure that it is not by-passed?
    My application is not in a .war format. WLS 5.1 SP12 is running on Sun Solaris.
    Is there a way to make sure that the intended thing happens?
    Plz help.
    Regards,
    Raj

    Yes, I restarted the app server after making changes to web.xml file. No effects.

  • Web.xml: security-constraint [un]usable in JSF?

    <security-constraint> in web.xml is a simple, effective and portable method of declaring a web application�s security policies.
    It's been noted, however, in an earlier topic (http://forum.java.sun.com/thread.jspa?threadID=747919&messageID=4279347) that it has it�s limitations in the context of jsf.
    A reasonable solution would be to consult <security-constraint> elements in one�s own web.xml when rendering <h:commandLink>'s on a page according to the security policy.
    Unfortunately, there is no standard method of reading web.xml, other than what�s available from the ServletContext.
    I found some container specific-implementations in the Cargo project from the http://cargo.codehaus.org,
    but I�m looking for a portable solution. Any thoughts?
    Thanks, y�all!

    Use the <security-role-ref> for the Faces Servlet to map the LDAP roles to the logical role names used by the managed bean to determine if links may be rendered.
    Bean code:
    this.isAdmin = context.getExternalContext().isUserInRole("admin");web.xml:
            <security-role>
              <role-name>Local Admin Group</role-name>
         </security-role>
         <security-role>
              <role-name>DBA Group</role-name>
         </security-role>
        <!-- Faces Servlet -->
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <security-role-ref>
                  <role-name>admin</role-name>
                  <role-link>DBA Group</role-link>
           </security-role-ref>
            <security-role-ref>
                  <role-name>admin</role-name>
                  <role-link>Local Admin Group</role-link>
           </security-role-ref>
        </servlet>

  • Making jsp changes take effect

    I am slightly confused as to what changes require a server restart, as I
    have tried changing jsp and some times that changes just don't take effect.
    I have tried running in development and production mode and this makes
    little to no difference.
    Thanks in advance

    Dan,
    You can set the page recompilation check interval in weblogic.xml for the
    web application that contains the JSP. See the WLS docs for details.
    Sincerely,
    Daniel Selman
    "dan" <[email protected]> wrote in message
    news:[email protected]..
    I am slightly confused as to what changes require a server restart, as I
    have tried changing jsp and some times that changes just don't takeeffect.
    I have tried running in development and production mode and this makes
    little to no difference.
    Thanks in advance

  • How can I change application's web.xml in NetWeaver CE 7.1?

    Hello Experts,
    Please help me. I need to configure a J2EE application on NetWeaver 7.1, but I don't know how I can change the web.xml of the application.
    The web.xml of the app needs to be modified during the configuration. This can be achieved via single-file-update in VA in Netweaver 6.4 or 7.0. But I cannot figure out how to do that in NW 7.1.
    Please show me how to do that or at least give me some hints.
    Thank you!
    Jack

    Hi Jack,
    In SAP NetWeaver 7.1 and later, you use the SAP NetWeaver Administrator instead of Visual Administrator.
    To get some information on how to configure web applications, try [THIS|http://help.sap.com/saphelp_nwce10/helpdata/en/45/48a60a528608d1e10000000a11466f/frameset.htm] piece of documentation.
    I hope it helps.
    Best,
    Yordan

Maybe you are looking for