JSP Pages are not compiling in JBoss5.1.0GA

Hi Folks,
We have developed an webapplication and we deployed in JBoss4.0.1sp1 application is running fine.
One week back we downloaded JBoss5.1.0GA and we deployed the same application in JBoss5.1.0GA, but we are getting this eaception "org.apache.jasper.JasperException: Unable to compile class for JSP: "
please find the exception details below
====================================================================================================
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 56 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
An error occurred at line: 17 in the jsp file: /pages/configset/createconfigset.jsp
The method setJspId(String) is undefined for the type ViewTag
14: <%@page import="com.cisco.wo.configui.beans.backing.configset.CreateBackingBean"%>
15: <%@page import="com.cisco.wo.configui.utils.ConfigUIConst"%>
16:
17: <f:view>
18:
19:
20: <%
An error occurred at line: 45 in the jsp file: /pages/configset/create.jsp
The method setJspId(String) is undefined for the type SubviewTag
42:
43: <!-- Start header -->
44:
45: <f:subview id="configsetHeader">
46: <c:import url="configsetheader.jsp" />
47: </f:subview>
48:
An error occurred at line: 45 in the jsp file: /pages/configset/createt.jsp
The method setBodyContent(BodyContent) is undefined for the type SubviewTag
42:
43: <!-- Start header -->
44:
45: <f:subview id="configsetHeader">
46: <c:import url="setheader.jsp" />
47: </f:subview>
48:
An error occurred at line: 45 in the jsp file: /pages/configset/create.jsp
The method doInitBody() is undefined for the type SubviewTag
42:
43: <!-- Start header -->
44:
45: <f:subview id="configsetHeader">
46: <c:import url="configsetheader.jsp" />
47: </f:subview>
48:
Thanks in Advance...!

Hi All,
We developed the JSF web application in JBoss4.0.1SP1 the application running fine.
The same application we deployed in JBoss5.1.0GA some of the pages are compiling and some of the pages are not compiling.
the exception log:
=======================================================================================================================================
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 16 in the jsp file: /pages/configset/itemstab.jsp
The method setJspId(String) is undefined for the type ViewTag
13: <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
14:
15: <%@page errorPage="configseterrorpage.jsp"%>
16: <f:view>
17:      <head>
18:      <title>Configuration Set - Items</title>
19:      <!-- Include Global Meta Data -->
An error occurred at line: 46 in the jsp file: /pages/configset/itemstab.jsp
The method setJspId(String) is undefined for the type SubviewTag
43:
44:      <!--googleoff: index-->
45:
46:      <f:subview id="configsetheader">
47:           <c:import url="configsetheader.jsp" />
48:      </f:subview>
49:
An error occurred at line: 46 in the jsp file: /pages/configset/itemstab.jsp
The method setBodyContent(BodyContent) is undefined for the type SubviewTag
43:
44:      <!--googleoff: index-->
45:
46:      <f:subview id="configsetheader">
47:           <c:import url="configsetheader.jsp" />
48:      </f:subview>
49:
An error occurred at line: 46 in the jsp file: /pages/configset/itemstab.jsp
The method doInitBody() is undefined for the type SubviewTag
43:
44:      <!--googleoff: index-->
45:
46:      <f:subview id="configsetheader">
47:           <c:import url="configsetheader.jsp" />
48:      </f:subview>
49:
An error occurred at line: 413 in the generated java file
The method doAfterBody() is undefined for the type SubviewTag
An error occurred at line: 61 in the jsp file: /pages/configset/itemstab.jsp
The method setJspId(String) is undefined for the type SubviewTag
58:
59:      <!-- Begin Main Content -->
60:      <div class="icw">
61:      <div class="icwWrapper icwOrder" style="width: 921px"><f:subview
62:           id="configsetsummary">
63:           <c:import url="configsetsummary.jsp" />
64:      </f:subview></div>
An error occurred at line: 61 in the jsp file: /pages/configset/itemstab.jsp
The method setBodyContent(BodyContent) is undefined for the type SubviewTag
58:
59:      <!-- Begin Main Content -->
60:      <div class="icw">
61:      <div class="icwWrapper icwOrder" style="width: 921px"><f:subview
62:           id="configsetsummary">
63:           <c:import url="configsetsummary.jsp" />
64:      </f:subview></div>
note The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.
============================================================================
Thanks in Advance...!

