JSF - Chart (Apache Trinidad Library problem)

hi,
i did instructions from this page:
http://free-jsf-components.net/install_guides/myfaces-trinidad.html
My jsp is:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh" %>
<%@taglib uri="http://myfaces.apache.org/trinidad" prefix="tr" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>Chart</title>
        </head>
        <body>
            <h1><h:outputText value="Example Chart Trinidad"/></h1>
            <tr:document>
                <tr:form>
                        <h:panelGrid columns="3">
                    <tr:chart value="#{myChartModel}" type="pie" />
                    <tr:chart value="#{myChartModel}" type="bar" />
                    <tr:chart value="#{myChartModel}" type="radar" />
                    <tr:chart value="#{myChartModel}" type="radarArea" />
                    <tr:chart value="#{myChartModel}" type="funnel" />
                    <tr:chart value="#{myChartModel}" type="circularGauge" />
                    <tr:chart value="#{myChartModel}" type="semiCircularGauge"
                         YMinorGridLineCount="1" />
               </h:panelGrid>
                </tr:form>
            </tr:document>
        </body>
    </html>
</f:view>but i have errors in lines:
<%@taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh" %>
<%@taglib uri="http://myfaces.apache.org/trinidad" prefix="tr" %>
that uri in web.xml cannot be resolved or jar files
part of my web.xml:
<!-- trinidad -->
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
  /WEB-INF/faces-config.xml
</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>
  org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE
</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>
  org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>
  org.apache.myfaces.trinidad.CHANGE_PERSISTENCE
</param-name>
<param-value>session</param-value>
</context-param>
<context-param>
<param-name>
  org.apache.myfaces.trinidad.resource.DEBUG
</param-name>
<param-value>false</param-value>
</context-param>
<!-- trinidad -->
<!-- Register Trinidad filter -->
    <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>faces</servlet-name>
    </filter-mapping>
<servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    <!-- This cannot be configured currently -->
    <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>i use netbeans 6.7 and glassfish v2.1, i added jar files to my project what's wrong?
regards

hi,
i did instructions from this page:
http://free-jsf-components.net/install_guides/myfaces-trinidad.html
My jsp is:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh" %>
<%@taglib uri="http://myfaces.apache.org/trinidad" prefix="tr" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>Chart</title>
        </head>
        <body>
            <h1><h:outputText value="Example Chart Trinidad"/></h1>
            <tr:document>
                <tr:form>
                        <h:panelGrid columns="3">
                    <tr:chart value="#{myChartModel}" type="pie" />
                    <tr:chart value="#{myChartModel}" type="bar" />
                    <tr:chart value="#{myChartModel}" type="radar" />
                    <tr:chart value="#{myChartModel}" type="radarArea" />
                    <tr:chart value="#{myChartModel}" type="funnel" />
                    <tr:chart value="#{myChartModel}" type="circularGauge" />
                    <tr:chart value="#{myChartModel}" type="semiCircularGauge"
                         YMinorGridLineCount="1" />
               </h:panelGrid>
                </tr:form>
            </tr:document>
        </body>
    </html>
</f:view>but i have errors in lines:
<%@taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh" %>
<%@taglib uri="http://myfaces.apache.org/trinidad" prefix="tr" %>
that uri in web.xml cannot be resolved or jar files
part of my web.xml:
<!-- trinidad -->
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
  /WEB-INF/faces-config.xml
</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>
  org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE
</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>
  org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>
  org.apache.myfaces.trinidad.CHANGE_PERSISTENCE
</param-name>
<param-value>session</param-value>
</context-param>
<context-param>
<param-name>
  org.apache.myfaces.trinidad.resource.DEBUG
</param-name>
<param-value>false</param-value>
</context-param>
<!-- trinidad -->
<!-- Register Trinidad filter -->
    <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>faces</servlet-name>
    </filter-mapping>
<servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    <!-- This cannot be configured currently -->
    <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>i use netbeans 6.7 and glassfish v2.1, i added jar files to my project what's wrong?
regards

