Slow response from Content Selectors

We are running Weblogic 8.1 (sp4) and the associated Workshop IDE.
In Workshop we built base content selectors which when run pull back a large pool of content (this was done as we don't seem to have the ability in Workshop to build a empty content selector). These content selectors are deployed, with the application, to the application server. The plan was when the application is run the user will be able to add query parameters to the base content selector by choosing items from drop down lists.
During run time, in the application, the user can choose from multiple drop down lists to refine their search for content stored in the CMS. The code in the struts action classes takes these choices and builds queries. When the flow goes back into the JSP, the queries are appended to the base content selector using the tag parameter "appendQuery".
We have found if one search criteria is chosen ,the resulting list comes back in seconds. The user can then choose an item from the list and have the document displayed in the page, again within seconds. To restate the flow: user selects one search criteria, the result takes say 10 seconds to get the document list, the user selects from the lists a specific document and it takes say an additional ten seconds to get the document rendered in the page. In the resulting list, the document title is a link which goes back to a content selector to retrieve the document. The content selector for the link is different than the content selector used to retrieve the list of documents.
The problem case:
Now if the user selects a value from each of the drop downs, to get to an exact document, the resulting search takes approximately two minutes. The result is always displaying a single document, there is no list in this case. We need to reduce the time needed to retrieve the document to an acceptable amount.
Some of the debugging we have done up to this point shows that a large amount of time is spent in the JSP going into the content selector to find the document.
Is there a known issue with using the "appendQuery" parameter in a content selector for multiple additional parameters?
Should we be building our content selector queries differently?
Is there something we need to do in the database to speed up the results?
Any help will be greatly appreciated.
Thank you,
Robert

In looking at this a little further, if we try to build a content selector in Workshop which uses all of the properties a user could choose. So basically we are hard coding in what could be a users choices. We are seeing a delay in the content coming back to the Content Preview window in Workshop.
When building queries is there some known limit to the number of type Property values which can be used before there is a performance issue in getting the content returned by the content selector?
Thanks

Similar Messages

  • New OIF installation - Very slow response from OHS

    Hi,
    I've installed two instances of OIF 10.1.4.0.1 in order to create a test configuration to test XASP Attribute Sharing (i.e., we are not doing any other profiles).
    Both OIF instances are using a separate instance of Sun Directory Server as its User Data Store, and both are using in-memory for Transient Data Store and have no Federation Data Store. Both OIF instances were installed similarly, using the "BASIC" installation choices, and are running on separate Redhat Linux servers.
    The problem that we're seeing is very slow (10+ seconds to 30+ seconds) responses, even when we try to access a static HTML test page that we've placed in the OHS htdocs directory.
    We've eliminated any networking problems as possibilities by a couple of tests that we've done, including shutting down the OHS and running a small, different test web server listening on port 7777. When we do that, response time for requests from that web server is almost instantaneous.
    We are also seeing the same slow response when we try to access the test HTML page from the same server itself.
    We have an SR open with Oracle, but so far, we've not been able to identify what the problem might be, so I'm hoping that perhaps someone else may have encountered this problem and have a resolution.
    It is really puzzling because, as I said, this is a pretty vanilla default OIF installation, and it is doubly puzzling because even getting a tiny static HTML page is taking 10+ seconds. Also, I had installed OIF 10.1.4.0.1 on a Windows machine previously, and I don't see this problem on that earlier installation.
    If anyone here has any insight into this problem, please let me know.
    Thanks,
    Jim

    Hi,
    I think I was able to temporarily eliminate this slow response problem. I think that the slow response problem is related to another problem that I posted about in the "Application Server - General" forum (see below, and Port 7200 conflict?
    Jim
    ======= POSTED to Application Server - General forum ============
    I think that I was able to temporarily work around this problem, plus another problem that I think is related (see: New OIF installation - Very slow response from OHS
    What I did was to just comment out the "include" line for "dms.conf" in the Apache httpd.conf.
    Doing that got rid of the "Address already in use" errors I was seeing in Apache error_log and also eliminated the slow response I was seeing from Apache/OHS (see that other post in "Identity Management" forum), BUT I am getting new errors about Apache not being able to find "htdocs/dms/Spy0".
    I have the impression that dms is some kind of process monitoring system that Oracle has in 10gAS infrastructure? So, I have some questions:
    1) What's the effect of dms not working?
    2) Is it possible to just disable dms?
    I hope that Oracle support can come up with a "real" fix for both problems, but in the meantime, as long as what I did doesn't break anything else besides dms, we can at least test the OIF stuff.
    Jim

  • Slow response from SAR command

    Hi,
    I see slow response from SAR command on M5000 series server.
    SunOS prod452 5.10 Generic_144488-09 sun4u 01/03/2012
    sar 1 100
    14:25:43 %usr %sys %wio %idle
    14:25:45 1 1 0 98
    14:25:46 1 0 0 99
    14:25:48 1 1 0 98
    14:25:50 1 2 0 97
    14:25:52 1 1 0 98
    14:25:54 1 1 0 98
    14:25:56 1 2 0 97
    14:25:58 1 2 0 98
    14:26:00 1 2 0 97
    14:26:01 1 2 0 97
    Ideally i should have output at every one second, but it shows at every 2 seconds. Even i have tried to increase the interval but still i see it takes extra 1 sec. to give output.
    These are the pretty newly configured Machine, do you think something to do with server perf./config/ etc ? Does this impacts perf. to my running workload on this machine ?
    REgards
    Tilok

    Well, you could simply have a gigazillion fonts on your system that mess with the text engine. in that case some serious weeding out of fonts that you never use would help immensely. Otherwise you can always turn off hardware acceleration in the preferences, assuming the issue is related to that...
    Mylenium

  • Slow response from search

    When I type in the search bar, I get a very slow response--the letters appear sluggishly, one by one, with about a one second delay between each. I have about 6000 songs and they are all on an internal drive.
    I created a new user account and dragged all my songs into iTunes in that account. Searching was lightning fast.
    So it sounds like the problem is isolated to my account. I want to know if there is a way to speed up the search. The easy solution is to rebuild the xml file by deleting the songs from my library and re-importing them, but I do not want to lose my play counts, last played dates, etc. If there is a program that can save all that information for me, that would also be acceptable.
    Any tips would be appreciated. Thanks!
    --Tim
    iMac G4   Mac OS X (10.4.6)  

    A few questions:
    -Is the application running on the same server as the database?
    -Single DB or RAC?
    -When last was the database analyzed?(SQL Stats)
    -Was there database admin scheduled jobs running(exports,RMAN ect.)
    -When last did you rebuild indexes? (do we need to rebuild indexes)

  • Slow response from PE3

    Sorry to be posting a question about this older version but I have just discovered the lack of Adobe support for PE3 and as a low volume user, I am not particularly keen to upgrade to PE7 if it won't recognize PE3 project files, and PE3 does all I want for now anyway. I am in the middle of editing this project by adding narration and background music, and finding very slow response to virtually everything I want to do. When trying to add narrative, it takes several minutes before it will start to record, then several more to save it. If I want to change any audio effects, same thing. Won't even open a function without a long delay, let alone save it. This problem only started as I've tried to add the audio. Up to now, editing the video clips has worked fine with only minimal delays.
    The file is 9MB, which I wouldn't have thought to be a problem, and it's a reasonably new system, with 2GHz dual core AMD processor, 500GB of hard drive & 2GB of memory. Not sure what other info I should provide that might help. Has anyone else had this problem and or know what I should try to fix? very appreciative of any suggestions. TIA

    Is yours a Vista machine? If so, you may want to optimize it for video editing.
    http://www.adobeforums.com/webx/.3bc448a7
    And, of course, ensure that you've got the 3.02 patch.
    http://www.adobeforums.com/webx/.3bc2fd1f
    The other thing that will greatly affect the program's performance is what you're using for source video.
    The program works best with DV-AVIs files captured over FireWire from a miniDV camcorder. Other files (such as video from hard drive or DVD camcorders) pose a variety of challenges that can impact performance.
    Another key issues is photographs. If you're using them as source files, you can easily choke the program if you're not optimizing them to no larger than 1000x750 pixels in size before you bring them into your project.
    If you can offer more details, we can give you more specific advice.

  • Slow Response from the server

    It seems that after 1 - 1:30 hrs after the server start the response from app server
    (weblogic 5.1 here) is very very slow. This remains as it is until we stop and
    restart the server..But again after the same period of time the problem continues
    and the server tends to respond slowly.Where could be the problem? If you can
    let us know the underlying problem, it would be great.

    "Amit" <[email protected]> wrote in message news:<3e7054c6$[email protected]>...
    It seems that after 1 - 1:30 hrs after the server start the response from app server
    (weblogic 5.1 here) is very very slow. This remains as it is until we stop and
    restart the server..But again after the same period of time the problem continues
    and the server tends to respond slowly.Where could be the problem? If you can
    let us know the underlying problem, it would be great.OK, check in the admin console for Garbage Collection. You will see
    the heap usage reach 100% and the drop off suddenly. If this is the
    case, consider increasing your heap, if that isnt an option.. Try
    checking your code to make sure everything that is called is
    destroyed.
    That may help... If not it could be JDBC,other connectivity, or code.
    But try that 1st and let me know.
    Steve

  • Slow response from DPS

    I am seeing a very slow response time from our Directory Proxy Server.
    10:15:16 -0500 - PROFILE    - INFO  - conn=6 assigned to connection handler cn=default connection handler, cn=connection handlers, cn=config
    10:15:36 -0500 - CONNECT    - INFO  - conn=6 client=127.0.0.1:48475 server=127.0.0.1:7389 protocol=LDAP
    10:15:36 -0500 - OPERATION  - INFO  - conn=6 op=0 BIND dn="cn=proxy manager" method="SIMPLE" version=3 controls=""From the timestamps there is a 20 second delay (always seems to be the case) between when a connection request is handled by the "default connection handler" and the actual connection.
    I am assuming the problem lies in a misconfiguration in the "default connection handler" .
    I can provide additional info upon request.
    Any suggestions would be greatly appreciated.

    1 second for a query seems very slow...
    Did you really measure 1s on the client side or did you get that number from the proxy logs ? Note that times shown in DPS logs may be inaccurate to some extends. For more info about that , have a look at
    [http://blogs.sun.com/sduloutr/entry/etime_granularity|http://blogs.sun.com/sduloutr/entry/etime_granularity]

  • SQL Slow Response from remote DB

    I have two sites of which I am executing SQL querys and updates to an Oracle DB. Both sites have the identical code. I am querying against an Oracle 9.0.2 DB. I have tried using both the 8i JDBC Driver and the 9i JDBC Driver. At one site which is closer to the DB site the response is 10 times as fast as the response from my second site. I've had the network administrators to test the network between sites for packet latency. The results were 40ms to pass packets between sites. Traceroute also showed the same response times. I have employed Oracle's assistance with tuning the database optimally. This has not improve the response time. I thought that the problem might be with my SQL so I created the following simple test and the response times were the same. Any thoughts as to were the problem might lie? Your help is much appreciated.
    Site 1 response time: 4ms
    Site 2 response time: 137ms
    CODE:
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con=DriverManager.getConnection(url,name,pw);
    if(con!=null){
    System.out.println("Got Connection");
    Statement s = con.createStatement();
    long begintime = System.currentTimeMillis();
    int bt = (int)begintime;
    ResultSet rs = s.executeQuery("select sysdate from dual");
    long endtime = System.currentTimeMillis();
    int et = (int)endtime;
    rs.next();
    Time t = rs.getTime("sysdate");
    System.out.println("Time: " + t.toString());
    System.out.println("Time to Retrieve Records: "+ (endtime - begintime) + "ms");
    rs.close();
    con.close();
    catch(SQLException sql){
    System.err.println("SQL Error: " + sql.getMessage());
    sql.printStackTrace();
    catch(ClassNotFoundException cnfe){
    System.err.println("SQL Error: " + cnfe.getMessage());

    If it was me I would write a client server socket tester and run it on both machines. And do some tests that run individual and burst transmissions throughout the day. You could do the same thing without code by manually FTP'ing some large files between the systems. But that will have more of a real impact on the system however.
    A simple trace route is only going to show a problem if it exists at a particular point in time.

  • Slow response from DB

    Hi ,
    My database is 10.02.0.4.0 on Solaris 5.9.
    We are using Oracle 10g AS as Application server to
    host the Application. Whenever the end user trying to access the
    application who got the very solw response. At the application level
    we have configured enough settings on datasource and connection pool parameters.
    At Oracle Level 150 session, Processes 300 has set.
    what could be the reason for End user getting problem like "Slow response","Connection Tiemd out".
    Any parameter need to change. When I getting this error, what is the appraoch i need to follow to mitigate these kind of error in future .
    Thanks,
    Tippu

    I have a performance checklist at :
    Re: Multiple Sessions Performance Issue …………
    Hth
    Girish Sharma

  • Slow response from SRM 5.0

    Hi Expert,
    We have a recently upgraded SRM4.0 to SRM 5.0 server
    The SRM application that we use via web-browser(ITS) is very slow.
    Any approaches/suggestions to debug the slow response and improve on it.
    Thanks
    AK

    Yes note 1318249 would be your best bet.
    If you can access the same transactions in the SAPGui without performance problem then it would be a BASIS issue so you should alos look at BASIS notes.
    Upgrage kernel first.
    Hope this helps,
    Regards,
    Matthew

  • Extremely slow response from Maverics with working account

    Hi all,
    let me reference an earlier issue I had after I switched to Mavericks on my MacBook:
    https://discussions.apple.com/message/23576494?ac_cid=tw123456#23576494
    I don't know if this problem is related to the earlier incident or not...
    In any case, here is the scenario: MacBook (late 2008), previously with Mountain Lion. My main account ("nick") has a home folder location different than standard. This is because the boot drive is a (smallish) SSD, I.e. the home folder had been moved (long time ago) to a second HDD that I've installed instead of the Superdrive. The specialty here is that this 2nd HDD is encrypted (done at formatting time).
    Subsequently, when I restart the MacBook, I first have to log into the admin account, which will automatically mount the HDD (password in keychain), then log back out and log into my user account.
    This worked like a charm with Lion and Mountain Lion.
    Along comes Mavericks. As you'll see in the link posted above, I had some issues getting the user to log in at all. Possibly a quirk in Mavericks, fixed by using a symbolic link.
    In any case, the responsiveness of the system with that one account logged in is - to say the least - excessively slow.
    It seems that something is holding up the CPU for long periods of time (30 seconds? 60 seconds?) between activities. This might be launching a program and waiting forever for it to show the initial window. Then selecting a function and waiting for that, etc.
    Really odd is the fact that this only happens with this one account. I've tried logging in and then holding the Shift key (keeps the login script from loading selected programs automatically), but this didn't help.
    Again, it only happens with this one account, so it has to be something to do with a setting or something.
    Odd, too, is that the CPU isn't loaded at all - in fact, nothing seems to be happening (which, in fact, is what is happening...).
    Ideas anyone?
    I had a very similar effect when moving from Snow Leopard to Lion (Upgrade, not a clean install), so maybe it is something that isn't unusual?

    Sorry to hear about the issues you've been having. Hard drives do sometimes fail, and it really isn't a fun experience when it does. I don't work for Apple, but I'm a certified tech that like others has access to the warranty repair system and I know how it works. Normally we get all parts very quickly, but there are some cases where backorders and incorrect repairs are inputted which slow things down.
    Apple actually does read the forums and responds to them as well. I have several friends who do just that. I would suggest to the repair center that they try the "mark for review" checkbox because this shouldn't be taking this long and it will get a repair advisor's attention to find what's delaying it. Hopefully it'll be resolved shortly.

  • Slow response from user input

    Hi.
    I have a very strange problem with some of my clients. Sometimes they experience a huge delay between key pressed on keyboard and actual character printed on monitor. So there is a simple text item involved and when the user starts typing the delay could be two or even three seconds between user input (each character) and actual forms displaying it.
    First I suspected network contention but I am not quite sure if there is any network traffic (client browser -> application server) involved while user is typing text into text item. Next I tried to monitor clients machine processes (like anti virus program) but no luck. I have also tried various JRE versions but again no luck.
    I am using 11.1.2.1 version of forms with Mozilla and JRE 1.6.35 on client side.
    Does anybody have/had similar experience? Any suggestion in helping resolving the issue appreciated.
    Also I am really curious what is happening (is there any network traffic involved) while user is typing text into text item where there is no trigger on that item except when_validate_item.
    Best regards.

    Also I am really curious what is happening (is there any network traffic involved) while user is typing text into text item where there is no trigger on that item except when_validate_item.Unless you have implemented a Java Bean on the item to monitor the keystrokes in the field, no events are trigger by the act of typing characters in a field. The act of typing characters in a field occurs completly on the client - no network traffic at this point. Only when a field event occurs (navigation away from the item) will an event occur that would cause network communication between the client and the appilcation server.
    Sometimes they experience a huge delay between key pressed on keyboard and actual character printed on monitor. I encountered something similar to this with a user once who complained about how slow the application ran on their computer. The slowness was intermitant and there was no apparent pattern. Like you, I looked at JRE and other things. Finally, told the user to call me when the slowness occured so I could come look at the computer while it was occuring. Turns out, the user had at least 30+ applications running at the same time. The workstation was running Windows XP with 2gb Ram. Looking at their system resources, there was no memory available and the pc was memory thrashing really bad. I had the user close all but the absolute necessary programs and our Forms application started responding quickly again. After a little user education - miraculously, the slowness problem went away. :)
    Craig...

  • ClasscastException while displaying image from content selector

    Hi,
    My requirement is show an image gif file in jsp, through portal.
    This problem is specific to 8.1 version.
    Created an image type content in BEA repository which i could retrieve from workshop
    content preview correctly, with a rule (named filerule).
    However, when tried to display the same from a simple jsp logic, got classcast
    exception.
    Below is the steps i have done.
    1. import <%@ page import="com.bea.p13n.content.ContentHelper"%>
    2.
    <pz:contentSelector rule="filerule" contentHome="<%=ContentHelper.DEF_DOCUMENT_MANAGER_HOME%>"
    id="ImageDocs"/>
    <es:forEachInArray array="<%=ImageDocs%>" id="anImageDoc" type="com.bea.p13n.content.Content">
    <img src="ShowDoc/<cm:printProperty
    id="anImageDoc" name="identifier" encode="url"/>"
    </es:forEachInArray>
    The server console shows below exception:
    java.lang.ClassCastException
    at jsp_servlet.__index6._jspService(index6.jsp:19)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilt
    er.java:208)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
    cherImpl.java:305)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(Page
    FlowRequestProcessor.java:1304)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedire
    ctor.forward(PageFlowRequestProcessor.java:1320)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlo
    wRequestProcessor.java:1200)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardCon
    fig(PageFlowRequestProcessor.java:1094)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:279)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
    equestProcessor.java:651)
    at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegi
    sterActionServlet.java:527)
    at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActi
    onServlet.java:152)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
    cherImpl.java:305)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(Page
    FlowRequestProcessor.java:1304)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedire
    ctor.forward(PageFlowRequestProcessor.java:1320)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlo
    wRequestProcessor.java:1200)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
    equestProcessor.java:638)
    at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegi
    sterActionServlet.java:527)
    at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActi
    onServlet.java:152)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6356)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    Also, there is no luck with displaying text content from a file, using printDoc
    tag. Can some one point me to right resource.

    Hi panji,
    I used 7.0 tag lib, just to make use of "printDoc" tag which is available in 7.0version
    only and not in 810. However, i figured out a way to display image using 8.1 (
    of course, by using request.getContextPath() + "/ShowBinary" + imagedoc.getPath())
    But still, i do not find a way to display a doc type file in jsp, which is my
    original problem.
    As per the edocs at http://edocs.bea.com/workshop/docs81/doc/en/core/index.html,
    <cm:getProperty node="<%=doc_node%>" name="file"/>
    should be able to display a txt file but nothing is getting rendred onto jsp.
    ( i have created a book type content in the repo. and file attached is of type
    txt ).
    Can you pls give some clue what i am missing here?
    thanks
    Ramana
    "Panji Aryaputra" <[email protected]> wrote:
    Hi Ramana, could you just use the ShowPropertyServlet to display the
    image
    in jsp? That's what I am using now. Perhaps you have other reasons not
    to
    use it?
    panji.a
    "ramana" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    My requirement is show an image gif file in jsp, through portal.
    This problem is specific to 8.1 version.
    Created an image type content in BEA repository which i could retrievefrom workshop
    content preview correctly, with a rule (named filerule).
    However, when tried to display the same from a simple jsp logic, gotclasscast
    exception.
    Below is the steps i have done.
    1. import <%@ page import="com.bea.p13n.content.ContentHelper"%>
    2.
    <pz:contentSelector rule="filerule"contentHome="<%=ContentHelper.DEF_DOCUMENT_MANAGER_HOME%>"
    id="ImageDocs"/>
    <es:forEachInArray array="<%=ImageDocs%>" id="anImageDoc"type="com.bea.p13n.content.Content">
    <img src="ShowDoc/<cm:printProperty
    id="anImageDoc" name="identifier" encode="url"/>"
    </es:forEachInArray>
    The server console shows below exception:
    java.lang.ClassCastException
    at jsp_servlet.__index6._jspService(index6.jsp:19)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:971)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:402)
    atweblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    atcom.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    atcom.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilt
    er.java:208)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    atweblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
    cherImpl.java:305)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(Page
    FlowRequestProcessor.java:1304)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedire
    ctor.forward(PageFlowRequestProcessor.java:1320)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlo
    wRequestProcessor.java:1200)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardCon
    fig(PageFlowRequestProcessor.java:1094)
    atorg.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:279)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
    equestProcessor.java:651)
    atcom.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegi
    sterActionServlet.java:527)
    atcom.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActi
    onServlet.java:152)
    atorg.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:971)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:402)
    atweblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    atcom.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    atweblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
    cherImpl.java:305)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(Page
    FlowRequestProcessor.java:1304)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedire
    ctor.forward(PageFlowRequestProcessor.java:1320)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlo
    wRequestProcessor.java:1200)
    atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
    equestProcessor.java:638)
    atcom.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegi
    sterActionServlet.java:527)
    atcom.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActi
    onServlet.java:152)
    atorg.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:971)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:402)
    atweblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    atcom.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6356)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3635)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    Also, there is no luck with displaying text content from a file, usingprintDoc
    tag. Can some one point me to right resource.

  • Slow response from Ipod

    Hello All,
    I upgraded the firmware on Ipod Classic 160G with the new one that is available last week and my ipod is very slow, when I scroll or shutting off. Has anyone else have this experience and if so were you able to overcome it?

    try to restore your iPod. the 1.0.3 update should make your iPod significantly faster, not slower!
    that it's a little "slow" when shutting off is normal since apple increased the time you have to press the play/pause button to shut the iPod off to prevent accidental shut-offs.
    but click wheel response and menus should be much faster than with previous firmwares, so my advice would be to restore the iPod and see if it helps.

  • Slow response from I touch

    I have an I touch running the least OS. It has become very very slow with the touch screen slow to respond. Any suggested remedies?

    Try:
    - Periodically double click the home button and close all the apps in the recently used dock. Then power off and then back on the iPod. This frees up memory. The 4G only has 256 MB of memory.
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

Maybe you are looking for

  • Game Center doesn't display like it should

    I have updated my iPhone to the most recent OS version available (4.3.4). When I open the game center I only have 3 tabs - Me, Friends and Games. There should be a friends request tab but mine is missing!  The application knows I have friend requests

  • Restore back after hard disck format

    i have formatted my hard disc and want to have my drivers and all peripheral add-ons installed from image backups preferably using on line support ASAP, though my warranty has expired

  • Creating a DVD with Chapters?

    I have a DVD that was created from an old VHS tape using some special software on a PC that allowed me to create the DVD from the VHS tape. Now I have a working DVD, but the problem is it doesn't have any chapters in it allowing me to jump right to a

  • Smartforms (Table Patterns)--very Urgent

    M working on smartforms......but will i create table ......and clicked on table pattern.......no list is coming......is it deactive or wat?? Please help me in this....its vry urgent

  • Why can't i remove my start up programs?

    I have 2 programs that launch in Start up (Windows Messenger and utorrent). But i don't want them to launch on start up. So i go to Users & Groups Preferences from the Menu Bar and i click Login Items. Then i click the lock because i want to make cha