I cann't run my web applicaiton after upgrading to JSF 1.2

Hi all;
I did {color:#ff0000}ONLY {color}the following to upgarde to jsf 1.2
replacing jsf-api.jar with the new one
replacing jsf-impl.jar with the new one
install Tomcat 6
when I run the Tomcat 6.x server ( I use MyEclipse 7), no error message appears.The home pages is aslo displayed in IE wiht no problems. But, once I click on login button I get the follwoing error:
java.lang.NoClassDefFoundError
org.apache.{color:#ff0000}myfaces{color}.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBodyEnd(ExtensionsPhaseListener.java:126)
org.apache{color:#ff0000}.myface{color}s.renderkit.html.util.ExtensionsPhaseListener.getCodeBeforeBodyEnd(ExtensionsPhaseListener.java:101)
org.apache.{color:#ff0000}myface{color}s.renderkit.html.util.ExtensionsPhaseListener.getJavaScriptCodeAndStoreInRequest(ExtensionsPhaseListener.java:91)
org.apache.{color:#ff0000}myface{color}s.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java:67)
com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
I realy wonder from where I got "myfaces" is it only for apache tomcat ?! cuz I use Sun JSF implementation.
is/are there other missing things I have to do?
do I have to add more jar files, what about JSTL jar !
Thx in advance to all of you (espcially BalusC)

Hi BalusC;
The stacktrace posted above is form IE. When I refered to Tomcat's log I found the fully qulified class name, and I post it again here:
java.lang.NoClassDefFoundError: org/apache/commons/el/Logger
     at org.apache.myfaces.shared_tomahawk.util.ClassUtils.<clinit>(ClassUtils.java:41)
     at org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.<clinit>(MyfacesConfig.java:91)
     at org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBodyEnd(ExtensionsPhaseListener.java:126)
     at org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.getCodeBeforeBodyEnd(ExtensionsPhaseListener.java:101)
     at org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.getJavaScriptCodeAndStoreInRequest(ExtensionsPhaseListener.java:91)
     at org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java:67)
     at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
     at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
     at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
     at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
     at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
     at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286)
     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
     at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
     at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
     at java.lang.Thread.run(Unknown Source)
There is something important I also noticed. When I opened the folder where tomcat resides; there was NOT the commons folder !!! isn't that strange. I reinstall Tomcat but still cann't find the commons folder, other folders like lib,webapps,conf,logs are there !! is it ok with tomcat 6 ? did I downlaod a wrong one ?? ( I downloaded it from tomcat.apache.org/download-60.cgi)
As an attempt, I downloaded the latest jar that includes the class org.apache.commons.el.Logger , but nothing changed !
thx again BalusC for your willing to help others.
Edited by: Hope_Seeker on Feb 19, 2009 5:17 AM
Edited by: Hope_Seeker on Feb 19, 2009 5:23 AM

Similar Messages

  • SAP B1 APPLICATION IS RUNNING SLOW IN SERVER AFTER UPGRADE

    Hi,
    The sap application is running slow in server after upgrading it from 9.0 to 9.1 it's taking 5-10 secs to open a document after clicking it and its taking more time in client system.
    what are the steps to be taken so that the application will run without any delay.
    Regards,
    Karthik B

    hi please check bellow thread ,it may help you
    Client Machines Logon to SAP Server is Very Slow
    update the status
    regards
    AKR

  • My MacBook Air (13" Mid 2012) 1.8 GHz, i5, 4 GB 1600 MHz DDR3 becomes sluggish, particularly web browsing after upgrading to yosemite from mavericks

    my MacBook Air (13" Mid 2012) 1.8 GHz, i5, 4 GB 1600 MHz DDR3 becomes sluggish, particularly web browsing after upgrading to yosemite from mavericks

    Mine is exactly the same machine and is working with any kind of problems.
    Try to see this:
    Clean space, make faster

  • Why h:commandlink action not get fired after upgrading to JSF-1.2_12?

    Hi,
    One strange behavior that I'm facing right now after upgrading to JSF version1.2_12, is that the action method for hidden commandlink which should get fired on changing the value of a comboBox are not getting fired. Note that I was initially using the JSF1.2_07 version and it worked fine.
    Any help would be much appreciated.
    Here is a sample code of what I have in my app.
    <h:panelGroup>
                   <h:selectOneMenu id="nav-menu" value="#{customBean.rowName}"
                   onchange="submitOnMenuChange(this.form,'id-link', 'nav-menu');">
                   <f:selectItem itemLabel="Select:" itemValue="" />
                   <f:selectItem itemLabel="rowName1" itemValue="rowName1"/>
                   <f:selectItem itemLabel="rowName2" itemValue="rowName2"/>
                   </h:selectOneMenu>
                   <h:commandLink id="id-link" value=" " action="#{customBean.updateAction}" style="display: none;"/>
    </h:panelGroup>
    Inside submitOnMenuChange() I'm using below technique to submit the form
    var idclValue = formId + JSF_ID_SEPARATOR + elementId;
    jsfcljs(document.forms[formId],idclValue+','+idclValue,'');
    So, ideally on changing the value from above comboBox it should invoke the updateAction method, bit it doesn't.
    Thanks,
    Umesh
    Edited by: Umesh_S on Oct 7, 2009 4:47 AM

    Here is a small simple example which could help replicate the problem
    There are mainly three files: 1. displayPage.jsp 2. CustomBean.java 3. faces-Config.xml
    1. displayPage.jsp (content)
    <%@ page session="true" contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <f:view>
    <html>
    <head>
    <script language="javascript">
    function submitLinkAction(formId, elementId) {
         if (document.forms[formId] != null) {
              var idclValue = formId + ":" + elementId;
    jsfcljs(document.forms[formId],idclValue+','+idclValue,'');
         } else {
              throw "Form with id [" + formId + "] is null.";
         return false;
    function submitOnMenuChange(thisForm, linkId, menuId) {
         var fullMenuId = thisForm.id + ":" + menuId;
         var menu = document.forms[thisForm.id][fullMenuId];
         var selectedValue = menu.options[menu.selectedIndex].value;
         if (selectedValue.length > 0) {
              try {
                   return submitLinkAction(thisForm.id, linkId);
              } catch (errorMsg) {
                   alert("Error occurred: " + errorMsg);
         return false;
    </script>
    </head>
    <body>
    <h:form id="edit-form">
                             <h:panelGroup>
                                  <%-- show select drop-down--%>
                                       <h:selectOneMenu id="nav-menu" value="#{customBean.rowName}"
                                            enabledClass="grid"
                                            onchange="submitOnMenuChange(this.form,'nav-link', 'nav-menu');">
                                            <f:selectItem itemLabel="Select:" itemValue="" />
                                            <f:selectItem itemLabel="Row1" itemValue="Row1"/>
                                            <f:selectItem itemLabel="Row2" itemValue="Row2"/>
                                       </h:selectOneMenu>
                                       <h:commandLink id="nav-link" value=" " action="#{customBean.updateAction}" style="display: none;"/>
                             </h:panelGroup>
    </h:form>
    </body>
    </html>
    </f:view>
    2. CustomBean.java
    public class CustomBean {
    private String rowName;
         public CustomBean() {
         public String getRowName() {
              return this.rowName;
         public void setRowName(String value) {
              System.out.println("** Inside set row name**");
              this.rowName = value;
         public void updateAction() {
              System.out.println("************This is action method for hidden command link************* ");
    3. faces-config.xml (content)
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
         <managed-bean>
         <managed-bean-name>customBean</managed-bean-name>
         <managed-bean-class>com.examples.CustomBean</managed-bean-class>
         <managed-bean-scope>request</managed-bean-scope>
         </managed-bean>
    </faces-config>
    So, if we run above example on JSF 1.2_07, on changing the value of nav-menu, it should submit the form and the action method (updateAction()) defined for commandlink "nav-link" should get fired (one could see the System.out coming on the console) but the moment the JSF jars are upgraded to 1.2_12 the action method no more gets invoked.
    Thanks,
    Umesh

  • Com.sun.faces.saveStateFieldMarker after upgrading to JSF 1.1_02

    After upgrading from JSF RI 1.1_01 to 1.1_02 , "com.sun.faces.saveStateFieldMarker" is displayed at the bottom on my jsf-page.
    I scanned the forums and found some threads about this. However, I haven't found a proper solution to the problem. Any ideas?
    Thanks
    /Alex
    By the way, I'm using subviews which, according to other threads, cause this problem?
    Message was edited by:
    alexndr

    Yes, I have read this faq.
    The thing is that I'm saving the state on the server side:
    <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
    </context-param>and this contradicts the first lines in the faq:
    "This message only appears if the state is saved on the client"
    Anyhow, I have gone through the checklist with suggestions and none of them conforms to my project.
    I just found out that I only get this problem using specific Ajax funcionality so I think I will move my question to another forum.
    Thanks.

  • Workstation cann't run .asp on IIS after installed ZEN agent

    Hello,
    I have Windows XP sp2 on workstation. I run .asp application on IIS. When i
    installed Zenwork Desktop Agent (6.5). I cann't run .asp file. I reinstall IIS on
    workstation. It's not work.
    thank you
    moo

    Chanthep,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Problem running BI template installer after upgrade to 2004s

    Hello,
    After upgrading our Portal from EP6 to EP7 I have a problem running the BI template installer. The failure occures right at the beginning. The installer is looking for SLD related parameters in the 'CTC> Propertysheet SystemProperties'.
    But there are only three parameters in the sheet :
    HOST, SYSTEM_ID, INSTANCE_ID.
    If you instal a new 2004s system you see much more entries in the 'Propertysheet SystemProperties'.
    My question is how to add these missing entries into the 'Propertysheet SystemProperties'.
    Thanks
    Boaz

    Hi Kaylan,
    Actually there are only two things to manually fix after the CTC template run, which is mentioned in the Blog:
    - check/correct the following settings in the NetWeaver Administrator for evaluate_assertion_ticket and ticket according SAP Note 945055
    - the entry in table RSPOR_T_PORTAL for Platform and PDF fonts
    If you uncertain, you can remove the created objects as stated in the Document http://scn.sap.com/docs/DOC-11607 => Page18 in the Notes Section. the CTC template is creating these objects and entries again.
    Best Regards Roland

  • #MULTIVALUE error in SAP BI 4.1 SP3 WebI report after upgrade

    Facing issues after upgrading from BO 3.1 SP3 to SAP BI 4.1 SP3.Below are the details:
    1.The WebI report is created with 2 data providers. The report tab has a vertical  table with 2 dimensions and 3 measures.
    2.In the report layout the objects displayed is coming from base dimension and not merged dimension.
    3.The data in some of the rows displays as #MULTIVALUE and some of them display the value.
    4.The report also have Sub totals and no breaks.
    Based on point no 3, not able to verify whether the subtotals are been calculated correctly. Please share your inputs,suggestions or solutions to resolve this issue.
    Thanks in advance.

    Hi,
    Do you have the Associated object on layout?. Drag and drop in a column and if you dont want to display hide it.
    Also , did you check the Extended Merged dimension option in properties?.
    Thanks,
    Jothi

  • BEx web problem after upgrade: hierarchy variable and OK button

    Hi experts,
    we are busy in an upgrade project in which both portal and BW are being upgraded to 7.40.
    After upgrading we find several problems in which we get stuck.
    First problem: every query that has a variable on an infoobjects marked with a hierarchy does not work in Java Web.
    As soon as we press the lookup button the browser freezes.
    In ABAP web en Bex analyzer everything is OK.
    Our release is BW 7.40 SP5. For the Java things we had to upgrade Bex web components to 7.40 SP6.20 (BW Java and portal system).
    On OSS, SCN and google we cannot find any clues for this.
    We are preparing the OSS call for SAP but maybe anyone of you experts has faced the same issue.
    Any advice is welcome.
    Second problem:
    When a variable screen pops up and everything has been filled in, we have to press the OK button twice (instead of once).
    The first OK does a check/validate and then returns to the screen instead of proceeding when check is OK.
    Has 7.4 introduced a new setting we have to adjust for this?
    Or might this be a bug?
    Thanx for your reactions.
    Marco

    Hi,
    Regarding the variable screen button needs two click to execute, you will have to apply SP07 Patch 20 for only below 5  BI Java components for BI Java 740.
    For BI Java 730 , SP12 Patch 10 will solve this issue
    For BI Java 731,  SP12 Patch 20 will solve this issue
    This will solve your issue.
    BI-BASE-B
    BI-BASE-E
    BI-BASE-S
    BI-IBC                   
    BIWEBAPP
    Please make sure that you RESTART the Java server after applying the Patches.
    Regards,
    Amit

  • What happened to our web services after upgrading to 701?

    Hi,
    We started using web services on a 700 server. Looks something like this.
    SAP_ABA     700     0018     SAPKA70018     Cross-Application Component
    SAP_BASIS     700     0018     SAPKB70018     SAP Basis Component
    PI_BASIS     2005_1_700     0018     SAPKIPYJ7I     PI_BASIS 2005_1_700
    We could create a proxy in vb.net and call our SAP web services like this:
            Dim ws As New sapserver.webservice1
            Dim input As New sapserver.ZGetuname
            Dim output As New sapserver.ZGetunameResponse
            out2 = ws.ZGetuname(input)
    After upgrading to nw ep 7.1, which looks like this.
    SAP_ABA     701     0007     SAPKA70107     Cross-Application Component
    SAP_BASIS     701     0007     SAPKB70107     SAP Basis Component
    PI_BASIS     701     0007     SAPK-70107INPIBASIS     Basis Plug-In
    We no longer get the same input and ouput classes generated for us when consuming the service. It looks like it is now expected to be called like a function    ws.ZGetuname( param 1, param 2).
    We would like to be able to generate the proxy the same way as before. Any ideas?
    Thanks.

    What happened to the file numbers after switching to Photos. It would be nice to still have the file numbers show.
    You mean, the filename with the number on the card?
    Photos does not use the filenames as a title, when displaying the thumbnails. The filename will only show in the Info panel.
    Copy the filenames to the title field in the Info panel and then enable "Metadata" in the View menu.
    I wrote a script to copy the filenames automatically to the title field,  see:
    Photos for Mac: Batch Changing the Titles to the Filename

  • Firefox will lot load web pages after upgrading to version 3.6.6

    After loading 3.6.6 I can no longer access the internet. Norton Internet Security 2010 has quarantined 3 Firefox files: nssdbm3.dll, freebl3.dll, softokn3.dll
    == This happened ==
    Every time Firefox opened
    == I upgraded to 3.6.6. Firefox worked fine prior to upgrade. After upgrade, Norton told me there was a security incident and I needed to reboot. I have not been able to use Firefox since rebooting.

    Thanks for the reply. It doesn't have to process the php, it just has to show the HTML content. It did that just fine before the last upgrade but won't now.
    I've seen that page you referenced: http://kb.mozillazine.org/File_types_and_download_actions.
    It doesn't help. The things it says to look for aren't there for me, specifically:
    browser.download.pluginOverrideTypes
    plugin.disable_full_page_plugin_for_types
    I followed the rest of the instructions but it didn't help.
    I did get it to quit opening tabs, instead it prompts me what it should do with the file every time now. What it should do, and used to do, is open the php page and display the HTML content.
    Any other ideas?

  • Missing Web Template after upgrading to SP10

    Hello all,
    After applying SP10, we are running into the following error while attempting to broadcast a PDF:
    Error: com.sap.ip.bi.webapplications.runtime.controller.MessageException: The Web template "0QUERY_TEMPLATE_BROADCAST_PDF" does not exist in the master system
    We couldn't broadcast a PDF before, but for precalculation errors.
    Note 990321 mentions this, but no where else do I see any documentation.
    How can I get that template to my system?
    It's included in the transport for BW SP10.  It appears to have been imported, but according the note above, it should be in status A, and in my system it's in status D.
    I attempted to save a variant with the object in status A, but I was unable due to a 'Transport Error'.
    Message was edited by:
            Kenneth P

    Fun Gremlins
    This morning, I logged in, and it was present in the dropdowns through Business content via RSA1.
    Same procedure, same template, but this time it was present for installation.  I still don't know why the support pack didn't activate, but managed to resolve the issue.

  • Unable to Run T-CODE UCMON after Upgrade

    Hi Gurus,
      We have upgraded our BW 3.5 and SEM-BW component to BI7 with EPH1,this has ugrade the SEM-BW component from 4 to 6.After the upgrade we are unable to run T-code UCMON and it gives a short dump. We also found that this T-code is missing  UGMD_SY_MD. Please suggest.
    your valuable inputs are appreciated.
    Many thanks,
    Balaji

    Snote 644610,Note 568784
    Sorry for not replyin sooner was on my vacation, when we did our upgrade our BCS component was missing, so my hosting team told me that their FIN-BASIS update was thru these notes

  • Issue in Running the Assesement Cycle after upgrade.

    Hi
    We have a  Z Transaction Code for running actual assessment. We have migrated to ECC 6.0 from 4.6C. In the standard T Code KSU5, system was giving the message GA 627
    "For the execution of assessments, distributions, periodic repostings or indirect activity allocations in the CO-OM application, groups have to be defined in the current client which summarize all actual or planned transactions. In the current client, these groups are either not available or do not have the latest status."
    I have run the report RK811XST and now I am able to run KSU5 in the system. However, for ZKSU5, the same issue persists. Please advise
    Regards
    Sanil K Bhandari

    Hi Sanil
    Try to run the report RK811XUP as well.
    What happens us when you run the report, it creates some basic sets like 0HC0_VRG*
    I dont know which sets are called for in your Z transaction... But, I guess whatever error message it gives in case of ZKSU5, it should also be giving you the program that needs to be run... Did you try executing that and still it gives you error msg?
    Ajay M

  • Error deploying Web Service after upgrading from WL 7.0 No Service Pack to SP5

    Hello
    I have problem using HttpServletResposneWrapper with a ServletFilter in WLW
    7.0 SP5. When I apply the filter to JWS file in Development Mode, following
    Exception is thrown when I access a JWS.
    ===================================================================
    java.lang.ClassCastException: servlet.MyServletResponse
    at weblogic.knex.dispatcher.HttpRequest.getRequestURL(HttpRequest.java:233)
    at weblogic.knex.dispatcher.HttpRequest.(HttpRequest.java:51)
    at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:291)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1094)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :437)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at servlet.MyFilter.doFilter(MyFilter.java:25)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5632)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:685)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3213)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2555)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
    ===================================================================
    I have looked at "weblogic.knex.dispatcher.HttpRequest" class. It seems like
    this class tries to cast the response object to "ServletResponseImpl" class,
    so ClassCastException is thrown.
    Is there any workaround for this issue, since my code is compliance with
    J2EE standard. Thank you very much in advanced.
    Regards,
    Tinnapat C.
    PS. These are my codes.
    =====================================================================
    package servlet;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpServletResponseWrapper;
    public class MyServletResponse extends HttpServletResponseWrapper {
    public MyServletResponse(HttpServletResponse response) {
    super(response);
    =====================================================================
    package servlet;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletResponse;
    public class MyFilter implements Filter {
    private FilterConfig config;
    public void init(FilterConfig config) {
    System.out.println("Filter.init");
    this.config = config;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws ServletException, IOException {
    System.out.println("Filter.doFilter");
    ServletResponse wrappedResponse = new
    MyServletResponse((HttpServletResponse)response);
    chain.doFilter(request, wrappedResponse);
    public void destroy() {
    System.out.println("Filter.destroy");
    =====================================================================
    <filter>
    <filter-name>MyFilter</filter-name>
    <filter-class>servlet.MyFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>MyFilter</filter-name>
    <url-pattern>*.jws</url-pattern>
    </filter-mapping>
    =====================================================================

    Hello
    I have problem using HttpServletResposneWrapper with a ServletFilter in WLW
    7.0 SP5. When I apply the filter to JWS file in Development Mode, following
    Exception is thrown when I access a JWS.
    ===================================================================
    java.lang.ClassCastException: servlet.MyServletResponse
    at weblogic.knex.dispatcher.HttpRequest.getRequestURL(HttpRequest.java:233)
    at weblogic.knex.dispatcher.HttpRequest.(HttpRequest.java:51)
    at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:291)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1094)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :437)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at servlet.MyFilter.doFilter(MyFilter.java:25)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5632)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:685)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3213)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2555)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
    ===================================================================
    I have looked at "weblogic.knex.dispatcher.HttpRequest" class. It seems like
    this class tries to cast the response object to "ServletResponseImpl" class,
    so ClassCastException is thrown.
    Is there any workaround for this issue, since my code is compliance with
    J2EE standard. Thank you very much in advanced.
    Regards,
    Tinnapat C.
    PS. These are my codes.
    =====================================================================
    package servlet;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpServletResponseWrapper;
    public class MyServletResponse extends HttpServletResponseWrapper {
    public MyServletResponse(HttpServletResponse response) {
    super(response);
    =====================================================================
    package servlet;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletResponse;
    public class MyFilter implements Filter {
    private FilterConfig config;
    public void init(FilterConfig config) {
    System.out.println("Filter.init");
    this.config = config;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws ServletException, IOException {
    System.out.println("Filter.doFilter");
    ServletResponse wrappedResponse = new
    MyServletResponse((HttpServletResponse)response);
    chain.doFilter(request, wrappedResponse);
    public void destroy() {
    System.out.println("Filter.destroy");
    =====================================================================
    <filter>
    <filter-name>MyFilter</filter-name>
    <filter-class>servlet.MyFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>MyFilter</filter-name>
    <url-pattern>*.jws</url-pattern>
    </filter-mapping>
    =====================================================================

Maybe you are looking for

  • Report : Schedule Lines

    dear All , I need a report for the schedule lines for custoemer which we mention in Sales order. Pl guide for the same . Regards

  • Bdc for f-28

    hi can any body tell me how to handle amount field in bdc AMOUNT CONVERSION 1. FIELD NAME :-WRBTR 2. IN FLAT FILE DATA IS :- 9.5 HOW TO CONVERT IT. waiting for responce Edited by: tapan rath on Dec 21, 2007 8:03 AM

  • Surround sound with Astro A40 headset

    %Surround sound with Astro A40 headset? I've been having problems getting surround sound to work with my A40 headset to work with my computer. I have an X-Fi Titanium and I'm running Win 7, although I also had this issue on XP and Vista. Originally w

  • Updating iPod from iTunes sporadically causes system reboot

    This one is driving me slowly crazy, so help is appreciated. I'm running version 6.0.4.2 of iTunes and iPod updater 2006-03-23 on a Windows XP Media Center PC with a 20 gig iPod Photo. Have been blissfully using iPod and iTunes for months with zero i

  • E-mail - Mobile Device Priority

    Like most people I review and manage my mail inbox whilst frequently on the move. To do this I will use one of three devices to access my account either;  Smart phone, Samsung Galaxy; or  iPad Tablet; or  Laptop. The device I use, will depend on the