Blank JSPs.

Hello, all.
          Maybe someone can give me a hand. Don't see anything else similar here... so
          hopefully it is just something I've overlooked.
          The problem:
          WebLogic works (alright.. that isn't a problem)... =) We've setup a
          web-application following the instructions as they show here
          http://www.weblogic.com/docs51/classdocs/webappguide.html
          And all seems fine... we have ported from another package without much
          trouble. The issue comes when we try to edit a JSP or servlet... we thought
          it would re-compile on the fly... but it isn't... the servlets appeared to
          get called.. but they just return '<HTML>' and that's all.
          So change one JSP... and the whole app becomes a white background.
          Since we are not directly calling JSPs (or at least not referencing them in
          a URL).. but are instead calling servlets which use the JSPs... do we need
          to set the re-generate settings in weblogic.properties? We have the
          servlet_reloadCheckSecs set in the web.xml. (to 2)..
          sigh... deadlines. =) ANy ideas people
          Thanks,
          D.Parker
          

The directive given in the following document for reloading servlets is
          incorrectly
          written. It should be weblogic.httpd.servlet.reloadCheckSecs=10
          Let us know how it goes.
          --Kumar
          "D. Parker" wrote:
          > Hello, all.
          >
          > Maybe someone can give me a hand. Don't see anything else similar here... so
          > hopefully it is just something I've overlooked.
          >
          > The problem:
          >
          > WebLogic works (alright.. that isn't a problem)... =) We've setup a
          > web-application following the instructions as they show here
          > http://www.weblogic.com/docs51/classdocs/webappguide.html
          >
          > And all seems fine... we have ported from another package without much
          > trouble. The issue comes when we try to edit a JSP or servlet... we thought
          > it would re-compile on the fly... but it isn't... the servlets appeared to
          > get called.. but they just return '<HTML>' and that's all.
          >
          > So change one JSP... and the whole app becomes a white background.
          >
          > Since we are not directly calling JSPs (or at least not referencing them in
          > a URL).. but are instead calling servlets which use the JSPs... do we need
          > to set the re-generate settings in weblogic.properties? We have the
          > servlet_reloadCheckSecs set in the web.xml. (to 2)..
          >
          > sigh... deadlines. =) ANy ideas people
          >
          > Thanks,
          > D.Parker
          

