Segment in jsp

hi all,
i need segment management stuff. Did any one used segment in jsp in u r coding, if so send me the stuff. in my module i want to restrict the user to authorise 20/30 times only.
for better understand....
my module flow goes like the following
FROM THE 1ST PAGE USER GOES TO 2nd PAGE AND FROM THERE HE CAN GO TO 3rd PAGE(ONLY VIEW)
BACK TO 2nd PAGE HERE THE USER AUTHORISE AND GO TO 1st PAGE.(now he authorised 1. i want to restrict this count)
thanx in advance

I have tried both:
logincontrol.jspf (1)
<f:subview id="sv">
    <h:form id="loginform">
        <h:panelGrid columns="2">
            <h:outputLabel value="User:"/><h:inputText id="username_email"/>
            <h:outputLabel value="Pass:"/><h:inputText id="password"/>
        </h:panelGrid>
    </h:form>
</f:subview>
logincontrol.jspf (2)
<f:view>
    <h:form id="loginform">
        <h:panelGrid columns="2">
            <h:outputLabel value="User:"/><h:inputText id="username_email"/>
            <h:outputLabel value="Pass:"/><h:inputText id="password"/>
        </h:panelGrid>
    </h:form>
</f:view>but nothing changes... i added this line, in the .jsp file:
<%@ include file="WEB-INF/jspf/logincontrol.jspf" %>   by the way, is it good to write a .jspf file for login process and include it to the pages?

