Synchronization bug in Cache Tag

We have encountered what we believe to be a serious synchronization bug in
          the Cache Tag implementation of WL 5.1.0 SP6, under Windows NT 4, using
          HotSpot Server VM 2.0. (It also happens when we use the classic VM with the
          "-classic" option.) It seems like some kind of problem with a global lock
          on the underlying cache. The problem manifests when two or more browser
          clients attempt to access a JSP with a cache tag, where the cached value has
          not yet been computed. If the system is busy computing the contents of the
          tag when the second request arrives, no result is ever returned to either
          client and no further cache tag values (even on unrelated pages) are
          returned until the server is restarted.
          Here is a very simple tag class that illustrates the problem. It simply
          pauses five seconds and then prints the end time.
          package com.splwg.web.services;
          import java.io.IOException;
          import javax.servlet.jsp.JspException;
          import javax.servlet.jsp.JspWriter;
          import javax.servlet.jsp.PageContext;
          import javax.servlet.jsp.tagext.TagSupport;
          public class TestTag extends TagSupport {
          public int doStartTag() throws JspException {
          // Pause 5 seconds
          long start = System.currentTimeMillis();
          long end = start + 5000;
          while (System.currentTimeMillis() < end) {
          JspWriter out = pageContext.getOut();
          try {
          out.print("Done - " + end);
          } catch (IOException e) {
          return SKIP_BODY;
          Here is a JSP page to drive it:
          <%@ taglib uri="taglib.tld" prefix="wl"%>
          <%@ taglib uri="test.tld" prefix="test"%>
          <html><head><title>Test tag</title></head>
          <body>
          <wl:cache timeout="20s">
          <test:test/>
          </wl:cache>
          </body>
          </html>
          And here is the test.tld file:
          <?xml version="1.0" encoding="ISO-8859-1" ?>
          <!DOCTYPE taglib
          PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
          "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
          <taglib>
          <tlibversion>1.0</tlibversion>
          <jspversion>1.1</jspversion>
          <shortname>test</shortname>
          <tag>
          <name>test</name>
          <tagclass>com.splwg.web.services.TestTag</tagclass>
          </tag>
          </taglib>
          To manifest the problem, start a fresh instance of WebLogic and have two
          browsers (nearly) simultaneously attempt to access the page. The server
          never returns to either browser, and no other page that contains a cache tag
          will return. However, WebLogic is not dead; static pages or JSP files
          without cache tags still work.
          The problem will not manifest once the cache is safely loaded, e.g. by
          having only one client make the initial access (in this case the second
          client cannot attempt to access the JSP for five seconds). Further, we
          observe that once the cache value has gone stale, the first new request
          forces a re-read, but other concurrent requests receive the previously
          cached value. Clearly this technique doesn't work when the cached value has
          not yet been populated, such as when the server has just been started.
          Has anyone else seen this problem?
          Felix Hack
          [email protected]
          

Before you put in that effort...
This is experimental so do it with a copy of the project.
With the copy project closed, delete the eHlpDhtm.js and the
projectname.pss file.
Copy the eHlpDhtm.js from the new project you created. Open
the project the the pss will get rebuilt.
No scientific reason for doing that, just something that is
minimal effort and worth a try.
If it fails, go back to the recreation plan! Do let us know
if it does work.

Similar Messages

  • UnitOfWork synchronization bug?

    We're using UnitOfWork in our web application(OC4J 9.0.2 with the latest Toplink release 9.0.3.3).
    In a "save" request, we register three different type of objects(three tables) in a uow.
    Then we do a jmeter test with 10 the same "save" requests simultaniously. What the "save" does is two things:
    (1) Do a query to retrieve a sequency Id
    (2) Set the id to the first record and save the three records using UOW with the first record using id as the optimisticLock field.
    The result:
    2 successful saves,
    1 error save ( saved the three correct objects and one extra from a different request)
    The other 7, we got optimisticLockException and didn't save anything except one saved partially (which caused the error save mentioned above).
    When we use ExternalTransactionController, we got "ValidationException" instead of OptimisticLockException. Other than that, it failed in a similar manner as the Toplink transaction controller did.
    Is this a synchronization bug in our code or Toplink?
    Anybody has similar experience or just my buggy code?
    Thanks,
    Wei

    Don,
    Here is my test:
    In the "save", I save three records:
    ARecord, BRecord, CRecord (Each has its own table)
    and I also update a SequenceNumber record.
    ARecord has a sequence number field and I uses "useChangedFieldsLocking" for optimistic locking for updating SequenceNumber object.
    Here is the steps I do to "Save":
    (1) get a client session and do a query on my sequence table to retrieve a sequence number in a SequencyNumber object
    (2) Set the sequence id to ARecord
    (3) Set some id related fields in BRecord,CRecord
    (4) Register ARecord, BRecord and CRecord to a UOW
    (5) Register the SequenceNumber I retrieved in Step (1) to UOW
    (6) Increase the sequence in the SequenceNumber object
    (7) commit
    The optimistic locking works "all the time" if I use a single thread test.
    In multiple thread condition, it works some times. When if failed, my result becomes:
    for a ARecord here are the related saves:
    ARecord, BRecord, BRecord, CRecord, CRecord
    Some times I got three duplicates.
    "Are you changing the pk of an object in a UOW?"
    I don't think I changed the SequenceNumber object's pk.
    I only changed one field value in my sequence table (not a key)
    For the new objects, I do set their keys.
    When I change my session to use External transaction controller:
    serverSession.setExternalTransactionController(new Oracle9iJTSExternalTransactionController());
    instead of getting a optimistic locking exception, I got this instead:
    EXCEPTION [TOPLINK-7061] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.ValidationException
    EXCEPTION DESCRIPTION: Exception occurred within JTS.
    INTERNAL EXCEPTION: javax.transaction.RollbackException
    at oracle.toplink.exceptions.ValidationException.jtsExceptionRaised(Unknown Source)
    at oracle.toplink.jts.JTSExternalTransactionController.commitTransaction(Unknown Source)
    at oracle.toplink.publicinterface.Session.commitExternalTransaction(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commitInternallyStartedExternalTransaction(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commit(Unknown Source)
    at icis.qci.db.QciInsert.insertToDB(QciInsert.java:50)
    at icis.qci.common.CommonHttpHelper.commitFormJava(CommonHttpHelper.java:184)
    at icis.qci.docket.QciDocketAction.executeProcess(QciDocketAction.java:97)
    at icis.common.action.BaseCaseProcessAction.execute(BaseCaseProcessAction.java:84)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Thanks for you help.
    Wei

  • API to flush cache tags?

    We plan to use the new cache tag supplied with 5.1 SP6. We've been asked
              whether there is a programmatic way to flush the cache. Has anyone found a
              way to do this? In lieu of such a facility we plan to set the cache to
              timeout more often than we might otherwise.
              Felix Hack
              [email protected]
              

    Did you try this:
              <jsp:include page="a.jsp?_cache_refresh=true"/>
              <jsp:include page="b.jsp"/>
              w cheng <[email protected]> wrote:
              > However is there a way to just force refresh an included
              > JSP ? The following is sample:
              > test.jsp
              > --------
              > .....
              > <jsp:include page=a.jsp>
              > .....
              > <jsp:include page=b.jsp>
              > .....
              > Inside a.jsp and b.jsp, there are wl:cache tags. My question
              > is how to force refresh the cache content of a.jsp but not
              > affecting cache inside b.jsp ?
              > Thanks!
              > Dimitri Rakitine <[email protected]> wrote:
              >>I think it works similarly to 'key' cachetag parameter - it searches
              >>parameter,...,application,session for cacherefresh=true and invalidates
              >>the
              >>cache if it finds it, for example:
              >>
              >>test.jsp:
              >>
              >><%@ taglib uri="taglib.tld" prefix="wl" %>
              >><HTML>
              >><BODY>
              >>Current time is:
              >><wl:cache timeout="2h">
              >><%= System.currentTimeMillis() %>
              >></wl:cache>
              >></BODY>
              >></HTML>
              >>
              >>and http://localhost:7001/test.jsp will show cached time and you can
              >>force refresh by calling it like:
              >>http://localhost:7001/test.jsp?_cache_refresh=true
              >>
              >>I guess in a similar way you can put cacherefresh=true to the request
              >>parameter, attribute, session or servlet context.
              >>
              >>Felix Hack <[email protected]> wrote:
              >>> Could someone provide an example of flushing the cached data for a
              >>cache tag
              >>> for an entire application? I don't understand what kind of entity
              >>> cacherefresh is (see below). Here is the relevant extract from the
              >>WL
              >>> 5.1documents:
              >>
              >>> "You can force the refresh of a cache by setting _cache_refresh to
              >>true in
              >>> the scope that you want affected. If you want all caches to always
              >>refresh,
              >>> put it in the application scope. If you want all the caches for a user
              >>to be
              >>> refreshed, set it in the session scope. If you want all the caches
              >>in the
              >>> current request to be refreshed set it as a parameter or in the request."
              >>
              >>> --
              >>> Felix Hack
              >>> [email protected]
              >>
              >>Dimitri
              Dimitri
              

  • Ojsp cache tags

    Hi,
    it´d like to know how to use the ojsp-cache-Tags with Oracle Reports. These tags are mentioned in some documentations but there is nowhere an example how to use that tags.
    thanks in advance

    hello,
    they should be documented in the JSP area here on OTN. they are not directly related to Oracle Reports, but an extension that oracle provides to the JSP standard.
    thanks,
    ph.

  • Cache tag exceptions and deadlocks

              Weblogic 6.1 sp2 on W2K and Solaris
              If an un-caught Exception is produced from code with-in a cache tag, then the
              cache for that page will become locked until server restart
              This can be tested by throwing an Execption and displaying (using a seperate page)
              all objects in the application, the cache with the Exception will be displayed
              as xxx.lock
              This can be avioded by catching all Exceptions
              Gareth
              

    "Christian Corcino" <[email protected]> wrote in message
              news:3b5e3776$[email protected]..
              > I do not quite understand the purpose of the keys in the cache tag,
              > what are they used for.
              > These are the different keys :
              > parameter.key | page.key | request.key | application.key | session.key
              >
              > Can any one give me an example of when and how to use these keys,
              These are logical sub-keys you can use to distinguish two tags that would
              otherwise resolve to the same cached value. It helps prevent "overloading"
              the cache name with disjoint information needed to distinguish cache
              entries.
              For instance, our application supports multiple languages and uses a page
              variable called "language". Assume we want to cache the computed contents
              of a select element according to the user's language:
              <wl:cache name="selectValues_foobar" key="page.language" timeout="30m">
              [code to compute select values omitted]
              </wl:cache>
              This lets us use one name to describe the particular dataset while still
              allowing for independently cached values for differents values of
              "language".
              Felix Hack
              [email protected]
              

  • Bad bug with ID3 tags of different case for same artist

    My itunes files and music library are on a different drive than my boot drive. It is an internal drive (always on) in my Mac Pro at /Volumes/Media1/iTunes with music library at /Volumes/Media1/iTunes/iTunes Music. iTunes is setup to automatically keep it organized and copy files to the media folder when adding. It has been this way for years, never a problem.
    Just recently, and I think this may have coincided (but I'm not sure) with a 10.6.5 Snow Leopard update, my music started disappearing! The entries were still in the library, but with the missing exclamation mark in itunes with it reporting that it couldn't find the files. But only certain artists. After searching my computer, I found the missing files it at the same path, but on my boot drive, at /Media1/iTunes/iTunes Music/<missing artist>!
    Trying to add these files back to my library would work briefly, but then they would magically disappear out of /Volumes/Media1/iTunes/iTunes Music and go back to /Media1/iTunes/iTunes Music/
    I figured out the one thing the different artists that had this behavior had in common - some of the ID3 tags for the same artist, which are the basis for organization, were in different cases. I think there is a weird case sensitivity bug that is breaking things. When I add back only those songs for an artist with ID3 tags for the artist of the same case, the behaviour stops.
    I'm posting less looking for an answer and more to raise visibility and hope this gets a fix.
    Example entries from my iTunes Library.xml, notice how the 'k' in OutKast is a different case in the entries.
    <key>Artist</key><string>OutKast</string>
    <key>Location</key><string>file://localhost/Volumes/Media1/iTunes/iTunes%20Music/OutKast/Speakerboxxx,%20Th e%20Love%20Below%20(Disc%202)/13%20Pink%20&%20Blue.mp3</string>
    <key>Artist</key><string>Outkast</string>
    <key>Location</key><string>file://localhost/Volumes/Media1/iTunes/iTunes%20Music/Outkast/Aquemini/12%20Spot tieOttieDopaliscious.mp3</string>

    I'd like to note that I'm experiencing the exact same issue. I'd add to this but petegas4life has it spot on. I'm just replying in hopes this thread gets noticed so the engineers at apple can look into this and hopefully fix it in the next release.
    Reproducing the problem is pretty simple too. Just take one song from an album and change the case of the artist name. You'll see the music move to the boot drive and all of the songs from that artist won't work in itunes anymore. And if you're relying on iTunes to edit the tags, fixing the files is a PAIN because they keep disappearing on you.

  • Weblogic cache tag usage experience? issues?

              I want to use weblogic custom tag "cache" in the jsp.
              I was wondering if anybody used it in high volume internet production environment.
              Experience/Issues with
              - memory usage
              - cache refresh issue while multiple threads accessing the jsp at the sam time
              - any lessons learned that you can share.
              Thanks.
              

              I want to use weblogic custom tag "cache" in the jsp.
              I was wondering if anybody used it in high volume internet production environment.
              Experience/Issues with
              - memory usage
              - cache refresh issue while multiple threads accessing the jsp at the sam time
              - any lessons learned that you can share.
              Thanks.
              

  • What about the memory leak Bug in foreach tag

    Hi,
    does anybody knows if this bug is resolved already ?
    http://issues.apache.org/bugzilla/show_bug.cgi?id=25623.
    I see memory leaks in our application, and deeper check with YourKit profiler show that the objects retained in the jstl tags?
    Any help?

    Thanks for the info.
    The bug is in 'WONT FIX' status which is a shame.
    ram.

  • [BUG] Media Cache Files

    Windows7 x64, SP1
    Media Cache Files recreating each time when I open a project. But when I close Premier Pro- this folder was not cleared automatically. This is bug for end-user because this folder "eat" huge disk space.
    Who know why and how it can be cleared? Only advanced users. And the rest will see "out of space".
    You need to fix Premier Pro so Media Cache Files folder can be cleared after Premier Pro is closed.

    If the cache cleared every shut-down, it wouldn't be 'cache'.
    Clearing cache between projects is a fine idea. Here are some other thoughts on the subject.
    Clean those Adobe Media Cache Files by Scott Simmons
    MediaStorm Guide to the Adobe Premiere Pro Media Cache Database

  • Synchronization of DRE cache and fragmentation

    Is possile to defragment DRE cache, when some chunks are deleted after DRE synchronization? Is there an automatic defragmentation of DRE cache? Thank you.

    Roman,
    The DRE cache doesn't have a utility for defragmentation. The database has been improved and optimized over the life of the product to reduce the necessity for this. For catastrophic failures however, the database/cache can be deleted and repopulated with new traffic if needed.
    Hope that helps,
    Dan

  • Sunone 7 bug with cache helper

    hi,
    I upgrade the server sun one 6.1 to 7 in a sparc solaris 9 cluster few days ago and we had problems running our web application servelts and jsp.
    We got errors connected with the cache helper we desable it in the web-sun.xml file because it did problems before :
    <cache enabled="false"></cache>
    in the server 6.1 the cache was desable and everything work ok. I must remark our web application are in a storage conected to the server by nfs. The server instances is local disk installed in each server. Then the cache is in a local disk, only the servlets and jsp are in the storage engine.
    The sun one 7 ignores the cache def. in the web-sun.xml file and it tries to work with cache causing errors in our application:
    [15/Jan/2008:09:02:23] failure (24363): for host lib-353-1.law.huji.ac.il trying to POST /dataj/controller/students/, service-j2ee reports: ApplicationDispatcher[dataj] PWC1231: Servlet.service() for servlet default threw exc
    eption
    javax.servlet.ServletException: WEB8002: HTTP status code 500
    at com.sun.webserver.connector.nsapi.NSAPIConnector.include(NSAPIConnector.java:540)
    at com.sun.webserver.connector.nsapi.NSAPIConnector.dispatch(NSAPIConnector.java:469)
    at com.sun.webserver.servlets.DefaultServlet.service(DefaultServlet.java:101)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:792)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:548)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:984)
    at org.apache.jsp.template_jsp._jspService(Unknown Source)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:792)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:472)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
    at com.huji.data.system.RegularDataSystem.gotoSystemPage(RegularDataSystem.java:347)
    at com.huji.data.controller.processRequest(controller.java:274)
    at com.huji.data.controller.doPost(controller.java:71)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:816)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at com.huji.data.ControllerFilter.doFilter(ControllerFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
    at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
    what can we do to avoid this problems ? there is a bug in the sun one 7 we can't desable the cache feature for web applications if we don't wnat it.
    thanks!

    The details about this bug we find here:
    http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWadoc/SUNONEAPPSVRERROR/logweb.html#1011284
    the problems exists also in sunone 6.1 sp5 under solaris 9 but we desable the cache and everthing work find. But it's a big bug that the caching cause such problem, i didn't see this problems in our linux/apache/tomcat platforms. We use sunone only in our sparc/solaris machines due to special circunstaces in some applications that they don't work well with apache.
    Details about server:
    SunOS www 5.9 Generic_117171-15 sun4u sparc SUNW,Sun-Fire-V210
    obj.conf
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="assign-name" name="stats-xml" from="(/stats-xml|/stats-xml/*)"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index-j2ee"
    PathCheck fn="find-index" index-names="index.html,home.html,index.htm,.index.html,.index.htm"
    PathCheck fn="set-cache-control" control="no-store"
    ObjectType fn="type-j2ee"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    ObjectType fn="shtml-hacktype"
    Service type="magnus-internal/jsp" fn="service-j2ee"
    Service fn="shtml_send" type="magnus-internal/parsed-html" method="(GET|HEAD)" opts="noexec"
    Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="x-httpd-php">
    ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
    Service fn="php4_execute"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi" user="$user" group="$group" dir="$dir" chroot="$chroot" nice="$nice"
    </Object>
    <Object name="j2ee">
    ObjectType fn="force-type" type="text/html"
    Service fn="service-j2ee"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="stats-xml">
    Service fn="stats-xml"
    </Object>
    server.xml
    <file-cache>
    <max-age>120</max-age>
    <max-entries>1024</max-entries>
    <sendfile>true</sendfile>
    <max-heap-file-size>2048</max-heap-file-size>
    <max-heap-space>1048576</max-heap-space>
    <max-mmap-file-size>537600</max-mmap-file-size>
    <max-mmap-space>10485760</max-mmap-space>
    </file-cache>
    <web-app>
    <uri>/dataj</uri>
    <path>/fs/www/w2w7/dataj</path>
    <description>The java based data</description>
    </web-app>
    <jvm>
    <java-home>/home/SunOne7/jdk</java-home>
    <debug>false</debug>
    <server-class-path>/home/SunOne7/lib/webserv-rt.jar:/home/SunOne7/lib/pwc.jar:${java.home}/lib/tools.jar:/home/SunOne7/lib/webserv-jstl.jar:/home/SunOne7/lib/container-auth.jar:/home/SunOne7/lib/jsf-impl.jar:/home/SunOne7/lib/jsf-api.jar:/home/SunOne7/lib/webserv-jwsdp.jar:/home/SunOne7/lib/ktsearch.jar:/home/SunOne7/lib/mail.jar:/home/SunOne7/lib/activation.jar:/home/SunOne7/lib/ant.jar::${java.home}/lib/tools.jar</server-class-path>
    <env-class-path-ignored>true</env-class-path-ignored>
    <jvm-options>-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter</jvm-options>
    <jvm-options>-Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl</jvm-options>
    <jvm-options>-Djava.security.policy=server.policy</jvm-options>
    <jvm-options>-Djava.security.auth.login.config=login.conf</jvm-options>
    <jvm-options>-Xmx256m</jvm-options>
    <jvm-options>-Xrs</jvm-options>
    </jvm>
    <servlet-container>
    <dynamic-reload-interval>5</dynamic-reload-interval>
    <anonymous-role>ANYONE</anonymous-role>
    </servlet-container>
    sun-web.xml
    <session-config>
    <cookie-properties>
    <property name="isSecure" value="true"/>
    </cookie-properties>
    </session-config>
    <cache enabled="false"></cache>
    <class-loader delegate="true"
    extra-class-path="lib/log4j.jar;lib/mysql-connector-java-3.1.13-bin.jar;lib/SSOCommon.jar;lib/SSOClient-dis.jar;lib/activati
    on.jar;lib/jax-qname.jar;lib/jaxb-api.jar;lib/jaxb-impl.jar;lib/jaxb-libs.jar;lib/namespace.jar;lib/ralaxngDatatype.jar;lib/xs
    dlib.jar"/>
    <jsp-config>
    <property name="javaEncoding" value="windows-1255"/>
    <property name="classdebuginfo" value="true">
    <description>Enable debug info compilation in the generated servlet class</description>
    </property>
    <property name="mappedfile" value="true">
    <description>Maintain a one-to-one correspondence between static content and the generated servlet class' java code</des
    cription>
    </property>
    </jsp-config>
    </sun-web-app>

  • Bug with MP3 tags & full-resolution photo storage...

    My birthday was last week and I got a new iPod classic 120 gb......
    I am a music (67 gb) and photo buff (22 gb)......and I am having trouble with each. I am using the XP box to do the syncing, since my wife's iBook doesn't have enough storage space to hold all of our photos and MP3s.
    1) Music...... for xmas and my birthday I got 7 new CDs.... I ripped all 7 into iTunes prior to syncing my iPod for the first time and all 7 work perfectly on my family's 3 computers (laptop running OS X 10.4.11, laptop running Ubuntu, and an old Windows XP box that I use as a file server). Yet they all don't show up correctly on the iPod.....
    a) +Slumdog Millionaire+ soundtrack shows up in iTunes with each artist for each track listed correctly....yet on the iPod all songs are under "Various Artists"
    b) +The Best of Clifford Brown+ & +The Juno sountrack+ don't show up at all on the iPod even though they register correctly in iTunes
    c) Charles Mingus' +Mingus Ah Um+ & The Soundtrack for the movie Once.......shows up under album view on the iPod with "Charles Mingus" listed as the artist, but does not show up under Artist view.
    d) The other two CDs work normally.
    I ripped all of these CDs at the same time. They all work perfectly in iTunes and in Amarok on my laptop running linux. Why won't they show up correctly on my iPod? It is only these new CDs, the rest of of my giant library synced perfectly. I deleted the files and restored the iPod and the MP3s on the desktop from my back-up but that did nothing.
    What is causing this? Should I re-rip the original CDs?
    2) Photos.....I think this is just an Apple thing....but I thought I'd ask....I take LOTS of pics.....my pictures all synced up perfectly with my iPod. I selected the option to upload the full resolution photos as an added redundant back-up since i have the extra space on the iPod......but iTunes didn't take my existing file structure (each folder is an album)...it dumped my 20,000 plus photos into a single folder for March 15th (The day of the original sync) in the iPhoto style file system. The tags are all intact with the correct date, but iTunes didn't read them.
    I know this is a personal preference thing.....but I stopped using iPhoto exclusively because it made backing up my photos too cumbersome between different operating systems. I've always found it ironic that it is easier to illegally share copyrighted MP3s out of iTunes then to share non-copyrighted family pics out of iPhoto. It seems my iPod is forcing me back into the iPhoto file system. Is there a way to get iTunes/iPod to just copy my existing file structure so that I can navigate through album folders rather then the giant mass of photos.

    Shawn, the issue with the music is likely due to the fact that the CDs in question are compilations (or at least marked as compilations in iTunes).
    When an album is labeled as a compilation, the iPod will not list its contents under the artist, instead, you need to enable compilations on the iPod and look there. It will also place the album art for these tracks at the end of Coverflow.
    You can undesignate tracks as compilations by right clicking the tracks, choosing "Get Info" and go to:
    Options tab (if you are highlighting multiple tracks)
    Info tab (if you are highlighting single tracks)
    I can't help with your photo issue (I only have music on my iPod), though you are probably correct that this is just the way Apple has chosen to file the photos.

  • Possible bug using go tag with redirection under SSL?

    I've been testing an application under SSL and have noticed that some links "pop-out of SSL". Upon further inspection I noticed the links were using <go> tags with redirect set to true.
    Does anyone know where <go> gets the URL it uses? I'm wondering if this might be a webcache configuration issue or appserver config issue.
    note: using AS 10g 9.0.4.1.1
    Thanks in advance!
    /SFL

    Hi all,
    Just thought I'd update on resolution. As suspected, an AS config issue was responsible for this glitch. Long story short WebCache can communicate in 2 ways w/ an origin server (HTTP or HTTPS). You can have WebCache use SSL w/ the client and still communicate with the origin server using HTTP (which was our case). PITFALL: the origin server is unaware of the use of SSL by the client (WebCache only "knows"). SINCE THE ORIGIN SERVER IS THE ONE EXECUTING THE <GO> TAG, when using redirect=true attribute with the tag, the URL generated by the rewrite routine is HTTP and not HTTPS as one might expect when accessing the app via SSL.
    Hope I can spare someone else the headache...
    Cheers!
    /SFL

  • Bug? Accessibility Tags Converting from Word 2007

    This seems like a minor issue, but it's one that could create a lot of frustration for a disabled person using a screenreader to read tabular data in a PDF.
    As you know, Acrobat plays nicely with Office apps allowing users to create tagged (structured), accessible PDF documents from MS Office files. I just created a simple docx file with a table (attached), and when I converted it to PDF, I noticed a difference in the tags it creates compared to conversion from Word XP. As you see in the Word file, the table is very basic, except that one of its column headers is split into two cells. This is actually a very common technique for presenting table data. In order to automatically tag the header rows as table header cells <TH> in the PDF, I set the first two rows to "Repeat Header Rows."
    Converting from Word 2007 with the "Save as Adobe PDF," or any other method that uses the Acrobat plugin, creates a tag tree that is missing a <TH> tag. I found the problem when I was testing a file with JAWS screenreading software. Using the JAWS "current cell" command (Ctrl-Alt-Numpad 5) to announce the column headers. It reads the wrong header for the current cell due to the missing <TH>. So, in my example file, it announces $2 and $5 as 2010 amounts rather than 2009. That could be pretty confusing to a screen reading user, to say the least.
    I then compared the result to the new Word 2007 "Save as PDF or XPS" feature. That feature tagged the file properly and the header columns match up.
    Compare the attached "save-as-adobe-pdf.gif" to"save-as-pdf-xps.gif". Note the empty (but necessary) <TH> tag in the latter image.
    Just as a sanity check I had a coworker with Word XP convert the file. Those tags were correct too. So, this must be a problem between Acrobat and Word 2007.
    Anyone have other observations on this? I'm going to be leading some accessibility training and right now, it looks like using the Word 2007 conversion feature is the way to go.
    I'm using Acrobat 9 Pro.
    Thanks,
    Joe

    Hi Joe,
    I sense your frustration. For any organization that has to or wants to engage in providing accessible online information
    a serious logistics support issue raises its head. To do PDF, HTML, whatever the proper way (and it can be done)
    requires more resources (training, knowledge, hardware, software, changes to work flows, perhaps some more staff).
    The is no "work smarter with less & pump out more" in this venue.
    Yes, it is helpful (and necessary) to "be one" with the S508 "paragraphs" - WCAG 1.0 - WCAG 20.
    However, once anyone begins to provide PDFs that must be "accessible" the first, single most important reference is ISO 32000.
    The Adobe PDF References that preceded PDF becoming an ISO Standard are useful; but, ISO 32000 is the standard.
    In this documentation there is full discussion of what *must* be done to provide an accessible PDF.
    Without a firm understanding of this content, other information tends to bring about a defused opacity of focus which can
    contribute to major conceptual errors vis-a-vis accessible PDF.
    Leonard Rosenthol's AUC blog entry provides a link to the ISO permitted Adobe version (free) of ISO 32000-1.
    http://www.acrobatusers.com/blogs/leonardr/adobe-posts-free-iso-32000
    Additional, useful information is found in these two documents:
    (1) - PDF Accessibility API Reference (from the Acrobat SDK)
    https://acrobat.com/#d=J7bWW4LvNoznh8fHCsfZDg
    (2) - Reading PDF Files Through MSAA
    https://acrobat.com/#d=uIOvkVTP74kag3bXFJLIeg
    About JAWS - Yes, much used. However, not the exlusively used AT application.
    If I use Windows Eyes, NVDA, a braille reader, or something else then what?
    JAWS *does not* define "it is accessible"...
    re: (1)
    "Game away and if it ...."
       Consider "Stop before right on red".
       "Compliance" is Stop on Red - Turn Right
       "Intent" (aka usability) is Stop on Red -  Look Good for on coming traffic that has the right of way - Yield - when clear, turn right.
    But, at least we are not talking about "left on red" 8^)
    re: (2)
    Just an observation. A defective product that claims to be "whole" can get entities (individuals/businesses) into a sticky wicket.
    Putting a high volume of defective products on one's selves only increases the probability that one gets 'busted'.
    Quantity replacing Quality just is not a success precursor.
    Case in point - Target and the national class action legal action that was taken against it with regards to "accessibility" of online information/services.
    Resolved now - see NFB's web site.
    re: (3)
    Ah, but what would Judge Judy or Judge Marily say?
    Efficiency does not preclude providing a "whole" product.
    I doubt that there will ever be a seamless "one-click" between products of any of the dominant software houses.
    They are intense competitors. That this is the case does not abrogate others from providing a "whole" product, no?
    So, if the organization wants the "we do accessible PDF" label then it pays the freight - Adobe Pro, training, appropriate work flows, etc
    that permit delivery of PDFs that meet the standards for what a well formed tagged output PDF is (accessible is a sub-set of this).
    For PDF there is no other way.
    If this cannot be done then there is always HTML as an acceptable method (to some it is the preferred and only "true" way).
    However, HTML, done "right" for accessiblilty is just as demanding in its own way.
    With each AT version / dot version release, JAWS - Windows Eyes - NVDA & others hone in closer on utilizing PDF ISO Standard 32000.
    That means if you deploy "accessible" PDF you need to provide PDF that live to the ISO standard.
    Keep in mind that S508's paragraphs began when, effectively, HTML was "it". In software terms that was geologic eons ago.
    For contemporary AT to effectively parse PDF, the PDF must be a well formed Tagged PDF having a format/layout that reflects a logical hierarchy.
    Creation of all this must start in the authoring environment with the content author.
    The post-process PDF output then assures that the PDF elements (tags) are the correct type, have the requisite attributes, etc.
    Without this, AT will not be able to provide the end-user effect utilization of the PDF.
    So, for AT to properly 'work' the PDF, <TH> elements *must* have the Scope attribute's value defined, Row and Column Span values defined, etc.
    Scope, Row Span, Column Span, Table IDs and Headings must be added as part of the post-processing of a PDF using Acrobat Professional.
    An alternative is the Netcentric CommonLook plug-in for Acrobat Professional. What it does, Acrobat Pro can do; however, the CommonLook
    provides a robust user interface. Downside: at some $1k per seat it is not 'cheap' and it has a *steep* learning curve (Sitka Pass?).
    Two table related resources are at this AUC thread (in post 3 and 4). They may be of some usefulness.
    http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=23178
    When the "smelly stuff" gets feed into the maw of the fan it's prudent to not be directly down stream, eh.
    Consider Target and the situation they put themselves in.
    Consider submittal of accessible PDF to fedgov or stategov agencies.
    They won't be in front of the fan if usability of the PDFs becomes an issue.
    Rather, it will be those submitting. After all the agency did say "accessible".
    Better to slow down and do it right or ramp up resource loading to support "schedule" than to stake oneself out as someones "feed" tomorrow, no?
    In the final analysis, for PDF, HTML, or any 'format',  Accessibility is the Usability + Compliance.
    Does it take improvements in professional development/training, adequate hardware/software, *time*?
    Yes. But, it all comes down to "where the rubber hits the road" - what tires are you on?
    It can be done. I do it one small step at a time every day. Often, that's what it takes.
    Deliverables are provided; but, with no mis-labeling and the incremental progress is identified, celebrated and the whole thing continues until
    the "road" is completed properly.
    Don't want wash outs, bridge collapse or what not tomorrow <g>.
    (But then I'm a fan of "Holmes on Homes" which may go a long way towards understanding my point of view when it comes to accessible PDF.)
    re: function(){Return ....
    Good question.
    My guess - either from the cut & paste I initially performed from the application I'd been using to assemble write up and screenshots or something associated with the Adobe Forum application.
    It can't be that I'm 'special'; if that was the case one of my occassional lotto quick picks would have been a big $ winner long ago <G>.
    fwiw -
    You'll find a number of "Accessible PDF" related resources in the threads at the AUC Accessibility Forum.
    http://www.acrobatusers.com/forums/aucbb/viewforum.php?id=18
    Two Accessible PDF related on demand eSeminars are also available.
    Look for Duff Johnson's and Charlie Pike's (on page 2) eSeminars.
    http://www.acrobatusers.com/learning_center/eseminars_on_demand
    Be well...

  • UIX/JSP: bug of the tag uix:tabBar

    Please, can someone comment on the following behavior of the tag <uix:tabBar>:
    The UIX/JSP tag <uix:tabBar> is commonly used together with the <uix:link>.
    I cannot make the last one work in a more complex way but just using its attribute 'destination'.
    For example, the tag <uix:link> has an attribute 'onClick' but it fails to work within the tag <uix:tabBar>. So in this example:
    <uix:tabs>
    <uix:tabBar >
    <uix:link text="alert" onClick="alert('Test alert');" />
    <uix:link text="Main" destination="UixEdit1.jsp />
    </uix:tabBar>
    </uix:tabs>
    The link 'alert' is visible but doesn't work.
    Maybe this should be solved by wrapping <uix:link> in something...

    Yes, Juan it works fine outside the TabBar.
    But, Adam it's not quite clear to me what you mean by the "javascript URLs".
    The one thing I want is to make a row editing form divided into 2 tabs (instead of the one, generated by the wizard). So I have do form updates on the event "moving to other tab". Can you advise, how I can put any javascript inside the <tabBar>?
    Thank you.

Maybe you are looking for