Similar Messages

  • Design View blank, JSP and Java views fine

    I'm running JSC 2.1, I have 2 gig of memory. I'm not able to see the design view on one of my jsps, but the error message in the log isn't very helpful.
    I did a cut-and-paste from another jsp view in another file -- is there something else I have to copy? If so, what and where to?
    Any help appreciated.
    Stack trace is below (I get five of the same errors with different line numbers; I'm only including one stack trace here):
    java.lang.NullPointerException
    at com.sun.rave.designer.DesignerTopComp.componentShowing(DesignerTopComp.java:868)
    at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:233)
    at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:205)
    at org.netbeans.core.multiview.MultiViewPeer$SelectionListener.selectionChanged(MultiViewPeer.java:480)
    at org.netbeans.core.multiview.MultiViewModel.fireSelectionChanged(MultiViewModel.java:224)
    at org.netbeans.core.multiview.MultiViewModel.setActiveDescription(MultiViewModel.java:93)
    at org.netbeans.core.multiview.MultiViewModel$BtnGroup.setSelected(MultiViewModel.java:274)
    at javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:215)
    at javax.swing.ButtonGroup.setSelected(ButtonGroup.java:139)
    at org.netbeans.core.multiview.MultiViewModel$BtnGroup.setSelected(MultiViewModel.java:270)
    at javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:215)
    at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:250)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
    at java.awt.Component.processMouseEvent(Component.java:5488)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    I figured out the problem. The Java code had gotten out of sync with the jsp code, so the design view didn't know how to render the components. It's a pain to fix, but it can be done. Go through your jsp code component by component, and make sure there are declarations, getters, and setters for each id in the components. Also make sure the java code doesn't contain declarations, getters, and setters for any components that you didn't create (you can see these in the jsp view at the bottom of the file).

  • Struts tiles to create event based loading of tiles on a JSP

    Hi All,
    I am working on a web app where I am using struts tiles to create my JSPs. I have tiles for header, footer & nav bar.
    Now I want to break up my JSP body in multiple tiles. It is required that I insert only one body tile initially, say body1, which contains few hyperlinks. Depending on which link is clicked, I would attach another tile (body2) below the first one. Can any advanced tiles user inform me if it's possible with struts-tiles, & if yes how?
    Thanks.

    Tiles is basically used to overload the jsp pages and reuse them.
    In your tiles-defs.xml file:
    //Tiles for header, footer and nav bar goes here
    //Tiles for body1 and body2  goes here
    <definition name="BodyTile" page="/yourPage.jsp">
              <put name="body1" value="/blank.jsp" />
              <put name="body2" value="/blank.jsp" />
    </definition>
    <!--Blank jsp is a simple html page without any data into it-->
    Now create a customized tile for your module. Mapping has to be done in struts-config.xml.
    Notice that the definitions here extend the tile from tiles-defs.xml, i.e. "BodyTile"
    <definition name="ActionOneWithBodyOne" extends="BodyTile">
        <put name="body1" value="/yourPage1.jsp" />
    </definition>
    <definition name="ActionTwoWithBodyTwo" extends="BodyTile">
        <put name="body1" value="/yourPage1.jsp" />
        <put name="body2" value="/yourPage2.jsp" />
    </definition>Now when you first load the page forward it to "ActionOneWithBodyOne" and it displays you just your body1.
    When ever u click a link on body 1, after performing the action populate the form bean corresponding to yourPage2.jsp and forward the action to "ActionTwoWithBodyTwo".
    Hope that helps!!
    SirG

  • How to have a popup in Jsp Dynpage

    Hi All,
    I am having a JSP dynpage project working fine.
    I now need a popup on click of a button in a iview (JSP).
    I created a complete new JSPDynpage component with Bean etc.
    I use the below code
    window.open('project.componentname') to have a popup.
    and in portal. xml I define the properties ComponentType & JSP.
    the window pops up but with error at all times even for a blank JSP,
    your help would be well apprictiated at this stage of my project situation.
    I need a popup window where that popup is not just a confirm message but a process with several events and DB access.
    Thanks in advice,
    blsaiue

    Hi
    Avaialable controls in JSP Dynpage technologies.
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/55074155bcf26fe10000000a1550b0/frameset.htm
    Regards
    -SS

  • Removing scrollbars on the JSP page of frames created by included JSP files

    Hi All,
             In the iternet sales B2B application which we are developing, has a blank JSP file. Wherein we are adding other JSP files on it, loading trough JS.
    When we are adding it is making the various jsp files in the form of the frames, and each frame has different JSP page. So it is adding scrollbars on each frame if the size of the page exceeds the size of frame.
    we don't want the scrollbars. Kindly suggest to remove these scrollbars, and all the pages should look as a single JSP page.
    Thanks & Regards
    EKta

    Hi
    set scrolling="no" while creating frames
    Murali.K.N

  • Combo box in jsp : implemented by struts tiles

    Hi,
    I have few problems with JSP...
    we have devided the body part in the tiles into two parts
    initially..................
    body1: jsp with combo box
    body2: a blank jsp
    if the user selects an option from the combo box..in onchange function ..iam getting the value of the selected option..and iam doing form.action="action selected by user" ... so that it will go the struts-config then inturn will call the action then by forwarding success..will go to the struts-config file again ..then by have name="seccess".. it will call path="somedefinition"....this definition is defined in the tiles-definition file...
    where again...extending some standard definition by overriding ..
    body1:jsp with combo box
    body2:jsp related to the selected option..in the combo box
    second time.. in body1: again we r calling original jsp na..it will show default select only na??
    so how to get the selected option and how i can give that option as selected when it is loading second time.
    Hope you got my problem...
    Please help me out...
    Waiting for ur kind reply
    Thanks & Regards
    Kranti Kiran Kumar Parisa
    Software Engineer [ e-Biz ]
    [email protected]

    It's not nice to highjack someone elses thread. I posted a reply http://forum.java.sun.com/thread.jsp?forum=45&thread=552915 (though I shouldn't have, shoulda done it here). if you have questions post them to this thread instead. Leave the other one to the OP's question.

  • Linking between two IFRAME tags on the same JSP page

    I have a JSP (lets call it �PAGE_A.jsp�) that contains a table� the <TD> tags hold IFRAME tags with an initial �src� referencing a �blank.jsp��

    <!-- Report View Table-->
    <table width="100%">
    <tr>
    <td>
    <iframe id='report_view' name="report_view" width='60%' height="500" frameborder="0" src='blank.jsp'>
    </td>
    <td align="left">
    <iframe id='drilldown_view' name="drilldown_view" width='40%' height="500" frameborder="0" src='blank.jsp'>
    </td>
    </tr>
    </table>

    At a point, the user initiates a call to a servlet, and the output (PAGE_B.jsp) is returned to the first IFRAME �report_view�.
    PAGE_B.jsp contains HTML anchor tags that call the servlet again, this time the return target is the second IFRAME �drilldown_view� :
    ( Some Text).
    Clicking the link produces the desired page to be generated and displayed in the correct IFRAME running IE 5.5, however, the same code under NETSCAPE 7.x causes the �linked� page to open in a new browser window.
    I have deduced that this effect may be due to the NETSCAPE browser �thinking� that the targeted IFRAME (�drilldown_view�) should be a �child� of the IFRAME that contains the link (�report_view�), instead of another IFRAME belonging to PAGE_A.jsp. Under this circumstance, NETSCAPE cannot find the �target�, and thus redirects to a new browser window.
    Q: Is there a way to specify the �parent� of the �iframe� in the anchor�s �target� attribute?

    target in a link shouldn't care, as long as the IFRAME is in the same window... It should be able to find it.
    Otherwise, you could explore using Javascript to get a reference to the object by specifying the path:
    var oIFrame = top.document.getElementById('drilldown_view');
    oIFrame.src = 'somepage.html';
    that could work.. I've used that type of thing before.

  • Error in running JSP files

    Hi,
    This is the first time I post message on the forum. The problem is that when I run the JSP files with Tomcat 4.0.1. It give the error messages. But I have put the class files under the root, such as ...\WEB-INF\classes, however, it doesn't work. Also I have set the classpath for tomcat. Is there any step I have missed?
    Please give me some solution as the problem has annoyed me for a long time.
    The error message is:
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    An error occurred at line: 1 in the jsp file: /qms1_src/blank.jsp
    Generated servlet error:
    C:\Tomcat 4.0\work\localhost\_\qms1_src\blank$jsp.java:56: Class org.apache.jsp.DBSession not found.
    DBSession sess = null;
    ^
    An error occurred at line: 1 in the jsp file: /qms1_src/blank.jsp
    Generated servlet error:
    C:\Tomcat 4.0\work\localhost\_\qms1_src\blank$jsp.java:59: Class org.apache.jsp.DBSession not found.
    sess= (DBSession)
    ^
    An error occurred at line: 1 in the jsp file: /qms1_src/blank.jsp
    Generated servlet error:
    C:\Tomcat 4.0\work\localhost\_\qms1_src\blank$jsp.java:64: Class org.apache.jsp.DBSession not found.
    sess = (DBSession) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "DBSession");
    ^
    3 errors, 1 warning
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:536)

    Confused yet.
    Here's the deal. Every Java class is in a package. If it is not declared the it is the default package but the default package is based on the directory it is in.
    The DBSession class is in WEB-INF/classes and the jsp gets compiled into a class file that is placed in a different directory. Since the two class files are in different directories they are in different default packages. Thus the import.
    Most people don't run into this because they put their tags into packages and import the packages.
    To make everybody happy, put your tag in a package, recompile it and then import the package.

  • Regarding Sun Java System Application Server Issue with JVM

    Regarding Sun Java System Application Server Issue with JVM
    Hi
    I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
    PWC6199: Generated servlet error:
    [javac] javac: invalid target release: 1.5
    [javac] Usage: javac
    [javac] where possible options include:
    [javac] -g Generate all debugging info
    [javac] -g:none Generate no debugging info
    [javac] -g:{lines,vars,source} Generate only some debugging info
    [javac] -nowarn Generate no warnings
    [javac] -verbose Output messages about what the compiler is doing
    [javac] -deprecation Output source locations where deprecated APIs are used
    [javac] -classpath Specify where to find user class files
    [javac] -sourcepath Specify where to find input source files
    [javac] -bootclasspath Override location of bootstrap class files
    [javac] -extdirs Override location of installed extensions
    [javac] -d Specify where to place generated class files
    [javac] -encoding Specify character encoding used by source files
    [javac] -source Provide source compatibility with specified release
    [javac] -target Generate class files for specific VM version
    [javac] -help Print a synopsis of standard options
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
    I have cheked jvm version on both system the only difference is :
    Solaris points to jdk 1.5.0_09
    Windows point to jdk1.5.0_05
    Even i tried to run blank jsp also but again i got the same error.
    Can any help me to sort out the problem or give me any idea so i can do something by my own.
    Thanks in Advance
    Gagan

    Do you have ANT installed and available?
    Thanks,
    Kedar

  • JSF,Tiles, Sun App Server and NetBeans 5.5

    hi all,
    here is my environment :
    1.Server - Sun Application Server (Running On Suse Linux OS)
    2.IDE - NetBeans 5.5
    3.Project - JSF with Tiles
    here i found topic about tiles and jsf :
    http://forum.java.sun.com/thread.jspa?threadID=643536&messageID=3792238 but i think that Tiles is best alternative for JSF Layout Manager (It's my mind).
    is there anybody help me how to integrate tiles with jsf ?
    here is my example :
    1.web.xml :
        <servlet>
            <servlet-name>Tiles Servlet</servlet-name>
            <servlet-class>org.apache.struts.tiles.TilesServlet</servlet-class>
            <init-param>
                <param-name>definitions-config</param-name>
                <param-value>/WEB-INF/tiles-def.xml</param-value>
            </init-param>
            <load-on-startup>2</load-on-startup>
        </servlet>2. tiles-def.xml :
    <tiles-definitions>
             <!--****************************************************************-->
         <!--                     Global Layout                       -->
         <!--****************************************************************-->
         <definition name="global.layout" path="/pages/Mylayout/layout.jsp">
              <put name="title" value="Magti Billing System" type="string"></put>
                    <put name="subtitle" value="Magti Billing System" type="string"></put>
                    <put name="header" value="/pages/Mylayout/header.jsp"></put>
              <put name="subheader" value="/pages/Mylayout/sub_header.jsp"></put>          
              <put name="footer" value="/pages/Mylayout/footer.jsp"></put>
                    <put name="body" value="/pages/Mylayout/body.jsp"></put>
                    <put name="left_menu" value="/pages/Mylayout/left_menu.jsp"></put>
         </definition>   
    </tiles-definitions>3.and then i have 5 blank jsp pages : body.jps, footer.jsp, header.jsp, layout.jsp, left_menu.jsp, sub_header.jsp.
    4. here is my layout.jsp code :
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:jsp="http://java.sun.com/JSP/Page"
              xmlns:webuijsf="http://www.sun.com/webui/webuijsf"
              xmlns:tiles="http://jakarta.apache.org/struts/tags-tiles"
    >
        <tiles:importAttribute scope="request"></tiles:importAttribute>
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page binding="#{pages$Mylayout$layout.page1}" id="page1">
                <webuijsf:html binding="#{pages$Mylayout$layout.html1}" id="html1">
                    <webuijsf:head binding="#{pages$Mylayout$layout.head1}" id="head1">
                        <webuijsf:link binding="#{pages$Mylayout$layout.link1}" id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body binding="#{pages$Mylayout$layout.body1}" id="body1" style="-rave-layout: grid">
                        <webuijsf:form binding="#{pages$Mylayout$layout.form1}" id="form1">
                            <h:panelGrid columns="2" cellspacing="0" cellpadding="0"
                                         border="0" styleClass="maingrid" columnClasses="maingrid">
                                <f:facet name="header">
                                    <f:subview id="header">
                                        <h:panelGrid columns="1" cellpadding="0" cellspacing="0">
                                            <tiles:insert attribute="header" flush="false" />
                                            <tiles:insert attribute="subheader" flush="false" />
                                        </h:panelGrid>
                                    </f:subview>
                                </f:facet>
                                <f:subview id="left_menu">
                                    <tiles:insert attribute="left_menu" flush="false" />
                                </f:subview>
                                <f:subview id="body">
                                    <tiles:insert attribute="body" flush="false" />
                                </f:subview>
                                <!--
                                <f:facet name="footer">
                                    <f:subview id="footer">
                                        <tiles:insert attribute="footer" flush="false" />
                                    </f:subview>
                                </f:facet>
                                -->
                            </h:panelGrid>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>5. and at last i have index.jsp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:webuijsf="http://www.sun.com/webui/webuijsf"
    xmlns:tiles="http://jakarta.apache.org/struts/tags-tiles"
    >
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page binding="#{pages$main$index.page1}" id="page1">
                <webuijsf:html binding="#{pages$main$index.html1}" id="html1">
                    <webuijsf:head binding="#{pages$main$index.head1}" id="head1">
                        <webuijsf:link binding="#{pages$main$index.link1}" id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body binding="#{pages$main$index.body1}" id="body1" style="-rave-layout: grid">
                        <webuijsf:form binding="#{pages$main$index.form1}" id="form1">
                            <tiles:insert definition="global.layout" flush="false"/>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>but i get an error like this :
    Can't leverage base class
    java.lang.IllegalStateException
            at com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:259)
            at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:219)
            at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:458)
            at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:643)
            at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1070)
            at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:180)
            at org.apache.jsp.pages.Mylayout.layout_jsp._jspx_meth_f_view_0(layout_jsp.java:140)
            at org.apache.jsp.pages.Mylayout.layout_jsp._jspService(layout_jsp.java:99)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:353)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:412)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:318)Any Ideas Is Usefull. Thanks.
    Paata.

    Hi,
    I'm trying to use Tiles with NetBeans 6.0. I used a similar set up as the other writer did, except for the JSP:root part:
    <jsp:root version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:webuijsf="http://www.sun.com/webui/webuijsf"
    xmlns:tiles="http://jakarta.apache.org/struts/tags-tiles">
    It complies and deploys OK, except it renders a blank page. The source code of the page is below. It seems that the "tiles:insertDefinition" was not expanded. Would you share some lights on how you get it to work. By the way I did not use shale-tiles, do I need it?
    Thanks in advance.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xmlns:waistate="http://www.w3.org/2005/07/aaa">
    <head>
    <meta content="no-cache" http-equiv="Pragma" />
    <meta content="no-cache" http-equiv="Cache-Control" />
    <meta content="no-store" http-equiv="Cache-Control" />
    <meta content="max-age=0" http-equiv="Cache-Control" />
    <meta content="1" http-equiv="Expires" />
    <title></title>
    <link rel="stylesheet" type="text/css" href="/apogee-web-1.0-SNAPSHOT/theme/com/sun/webui/jsf/suntheme/css/css_master.css" />
    <script type="text/javascript">
    var djConfig = {
        "isDebug": false,
        "parseWidgets": false,
        "debugAtAllCosts": false
    </script>
    <script type="text/javascript" src="/apogee-web-1.0-SNAPSHOT/theme/META-INF/dojo/dojo.js"></script>
    <script type="text/javascript" src="/apogee-web-1.0-SNAPSHOT/theme/META-INF/json/json.js"></script>
    <script type="text/javascript" src="/apogee-web-1.0-SNAPSHOT/theme/META-INF/prototype/prototype.js"></script>
    <script type="text/javascript" src="/apogee-web-1.0-SNAPSHOT/theme/META-INF/com_sun_faces_ajax.js"></script>
    <script type="text/javascript">
    dojo.hostenv.setModulePrefix("webui.suntheme", "/apogee-web-1.0-SNAPSHOT/theme/com/sun/webui/jsf/suntheme/javascript");
    dojo.require('webui.suntheme.*');
    dojo.require('webui.suntheme.widget.*');
    dojo.require('webui.suntheme.widget.jsfx.*');
    </script>
    <link id="link1" rel="stylesheet" type="text/css" href="/apogee-web-1.0-SNAPSHOT/resources/stylesheet.css" />
    </head>
    <body id="body1" style="-rave-layout: grid" onload="" onunload="">
    <form id="form1" class="form" method="post" action="/apogee-web-1.0-SNAPSHOT/faces/Apogee.jsp" enctype="application/x-www-form-urlencoded">
    <tiles:insertDefinition flush="false" name="global.layout" />
    <input id="form1_hidden" name="form1_hidden" value="form1_hidden" type="hidden" />
    <input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="H4sIAAAAAAAAAKVWTWwbRRR+Xmexm4LSOCgEiZRIFESFsk7bCyIUSFInsfBPZZsU2kM6Xk/sDevdYXbWXreiag+ABBcQIIEUBBIcemhP3HoAqh4QSEUiEhdOFReEBBwQEj8HYGZs79qOZZNkZD2vd957M98333vja7+A6lKYOJfaRDWkmcgqa9niJtbZ/JvfPP/hIeeoqQB4BAAiDoUTul3VHNfSNpCOHQ0RYho6YoZtaXmGGE4jC5UxTVaJeaRAMc7YJfz7xo3Prs+tfH63yFM/A2KsdOfBHsOWw7PwlDXEENX4PLEtbDFHO40oM5BZoKiGqYPMNQPXc7bNxCIQ3Vw3Svxz3HNegkug1Gdl/pl2/jouuoa26WwEGXnCMgaVcHusMyo0OGqVVU1QK9x2RSlDojAq8Shuu6LCg6NShvUiqCa3u1lr0S41QC1y2xWlDo5atmkV1A1uj3muiBJD8Z+iwRM//3GpEpcZpraKnEoaETXy/c1bk+e/DYOyDKOmjUrLSGc2TcIBVqHYqdhmySNPPyNT3FWPikSCAAZHRC6vpQC+My4mbem5XC6RKayvJRNn1nPZbEEsPsbg0TYCIQLhrHEcPKCIHKwt5RILhcQpGeTvUSp50bZNjKzbM/Tyd1t//6pA6CyoNWS62CMhBjP9dpBNn85mxB6Sp/I820SAeIFS1EgZDvOubE+//yX6IAyhJIw4xgUsCyRUHxHSY21teYSwQKACSUweyziIidHVQjq1vriQTy4xOBhfIHYZY342hC96KFg0ZevIxJf+HD+/NffXzwqMJCFa4dTrvLJSENFt12K0wSAmCzguYMfzjBpWeT4FUfHT5ZsRyz7A3WuIGshi8qdH/uWDATBQsCVeHe5mL2kxzIs59sNHn/xx5bXHFYG2xV57i9Iv41aLmL567d3pg+/ceaPdLkKEEF87oT7KUjuUJZ7u2SGSkHg9ISfv7eK3WYWdcu1pYS0Grm+v/fjT9MUVf08MIkXDKvG5YGsc9COdQghKQ7a0VS5gTPOi+bzw9acn3966nVZAScEB3USOk0HVNrmjDvcpyRgGk83jMOx4HnPKTeMCKpp4nkuCL3e4rWZsamuCz4RHeKmIBiiaWvjG1eKDD3/1nmiYFKaae9vpWh+9fO7OF/+8pUi3Cd8t8Pj4ldfzv53dflLCr5+AsYcutmQmBfry8DZJiCfQTfomJswUx7czUvrL6R4zUAXh3apACVQguiprd7ze5vVYO3S246jFU5zIr+NdhEhFDSFE3AAtQo76ZgAhTX/SB3TwNLb3ImheD/uELSgcBpv7tGCf9M0g2MI/OH1CAv9u0+/d/1BMJKCsl9vdgZcEDgEvbuIW+Gd9MwB805+IBn9/nJeh7VLeU+IOa5j8LsSYabrjBNuGPvju27skmrf4/iQhq2kIK+KfRouVp3wzgJWmf8/gd9asuM5nTdSwXfbETJkapZ4GEhsuh6m90yWu5rl90iUpH0KX+IvVokv3zQC6pH9nBe0YfUoF/gMrokC8ywsAAA==" />
    </form>
    <script type="text/javascript">
    webui.suntheme.common.body = new webui.suntheme.body('/Apogee.jsp', '/apogee-web-1.0-SNAPSHOT/faces/Apogee.jsp',null,null,'com_sun_webui_util_FocusManager_focusElementId');</script>
    </body>
    </html>

  • Stand Alone OC4J  and Java's Comm API

    I am using the Java Comm API alongwith a servlet. The code simply gets the required ports and displays it in a JSP page. The program is developed using Jdeveloper 9. It works fine with embedded OC4J but a blank jsp page is displayed when deployed in in standalone OC4j instance on the same machine. I have correctly copied the required wincom32.dll, java.comm.properites and comm.jar to the jre/bin, jre/lib and jre/lib/ext respectively. What could be wrong.
    Thanks
    MMN

    Try setting the OS PATH env variable to the directory where the .DLL is located before you launch the container. Or else put the .DLL in a directory which is in the existing path.
    cheers
    -steve-

  • Query to generate an xml output hierarchically

    Hi I need to write a sql query to generate an xml hierarchically for a tree menu. I have one self-joined table that holds menu hierarchy.
    Following is a sample data in a table.
    MenuID    MenuName       ParentID     href
    1            File
    12           Open              1     Open.jsp     
    11           New               1
    21           Program           11
    61           Program2          11    Program2.jsp
    31           Blank             21    Blank.jsp
    2            View     
    22           Printer          
    28           Printer2          22         
    30           Printer3          28    test.jsp         
    23           Doc                     Doc.jsp
    4            Tools                   Tools.jsp
    5            Win               1     Win.jspFollowing is the sample output want to generate:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <menus>
        <menu name="File" id="1">
            <menu name="Open" id="12" href="Open.jsp"/>
            <menu name="New" id="11">
                <menu name="Program" id="21">
                    <menu name="Blank" id="31" href="Blank.jsp"/>
                </menu>
                <menu name="Program2" id="61" href="Program2.jsp"/>
            </menu>
            <menu name="Win" id="5" href="Win.jsp"/>
        </menu>
        <menu name="View" id="2">
            <menu name="Printer" id="22">
           <menu name="Printer2" id="28">
             <menu name="Printer3" id="30" href="test.jsp">
           </menu>      
         </menu>
        </menu>
        <menu name="Doc" id="3" href="Doc.jsp"/>
        <menu name="Tools" id="4" href="Tools.jsp"/>
    </menus>Thanks

    You can use SYS_CONNECT_BY_PATH to get the complete hierarchical path to an object, and then order by that. Here is an example:
    with menutbl as
    (select 1 as MenuId,'File' as MenuName, null as ParentId, null as href from dual
    union all
    select 12,'Open',1,'Open.jsp' from dual
    union all
    select 11,'New',1,null  from dual
    union all
    select 21,'Program',11,null  from dual
    union all
    select 61,'Program2',11,'Program2.jsp'  from dual
    union all
    select 31,'Blank',21,'Blank.jsp'  from dual
    union all
    select 2,'View',null,null  from dual
    union all
    select 22,'Printer',null,null  from dual
    union all
    select 28,'Printer2',22,null  from dual
    union all
    select 30,'Printer3',28,'test.jsp'  from dual   
    union all
    select 23,'Doc',null,'Doc.jsp'  from dual
    union all
    select 4,'Tools',null,'Tools.jsp'  from dual
    union all
    select 5,'Win',1,'Win.jsp'  from dual)
    select * from (
    select menutbl.*,  SYS_CONNECT_BY_PATH(MenuId, '/') as path from menutbl start with parentid is null connect by
    NOCYCLE PRIOR MenuId = ParentId) order by path;this prints
    1     File               /1
    11     New     1          /1/11
    21     Program     11          /1/11/21
    31     Blank     21     Blank.jsp     /1/11/21/31
    61     Program2     11     Program2.jsp     /1/11/61
    12     Open     1     Open.jsp     /1/12
    5     Win     1     Win.jsp     /1/5
    2     View               /2
    22     Printer               /22
    28     Printer2     22          /22/28
    30     Printer3     28     test.jsp     /22/28/30
    23     Doc          Doc.jsp     /23
    4     Tools          Tools.jsp     /4I guess that you can take over from here and add html elements around the text...
    gojko adzic
    http://gojko.net

  • Java.lang.IllegalStateException: internal assert

    I am using Sun One Application Server 6 and JBuilder X. Everything works fine till building the project. While building the deploy modle, I get this error twice for every jsp page in the project.
    blank.jsp: java.lang.IllegalStateException: internal assert
    I am using jdk 1.3.1.12.
    Please advise.
    Thanks
    Peter

    I guess your jsp is not registered properly and thus u are seeing this error. May be you want to start your kjs in debug mode and see where exactly is it throwing this exception.

  • Could you help me about c:forEach JSTL tag!

    hi everybody!
    Well I'm having a trouble when I use <jsp:forEach> tag to write the elements of object from a ArraylList:
    that is the object I store in the data froom the bank to be shown:
    package teste;
    public class Detalhes {
        private String titulo;
        private String autor;
        private Double preco;
        private int codigo;
        public Detalhes(String titulo, String autor, Double preco, int codigo) {
            this.titulo = titulo;
            this.autor = autor;
            this.preco = preco;
            this.codigo = codigo;
        public String getTitulo(){
            return titulo;
        public String getAutor(){
            return autor;
        public Double getPreco(){
            return preco;
        public int getCodigo(){
            return codigo;
    }and that is the class where I get the data from the database, store it in a object (Detalhes) and get the arrayList (list);
    package teste;
    public class Data {
        Connection con;
        Detalhes detalhes;
        ArrayList list;
        int codigo;
        public Data()throws Exception {       
            try {
                Class.forName("org.gjt.mm.mysql.Driver");
                con = DriverManager.getConnection("jdbc:mysql://127.0.0.1/Loja?user=root&password=131283");            
            } catch (Exception ex) {
                throw new Exception(" Database not found!!" +
                    ex.getMessage());
        public ArrayList getList(){
            try {
                String selectStatement = "select * from produto";
                PreparedStatement prepStmt = con.prepareStatement(selectStatement);
                ResultSet rs = prepStmt.executeQuery();
                while(rs.next()){
                     detalhes = new Detalhes(rs.getString(1), rs.getString(2), rs.getDouble(3), rs.getInt(4));          
                     list.add(detalhes);
                prepStmt.close();
                Collections.sort(list);
            }catch(Exception e){
           return list;
    }    the piece of my jsp page is that:
    <p><b><h1>Resultado:</h1></b></p><br>
    <jsp:useBean id="dataSource" class="teste.Data" scope="page" >
           <jsp:setProperty name="dataSource" property="codigo" value="${param.theCode}"/>          
    </jsp:useBean>
    <c:forEach var="book" begin="0" items="${dataSource.list}">
        <p><b><h1><font color="red">${book.titulo}<h1></b></p>        
    </c:forEach>The result is a blank jsp with no data, have you any advice?
    What's wrong? I'll greatfull!!!!

    First thing to do is to store the result of the list call to a variable so you don't call the getList method all the time:
    <c:set var="bookList" value="${datasource.list}"/>
    <c:forEach var="book" items="${bookList}">
    Check if anything is added to the List, or if the List is null:
    <c:out value=${bookList}"/>
    And assume that you are getting an error in your SQL, which you are catching and ignoring when you do:
            }catch(Exception e){
            }            Instead of doing nothing, report the error some-how. Maybe using System.err or System.out (or better yet a real log). Then look at your Server's standard output log to see what may be happening.
    If all else fails, don't catch the exceptions - throw them so you get an error in your default server logs or on the web page itself.

  • Deploying ajax calls into framework

    Hi, currently running Sun Web Server 7.0 on windows and a flavor of unix
    with success, was able to run apache's SweetDevRia (ajax) "framework"/component set.
    But once I place a session definition in the sun-web.xml at the WEB-INF directory, hell lets loose.
    here is my sun-web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 Servlet 2.3//EN' 'http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_3- 0.dtd'>
    <sun-web-app>
    <class-loader delegate="true" ></class-loader>
    <session-config>
    <session-manager persistence-type="s1ws60">
         <manager-properties>
              <property name="classname" value="com.iplanet.server.http.session.IWSSessionManager"/>
              <property name="session-failover-enabled" value="true"/>
              <property name="timeOut" value="3600"/>
         </manager-properties>
         <store-properties>
              <property name="classname" value="com.iplanet.server.http.session.FileStore"/>
              <property name="directory" value="C:/Temp/SDR-SESS"/>
         </store-properties>
    </session-manager>
    </session-config>
    </sun-web-app>
    here is a taste of the exceptions i am looking at-
    [0000106] [Errors         ] [29/Apr/2008:09:51:00] info ( 3464): for host 127.0.0.1 trying to GET /servlet/servlets.HelloServlet, service-j2ee reports: PWC1412: WebModule[] ServletContext.log():org.apache.catalina.INVOKER.servlets.HelloServlet: Location: /blank.jsp
    [0000107] [Errors         ] [29/Apr/2008:09:51:00] info ( 3464): for host 127.0.0.1 trying to GET /servlet/servlets.HelloServlet, service-j2ee reports: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.webserver.session.IWSHttpSessionManagerAdapter
    [0000108] [Errors         ]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
    [0000109] [Errors         ]      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    [0000110] [Errors         ]      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    [0000111] [Errors         ]      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    [0000112] [Errors         ]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    [0000113] [Errors         ]      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    [0000114] [Errors         ]      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    [0000115] [Errors         ]      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    [0000116] [Errors         ]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    [0000117] [Errors         ]      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    [0000118] [Errors         ]      at java.util.HashMap.readObject(HashMap.java:1067)
    [0000119] [Errors         ]      at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    [0000120] [Errors         ]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [0000121] [Errors         ]      at java.lang.reflect.Method.invoke(Method.java:585)
    [0000122] [Errors         ]      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
    [0000123] [Errors         ]      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
    [0000124] [Errors         ]      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    [0000125] [Errors         ]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    [0000126] [Errors         ]      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    [0000127] [Errors         ]      at java.util.Hashtable.readObject(Hashtable.java:848)
    [0000128] [Errors         ]      at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
    [0000129] [Errors         ]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [0000130] [Errors         ]      at java.lang.reflect.Method.invoke(Method.java:585)
    [0000131] [Errors         ]      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
    [0000132] [Errors         ]      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
    [0000133] [Errors         ]      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    [0000134] [Errors         ]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    [0000135] [Errors         ]      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    [0000136] [Errors         ]      at com.iplanet.server.http.session.IWSHttpSession.readObject(IWSHttpSession.java:787)
    [0000137] [Errors         ]      at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
    [0000138] [Errors         ]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [0000139] [Errors         ]      at java.lang.reflect.Method.invoke(Method.java:585)
    [0000140] [Errors         ]      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
    [0000141] [Errors         ]      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
    [0000142] [Errors         ]      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    [0000143] [Errors         ]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    [0000144] [Errors         ]      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    [0000145] [Errors         ]      at com.iplanet.server.http.session.FileStore.loadFromFile(FileStore.java:371)
    [0000146] [Errors         ]      at com.iplanet.server.http.session.FileStore.load(FileStore.java:142)
    [0000147] [Errors         ]      at com.iplanet.server.http.session.IWSSessionManager.getSession(IWSSessionManager.java:373)
    [0000148] [Errors         ]      at com.sun.webserver.session.IWSHttpSessionManagerAdapter.findSession(IWSHttpSessionManagerAdapter.java:173)
    [0000149] [Errors         ]      at org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:2615)
    [0000150] [Errors         ]      at org.apache.coyote.tomcat5.CoyoteRequest.getSession(CoyoteRequest.java:2421)
    [0000151] [Errors         ]      at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:595)
    [0000152] [Errors         ]      at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:522)
    [0000153] [Errors         ]      at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:166)
    [0000154] [Errors         ]      at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:142)
    [0000155] [Errors         ]      at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:132)
    [0000156] [Errors         ]      at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:81)
    [0000157] [Errors         ]      at org.apache.jsp.blank_jsp._jspService(Unknown Source)
    [0000158] [Errors         ]      at org.apache.
    [0000159] [Errors         ] [29/Apr/2008:09:51:01] info ( 3464): for host 127.0.0.1 trying to GET /servlet/servlets.HelloServlet, service-j2ee reports: java.io.NotSerializableException: com.sun.webserver.session.IWSHttpSessionManagerAdapter
    [0000160] [Errors         ]      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
    [0000161] [Errors         ]      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
    [0000162] [Errors         ]      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
    [0000163] [Errors         ]
    any ideas?
    Thanks, payam.

    Apparently something -- perhaps SweetDEV RIA itself -- is storing non-serializable data in sessions. You've configured Web Server to use the Web Server 6.0 FileStore. Because FileStore serializes sessions to files, it doesn't work with sessions that contain non-serializable data. You'll either need to stop storing non-serializable data in sessions or use a different session store.

Maybe you are looking for