Similar Messages

  • Style Message in design view with Apache Trinidad HTML components

    Hi !!!
    I'm using Apache Trinidad HTML components. In that components after using Table Layout I'm trying to use Row layout after dragging the row layout to the design view the following message is appearing in the design view, the same is happening in the browser window also.
    style="position:absolute;width:auto;height:auto;top:0px;left:0px;bottom:0px;right:0px"
    Thanks in Advance
    Anil Kumar Golla

    Ric,
    First I created an application by selecting New Application from the Application Navigator. In that application window I submitted relevant names for creating the new application, after that it displayed the project window in that I given the project name then in Jdeveloper's Application window the project name is displayed from there I selected new by right clicking, in that New gallery window, I selected Web Tier > Page Template > Ok. In the Create Jsf Page template window I created a File Name and Facet Definitions namely North, West, East, South and Center. After that Jdeveloper created the new JSPX page. In that page first I dragged panel stretch layout from Adf Faces to the Jdeveloper's design view and given facet references (North, West, East, South and Center). In the North Portion I dragged the Apache Trinidad HTML's Table Layout component, after that Row layout, then in the design window I'm getting the "style="position:absolute;width:auto;height:auto;top:0px;left:0px;bottom:0px;right:0px". The same is displaying in the browser window also.
    Thanks in Advance
    Anil Golla

  • Glibc-2.9.2-i686 breaks apache and causes problems with samba?

    I could not start the apache daemon.  The output from /usr/sbin/apachectl start is
    httpd: ../sysdeps/posix/getaddrinfo.c:1465: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
    /usr/sbin/apachectl: line 78: 2933 Aborted $HTTPD -k $ARGV
    The getaddrinfo.c, I believe, is in the glibc package.
    Also, I get error logs in my /var/log/samba directory named like  "__ffff" followed by the IP address of a remote client.  In one of them it says that samba is dumping core and contains
    [2008/12/24 18:47:10, 0] lib/util.c:log_stack_trace(1767)
    BACKTRACE: 23 stack frames:
    #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb7cda584]
    #1 /usr/sbin/smbd(smb_panic+0x80) [0xb7cda6e1]
    #2 /usr/sbin/smbd [0xb7cc5033]
    #3 [0xb7a31400]
    #4 /lib/libc.so.6(abort+0x188) [0xb733b0c8]
    #5 /lib/libc.so.6(__assert_fail+0xee) [0xb73326ee]
    #6 /lib/libc.so.6 [0xb73c7a01]
    #7 /lib/libc.so.6 [0xb733b888]
    #8 /lib/libc.so.6(qsort_r+0x291) [0xb733bdd1]
    #9 /lib/libc.so.6(getaddrinfo+0x7cf) [0xb73c91ff]
    #10 /usr/sbin/smbd [0xb7cdca56]
    #11 /usr/sbin/smbd(get_mydnsfullname+0x181) [0xb7cdcc5d]
    #12 /usr/sbin/smbd(get_mydnsdomname+0x17) [0xb7cdada1]
    #13 /usr/sbin/smbd [0xb7b7af8c]
    #14 /usr/sbin/smbd(ntlmssp_update+0x297) [0xb7b792d6]
    #15 /usr/sbin/smbd(auth_ntlmssp_update+0x48) [0xb7d27cc1]
    #16 /usr/sbin/smbd [0xb7b04ecf]
    #17 /usr/sbin/smbd(reply_sesssetup_and_X+0x1c4) [0xb7b057cd]
    #18 /usr/sbin/smbd [0xb7b39f16]
    #19 /usr/sbin/smbd(smbd_process+0x429) [0xb7b3ba61]
    #20 /usr/sbin/smbd(main+0xfa2) [0xb7f2bbc7]
    #21 /lib/libc.so.6(__libc_start_main+0xe5) [0xb73256c5]
    #22 /usr/sbin/smbd [0xb7abfa81]
    I downgraded glibc to 2.8-3 and I can now start apache.  No problems with samba yet either although I had to make pacman skip dependency checks because a number of packages depended on glibc >= 2.9.

    getaddrinfo.c - this is place where glibc 2.9 has a major change in IP resolving. see the bugreport we had and still have. search google and upstream (Fedora/RedHat) for reports.
    maybe a simple recompile of the affected packages can help. holding an outdated version is a bad solution. new packages compiled against the new version may use new functions and break with the old one.

  • Apache Trinidad is running with time-stamp checking enabled.

    Experts,
    Contents of my web.xml file
    <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>When my application runs i get the following on the weblogic console
    <ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
    Isnt it a bit strange ? Please advise what is wrong.
    thnks
    jdev 11.1.2.1

    If you're talking about the integrated WLS, time-stamp checking is automatically enabled no matter what so that changes you make in the IDE can be picked up. It's nothing to worry about.
    John

  • Chart x scale update problem

    LabVIEW  8.5.1
    Sweep Chart Problem
    The x scale values do not update until after the 2nd sweep.  The red line cursor gets to the end of the sweep and starts the next, but the scale numbers do not update until the next sweep starts.
    It appears to be a problem with the chart, since it happens with any vi with a sweep chart.  I've used versions 6 through 7 for years and never seen this.  I've only recently moved to a new job with a new machine and version 8.5.1., so I'm not sure what to try.
    I've included a simple example.
    Thanks much,
    JSC321
    Attachments:
    Chart Sweep Scale Update Problem.vi ‏32 KB

    You have a typical race condition!
    There is no data dependency between the property node and the while loop, so in your case the loop starts executing first and the property node starts slightly later, immediately erasing the first point. Execution order is not defined.
    All you need to do is add a data dependency, e.g. as with the error cluster in the image. This forces the property node to complete before the loop is allowed to start.
    (Execution order is enforced even if the wire value is not even used inside the loop )
    Try it!
    Message Edited by altenbach on 12-23-2008 11:08 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    HistoryRace.png ‏10 KB

  • The missing library problem.

    I understand that there's already a lot of threads about the sudden disappearance of iTunes libraries, however I'm typing this up because I'd like to point out in a bit more detail what I'm seeing happening to my computer, and maybe have a collective of what's going on. This issue has happened to me five times in the last two months since I've updated to iTunes 11. After searching on google I know the missing library problem has existed since the early 2000s; why this glitch has yet to be fixed 13 years later is beyond me. I have personally never had this problem until updating to 11, and seeing the many other threads on here this appears to me to be an issue with this version of the software more than it has been in previous versions.
    Before I continue, I have tried the following to fix it:
    Simply readded my whole library. It was only wiped again a few weeks later.
    Completely uninstalled and reinstalled iTunes. That didn't work either, so it's not just an updating problem.
    What I haven't tried
    Changing where on my computer iTunes is installed. I have no idea where on the computer might be better or if it will change anything. I have iTunes installed on its default location on my local C: disk.
    Importing the music directly from my iPod into iTunes. Can this be done? If so, how? Not everything on my iTunes is a store purchase, most of it is imported CDs and also amazon purchases too. So I don't know if the transfer purchases option works. While this wouldn't fix this current issue, I would like to know how to do this if possible since it would just be a quick fix whenever this happens.
    What is happening:
    So each time this has happened, what occurs is that like many other people, one day I open my iTunes and everything is in order. Then the next, for no reason, all of my libraries are gone but the music is still on my computer, organized in their files the way iTunes had them done so upon importing. I can't use the .itl files in the "previous libraries" folder because they have also been re-written. Upon opening them, even if their last save was on a day I know everything was in working order, opening them does nothing but give me the same blank default page.
    What isn't mentioned in a lot of the posts regarding this issue, is the sudden crop of temporary files in the iTunes folder.
    The ones that have cropped up for me personally are the following:
    iT 1.tmp
    iT 2.tmp
    iT 3.tmp
    iT 4.tmp
    Temp file 1.tmp
    Temp file 2. tmp
    Those were not there the last time I used iTunes, and they're never there on the days I've used it before and it has worked correctly. However every time my library is wiped, these files suddenly appear without fail, every time. I can't open them, I can't do anything with them except delete them. I believe I remember reading somewhere that this might be an issue regarding with how the program is saving the progress of your library changing, and that the temp files are there until it can "officially" save what has happened to your library. While I didn't change anything in my library in the last couple of weeks, I'm assuming this also counts things like play count.
    My own personal opinion
    Seeing just how many threads with this issue are popping up, this leads me to believe that this isn't just a problem with my personal computer or my personal install of iTunes 11. These temp files also lead me to believe that as well. In other words, whatever glitch has existed with iTunes since the early 2000s is for some reason running rampant in version 11.
    TL;DR:
    Please developers, actually look at this library glitch within the program itself. It can't just be an individual user's problem because way too many people are experiencing it.

    No worries. You've probably run into one the other threads I've posted to but I'll add my thoughts here anyway...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping.  Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.
    In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be copied and renamed as iTunes Library.itl to restore the library to an earlier state. Look for a recent .tmp file that is similar in size to the .itl files in the Previous iTunes Libraries folder. If it has happened repeatedly you may want the earliest such file generated since the last iTunes upgrade.
    If applicable, see iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.
    I've noticed more of these missing library posts of late and a common factor to most since I started asking is AVG Anti-Virus. It seems in some cases it might be at least part of the reason why the library file disappears. Try excluding the iTunes folder from any AV scanning process.
    tt2

  • Bug: OEPE 12c Apache Trinidad Component Palette

    The OEPE 12c Apache Trinidad component palette does not list all the components.
    1. Create a Dynamic Web Project.
    2. Add the Trinidad 1.2 Project Facet.
    3. Add the taglib declaration for trinidad to index.jsp.
    <%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>
    4. Within the f:view tag select the component palette for http://myfaces.apache.org/trinidad.
    5. Only the "table" and "column" components get listed.

    Hi,
    I just test it and I get all the components listed. If you go Help -> About -> Click on the OEPE Icon can you tell me the full version that appears on Oracle Web Tier Tools?
    Thanks,
    Juan Camilo

  • Ovi Suite 3.0.0.290 - Music library problems...

    Hello,
    Just bought a Nokia E5, looks to be a sweet phone so far...
    Only, Ovi Suite is just annoying. Very slow on communicating with the phone (USB connection) and some big problems.
    Impossible to delete music from the library ! How is that ?? And also the library takes ages to add a new folder.
    Also, not seeing the playlist i've made on the phone ? Either on mass storage connection, in the playlist folder of the phone, nothing... But should be on a other threat.
    Hope you can solve the library problem because it's quite annoying.
    Thanks in advance for any answers.

    @satari
    Yeah, alright already!
    We get that without you plastering this message over EVERY single thread dealing with issues of that truly useless and pathetic piece of  software called Ovi-Suite.
    Especially since the new version DOES NOT SOLVE ANY OF THE ISSUES AT HAND IN THE THREADS YOU MASS PASTED INTO!
    Ovi-Suite 3.x still no longer syncs music, which IMHO is a basic function. Who on earth wants to be forced to manually update the phone playlists and songs whenever songs are added on the PC? That is beyond backwards.
    Hello? It's 2011, not 1991.
    Ovi Suite 3.x still randomly refuses to add songs to the library on the PC (e.g. it skips several songs from an album folder, yet they play fine when added to the phone manually outside Ovi-Suite), an issue that can only be corrected by deleting the entire library on the PC and recreating it. A "repair library" function is notoriously absent.
    I'd like a so called Smartphone to make tasks easier and more comfortable instead of harder.
    Newer Nokia handsets may be slightly less bad, but the N97 with Ovi-Suite is still the smartphone/desktop combo from hell.
    The fruit phone/ITunes combo is sadly restricted by the greed and desire to control everything of Apple, but at least the products work reliably and consistently for the most part. The same is true for 'Droid devices.
    Ever seen a black lemon? They turn black when they rot. My N97 is black. 'nuff said

  • JSF 1.1 RI Library

    Hi,
    When i create a web application (J2EE1.4 ) in NetBeans it is asking for a JSF1.1 RI Library to be included in the plugin.
    can someone tell me from where to download JSF 1.1 RI Library for Netbeans IDE 6.1.
    Thanks in advance

    in netbeans IDE go to tools\plug ins
    check that at the available plugins tab you have JSF Backwards Compatibility Kit item
    if yes install it
    else connect to internet and click reload button then you will see it
    if install you can now create your jsf project
    Dont forget to restart netbeans.
    Edited by: mahdizen on May 4, 2009 10:01 PM

  • Older itune version 10.6 trying to reinstall, library problem?

    I reinstalled older itune version 10.6 on Win7 after I reformatted the drive.
    1. Now i have a  library problem? the itunes will not open and i get a message "itunes library.itl" is from newer pgm. how can i work around it?
    2. i want to restore my itunes music library like it was before with the old libray i had from my backup, how can i do that?

    your serial number is for an upgrade version.  you need to prove you have a qualifying upgrade product.
    after you enter your upgrade serial number and the installer failing to find a previous version, you should be given the option to choose the previous version and enter its (the older version's) serial number.
    if that's not working, what version are you trying to install and why didn't the above work?

  • How to recover from deletion of JSF Run-Time Support Library

    While using the library manager to add a new library, we accidentally deleted the JSF Run-Time Support library. This was a big mistake as nothing works after doing this. Is there any way to recover from this gracefully and manually reconfigure this library back into the library manager? We have experimented with it on another system and found that we have to completely delete the user's preferences and then re-install JSC2 thus losing all the developer's environment which is quite a loss. We are sure it will happen again but we would like to find a more graceful recovery solution. This is a Windows environment.

    You can recreate the library definition, but doing it using the library manager tool is not possible.
    Close Creator. Inside your Creator user directory, create a file "jsfsupport-runtime.xml" in the directory
    .Creator\2_0\config\org-netbeans-api-project-libraries\Libraries
    Add the following content to the new file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE library PUBLIC "-//NetBeans//DTD Library Declaration 1.0//EN" "http://www.netbeans.org/dtds/library-declaration-1_0.dtd">
    <library version="1.0">
        <name>jsfsupport-runtime</name>
        <type>j2se</type>
        <localizing-bundle>com.sun.rave.api.jsf.project.libraries.Bundle</localizing-bundle>
        <volume>
            <type>classpath</type>
            <resource>jar:nbinst:///modules/ext/jsfcl.jar!/</resource>
            <resource>jar:nbinst:///modules/ext/jsf-impl.jar!/</resource>
            <resource>jar:nbinst:///modules/ext/jsf-api.jar!/</resource>
            <resource>jar:nbinst:///modules/ext/commons-beanutils.jar!/</resource>
            <resource>jar:nbinst:///modules/ext/commons-collections.jar!/</resource>
            <resource>jar:nbinst:///modules/ext/commons-digester.jar!/</resource>
            <resource>jar:nbinst:///modules/ext/commons-logging-1.0.4.jar!/</resource>       
            <resource>jar:nbinst:///modules/ext/dataprovider.jar!/</resource>       
            <resource>jar:nbinst:///modules/ext/appbase.jar!/</resource>
        </volume>
    </library>Restart Creator. Note however that if you delete your .Creator directory, you will loose the library definition.
    // Gregory

  • Migration of ADF table selection code to Trinidad code problem with RowKeySet

    we found a conversion problem as described below in one of the java files related to Manual UI.
        public void setPsdTable(CoreTable psdTable) {
            this.psdTable = psdTable;
            if (globalBean.isResetCreateRequestPsdQuarters()){
       ADF -code         this.psdTable.setSelectionState(new RowKeySet());
       Trinidad code     this.psdTable.setSelectedRowKeys(new RowKeySet());
                globalBean.setResetCreateRequestPsdQuarters(false);
    In Trinidad RowKeySet is abstract class whereas in ADF the same is normal class. Hence I found the below error message.
    Error(364,45): org.apache.myfaces.trinidad.model.RowKeySet is abstract; cannot be instantiated
    Please guide me if you have an idea on how to change the adf statement to Trinidad code statement “this.psdTable.setSelectionState(new RowKeySet());”

    Hi,
    which "4. click on back button." ? If its the browser back button then this only navigates back the UI not the server state of an application.
    Frank

  • Coldfusion 11 SSL Certs applied - The APR based Apache Tomcat library which allows optimal performance in production environments,

    Coldfusion 11
    Windows Server 2012 R2
    Both the Coldfusion admin and additonal site work fine on HTTP.
    As soon as I attempt to enable SSL websockets and install SSL certs, the Coldfusion 11 Application service will not start. I followed the steps below....
    Coldfusion 11 - Web Sockets via SSL
    The Coldfusion-error.log shows
    Jan 26, 2015 3:21:23 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
    Server was a cloned VM of the test server with developer copy of CF11, but license has been purchased and applied. SSL certs have been imported successfully, paths are correct in CF Admin to the cert file etc.
    Do I need to install another version of Coldfusion to get around this issue or is there a download update I need to apply?
    If i reconfig the \cfusion\runtime\conf\server.xml to comment out the SSL sections it works fine.
    Any assistance welcome - I can't allow this site to made publicly available with using SSL.
    SM

    @Scott, first are you running update 3? If so, let’s clarify at the outside that, as that bug report (you point to) does indicate in the notes below it, there is a fix for a problem where this feature broke in that release.  And as it notes, you can email [email protected] to request the fix (referring to that bug), or you can wait for it to be released publicly as part of a larger set of fixes.
    If you are NOT on update 3, or you may apply the fix and find things still don’t work, I would wonder about a few things, from what you’ve described.
    First, you say that the CF service won’t start, and you offer some lines from the ColdFusion-error log. Just to be clear, those particular error messages are common and nothing to worry about. They definitely do NOT reflect any reason CF doesn’t start. But are you confirming that that time (in the log lines) is in fact the time that you had started CF, when it would not start? I’d suspect not.
    Look instead in the coldfusin-out.log. What does THAT log show at the time you try to start CF and it won’t start? You may find something else there. (And since you refer to editing the server.xml file, you may the log complains that because of an error in the XML it can’t “parse” the file. It’s worth checking.
    You say also that you have confirmed that “paths are correct in CF Admin to the cert file”. What path are you referring to? There’s no page in the CF admin that points to the CACERTS file in which the certs are stored. Do you perhaps mean on the “system info” or “settings summary” page? Even so there’s still no line in there which refers to the “cert file”.
    Instead—and this could be a part of your problem—the cert file is simply found WITHIN the directory where CF’s pointed to to find its JVM. Wherever THAT is, is where you need to put any certificates. So take a look at the CF Admin, either in the ”java and jvm” page (and the value of its “Java Virtual Machine Path”), or in the “settings summary” or “system information” pages and their value for “Java Home”. Is that something like \coldfusion11\jre? Or something like \Java\jdk1.7.0_71\jre? Whichever it is, THAT’s where you need to put the certs, within there (in its \lib\security folder).
    Finally, when you say that if you “comment out the SSL sections  it works fine”, do you mean that a) CF comes up and b) some example code calling your socket works, as long as you don’t use SSL?
    To be clear, no, you don’t need any other version of CF11 to get websockets to work. But if you are on update 3, that may be the simple problem. Let us know how it goes for you with this info.
    /charlie

  • Apache Trinidad: Warning messages when starting WebLogic Server 10.3

    Hi,
    I'm trying to work with Trinidad in WLS / WLW 10.3. I'm using the JSF 1.1 Sun RI.
    When starting WLS the log print this warnings (I'd like to get rid of)
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ValidatorRule]{faces-config/validator} Merge(javax.faces.DoubleRange)>
    <20-02-2009 12:05:40 PM CLST> <Warning> <org.apache.commons.digester.Digester> <BEA-000000> <[ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)>
    Does anybody knows how to resolve this or why this happens?
    Thanks in advance,
    Andrés

    I think I saw these warnings before.
    Best is to ping the RI folks on their mailing list.

  • Apache Web Agent problem (web agent 2.0, Opensso 8.0) with IHS/WAS 6.1

    I installed a apache web agent 2.0 and opensso 8.0 on the same windows server. The web agent is running over IHS server. Opensso is running overs WAS 6.1
    While attempting to access an application, after succesful authentification, i got on the web browser a 403 error.
    Can someone help me?
    You can find below, the error message on the browser, and an extract of agent log file.
    Thanks
    Regards
    Gigi62
    Error message on the web browser:
    Forbidden
    You don't have permission to access /AppliTestOpensso1 on this server.
    IBM_HTTP_Server Server at aaaa.agent.com Port 80
    Extract of the agent log file:
    2009-12-22 09:31:44.647MaxDebug 5356:d11e88 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=false returned 3
    2009-12-22 09:31:44.647MaxDebug 5356:d11e88 all: is_url_enforced(): URL http://aaaa.agent.com:80/AppliTestOpensso1 is enforced.
    2009-12-22 09:31:44.647 Debug 5356:d11e88 all: am_web_get_parameter_value(): Param Name = iPlanetDirectoryPro, & Param Value = NULL, status not found
    2009-12-22 09:31:44.647 Debug 5356:d11e88 all: am_web_is_access_allowed()(http://aaaa.agent.com:80/AppliTestOpensso1,GET): no sso token, setting status to invalid session.
    2009-12-22 09:31:44.647 Info 5356:d11e88 all: am_web_is_access_allowed()(http://aaaa.agent.com:80/AppliTestOpensso1, GET) returning status: invalid session.
    2009-12-22 09:31:44.647 Info 5356:d11e88 all: process_request(): Access check for URL http://aaaa.agent.com:80/AppliTestOpensso1 returned invalid session.
    2009-12-22 09:31:44.647MaxDebug 5356:d11e88 all: am_web_get_url_to_redirect: goto URL is http://aaaa.agent.com:80/AppliTestOpensso1
    2009-12-22 09:31:44.647MaxDebug 5356:d11e88 all: find_active_login_server(): Trying server: http://aaaa.agent.com:9080/opensso/UI/Login
    2009-12-22 09:31:44.647 Debug 5356:d11e88 all: is_server_alive(): Connection timeout set to 2
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: process_access_redirect(): get redirect url returned AM_SUCCESS, redirect url [http://aaaa.agent.com:9080/opensso/UI/Login?goto=http%3A%2F%2Faaaa.agent.com%3A80%2FAppliTestOpensso1].
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: process_access_redirect(): returning web result AM_WEB_RESULT_REDIRECT.
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: process_request(): returning web result AM_WEB_RESULT_REDIRECT, data [http://aaaa.agent.com:9080/opensso/UI/Login?goto=http%3A%2F%2Faaaa.agent.com%3A80%2FAppliTestOpensso1]
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: am_web_process_request(): Rendering web result AM_WEB_RESULT_REDIRECT
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: am_web_process_request(): render result function returned AM_SUCCESS.
    2009-12-22 09:31:44.709MaxDebug 5356:d11e88 all: get_request_url(): Host: aaaa.agent.com
    2009-12-22 09:31:44.709MaxDebug 5356:d11e88 all: get_request_url(): Port is 80.
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: get_request_url(): Returning request URL http://aaaa.agent.com:80/AppliTestOpensso1.
    2009-12-22 09:31:44.709 Warning 5356:d11e88 all: get_method_num(): Apache request method number did not match method string. Setting method number to match method string GET.
    2009-12-22 09:31:44.709MaxDebug 5356:d11e88 all: am_web_is_notification(), http://aaaa.agent.com:80/AppliTestOpensso1 is not notification url http://aaaa.agent.com:80/UpdateAgentCacheServlet?shortcircuit=false.
    2009-12-22 09:31:44.709MaxDebug 5356:d11e88 all: am_web_is_access_allowed(): Processing url http://aaaa.agent.com:80/AppliTestOpensso1.
    2009-12-22 09:31:44.709MaxDebug 5356:d11e88 all: FqdnHandler::isValidFqdnResource() Resource => http://aaaa.agent.com:80/AppliTestOpensso1, is valid => true
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: is_url_enforced(): client_ip 10.245.197.145 not found in client ip not enforced list
    2009-12-22 09:31:44.709MaxDebug 5356:d11e88 AM_POLICY_SERVICE: am_policy_compare_urls(): compare usePatterns=true returned 3
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: in_not_enforced_list: enforcing access control for http://aaaa.agent.com:80/AppliTestOpensso1
    2009-12-22 09:31:44.709 Debug 5356:d11e88 all: am_web_is_logout_url(http://aaaa.agent.com:80/AppliTestOpensso1): normalized URL http://aaaa.agent.com:80/AppliTestOpensso1.

    Hi gimbal2 ,
    thanks for your prompt response.
    I deleted jsf-facelets.jar from the lib.
    Also I removed      <context-param>
              <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
              <param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS</param-name>
              <param-value>*.xhtml</param-value>
         </context-param>Now that error has gone .But I am still not able to switch between the tabs for .xhtml page but it is working fine for .jsp page.
    For .xhtml page , on clicking on the tab, console is showing something like below
    Aug 17, 2010 9:20:49 PM org.apache.myfaces.trinidad.component.UIXShowDetail broadcast
    WARNING: Event org.apache.myfaces.trinidad.event.DisclosureEvent[phaseId=INVOKE_APPLICATION(5),component=CoreShowDetailItem[UINodeFacesBean, id=j_id957384125_39108532],expanded=true] was delivered to a showDetail already in that disclosure state.

Maybe you are looking for