JSP rendering hangs

Hi
          I am facing strange problem here,
          Here In login.jsp file uses jsp:forward to load next page having frameset of
          two frames.
          Now one of frames after rendering on server doesn't get displayed on
          browser?
          If I press 'REFRESH' button, it gets displayed.
          Or if I load that frameset directly without using login.jsp page, it loads
          perfectly.
          It works fine on my m/c but sometimes doesn't work on other remote machines.
          Please advise if anybody knows why it happens.
          Thanks
          Ashish
          

I do not understand your question. Could you clarify? It seems that you are
          using frames. Each frame (including the page that specifies the frames in
          the first place) is a separate request that goes to the server. Sometimes
          frame-related problems with Weblogic have to do with servlets/JSPs that are
          not expecting simultaneous requests. It is common that multiple frame
          requests are processing at the same time. There may be a bug in your
          servlet.
          Peace,
          Cameron Purdy
          Tangosol Inc.
          << Tangosol Server: How Weblogic applications are customized >>
          << Download now from http://www.tangosol.com/download.jsp >>
          "Ashish Jain" <[email protected]> wrote in message
          news:3b62f6ce$[email protected]..
          > Hi
          > I am facing strange problem here,
          > Here In login.jsp file uses jsp:forward to load next page having frameset
          of
          > two frames.
          > Now one of frames after rendering on server doesn't get displayed on
          > browser?
          > If I press 'REFRESH' button, it gets displayed.
          >
          > Or if I load that frameset directly without using login.jsp page, it loads
          > perfectly.
          >
          > It works fine on my m/c but sometimes doesn't work on other remote
          machines.
          >
          > Please advise if anybody knows why it happens.
          >
          >
          > Thanks
          > Ashish
          >
          >
          