Similar Messages

  • JSP pages are not refreshing under wl 6.1 sp1

              I thought this could have been a problem solved long time ago but after searched
              through this list I could not find any solutin.
              Basically any change to the JSP is not refreshed on my wl server. Even after I
              set my browser to have 0 siye disk cache, 0 siye memory cache, and set the cache
              file name to something non-exists, the cached page kept coming back! It must have
              been cached by the web server. Deleting all the tmp files under WEB-INF did not
              work. Redeploy the web app did not work. Even after I restarted the server, it
              still sent me the old pages!!
              I must have missed something here???
              Many thanks and regards,
              Charles
              

    Have a look at this page:
              http://e-docs.bea.com/wls/docs61/////webapp/weblogic_xml.html#1012760
              The parameter "workingDir" is probably what you're looking for.
              Hope that helps,
              Nils
              Charles Chen wrote:
              >
              > Unbelievable!
              >
              > Here is what I found where the problem is:
              >
              > Apparently weblogic 6.1 sp1 is compiling and cacheing the JSP pages in the directory
              > /var/tmp!! That explains why even after I restart the server and still got the
              > old page! After remove the /vat/tmp/jsp_servlet/_jsp directory, I finally got
              > my changes recompiled.
              >
              > I am sure some where there is a doc describing how to change this directory ...
              >
              > Charles
              >
              > "Charles Chen" <[email protected]> wrote:
              > >
              > >I thought this could have been a problem solved long time ago but after
              > >searched
              > >through this list I could not find any solutin.
              > >
              > >Basically any change to the JSP is not refreshed on my wl server. Even
              > >after I
              > >set my browser to have 0 siye disk cache, 0 siye memory cache, and set
              > >the cache
              > >file name to something non-exists, the cached page kept coming back!
              > >It must have
              > >been cached by the web server. Deleting all the tmp files under WEB-INF
              > >did not
              > >work. Redeploy the web app did not work. Even after I restarted the server,
              > >it
              > >still sent me the old pages!!
              > >
              > >I must have missed something here???
              > >
              > >
              > >Many thanks and regards,
              > >
              > >
              > >
              > >Charles
              > >
              ============================
              [email protected]
              

  • JSP pages are not refreshed even though I change the code!

              Hi,
              Just wanted to ask that even though I make changes in some of my
              JSP files, the changes (e.g. hyperlink properties) are not recalled by the browser. This is happening even though I open a new browser and re-start the Weblogic server. I had same problem with Weblogic5.1. However, this does not happen always: sometimes, when there is a change in the file, Weblogic recompiles it and the changes are implemented. Thanks for your help!
              

    1) Check the date/time of the .jsp compared to the .class generated for it.
              You could have a mismatch between the clocks on multiple machines.
              2) Delete the temp deployments directory to force WebLogic to rebuild
              those.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              +1.617.623.5782
              WebLogic Consulting Available
              "abuislam" <[email protected]> wrote in message
              news:3a1e0181$[email protected]..
              >
              > Hi,
              > Just wanted to ask that even though I make changes in some of my
              > JSP files, the changes (e.g. hyperlink properties) are not recalled by the
              browser. This is happening even though I open a new browser and re-start
              the Weblogic server. I had same problem with Weblogic5.1. However, this
              does not happen always: sometimes, when there is a change in the file,
              Weblogic recompiles it and the changes are implemented. Thanks for your
              help!
              

  • Changes in JSP page are not reflected

    Hello all!
    I created in JDeveloper 10.1.2.1 a simple JSP page. Then I ran the page using embedded oc4j - browser showed the page. That's OK. But when I update JSP code and run the page again I don't see any changes applied in browser!
    It seems that page is downloaded from some cache. I can't understand from what one.
    I'm sure it's not a browser - I cleared browser cache and inserted HTTP headers "Expires", "Pragma", "Cache-Control" in response but it didn't help. Besides I tested the same page with standalone oc4j - every time I change the page and refresh it in the browser I see new content.
    Thank you in advance

    I am facing the same problem with JSP!
    File is included from another file, but tried to touch all the files from web content, even removed the files from .jsps. OC4J recreates the xxx.java and xxx.class file (with good content), but to the browser is sent only the old content...
    I am using OC4j version 10.1.3.40.66 embedded in jdeveloper 10.1.3.2.0
    Any help would be appreciated since the project is huge and takes 1 minute to start a deployment and is anoying to do that only to edit one jsp.
    Thank you.

  • JSF 2.0 pages are not compiled.

    Eventually I managed to define a shared library of JSF 2.0 in Websphere 7.0.0.0 and make it loaded when my application starts. But I was that the JSF code has not been compiled to html so that it can be viewed on a browser. This the code on my page
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- jsf:pagecode language="java" location="/src/pagecode/Login.java" --><!-- /jsf:pagecode -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
         <title>login</title>
         <meta http-equiv="Content-Type"
              content="application/xhtml+xml; charset=UTF-8" />
         <link rel="stylesheet" type="text/css" title="Style"
              href="theme/stylesheet.css" />
    </h:head>
    <h:body>
         <h:form styleClass="form" id="form1">
              <h:outputText value="hello"/>
         </h:form>
    </h:body>
    </html>even though the response has to be like
    hello
    it shows the entire code of the page on the browser as
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- jsf:pagecode language="java" location="/src/pagecode/Login.java" --><!-- /jsf:pagecode -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
         <title>login</title>
         <meta http-equiv="Content-Type"
              content="application/xhtml+xml; charset=UTF-8" />
         <link rel="stylesheet" type="text/css" title="Style"
              href="theme/stylesheet.css" />
    </h:head>
    <h:body>
         <h:form styleClass="form" id="form1">
              <h:commandButton type="submit" value="Submit"
                   styleClass="commandButton" id="button1"/>
         </h:form>
    </h:body>
    </html>
    What can I do to shake this issue off. Unfortunately in our organization we have to use RAD 8 and WAS 7.0.0.0. If we used netbeans with Glassfish, we don't face these problems.

    If there is no way to map a schema uri to a physical resource in netbeans, then I'm not sure what can be done.
    We won't be posing the schema to the website until later in the spec development cycle.

  • Oracle Marketing online( Web pages are not opening)

    Hello all,
    I have got 11i installed on my machine. Application is running fine. I was trying my hand on Oracle marketing module and also CRM Administration modules.
    I don't know what's going wrong the web pages are not opening ( Web page not found offline) error is appearing.
    Infact all functions of Oracle Marketing Super user have they type selected as JSP.
    I am unable to resolve this problem. Can some please help me.
    Regards
    Arun ( [email protected])

    Hi Arun,
    Please let me know which OS you have installed apps.
    Just try running adconfig and then check.
    Cheers,
    Kunal

  • The edit JSP page does not appear...

    Hi!
    I make a simple JSF application, I would like to show a DB table in a h:dataTable component and edit a given row after click, but the edit JSP page does not appear. I click the on link in the table, but the list is loaded again and not the edit page...:(
    (no exception in application server console)
    Please help me!
    my code:
    **************************************** listmydata.jsp***************************
                   <h:dataTable
                             value="#{myBean.myDataList}"
                             var="myDataItem"
                             binding="#{myBean.myDataTable}"
                   >
                        <h:column>
                             <f:facet name="header">
                                  <h:outputText value="Ajdi"/>
                             </f:facet>
                             <h:commandLink action="#{myBean.editMyData}">
                                  <h:outputText value="#{myDataItem.id}"/>
                             </h:commandLink>
                        </h:column>
    ********************************* MyBean.java *******************************
    package bean;
    import java.sql.Connection;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.component.html.HtmlDataTable;
    import javax.faces.context.FacesContext;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    import wrapper.MyData;
    public class MyBean {
         private List myDataList;
         private HtmlDataTable myDataTable;
         private MyData myDataItem;
         protected Connection Conn;
         // *********************** actions ***********************
         public String editMyData() {
              myDataItem = (MyData)getMyDataTable().getRowData();
              return "editmydata";
         public String saveMyData() {
              try {
                   updateDataInDB();
              catch (SQLException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              catch (NamingException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              return "listmydata";
         // *********************** setter ***********************
         public void setMyDataList(List myDataList) {
              this.myDataList = myDataList;
         public void setMyDataTable(HtmlDataTable myDataTable) {
              this.myDataTable = myDataTable;
         public void setMyDataItem(MyData myDataItem) {
              this.myDataItem = myDataItem;
         // *********************** getter ***********************
         public List getMyDataList() {
              if (myDataList == null || FacesContext.getCurrentInstance().getRenderResponse()) {
                   loadMyDataList();
              return myDataList;
         public HtmlDataTable getMyDataTable() {
              return myDataTable;
         public MyData getMyDataItem() {
              return myDataItem;
         // *********************** others ***********************
         public void loadMyDataList() {
              try {
                   getDataFromDB();
              catch (NamingException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              catch (SQLException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
         void getDataFromDB() throws NamingException, SQLException {
              myDataList = new ArrayList();
              java.sql.PreparedStatement PreStat = ownGetConnection().prepareStatement("SELECT id, name, value FROM BEA_JSF_SAMPLE");
              PreStat.execute();
              java.sql.ResultSet Rs = PreStat.getResultSet();
              while(Rs.next()) {
                   MyData OneRecord = new MyData();
                   OneRecord.setId(Rs.getLong(1));
                   OneRecord.setName(Rs.getString(2));
                   OneRecord.setValue(Rs.getString(3));
                   myDataList.add(OneRecord);
         void updateDataInDB() throws SQLException, NamingException {
              String sql = new String("UPDATE BEA_JSF_SAMPLE SET name=?,value=? WHERE id=?");
              java.sql.PreparedStatement PreStat = ownGetConnection().prepareStatement(sql);
              PreStat.setString(1,myDataItem.getName());
              PreStat.setString(2,myDataItem.getValue());
              PreStat.setLong(3,myDataItem.getId().longValue());
              PreStat.execute();
              ownGetConnection().commit();
         Connection ownGetConnection() throws SQLException, NamingException {
              if (Conn == null) {
                   InitialContext IniCtx = new InitialContext();
                   DataSource Ds = (DataSource)IniCtx.lookup("JDBCConnectToLocalhost_CRS");
                   Conn = Ds.getConnection();
              return Conn;
    ******************************* editmydata.jsp *****************************
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <html>
    <body>
    <f:view>
    <h:form>
         <h:panelGrid columns="2">
              <h:outputText value="Name"/>
              <h:inputText id="name" value="#{myBean.myDataItem.name}"/>
              <h:outputText value="Value"/>
              <h:inputText id="value" value="#{myBean.myDataItem.value}"/>
         </h:panelGrid>
         <h:commandButton action="#{myBean.saveMyData}" value="Save"/>
    </h:form>
    </f:view>
    </body>
    </html>

    I have put his lines in the faces-config.xml and now it works:
         <navigation-rule>
              <from-view-id>*</from-view-id>
              <navigation-case>
                   <from-outcome>editmydata</from-outcome>
                   <to-view-id>editmydata.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>*</from-view-id>
              <navigation-case>
                   <from-outcome>listmydata</from-outcome>
                   <to-view-id>listmydata.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    I don't understand, that I define the next JSP page in the bean java file, which must be shown, but I must define this in the faces-config.xml as well.
    for example:
         public String editMyData() {
              myDataItem = (MyData)getMyDataTable().getRowData();
              return "editmydata";
    is it right or Do I make a mistake somewhere?

  • I am trying to delete pages from a PDF file. I opened the bookmarks, selected the pages to delete and choose Edit Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    I am trying to delete pages from a PDF file. I opened the bookmarks in the PDF file, selected the pages to delete and choose Edit > Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    Resolved

  • How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English

    How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English
    == This happened ==
    Every time Firefox opened
    == From the beginning

    Some add-ons:
    Default FullZoom: https://addons.mozilla.org/en-US/firefox/addon/6965 (I use this one)
    No Squint: http://urandom.ca/nosquint/
    Also:
    http://support.mozilla.com/en-US/kb/Page+Zoom
    http://support.mozilla.com/en-US/kb/Text+Zoom
    http://kb.mozillazine.org/Browser.zoom.siteSpecific

  • My changes to a duplicated page are not syncing up in the Creative Cloud. How can I fix this?

    I'm using Adobe Proto on an iPad. I created one page and successfully viewed it in the Creative Cloud. Then I duplicated that 1st page so I could work on the next page in that project. I made some changes to the 2nd page and then synced the project with the Creative Cloud again.
    Once I try to view the 2nd page in the Creative Cloud, it's still an exact copy of the 1st page. In other words, my changes on the 2nd page don't show up. I've tried synching the project many times and I get the same result. Tried opening the project from another browser, same result.
    My changes to a duplicated page are not syncing up in the Creative Cloud. How can I fix this?
    Thank you.

    Yes, I'm 99% certain the project is being synced. If I duplicate more than the one page so that I end up with more than 2 pages, I still see every single page that I duplicated and made changes as the initial version of the page.
    I duplicated that 1st page again so that I have 3 pages. I made changes to the 3rd one and I'm still not seeing those changes when I look at the page in Creative Cloud. I see the new, 3rd page, so that should mean the project is being synced, correct?

  • Why some pages are not available offline in Safari reading list?

    From time to time I experience surprises that some web pages are not available offline in reading list of Safari - link is stored, but content - no.
    I was thinking that I was closing Safari too fast before pages downloaded.
    But I rechecked - I gave safari enough time and it still not downloaded.
    When internet connection is available pages are readable, but not in offline.
    And related to issue:
    Should I open Safari to allow to download page, when I add page to reading list from other applications by selecting "Add to reading list"?

    YEs, it's totally frustrating... I'll never again just go along with an upgrade. After upgrading to IOS8 the reading list feature no longer works.
    I even tried the factory reset, clearing out everything and making my iPad 2 like it was originally. And I didn't restore from backup either, afraid whatever bug it is would come back. I even installed iCab Mobile, and Readability... nothing works!
    I Really, really, regret upgrading. I want my fully functioning IOS7 back!!
    IS there any way to get IOS7 back, 'coz this IOS8 is for the birds?!

  • Safari has become unusable-it freezes, links are unclickable, then I get Web pages are not responding...

    Safari has become unusable—it freezes, links are unclickable, then I get "Web pages are not responding..."
    Safari has been my favorite browser for a long time. Nothing against the others but I have found it faster and better. Now I can really no longer use it. This has been going on and getting worse for atr least  few weeks. Anyone know why?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    If any extensions are installed, disable them and test.

  • Error "web pages are not responding"

    What is the cause of this Safari error?  What needs to be done to prevent it?
    "Web pages are not responding. To reload this webpage, all pages in other tabs and windows must also be force reloaded. Do you want to reload this page?
    Force reloading might cause you to loose information you have entered"
    Several threads reference it when it occurs after performing various kinds of actions, and the author's ascribe it to their particular operation, but obviously it is a more general error.

    > look under "User Diagnostic Reports"
    No entrys exist in that area.  Looks like the system cleaned itself up earlier today:
    11/11/11 1:06:49 PM          SubmitDiagInfo[3887]          Cleaning up expired diagnostic messages database at path: /var/log/DiagnosticMessages/2011.10.12.asl
    Using OSX 10.6.8 and Safari 5.1.1
    After posting my message I performed the latest Software Update.
    But my question is also general -- what are the causes of this error?  I have read assertions that it relates to the newest Flash Plugin, or Java, etc. but I would like an authoritative explanation.  How can something cause ALL tabs to need to be reloaded?  Is it caused by something on a web page, or by something internal like the cache getting too large or corrupted or what?
    This error is associated with extremely high % of CPU time being taken up by Safari Web Content.

  • Safari is repeatedly crashing and web pages are not responding

    So, my safari is constantly freezing (the spinning wheel of death shows up) and then I'm told that the web-pages are not responding and I need to force reload them all. And this can repeat a number of times; a full system re-start is the only fix.
    Any fixes, solutions would be appreciated.
    I'm using Safari 5.1.9; and Mac OS X 10.6.8

    MIght be third party plugins causing Safari to freeze.
    Try the troubleshooting help here >  Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    And see if you can do this before Safari freezes.
    Launch Safari and immediately press Command ,  (comma) to open the Safari Preferences pane then select the Extentions tab.
    If there are any extensions installed, turn that OFF, quit and relaunch Safari to test. If Safari doesn't freeze, uninstall one extension at a time, quit and relaunch Safari to test again.

  • Some web pages are not loading on my Macbook pro, Safari,firefox,chrome,opera! Some web pages are loading pictures like thumbnails. Pls i need helpppppppppp!

    Some web pages are not loading on my Macbook pro, Safari,firefox,chrome,opera! Some web pages are loading pictures like thumbnails. Pls i need helpppppppppp!

    It would help us help you if you provided a link to a non working page.

Maybe you are looking for