Similar Messages

  • Problem with jsp in sub-directories

    hello
    I have uploaded my site on one the server in public_html.
    And in public_html. there are 2 directories admin and segments.
    segments directory contains setup.jsp file.
    admin directory contains test.jsp file that includes file setup.jsp which is in segments.
    but when i try to access test.jsp from browser , it gives me following err
    org.apache.jasper.JasperException: /test.jsp(1,1) File "/segments/setup.jsp" not found
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
         org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:340)
         org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:373)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:485)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
         org.apache.jasper.compiler.Parser.parse(Parser.java:127)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803) plz suggest me soln for this
    i am stuck on this probs from last 4 days....
    Regards
    Sagar
    Edited by: sagar_birari on 10 Jul, 2008 12:08 PM

    inlcude ur jsp like "../segments/setup.jsp" if u are givin the relative url..
    shanuthis is not working.... :(

  • Issue in Performance testing in CQ5.4 for segment

    Hi All,
       We are facing segment related issue in PT, so created discussion around. Let us know if you are faced this earlier and how you have resolved?
    Thanks
    Yogesh,
    Logs are as below:
    ERROR GET /etc/segmentation.segment.js HTTP/1.1] libs.cq.personalization.components.segmentpage.segment$js$jsp error while building a segment /etc/segmentation/intranet/California/jcr:content/traits org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script ../trait.js.jsp
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultS lingScript.java:385)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultS lingScript.java:170)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(Defau ltSlingScript.java:456)
    at org.apache.sling.engine.impl.request.RequestData.service(RequestData. java:491)
    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render( SlingComponentFilterChain.java:45)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilterChain.java:64)
    at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCM DebugFilter.java:182)
    at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java: 149)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilterChain.java:60)
    at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilt er.java:219)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilterChain.java:60)
    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processCompone nt(SlingRequestProcessorImpl.java:280)
    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchReques t(SlingRequestProcessorImpl.java:320)
    at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch( SlingRequestDispatcher.java:208)
    at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(S lingRequestDispatcher.java:102)
    at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher. include(WCMComponentFilter.java:381)
    at org.apache.jsp.libs.cq.personalization.components.segmentpage.segment _js_jsp._jspService(segment_js_jsp.java:188)
    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(Htt pJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.servi ce(JspServletWrapper.java:419)
    at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspSe rvletWrapperAdapter.java:59)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScri ptEngineFactory.java:173)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspS criptEngineFactory.java:84)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine .eval(JspScriptEngineFactory.java:388)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultS lingScript.java:358)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultS lingScript.java:170)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(Defau ltSlingScript.java:456)
    at org.apache.sling.engine.impl.request.RequestData.service(RequestData. java:491)
    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render( SlingComponentFilterChain.java:45)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter (AbstractSlingFilterChain.java:64)
    8293,2-9 89%
    Caused by: java.lang.NullPointerException
    at com.day.cq.wcm.api.WCMMode.toRequest(WCMMode.java:71)
    at org.apache.jsp.libs.cq.personalization.components.traits.logic.trait_ js_jsp._jspService(trait_js_jsp.java:204)
    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(Htt pJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.servi ce(JspServletWrapper.java:419)

    Mentioned above issue is resolved by applying latest jar of org.apache.sling.scripting.jsp.taglib. Jar version which I used is 2.1.6.
    Regards,
    Yogesh Mulajkar

  • Facing org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException

    Hi,
    I am facing below issue in Performance testing does anyone guide why this error is coming. Individually these pages are running fine. Attached logs for your reference.
    Thank ,
    Yogesh
    17.01.2013 05:10:57.232 *ERROR* [135.215.244.155 [1358421056013] GET /content/Intranet/microsite/innovation/right.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException org.apache.sling.api.SlingException:
            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:560)
            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:496)
            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:448)
            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)
            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :173)
            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:84)
            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:388)
            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)
            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)
            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)
            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)
            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:146)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )
            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:280)
            at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
            at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:185)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)
           at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.jav a:76)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:171)
            at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:199)
            at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)
            at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
            at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)
            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)
            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)
            at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:249)
            at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
            at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
            at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)
            at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)
            at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)
            at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
            at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:277)
            at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:148)
            at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:228)
            at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)
            at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)
            at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilte r.java:96)
            at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)
            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)
            at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)
            at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)
            at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134 )
    Caused by: org.apache.sling.api.SlingException:
            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:560)
            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:496)
            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:448)
            at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)
            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :173)
            at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:84)
            at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:388)
            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)
            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)
            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)
            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)
            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:182 )
            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)
            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:280)
            at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:320)
            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:208)
            at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:102)
            at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)
            at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.j ava:106)
            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419)
            ... 66 more
    Caused by: java.lang.NullPointerException
            at com.day.cq.wcm.foundation.ELEvaluator.evaluate(ELEvaluator.java:53)
            at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:126)
            at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419)
            ... 90 more

    Also we are facing one more issue in PT testing and that is related to segment.So not sure what is issue. We have tested all sgement defined by us its working fine individually. But same fails in PT.
    Thanks,
    Yogesh
    This is log we get in PT
    ERROR GET /etc/segmentation.segment.js HTTP/1.1] libs.cq.personalization.components.segmentpage.segment$js$jsp error while building a segment /etc/segmentation/intranet/California/jcr:content/traits org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script ../trait.js.jsp
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:385)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)
    at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)
    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
    at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:182 )
    at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:280)
    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:320)
    at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:208)
    at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:102)
    at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)
    at org.apache.jsp.libs.cq.personalization.components.segmentpage.segment_js_jsp._jspService( segment_js_jsp.java:188)
    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419)
    at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :173)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:84)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:388)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)
    at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)
    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
    8293,2-9 89%
    Caused by: java.lang.NullPointerException
    at com.day.cq.wcm.api.WCMMode.toRequest(WCMMode.java:71)
    at org.apache.jsp.libs.cq.personalization.components.traits.logic.trait_js_jsp._jspService(t rait_js_jsp.java:204)
    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419)

  • Inclusion path

    Hi all, it is a path issue, I have the following folder path in my web app:
    web_folder
    |---menuLinks
    |   |---aboutus.jsp
    |
    |---segments
    |   |---banner.jsp
    |
    |---quickLinks
        |---.....then I want to include the banner.html file from my aboutus.jsp page.
    I try to use +<jsp:include />+ action, it worked fine with both followin forms:
    <jsp:include page="/segments/banner.jsp" />and
    <jsp:include page="/segments/banner.jsp" />-----
    but with +<%@ include %>+ directive I trymany paths for the included file like :
    <%@ include file="../segments/banner.jsp" %>the page runs successfully but does not include any content.
    <%@ include file="/segments/banner.jsp" %>also runs successfully but does not include any content.
    <%@ include file="segments/banner.jsp" %>the page throws exception "page not found *menuLinks/segments/banner.jsp*.
    ANY HELP PLEASE?????
    Thanks for Concern.
    Ahmad Elsafty

    Include directive includes static content at compile time and jsp:include includes static or dynamic content at run time.
    But anyway, why don't you just use jsp:include? It gives more benefits above using the include directive.

  • Using JSF in jsp segment page..

    Hello
    Is it possible to use JSF components in a JSP segment page(.jspf) ? I couldn't achive that..Let me explain:
    I created a .jspf file and inserted these lines into it:
    <f:view>
        <h:form id="loginform">
            <h:panelGrid columns="2">
                <h:outputLabel value="User:"/><h:inputText id="username_email"/>
                <h:outputLabel value="Password:"/><h:inputText id="password"/>
            </h:panelGrid>
        </h:form>
    </f:view>after that i included this .jspf file to a jsp file. When I run the application,I get this error:
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    javax.servlet.ServletException: Cannot find FacesContext
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:181)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    javax.servlet.jsp.JspException: Cannot find FacesContext
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)
         com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
         org.apache.jsp.index_jsp._jspx_meth_f_view_0(index_jsp.java:196)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:113)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

    I have tried both:
    logincontrol.jspf (1)
    <f:subview id="sv">
        <h:form id="loginform">
            <h:panelGrid columns="2">
                <h:outputLabel value="User:"/><h:inputText id="username_email"/>
                <h:outputLabel value="Pass:"/><h:inputText id="password"/>
            </h:panelGrid>
        </h:form>
    </f:subview>
    logincontrol.jspf (2)
    <f:view>
        <h:form id="loginform">
            <h:panelGrid columns="2">
                <h:outputLabel value="User:"/><h:inputText id="username_email"/>
                <h:outputLabel value="Pass:"/><h:inputText id="password"/>
            </h:panelGrid>
        </h:form>
    </f:view>but nothing changes... i added this line, in the .jsp file:
    <%@ include file="WEB-INF/jspf/logincontrol.jspf" %>   by the way, is it good to write a .jspf file for login process and include it to the pages?

  • JSP Fragments (JSP 1.x) or JSP Segments (JSP 2.0)

    I currently build a web project from a WAR file which includes JSP fragments (&lt;root-context&gt;/includes/*.jsp). When I compile the project JDeveloper 9.0.3.1035 will try and compile the fragments which will fail.
    Sun recommends an alternate extension of '.JSPF'. When I rename the JSP fragments using this extension, JDeveloper will correctly exclude them from compilation. However no code insight, code highlighting, tag completion etc that JDeveloper does so well is available. Is there a way around this issue ?

    The following solution solves most of this issue;
    From the menu select tools/preferences,
    Select File Types,
    Select JSP Source,
    Click Add button and enter the .jspf extension.
    Restarting JDeveloper allocates the correct association with new .jspf files inserted to the project but those inserted prior to adding the .jspf extension have an incorrect association. Even selecting 'remove from project' then 'add to project' will not set up the correct association.
    Can these files be correctly associated via some other means ?

  • How to call PL/SQL function from JSP ?

    We have the JSP application developed using the JDeveloper 3.0. I am trying to call the PL/SQL DB function. I'm trying to use the method of ApplicationModule:
    .getTransaction().executeCommand(sCommand)
    The problem is that I can not get the function result back to JSP. The executeCommand() does not seem to accept any host variables.
    What to do ? Did anyone manage to get the feedback from DB ?
    Here is the code in the JSP page:
    <%! String res=" ";%>
    <jsp:useBean id="rsn"
    class="oracle.jbo.html.databeans.TRSRowSetNavigator"
    scope="request" >
    <%
    rsn.initialize(application,session, request,response,
    out,"theIMO_trs_bc4J_Bc4JModule.AuctionsListView");
    rsn.setReleaseApplicationResources(true);
    // this is the ID to be copied
    String copy_id = request.getParameter(TRS.LOOK_UP_PK_FIELD);
    if( copy_id != null) {
    // call the PL/SQL procedure to create copy of this auction
    String sCommand = "DECLARE a NUMBER; BEGIN :res:=Copy_Auction("
    copy_id"); END;";
    rsn.getRowSet().getApplicationModule().getTransaction().executeCommand(sCommand);
    rsn.getRowSet().getApplicationModule().getTransaction().commit();
    I receive the following error:
    Error Message: JBO-27121: SQL error during statement execution. Statement: DECLARE a NUMBER; BEGIN :res:=Copy_Auction(45); END;
    JBO Error:JBO-27121: SQL error during statement execution. Statement: DECLARE a NUMBER; BEGIN :res:=Copy_Auction(45); END;: ORA-01008: not all variables bound
    What criteria has the host variable meet to be used in the executeCommand(sCommand) method ?
    Thanks,
    Michael
    null

    I could be wrong there, but I have experienced similar problem on tru64 unix, with sticky bit not in place for the following files: $ORACLE_HOME/bin/oracle and $ORACLE_HOME/bin/oracleO. Once you restore those files via tar command (this is what happened to me), the sticky bit disappears, and you have to re-introduce it by issuing unix command: chmod 1777 on those files.
    What it does for you - it allows you to execute the sql statements as an oracle user & group!
    Otherwise, if this bit is lost, whenever you try to connect to sqlplus via user / password it hits you back with:
    ORA-01034 ORACLE not available
    ORA-27121 unable to determine size of shared memory segment
    Compaq Tru64 UNIX Error: 13:Permission denied
    This should not be a problem if you try and execute the same sql statements using listener (connecting to the server by using @ statement).
    I could be late in response to you, but maybe not for other people.

  • How to insert a bean variable into MySql using jsp

    Hi, I have a problem that I have been trying to work out for ages..unsuccessfully.
    My web-site takes 2 inputs off a user...does a calculation on them and returns the result to the user.
    I want to then use another jsp page that will take this result and insert it into a database...
    My class code for this is :
    public void updateRepmax(String userName, String repmax) throws SQLException, Exception{
         if(con != null){
         try{
         PreparedStatement update;
         update = con.prepareStatement("UPDATE repmax SET Benchpress = ?, WHERE Member_Name = ?");
         update.setString(1, repmax);
         update.setString(2, userName);
         update.execute();
         } catch(SQLException sqle){
         error = "SQLException: could not update repmax";
         throw new SQLException(error);
         catch(Exception e){
         error = "An exception occured while updating repmax";
         throw new Exception(error);
         } else {
         error = "Exception: connection to database was lost";
         throw new Exception(error);
    My JSP is :
    <%@page import="java.sql.*, placement.*"%>
    <jsp:useBean id="conn" class="placement.DBConnect" />
    <jsp:useBean id="query" class="placement.DBQuery" />
    <jsp:useBean id="bpcalc" class="placement.repmaxBean" />
    <jsp:useBean id="userin" class="placement.User" />
    <html>
    <head><title>Update Repmax</title></head>
    <body>
    <%
    conn.connect();
         String repmax = bpcalc.getRepmax();
         String userName = userin.getUserName();
    query.setCon(conn.getCon());
         query.updateRepmax();
    conn.disconnect();
    %>
         </body>
         </html>
    The variable I am tryin to insert is repmax ,in the class that does the calculation the repmax is a double so I assume that is my first problem(how can this be changed to allow it to insert?)....any help you have to offer would be greatly appreciated... 

    Thanks for your reply sathishkb,
    I am not actually receiving any error message,
    The jsp page is processed and the code seems to be correct however the table in my mysql database is not updated.. my JDBC drivers are working correctly etc.
    I expect that the problem is in my JSP page but dont know what it is
    I have removed that comma in my update statement
    I no longer have the problem of the variable being of type touble as I altered my other code to convert the variable from double to string
    jsp is now:
    <%@page contentType="text/html"%>
    <%@page import="java.sql.*, placement.*"%>
    <jsp:useBean id="conn" class="placement.DBConnect" />
    <jsp:useBean id="update" class="placement.DBQuery" />
    <jsp:useBean id="bpcalc" class="placement.repmaxBean" />
    <jsp:useBean id="currentuser" class="placement.currentuserBean" />
    <html>
    <head><title>Insert Into Repmax</title></head>
    <body>
    <%
    String repmax = bpcalc.repmax;
    String userName =currentuser.name;
    conn.connect();
         update.setCon(conn.getCon());
         update.updateRepmax(repmax,Username);
    conn.disconnect();
    %>
         </body>
         </html>
    the segment of my bean code is :
    public void updateRepmax(String repmax,String userName) throws SQLException, Exception{
         if(con != null){
         try{
         PreparedStatement update;
         update = con.prepareStatement("UPDATE repmax set Benchpress = ? WHERE Member_Name= ?");
         update.setString(1,repmax);
         update.setString(2,userName);
         update.execute();
         } catch(SQLException sqle){
         error = "SQLException: could not update employer";
         throw new SQLException(error);
         catch(Exception e){
         error = "An exception occured while updating employer";
         throw new Exception(error);
         } else {
         error = "Exception: connection to database was lost";
         throw new Exception(error);
    }

  • Sigsegv - using a JSP/BC4J deployed application

    OC4J: developer's preview & JDev9iRC packaged version
    Info: accessing a .../xyz.jsp doesn't return,
    generates a SIGSEGV(11).
    Question urgent!!!!
    I'VE SEEN A (RECENT) POST ON THIS BOARD SPECIFICALLY DEALING WITH SIGSEGV ERROR. THE ELEPHANTWALKER MENTIONED THIS IS EITHER HARDWARE OR JVM/OS RELATED.
    WHERE DO I START LOOKING FOR A SOLUTION?
    ( - increasing stack/heap sizes
    , - move to different JVM (JDK1.3.0 ?)
    , - any known issues on AIX4.3.3 and JDK1.2.2?
    Previously I had no problems deploying and using (simple) JSPs and/or servlets in these environments. The problems seems to be related to JSP(UIX)/BC4J.
    Output to console:
    ==================
    SIGSEGV 11 (*) segmentation violation
    si_signo [11]: SIGSEGV: (*) segmentation violation
    si_errno [0]: Error 0
    si_code [50]: Error 0 [addr: 0xB997221F]
    stackpointer=311e0618
    Writing java dump to javacore62868.1014217828.txt... OK
    SIGABRT 6 (*) abort process
    stackpointer=311e0038
    Information in javacore62868.1014217828.txt:
    ============================================
    SIGSEGV received at 0 in . Processing terminated.
    Current Thread Details
    "ApplicationServerThread" (TID:0x800328f0, sys_thread_t:0x30ee16d0, state:R, native ID:0xa14) prio=5: pending=java.lang.ClassNot
    FoundException
    at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compiled Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at oracle.jsp.app.JspClassLoader.loadClass(JspClassLoader.java(Compiled Code))
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
    at oracle.jsp.runtimev2.JspPageInfo.getInstFacade(JspPageInfo.java:162)
    at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:369)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:357)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:145)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:356)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:306)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:108)
    at com.evermind.server.http.GetParametersRequestDispatcher.include(GetParametersRequestDispatcher.java:92)
    at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:284)
    at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:75)
    at UixBrowseEdit1.jspService(UixBrowseEdit1.jsp:50)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:384)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:145)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:356)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:306)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java(Compiled Code))
    ----- Native Stack -----
    unavailable - iar 0 not in text area
    J2RE 1.2.2 IBM build ca122-19991217

    Jan -- The developer's preview requires the 1.3.1 JVM. Please see the installation instructions at
    http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-oow-install.html
    I'm not sure if the developer's preview was tested on AIX or not. It was tested on Solaris and NT. Also, I run it on Linux
    with a 1.3.1 JVM without any significant problems.
    Please try the 1.3.1 JVM and see if that solves your issues.
    Thanks -- Jeff

  • File permission issue when indexing from JSP

    HI
    I have a class that I intend to use both in batch file and in JSP that will build a search index (Lucene) somwhere in the file system outside the web root. The class works great when called from the batch script but when I try to use it in the JSP page i get this error:
    [#|2004-04-23T09:56:41.155-0400|INFO|sun-appserver-pe8.0|javax.enterprise.system.stream.out|_ThreadID=13;|
    caught a class java.security.AccessControlException
    with message: access denied (java.io.FilePermission C:\AMIR\nemours_internet\common\search_index\html\segments delete)|#]
    Can someone tell me if this is a setting in PE8 server or do I have to do something within my class code?
    Thanks
    Following is my class (BuildPageIndex.java) and the snippet of the JSP file where I call it...
    <<<< package and imports ommited >>>>
    public class BuildPageIndex {
         private StringBuffer sbOut;
         public BuildPageIndex(){
         public BuildPageIndex(String pathToCMTXML){
         CMTController.loadCMTXML(pathToCMTXML);     
         public void buildIndex(){
              try {
              sbOut = new StringBuffer();
         // get all the page objects from the database
         ArrayList pageList = CMTPersister.getInstance().getAllPages();
         if (pageList.size() == 0)
              sbOut.append("<Lucene> No HTML pages in the database...Exiting...\n");
              return;     
         // obtain index location from XML config file
         HashMap searchMap = CMTController.getInstance().getSearchConfig();
         String strIndexLoc = (String)searchMap.get("LOCATION");
         sbOut.append("\n\n\n");
         // if backup management fails abort index creation
         if (!(manageBackup(strIndexLoc)))
                        return;
         // create index and start timing
         sbOut.append("<Lucene> Creating index for HTML pages in: "+ strIndexLoc + "\n");
         Date start = new Date();
         IndexWriter ixdBuilder = new IndexWriter(strIndexLoc, new StandardAnalyzer(), true);
         //for all pages ...
         for (int i=0;i<pageList.size();i++)
                        //get a page
                        Page thisPage = (Page)pageList.get(i);
                        // create lucene document from a page
                        sbOut.append("<Lucene> Page [" + thisPage.getURL().trim() +"] added \n");
                        Document pg_doc = PageDocument.Document(thisPage);
                        // add page document to the index...
                        ixdBuilder.addDocument(pg_doc);     
         // optimize and close index
                   ixdBuilder.optimize();
                   ixdBuilder.close();
         // calculate the time it took to build index
         Date end = new Date();
         long msecs = end.getTime() - start.getTime();
         sbOut.append("<Lucene> HTML Index created in: " + msecs + " milliseconds ("+ (float)msecs/1000.00 + " seconds) on "+pageList.size()+" pages\n\n");
         } catch (Exception e) {
                   System.out.println(" caught a " + e.getClass() + "\n with message: " + e.getMessage());
         public String getOutput(){
              return this.sbOut.toString();
         private boolean manageBackup(String loc){
    boolean retVal = true;
              //rename the location to _BACKUP so we have it
    File currIdx = new File(loc);
    File backIdx = new File(loc+"_BACKUP");
    if (currIdx.exists()){
         sbOut.append("<Lucene> Index directory allready exists!\n<Lucene> Backing it up to ["+backIdx.getPath()+"]...\n");
         if (backIdx.exists()){
              sbOut.append("<Lucene> Backup directory also exists! Will delete it first...\n");
              if (!(Utils.deleteDirRecursive(backIdx))){
                   sbOut.append("<Lucene> Failed deleting backup directory! Aborting...\n");
                   retVal = false;
         if (!(currIdx.renameTo(backIdx)))
              sbOut.append("<Lucene> Problem backing up existing index! Aborting...\n");
              retVal = false;
    return retVal;
         * Class has a main so it can be run from the batch file
         * or a command line
         * @param args
         public static void main(String[] args) {
              if (args.length == 0) {
                   System.err.println("Usage: BuildPageIndex <path_to_cmt.xml_file>");
                   System.exit(0);
              BuildPageIndex bpi = new BuildPageIndex(args[0]);
              bpi.buildIndex();
              System.out.println(bpi.getOutput());
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    JSP snippet
    +++++++++++++++++++++++++++++++++++++++++++++
    <%
         BuildPageIndex bpi = new BuildPageIndex();
         bpi.buildIndex();
         String results = bpi.getOutput();
    %>
         <%=results%>

    Hi Zambak,
    It looks like you might need to give your JSP permission to delete the file that it is complaining about. One way to do this would be to add a FilePermission to the server's security policy file (located at <PE install dir>/domains/domain1/config/server.policy. Adding the following would grant file delete permissions to all files for all codebases...
    grant{
    permission java.io.FilePermission "<<ALL FILES>>", "delete";
    After modifying the policy file, you will need to restart the domain by executing the following...
    <PE install dir>/bin/asadmin stop-domain
    <PE install dir>/bin/asadmin start-domain
    It is also possible to further restrict permissions to certain codebases or further open the set of file permissions (adding write, read, delete for example). For more information on how to do this, please refer to the J2SE security documentation loacted at http://java.sun.com/j2se/1.4.2/docs/guide/security/permissions.html .

  • Error for running jsp in Weblogic 5.1

    I am using weblogic 5.1 on Solaris 8 (intel) for testing
    I try to test the jsp page through the browser
    The following error message prompt and the server shutdown
    The java.library.path is
    /usr/java/bin/../jre/bin/../lib/i386:/opt/weblogic/lib/solaris/oci815_8:/opt/weblogic/lib/solaris:/usr/lib
    and i am using JSK 1.2.2_07a
    Please help!
    Fannie
    SIGSEGV 11 segmentation violation
    si_signo [11]: SEGV
    si_errno [0]:
    si_code [1]: SEGV_MAPERR [addr: 0x2]
    stackpointer=D639E440
    "SSLListenThread" (TID:0x91a7d28, sys_thread_t:0x91a7c70, state:R, thread_t:
    t@30, threadID:0xd5f50d74, stack_bottom:0xd5f51000, stack_size:0x20000)
    prio=5
    [1] java.net.PlainSocketImpl.socketAccept(Native Method)
    [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
    [3] java.net.ServerSocket.implAccept(ServerSocket.java:241)
    [4] java.net.ServerSocket.accept(ServerSocket.java:223)
    [5]y.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java:121)
    [6] weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
    [7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)
    "ListenThread" (TID:0x9171528, sys_thread_t:0x9171470, state:R, thread_t:
    t@29, threadID:0xd5f80d74, stack_bottom:0xd5f81000, stack_size:0x20000)
    prio=5
    [1] java.net.PlainSocketImpl.socketAccept(Native Method)
    [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
    [3] java.net.ServerSocket.implAccept(ServerSocket.java:241)
    [4] java.net.ServerSocket.accept(ServerSocket.java:223)
    [5] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)
    "ExecuteThread-14" (TID:0x867b8e8, sys_thread_t:0x867b830, state:CW,
    thread_t: t@24, threadID:0xd6320d74, stack_bottom:0xd6321000,
    stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-13" (TID:0x86810e8, sys_thread_t:0x8681030, state:CW,
    thread_t: t@23, threadID:0xd6370d74, stack_bottom:0xd6371000,
    stack_size:0x20000) prio=5
    [1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
    [2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:177)
    [3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    [4] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-12" (TID:0x872cd20, sys_thread_t:0x872cc68, state:R,
    thread_t: t@22, threadID:0xd63a0d74, stack_bottom:0xd63a1000,
    stack_size:0x20000) prio=5 current thread
    [1] weblogic.servlet.jsp.JspLexer.mPAGE_DIRECTIVE(JspLexer.java:3344)
    [2] weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3174)
    [3] weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1636)
    [4] weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1477)
    [5] weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1356)
    [6] weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:786)
    [7] weblogic.servlet.jsp.JspParser.doit(JspParser.java:57)
    [8] weblogic.servlet.jsp.JspParser.parse(JspParser.java:109)
    [9] weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
    [10] weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:235)
    [11] weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:198)
    [12] weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
    [13]weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
    [14]weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
    [15]weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :123)
    [16]weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
    [17]weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
    [18]
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
    [19]weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
    [20] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
    [21] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-11" (TID:0x86c80e8, sys_thread_t:0x86c8030, state:CW,
    thread_t: t@21, threadID:0xd63f0d74, stack_bottom:0xd63f1000,
    stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-10" (TID:0x8745218, sys_thread_t:0x8745160, state:CW,
    thread_t: t@20, threadID:0xd6fb0d74, stack_bottom:0xd6fb1000,
    stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-9" (TID:0x867bce8, sys_thread_t:0x867bc30, state:CW,
    thread_t: t@19, threadID:0xd6ff0d74, stack_bottom:0xd6ff1000,stack_size:0x20000) prio=5
    [1] java.lang.Object.wait Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-8" (TID:0x8742098, sys_thread_t:0x8741fe0, state:CW,
    thread_t: t@18, threadID:0xd7920d74, stack_bottom:0xd7921000, stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-7" (TID:0x8740ed8, sys_thread_t:0x8740e20, state:CW,
    thread_t: t@17, threadID:0xd7970d74, stack_bottom:0xd7971000,
    stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-6" (TID:0x86f40e8, sys_thread_t:0x86f4030, state:CW,
    thread_t: t@16, threadID:0xd79a0d74, stack_bottom:0xd79a1000, stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-5" (TID:0x873dd58, sys_thread_t:0x873dca0, state:CW,
    thread_t: t@15, threadID:0xd79e0d74, stack_bottom:0xd79e1000, stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-4" (TID:0x86ff4e8, sys_thread_t:0x86ff430, state:CW,
    thread_t: t@14, threadID:0xd86b0d74, stack_bottom:0xd86b1000,stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-3" (TID:0x86ffce8, sys_thread_t:0x86ffc30, state:CW,
    thread_t: t@13, threadID:0xd8700d74, stack_bottom:0xd8701000,stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-2" (TID:0x87134e8, sys_thread_t:0x8713430, state:CW,
    thread_t: t@12, threadID:0xd8730d74, stack_bottom:0xd8731000,stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-1" (TID:0x8739c70, sys_thread_t:0x8739bb8, state:CW,
    thread_t: t@11, threadID:0xd8760d74, stack_bottom:0xd8761000,
    stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "ExecuteThread-0" (TID:0x8739a68, sys_thread_t:0x87399b0, state:CW,
    thread_t: t@10, threadID:0xd8790d74, stack_bottom:0xd8791000,stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
    [3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
    "TimeEventGenerator" (TID:0x869a220, sys_thread_t:0x869a168, state:CW,
    thread_t: t@9, threadID:0xd87c0d74, stack_bottom:0xd87c1000,
    stack_size:0x20000) prio=5
    [1] weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:249)
    [2] weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:131)
    [3] java.lang.Thread.run(Thread.java:479)
    "SpinnerRandomSource" (TID:0x86e8218, sys_thread_t:0x86e8160, state:CW,
    thread_t: t@8, threadID:0xd87f0d74, stack_bottom:0xd87f1000,stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java:102)
    [3] weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java:116)
    Exiting Thread (sys_thread_t:0xdfb7c29c) : no stack
    "Finalizer" (TID:0x81e3940, sys_thread_t:0x81e3888, state:CW, thread_t: t@6,
    threadID:0xdf4e0d74, stack_bottom:0xdf4e1000, stack_size:0x20000) prio=8
    [1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
    [2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
    [3]
    java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
    "Reference Handler" (TID:0x81da690, sys_thread_t:0x81da5d8, state:CW,
    thread_t: t@5, threadID:0xdf510d74, stack_bottom:0xdf511000,stack_size:0x20000) prio=10
    [1] java.lang.Object.wait(Object.java:424)
    [2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
    "Signal dispatcher" (TID:0x81a0ea8, sys_thread_t:0x81a0df0, state:MW,
    thread_t: t@4, threadID:0xdf670d74, stack_bottom:0xdf671000,stack_size:0x20000) prio=10
    "main" (TID:0x8061728, sys_thread_t:0x8061670, state:CW, thread_t: t@1,
    threadID:0x804c178, stack_bottom:0x8048000, stack_size:0x848000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:1784)
    [3] java.lang.reflect.Method.invoke(Native Method)
    [4] weblogic.Server.startServerDynamically(Server.java:148)
    [5] weblogic.Server.main(Server.java:66)
    [6] weblogic.Server.main(Server.java:58)

    how is the weblogic.properties configured?
    how do you run the BWLS ? memory (M)?
    is the documentroot and the WEBLOGIC JSP PROPERTIES right ?

  • Problem in making pz tag working in a jsp

    hai
    Iam working with the rules and wanna access a rule in a jsp through the pz div tag....
    I created the segment in the ebcc tool and than assosiated the user id as visitor7 and the id
    as classifications rule as ShivaSegment The rule seems to execute but i dont see the condition getting executed for any user. Every time the rule fires and the line User doesnot belong to the group gets printed
    I dont get the output for out.println (classification.getName()); this line any sugeestion to the problem do mail me back.
    below is the piece of code which i have put in my jsp
    <um:getProfile profileKey="visitor1"profileId="myProfile" scope="session"/>
    <pz:div id="classifications" rule="PremierCustomer">
         <% //if the user is classified as a Premier Customer,
              a list with one entry should be returned//
         java.util.Iterator iterator=classifications.iterator();
         while (iterator.hasNext()){
         com.bea.p13n.user. Classification classification=(Classification)
         iterator.next();
         out.println (classification.getName());
         %>
    <p>Please check out our new Premier Customer bonus program.<p>
    </pz:div>
    <P>User does not belong to the catogery </P>

    use:
    btn_Heads.addEventListener(MouseEvent.CLICK, runHeads);
    btn_Tails.addEventListener(MouseEvent.CLICK, runTails);
    btn_Clear.addEventListener(MouseEvent.CLICK, clearData);
    var coinArray:Array = new Array();
    var headsTotal:int=0;
    var tailsTotal:int=0;
    var counter:int=0;
    //Code for the counter on the heads button. //
    //Adds 1 onto the counter each time it is clicked//
    function runHeads (evt) {
        coinArray[counter]
            headsTotal=headsTotal+1;
                counter++;
    checkCounterF();
                    txt_Heads.text=String(headsTotal);
                    txt_Total.text=String(counter);
    function runTails (evt){
        coinArray[counter]
            tailsTotal=tailsTotal+1;
                counter++;
    checkCounterF();
                    txt_Tails.text=String(tailsTotal);
                    txt_Total.text=String(counter);               
    function checkCounterF(){
    if(counter>=15){
    btn_Heads.removeEventListener(MouseEvent.CLICK, runHeads);
    btn_Tails.removeEventListener(MouseEvent.CLICK, runTails);
    //you might want to check if the listeners need to be re-added in clearData
    function clearData (evt){
        txt_Total.text = "";
        txt_Heads.text = "";
        txt_Tails.text = "";
        txt_PerHead.text = "";
        txt_PerTails.text = "";
        coinArray = new Array();
        headsTotal = null;
        tailsTotal = null;
        counter = 0;

  • Variables declared in .JSPF flagged as error in .JSP

    I am using version 11.1.1.2.0
    On the website that I develop we make use of a few JSP segments (.jspf extensions). These segments declare variables that are used in the JSPs that include them. In this new version (11.1.1.2.0), those variables are now marked as an error with the message "Name <variableName> not found." In JDev 10.1.3, this was not an issue at all.
    For example, the .JSPF would have:
    String testString = "This is a test";The .JSP that includes the the above segment would make use of that, but testString would be highlighted as an error:
    <html>
      <body>
        <%@ include file = "includedSegment.jspf"%>
        Hello World and <%=testString%>
      </body>
    </html>This is does not cause any problems after deploying the site, but it is a nuisance seeing all the "errors" highlighted when there really isn't anything wrong. Is there a way to fix this problem?
    Thank you.

    This issue still has not been corrected as of JDEV 11.1.2.3.
    If the included fragment (in my example) also includes stylesheets, then the references in that file appear to not be resolved correctly (design time), but work ok at runtime. So, the IDE would show warnings for things like:
    Reference JSPError.jsp not found
    Reference styles/MyApp.css not found
    Reference js/utility.js not found
    Then, the main page would have any errors for any static includes that introduce variables (and call methods on them), and don't have the styles displayed properly. This DEFINITELY worked in JDeveloper 10.1.3.4, as I am in the process of migrating a VERY old application (2002-2003) vintage and noticed all these errors in the JSPs, and corrected all of them in that version of JDEV. Now, in JDEV 11.1.2.3, I have a whole list of errors that shouldn't even appear. The <% @include file="page.jspf" %> directive is not fully functional as it was in the prior version.
    Any help would be appreciated.
    Eric

  • Error in creating Recommendation and Segment in Webcenter Sites 11.1.1.6.0

    Hi,
    I published my site from one Management installation to another. All assets have moved successfully except the recommendation and segment assets. I also tried to create these on the target but I am getting the below error in the sites.log:
    [ERROR] [http-8083-3] [logging.cs.xcelerate.asset] Error in ComplexAsset: Cannot locate JAVAC
    com.openmarket.basic.interfaces.AssetException: Cannot locate JAVAC
    at com.openmarket.visitor.rule.RuleManager.compileClass(RuleManager.java:413)
    at com.openmarket.visitor.rule.RuleManager.createRuleset(RuleManager.java:542)
    [ERROR] [http-8083-3] [cs.core.db.DBTransaction] TransactionUnit failed to execute
    com.fatwire.cs.core.db.TransactionAbortException: Cannot locate JAVAC
    com.openmarket.basic.interfaces.AssetException: Cannot locate JAVAC
    at com.openmarket.visitor.rule.RuleManager.compileClass(RuleManager.java:413)
    at com.openmarket.visitor.rule.RuleManager.createRuleset(RuleManager.java:542)
    [ERROR] [http-8083-3] [logging.cs.xcelerate.asset] Error in Asset:SaveAll saving Segments assets
    com.openmarket.basic.interfaces.AssetException: Error saving an asset Asset.SaveAll : 
    at com.openmarket.xcelerate.asset.Asset.SaveAll_trans(Asset.java:4647)
    at com.openmarket.xcelerate.asset.Asset.SaveAll(Asset.java:4597)
    at com.openmarket.assetframework.complexasset.ComplexAsset.superSaveAll(ComplexAsset.java:2537)
    at com.openmarket.assetframework.complexasset.AssetManager.saveAll(AssetManager.java:1835)
    at com.openmarket.assetframework.common.BulkTransactionalAssetManager.save(BulkTransactionalAssetManager.java:431)
    at com.openmarket.assetframework.complexasset.ComplexAsset.Save(ComplexAsset.java:1160)
    at com.openmarket.xcelerate.asset.Asset.Save(Asset.java:3600)
    at com.openmarket.xcelerate.commands.AssetDispatcher.Save(AssetDispatcher.java:274)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.openmarket.framework.commands.Dispatcher.Execute(Dispatcher.java:145)
    at COM.FutureTense.XML.Template.DynTag.execute(DynTag.java:269)
    at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
    at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
    at COM.FutureTense.XML.Template.IfChild.execute(BlockTag.java:397)
    at COM.FutureTense.XML.Template.IFTag.execute(BlockTag.java:496)
    at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
    at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
    at COM.FutureTense.XML.Template.IfChild.execute(BlockTag.java:397)
    at COM.FutureTense.XML.Template.IFTag.execute(BlockTag.java:496)
    at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
    at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
    at COM.FutureTense.XML.Template.IfChild.execute(BlockTag.java:397)
    at COM.FutureTense.XML.Template.IFTag.execute(BlockTag.java:496)
    at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
    at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
    at COM.FutureTense.XML.Template.Root.execute(BlockTag.java:365)
    at COM.FutureTense.XML.Template.XMLEval.run(XMLEval.java:331)
    at COM.FutureTense.Common.ContentServer.evalTheXML(ContentServer.java:3186)
    at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2447)
    at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1895)
    at COM.FutureTense.Common.CS.CallElement(CS.java:1599)
    at com.divine.ics.jsp.CallElement.doEndTag(CallElement.java:84)
    at com.openmarket.framework.jsp.Base.doEndTag(Base.java:143)
    at org.apache.jsp.jsp.cs_005fdeployed.UI.Actions.AdvancedUIHtml_jsp._jspService(AdvancedUIHtml_jsp.java:385)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
    at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1411)
    at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)
    at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:102)
    at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
    at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
    at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
    at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:2923)
    at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2517)
    at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1895)
    at COM.FutureTense.Common.CS.CallElement(CS.java:1599)
    at com.fatwire.cs.ui.framework.UIController.execute(UIController.java:147)
    at org.apache.jsp.jsp.cs_005fdeployed.fatwire.ui.controller.controller_jsp._jspService(controller_jsp.java:76)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
    at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1411)
    at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)
    at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:102)
    at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
    at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
    at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
    at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:2923)
    at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2517)
    at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1895)
    at COM.FutureTense.Common.CS.CallElement(CS.java:1599)
    at com.openmarket.xcelerate.jsp.controller.CallElement.doEndTag(CallElement.java:55)
    at com.openmarket.framework.jsp.Base.doEndTag(Base.java:143)
    at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.UIFramework.ApplicationPage_jsp._jspx_meth_controller_005fcallelement_005f0(ApplicationPage_jsp.java:201)
    at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.UIFramework.ApplicationPage_jsp._jspx_meth_ics_005fthen_005f0(ApplicationPage_jsp.java:174)
    at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.UIFramework.ApplicationPage_jsp._jspService(ApplicationPage_jsp.java:117)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
    at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1411)
    at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)
    at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:102)
    at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
    at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
    at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
    at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:2923)
    at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2517)
    at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1536)
    at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1247)
    at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:453)
    at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
    at COM.FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:235)
    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.cs.ui.framework.UIFilter.doFilter(UIFilter.java:108)
    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:127)
    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:291)
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.fatwire.cs.core.db.TransactionAbortException: Cannot locate JAVAC
    Has anybody faced a similar issue. Any workaround/solution would be helpful.
    Thanks!

    Hi DFy,
    This kind of error is usually caused by tools.jar not being in the appserver's classpath. See KM Note 1395735.1.
    Kind regards,
    Stephan.

Maybe you are looking for

  • APEX 3.0 print report error (empty file).

    I installed BI 10.1.3.2.0 successfully. I tested my convert servlet (which comes with BI Publisher) by trying to go there directly in browser: http://roman:80/xmlpserver/convert I get the message in Firefox: "500 Internal Server Error Servlet error:

  • HT5012 How do I switch to store in different country

    How do you switch apple store? I tried to update app and message said to switch to Canadian store...how?

  • Link to a PDF file.. HELP

    Can someone tell me in LAYMAN'S TERMS how I can get a PDF file to open from my website. I have tried putting the PDF file in my root folder of my site then linking to it.... that didn't work. I tried looking in Dreamweaver help and never read anythin

  • OBIEE requests to Essbase failing

    Hi All, We are interfacing Essbase through OBIEE and presently facing the following issue. Any request to Essbase through OBIEE is failing with the following error. State: HY000. Code: 10058. NQODBC SQL_STATE: HY000 nQSError: 10058 A general error ha

  • Restore from iTunes breaks wifi, iOS 6 to iOS 8

    I recently switched from a 3gs to an unlocked apple factory refurb 4s. I used restore from computer backup on iTunes to transfer data and set up new phone. Phone functioned fine for about 2 weeks, and at that point, wifi failed. Traded it in on warra