Similar Messages

  • JSP rendering error

    Hi,
    I have modified the masthead par file. I deployed this par file to D, then Q then to production P
    in D and Q this worked perfect. But in production we have two clusters of server.
    In one of them, this is working well. but in the other its thorwing a JSP rendering exception.
    when i look at the log files i found a message
    Class File : C:
    usr
    sap
    PEP
    JC01
    j2ee
    cluster
    server1
    apps
    sap.com
    irj
    servlet_jsp
    irj
    root
    WEB-INF
    portal
    portalapps
    com.sap.portal.navigation.masthead
    work
    jsp
    _sapportalsjsp_HeaderiView.class
    Is out dated
    how do i resolve this error.
    please suggest a solution.
    Just now i tried a simple application to display a 'hello world'. Even that throw a JSP rendering exception
    AM
    Edited by: Anoop Mathew on May 4, 2009 2:07 PM

    Hello AM,
    In order to un deploy the application go to:
    System Administration -> Support -> Portal Runtime -> Administration Console -> Archive Remover
    Find your application and remove it.
    Please verify that it doesn't exist anymore in the following folder:
    \usr\sap\<System ID>\<Instance ID>\j2ee\cluster\serverX\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\<Application Name>\work
    if the folder work exist for you application delete it.
    After that redeploy your application.
    Best Regards,
    Assaf

  • OC4J:BC4J;JSP;OC4J hangs after refresh

    Hi All,
    I've deployed my JSP-aplication which uses BC4J. The BC4J are deployed as plain jar-files. Everything runs well, until....
    When i click my refresh-button in my browser several times real quick OC4J will hang! When I start a new session on a diferent machine I won't get any output from OC4J. I've to stop and startup OC4J to get it working again.
    This is really a big problem since we have to move to production ina short time.
    Is there some setting in OC4J where I can catch the request if they are made in a short time (< 1 sec) within the same session and ignore them ?
    Does someone know any other solution for his problem?
    TIA
    null

    Juan,
    Thanks for your answer. The synchronized-block in my jsp solves the problem. But it only works if I make the entire JSP synchronized. Can you tell me what the drawback is, if I have my JSP synchronized (if there are any) ?
    TIA.
    Pascal

  • JSP requests hang in HTTPs

    Hi, friends, I need an ergent help !
    We are using Weblogic 6.0 without service pack, and using some third-party tag
    library in our JSPs. Without HTTPs, everything works fine. After we install SSL
    with Weblogic demo certificates, some JSPs hang when tag library is used. It looks
    like tag library does its job, but never returns. The JSP returns only when we
    close the browser.
    I believe when the request reaches inside a JSP, it is nothing to do with SSL
    anymore, am I right ?
    Any help would be appreciated !
    Thanks
    John

    Thanks, Jerry,
    I think the problem is because of request.getParameterNames() doesn't work correctly
    for SSL in Weblogic 6.0, do you know if sp2 will fix that problem ?
    By the way, I posted another question for specific title.
    Thanks
    John
    Jerry <[email protected]> wrote:
    >
    Hi John
    I believe when the request reaches inside a JSP, it is nothing to dowith SSL
    anymore, am I right ?
    Yes, that's right, to the best of my knowledge
    I strongly recommend putting SP2 on WLS 6.0 -- a ton of kinks were
    worked out in the
    first 2 service packs.
    See if you're still having this problem, and post again --
    Cheers
    Joe Jerry

  • Skeleton togglebutton.jsp rendering

    Hi,
    We've been doing some tests on when a skeleton jsp and found the
    titlebar.jsp and the togglebutton.jsp always run, regardless of whether
    you have a titlebar, or even any buttons to render. Is it possible to
    stop these from running in the cases where it makes no sense for it do so?
    To explain why this has caused a problem for us, we have put a portlet
    in a .portion file which we include in the header. We have modified the
    togglebutton.jsp file to check for the mode and maximize the window if
    it is in edit mode and go to normal if it is leaving edit mode. We have
    replace the togglebutton with the windowUrl to do this. The problem
    occurs when the framework attempts to run togglebutton.jsp for the
    portlet in the header throwing a nullpointerexception with the
    concatenated stack trace below.
    <Feb 26, 2004 12:32:18 PM EET> <Error> <netuix> <BEA-420042> <The
    control com.be
    a.netuix.servlets.controls.window.Edit could not be rendered properly
    due to the
    following error:
    java.lang.NullPointerException
    at java.net.URLEncoder.encode(URLEncoder.java:185)
    at com.bea.portlet.GenericURL.addParameter(GenericURL.java:701)
    at com.bea.portlet.GenericURL.addParameter(GenericURL.java:644)
    at com.bea.portlet.GenericURL.addParameter(GenericURL.java:627)
    at com.bea.portlet.WindowURL.setWindowLabel(WindowURL.java:138)
    at com.bea.portlet.WindowURL.<init>(WindowURL.java:86)
    at com.bea.portlet.WindowURL.createWindowURL(WindowURL.java:54)
    at
    jsp_servlet._framework._skeletons._default.__togglebutton._jspService
    (togglebutton.jsp:20)
    Granted, we can solve this by just catching the exception, but it just
    seems kind of strange that the titlebar.jsp and the togglebutton.jsp run
    when there is no titlebar to render. I assume the rest of the framework
    works in the same way.
    Cheers
    Dennis

    Markus,
    Thanks for the suggestion. The problem is easy enough to overcome, I
    just wanted to stress that I thought it was strange that titlebar.jsp
    and the togglebutton.jsp should even be attempted to be rendered when
    there is no titlebar on the portlet that is currently being rendered.
    It just seems it would be far more optimal to not run the jsps.
    We ran some tests and it seems that the files are always called
    regardless of what is in the rendering jsps. So regardless of whether
    there is a taglib marker to render the children or not, they call to
    render the children is always made by the framework anyway.
    Dennis
    Markus Blumrich wrote:
    Dennis - if I understand your problem correctly - here is a suggestion which
    I've used to make the window framework / titlebar disappear. Create a
    "theme" with alternate versions of the skeleton files and basically comment
    out all the HTML generation. I agree - you need to modify all of them (down
    to togglebutton.jsp etc), but they will be independent instances of those
    files within the "theme"'s skeleton directory.
    hope that helps,
    Markus
    "Dennis" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    We've been doing some tests on when a skeleton jsp and found the
    titlebar.jsp and the togglebutton.jsp always run, regardless of whether
    you have a titlebar, or even any buttons to render. Is it possible to
    stop these from running in the cases where it makes no sense for it do so?
    To explain why this has caused a problem for us, we have put a portlet
    in a .portion file which we include in the header. We have modified the
    togglebutton.jsp file to check for the mode and maximize the window if
    it is in edit mode and go to normal if it is leaving edit mode. We have
    replace the togglebutton with the windowUrl to do this. The problem
    occurs when the framework attempts to run togglebutton.jsp for the
    portlet in the header throwing a nullpointerexception with the
    concatenated stack trace below.
    <Feb 26, 2004 12:32:18 PM EET> <Error> <netuix> <BEA-420042> <The
    control com.be
    a.netuix.servlets.controls.window.Edit could not be rendered properly
    due to the
    following error:
    java.lang.NullPointerException
    at java.net.URLEncoder.encode(URLEncoder.java:185)
    at com.bea.portlet.GenericURL.addParameter(GenericURL.java:701)
    at com.bea.portlet.GenericURL.addParameter(GenericURL.java:644)
    at com.bea.portlet.GenericURL.addParameter(GenericURL.java:627)
    at com.bea.portlet.WindowURL.setWindowLabel(WindowURL.java:138)
    at com.bea.portlet.WindowURL.<init>(WindowURL.java:86)
    at com.bea.portlet.WindowURL.createWindowURL(WindowURL.java:54)
    at
    jsp_servlet._framework._skeletons._default.__togglebutton._jspService
    (togglebutton.jsp:20)
    Granted, we can solve this by just catching the exception, but it just
    seems kind of strange that the titlebar.jsp and the togglebutton.jsp run
    when there is no titlebar to render. I assume the rest of the framework
    works in the same way.
    Cheers
    Dennis

  • JSP Rendering issue

    I am displaying around 20000 records in my jsp view.I fetch the value from DB and use ArrayList of model objects and send that ArrayList to the view where I iterate over the ArrayList and display the table values.
    I am facing some performance issues.It takes around 1 min to display.Is there any way I can speed up this?.I used out.flush() after every row creation but I didnt find any improvement.Pls suggest me any performance improvement techniques.

    Why on earth do you need to display all the 20000 rows in the JSP page? Would the user actually read them all at once?
    No, rather think about a paging system where you retrieve sublists. There are taglibs available for this, such as displaytag. It would be ideal if you provide a search function for the data so that the user can filter the rows of interest out. Also consider an export function where you instantly create a CSV or XML file -or so- with all row data, so that the user can decide to download it and explore it locally.

  • JSP rendering HTML source code occasionally

    I have project deployed on JBoss423 server. Sometimes while accessing a jsp page i am seeing the html source. I have already tried including the 'meta http-equiv="content-type" content="text/html; charset=utf-8"' and <%@ page contentType="text/html; charset=UTF-8" %> tags but still the error seems to not resolved. After the error comes if i refresh the page it works perfectly.
    I am not able to find a genuine solution to this problem. The error is occurring on IE9 as well as firefox 7.0.1. I am not seeing this error when i use IE8.

    The fact that you see the html source has nothing to do with your server-side resources directly; its the browser that for some reason is unwilling to render the actual content. This might mean that occasionally your markup is faulty enough that the browser doesn't comply; generally this happens when an exception occurs after content has already been flushed to the browser. This cuts the HTML content short. It could also be an improperly closed string text in the content, or a missing closing tag.
    When it happens again, examine the actual HTML content and the server logs to see if there is something odd in there.

  • h:form in customized rendering of jsps

    But i am facing another problem.
    i am rendering two jsp pages
    index.jsp<-1.jsp
    <- 2.jsp
    (rendering the two pages based on selection in tabbedpane custom component)
    I have a <h:form> tag with unique ID in index.jsp .
    I have my custom tabbedpane component in it.
    Now using this component i am calling other two pages and renderering them in the same component's workspace.
    When i use another <h:form> tag in either of the 1.jsp or 2.jsp the tabs work for only one time.

    As in a Standard Shell i have header,footer, navigation area ,workspace area.
    I am making a custom tabbedPane component that controls both navigation and workspace area simultaneously.
    Also the url that i return ,is being rendered by method
    getRequestDispatcher(display).include(request, response);
    <html>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://corejsf.com/tabbedpane" prefix="corejsf"%>
    <f:loadBundle basename="com.corejsf.messages" var="msgs" />
    <f:view>
         <head>
         <link href="css/styles.css" rel="stylesheet" type="text/css" />
         <title><h:outputText value="#{msgs.windowTitle}" /></title>
         </head>
         <body>
         <h:form>
         <f:subview id="tabbedpane">
                   <corejsf:tabbedPane resourceBundle="com.corejsf.messages">
                        <corejsf:select label="polarBears"
                             default_workspace="/polarBears.jsp" navigation="/bears_nav.jsp" />
                        <corejsf:select label="grizzlyBears"
                             default_workspace="/grizzlyBears.jsp" navigation="/bears_nav.jsp" />
                        <corejsf:select label="teddyBears"
                             default_workspace="/teddyBears.jsp" navigation="/bears_nav.jsp" />
                        <corejsf:select label="pandaBears"
                             default_workspace="/pandaBears.jsp" navigation="/bears_nav.jsp" />
                        <corejsf:select label="blackBears"
                             default_workspace="/blackBears.jsp" navigation="/bears_nav.jsp" />
                   </corejsf:tabbedPane>
         </f:subview>
         </h:form>
         </body>
    </f:view>
    </html>
    now this pages which i am rendering ,if they contain <h:form> tag even with distinct ID --the component works for only one time .                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • IPlanet WebServer Hangs on JSP file change

    Hello,
    I am using IPlanetWebServer-Enterprise/4.1SP5 and the server just hangs when there is a JSP file changed after the first successfull load. Looking at ther errors log, I can see that it is doing:
    compileJSP(): invoking Java compiler, file =/.....
    When the first time its successful, it follows that compilsJSP() with
    For JSP Compilation : JDKLocation-/usr/java/, fork_java_c=no,enable_debug=yes
    Is there a fix for this problem?? Please help
    Thanks

    I did all of the 3 things that you told me in the context.properties file.
    The same behavior is still happening....here is the sequence
    1) start the server from scratch
    2) load the jsp file (ok)
    3) change the jsp file with emacs
    4) reload the jsp file (ok, see the changes)
    5) change ths jsp file with emacs again
    6) reload the jsp file (HANGS, browser is just waiting for reply)
    errors file trace...
    04/Mar/2002:11:49:44] info (12964): Service(): uri=/seehawk/optimizer/jsp/omCost.jsp cgiScriptName=/seehawk/optimizer/jsp/omCost.jsp token=null cached=false
    [04/Mar/2002:11:49:44] info (12964): JSP: This is a jsp 1.x file
    [04/Mar/2002:11:49:44] info (12964): JSP: Before JSP1x compiler.compile, servletName = /seehawk/optimizer/jsp/omCost.jsp servletPath = /usr/local/home/gasweb/seehawk/optimizer/jsp/omCost.jsp & dir = ../ClassCache
    [04/Mar/2002:11:49:44] info (12964): JSP1x Jasper Trace: Package name is: jsps.seehawk._optimizer._jsp
    [04/Mar/2002:11:49:44] info (12964): JSP1x Jasper Trace: Class name is: omCostjsp
    [04/Mar/2002:11:49:44] info (12964): JSP1x Jasper Trace: Java file name is: /usr/local/netscape/server4/https-kw_chan/config/../ClassCache/_jsps/_seehawk/_optimizer/_jsp/_omCost_jsp.java
    [04/Mar/2002:11:49:44] info (12964): JSP1x Jasper Trace: Class file name is: /usr/local/netscape/server4/https-kw_chan/config/../ClassCache/_jsps/_seehawk/_optimizer/_jsp/_omCost_jsp.class
    [04/Mar/2002:11:49:45] info (12964): JSP1x Jasper Trace: Compiling with: -classpath /usr/local/soap-2_2:/usr/local/xerces-2_0_0/xercesImpl.jar:/usr/local/xerces-2_0_0/xmlParserAPIs.jar:/usr/local/soap-2_2/lib/soap.jar:/usr/local/:/usr/local/netscape/server4/plugins/samples/servlets/beans.10/SDKBeans10.jar:/usr/local/netscape/server4/plugins/samples/servlets/beans/SDKBeans.jar:/usr/local/netscape/server4/bin/https/jar/Bugbase.jar:/usr/local/netscape/server4/bin/https/jar/Calljsac.jar:/gasweb:/usr/local/netscape/server4/webagent/java/SafeAdapter.jar:/usr/local/netscape/server4/webagent/java/SafeAdapterHelper.jar:/usr/local/netscape/server4/webagent/java/env.jar:/usr/local/netscape/server4/webagent/java/jsafe.jar:/usr/local/netscape/server4/webagent/java/msr.jar:/usr/local/netscape/server4/webagent/java/smjavaagentapi.jar:/usr/local/netscape/server4/webagent/java/smjavasdk.jar:/usr/local/netscape/server4/bin/https/jar/NSServletLayer.jar:/usr/local/netscape/server4/bin/https/jar/NSJavaUtil.jar:/usr/local/netscape/server4/bin/https/jar/NSJavaMiscUtil.jar:/usr/local/netscape/server4/bin/https/jar/servlets.jar:/usr/local/netscape/server4/bin/https/jar/jsp092.jar:/usr/local/netscape/server4/bin/https/jar/xml.jar:/usr/local/netscape/server4/bin/https/jar/jspengine.jar:/usr/local/netscape/server4/bin/https/jar/SSJS.jar:/usr/local/netscape/server4/bin/https/jar/js14lc30.jar:/usr/local/netscape/server4/bin/https/jar/ldapjdk.jar:::../ClassCache:/usr/local/netscape/server4/https-kw_chan/config/../ClassCache -d /usr/local/netscape/server4/https-kw_chan/config/../ClassCache /usr/local/netscape/server4/https-kw_chan/config/../ClassCache/_jsps/_seehawk/_optimizer/_jsp/_omCost_jsp.java
    [04/Mar/2002:11:49:45] info (12964): IWSJavaC.compile(): forking external compiler, java=/usr/java//bin/javac
    Thanks
    Ka-Wai

  • Adf-Struts/JSP/BC4J- and setting date fields from jsp

    Hi,
    I'm working with the new ADF Frameworks (JDev 9.0.5.1) and ran into some questions regarding exception handling using BC4J, Struts and JSPs.
    I have a DATE column in database and an entity and VO with a datefield with type oracle.jbo.domain.Date.
    My JSP shows a textfield and the user should enter a valid date. Everything fine, until date is of wrong format or contains illegal characters...
    Problem:
    ADF tries to do a setAttribute on the datefield in VO row which expects a parameter with type oracle.jbo.domain.Date. When the user entered e.g. "NiceWeather" as date, I get an IIlegalArgumentException while converting to the correct Date format. This exception isn't thrown by bc4j as AttrValException and therefore my JSP renders a global error instead of a message directly behind the date field.
    I tried to validate the datefield in my DataForm and in my Action in the validateModelUpdates() method, but with no fitting solution.
    Any ideas how to validate a datefield with adf/struts/jsp/bc4j?
    Thanks for your help!
    Torsten.

    Torsen - In the first instance I'd recommed that you try and handle it declaritively using the Struts Validator Framework . See http://otn.oracle.com/products/jdev/howtos/10g/StrutsValidator/struts_validator_howto.html
    There is a section in there on how to use the validator with ADF databound pages and you can check the format the user enters via generated JavaScript.
    Also check out the matching sample project:
    http://otn.oracle.com/sample_code/products/jdev/10g/ADFandStrutsValidator.zip - this has a data field check on it as well

  • JSP for Vcard cannot strip carriage return in the last line of the file.

    I am using JSP to output a Vcard (http://en.wikipedia.org/wiki/VCard)
    The following code works great in Windows but fails on the mac:
    <%@ page contentType="text/x-vcard" %><%--
    --%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--
    --%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><%--
    --%>BEGIN:VCARD
    VERSION:2.1
    <c:choose><%--
    --%><c:when test="${not ((empty param.lan) and (empty param.fin)) }"><%--
    --%>N:${param.lan};${param.fin}
    FN:${param.fin} ${param.lan}
    </c:when><%--
    --%><c:otherwise><%--
    --%>FN:${param.org}
    </c:otherwise><%--
    --%></c:choose><%--
    --%>ORG:${param.org}
    TITLE:${param.title}
    TEL;WORK;VOICE:${param.phwork}
    ADR;WORK:;;${param.st};${param.city};${param.state};${param.zip};
    EMAIL;PREF;INTERNET:${param.email}
    REV:20080424T195243Z
    <c:out value="${fn:replace('END:VCARD','\\\r','')}" escapeXml="false"/>After some tests, I discovered that Mac (I used Tiger, latest update, not Leopard) needs extra white space and carriage returns stripped off. Once this is achieved, the vcard will automatically import into Address Book. I have followed other forums which advice on using JSP comments as in the code above. But for some strange reason the last line of the JSP outputs an extra carraige return. How do I get rid of the carriage return at the end of the file? the replace function from JSTL is not working.
    Edited by: shogo2040 on Dec 18, 2008 7:11 PM : I added more detail to the Subject

    I originally had that END:VCARD without any carriage return.
    But I still get an extra carriage return at the end when the JSP renders to VCF
    I'm using Tomcat running on Linux.
    I found this, article which implies (but does not explicitly say) JSP in general adds a newline to the last line:
    http://www.caucho.com/resin-3.0/jsp/faq.xtp (But its not tomcat either, so maybe this info is irrelevant).
    Edited by: shogo2040 on Dec 22, 2008 3:31 PM - changed rendered to VCF from rendered to JSP

  • Windows Media Player not selecting custom audio renderer filter on Windows 7 (works with graphedit)

    Hi there,
    I have custom directshow audio renderer filter derived from CBaseRenderer base class and implements IBasicAudio interface.
    Filter works fine with graphedit and media player classic, I am able to receive audio data. But when I try to play file using Windows Media Player, filter gets callback in completeconnect followed by breakconnect and then its discarded.
    Things I have tried so far --
    Implement IBasicAudio interface, still fails with WMP
    Modify audio renderer filter to connect with video decoder, it works fine with WMP and I can get dump of raw video data
    Implement IReferenceClock interface, still fails with WMP
    Implement this filter using CBaseFilter as base class, still same outcome, CompleteConnect on receive pin followed by BreakConnect and filter is discarded
    It seems that Windows Media Player is looking for some specific interface that I might have not implemented or is picky for audio renderer. I found similar issue at https://social.msdn.microsoft.com/forums/windowsdesktop/en-us/6e5985fb-3ca2-41b3-9a99-7a9b97ae7357/directshow-filter-stopped-working-in-windows-7-media-player.
    But it seems unresolved.
    Please help, am stuck on this issue for 3 days without any luck. Any clues on this is appreciated.
    Thank you.
    -- Shobhit

    Thanks for the reply Roman.
    Most of QuerryInterface calls received in NonDelegatingQuerryInterface callback inside filter are same as that for greaphedit. 
    From http://blogs.msdn.com/b/mediasdkstuff/archive/2008/09/19/custom-directshow-audio-renderer-hangs-playback-in-windows-media-player-11.aspx, it seems that WMP on Windows 7 uses preferred list of filters using IAMPluginControl that cannot be modified
    by 3rd party. 
    There has to be some workaround for this that am trying to figure out. Any clues on this?
    Thanks,
    Shobhit

  • JSP non-lockable javamail

    HI,
    I'm using the javamail api through JSP pages. The problem comes from the Transport Object which locks when connecting to my stmp server. Therefore, if i send 10 e-mail in a loop, it takes more than 50 sec to send all the mails since the connection to my smtp server takes at least 5s per mail.
    I was wondering if there is a way to create a non-lockable transport object which would send the mail regardless if the connection succeeded or not. Or can i configure my tomcat to do this mail background thing instead. Note that making only 1 connection for the 10 email is not a valid solution since the transport object would still lock during the only connection.
    Thanks...

    Thanks for replying.
    Maybe i explained it wrong. I can't really fix the STMP server, because i don't own it...:( But the problem is that my JSP code hangs for 5 sec each time wether the connection is successfull or not.
    Is it possible to launch the Transport connection in background, or on a separate thread or handle it with a third party (tomcat) so that email processing doesn't slow down my JSP page processing. I'm not really interested in handling the smtp connection failure. If the connection fails, that's too bad i cound'nt send the mail but a least the JSP processing time is not affected. If the connection succeed, i don't want to wait the 5 sec connection time. I just want to go on with the page processing.
    The behavior i'm looking for is a transport object that would use a send mail function without waiting for a conneciton. The object itself would handle the connection and send the mail if successful and don't send it if not. All this would be non-lockable...
    i wonder if this is possible ?

  • JSP masscompile issue

    Hello,
    I am running this command "$FND_TOP/patch/115/bin/perl ojspCompile.pl --compile --flush -p 2", and I received a lot of compiltion errors like the following:
    [11424] !!COMPILATION ERROR(0) eiste/jsp/admin_show_lovrows.jsp:
    javac: file not found: eiste/jsp/_admin__show__lovrows.java
    Usage: javac <options> <source files>
    use -help for a list of possible options
    [11424] could not delete /u01/oracle/apps/apps_st/comn/_pages/_eiste/_jsp/_admin__show__lovrows.java
    The problem with this is that I see older version to the pages that I want to see and I am wondering is this problem is related to user privilerges or why I receive this errors.
    I verified the user rights and i got this:
    ls -ld */
    drwxr-xr-x. 4 appd3eb oinstall 20480 May 28 16:31 _jsp/
    So, if someone has seen this problem and knows the solution I would really apreciate it if you share the solution with me.
    Thank you!

    [11424] !!COMPILATION ERROR(0) eiste/jsp/admin_show_lovrows.jsp:
    javac: file not found: eiste/jsp/_admin__show__lovrows.java
    Usage: javac <options> <source files>
    use -help for a list of possible optionsPlease post the details of the application release, database version and OS.
    What is the output of the following?
    $ which java
    $ which javac
    $ java -version
    [11424] could not delete /u01/oracle/apps/apps_st/comn/_pages/_eiste/_jsp/_admin__show__lovrows.javaCan you delete this file manually?
    The problem with this is that I see older version to the pages that I want to see and I am wondering is this problem is related to user privilerges or why I receive this errors.
    I verified the user rights and i got this:Have you tried to bounce Apache or clear the cache from Functional Administrator responsibility and see if this helps? -- How To Clear The Cache Using Functional Administrator? [ID 759038.1]
    ls -ld */
    drwxr-xr-x. 4 appd3eb oinstall 20480 May 28 16:31 _jsp/
    So, if someone has seen this problem and knows the solution I would really apreciate it if you share the solution with me.Please make sure you stop the application services before running the command.
    JSP Pages Hanging in R12 After Removing Cached Class Files in _pages [ID 433386.1]
    How to Enable Automatic Compilation of JSP pages in R12 Environment [ID 458338.1]

  • How does weblogic render portal skeleton jsps?

    Hi,
    how does weblogic render shell?
    below is my shell file fragment,
    <netuix:head/>
    <netuix:body>
    <netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/header/pageHeader.jsp"/>
    </netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/navigation/topMenu.jsp" />
    <netuix:jspContent contentUri="/framework/skeletons/navigation/leftMenu.jsp"/>
    <netuix:footer>
    <netuix:jspContent contentUri="/framework/skeletons/footer/pageFooter.jsp"/>
    </netuix:footer>
    </netuix:body>
    Do all jsp (pageHeader.jsp, topMenu.jsp, leftMenu.jsp, pageFooter.jsp) rendered parallaly or they rendered as per the flow (as they defined in shell)?
    If I set any request attribute in head.jsp or pageHeader.jsp, will it be available in topMenu.jsp or leftMenu.jsp?

    Ellen,
    I am not clear about your question.
    User A will only see the data which is retrieved based on it's principal
    name (I assume you use principal name as an argument to retrieve the data
    from DB).
    If you are using p13n cache make sure the principal name is part of the key.
    Please provide more details if you see that I did not understand your
    question.
    Regards,
    Michael Goldverg
    "ellen" <[email protected]> wrote in message
    news:3d6e46ef$[email protected]..
    >
    My application has multiple portlets which need to display very sensitiveuser
    data.
    These portlets read user principles from session (e.g. <weblogic:getproperty>)
    and make calls to an EJB to retrieve data from database and display theseuser
    specific data.
    I didn't specify any synchronize in my code. My concern is when two useraccess
    the portlet at the exact same time, will user A see user B's data?
    Any suggestions or general guide lines about synchronize in portal will bevery
    helpful.
    Thanks,
    Ellen
    These portlet (.jsp file)

Maybe you are looking for