Template recompilation issue in Sun C++ 5.8 Patch 121017-02 2006/04/19

I am having problems with recompiling programs that use templates for the above version. The problem manifests itself in the following case.
Suppose f1.cpp contains the implementation of template class t1. t1 is instantiated in f1.cpp as well as other files. I change f1.cpp and recompile. Only file f1.cpp is recompiled and the program is relinked. When I run the new program the code in f1.cpp still refers to the old implementation of t1. It's as if an old expansion of the template, present in some other .o is being used instead of the newly created implementation. If this is a 'design feature' of my compiler then how should I change my makefile to correct the dependencies?
Much obliged,
Adam

Your makefile must reflect the actual file dependencies. If more than one file depends on the file containing the definition of t1, you need to express each dependency on that file.
But your symptoms sound like you have violated the C++ One-Defintiion Rule. If different modules in a program see a different definition of what is supposed to be the same template instance, the results are undefined. No makefile change can fix that problem.
Example:
t1.h
template<class T> class t1 { ... };
f1.cpp
#include " t1.h"
template<> class t1<int> { ... }; // explicit specialization
f2.cpp
#include "t1.h"
t1<int> t; // implicit specialization
In this example, file f1 creates an explicit specialization t1<int> with its own definition. File f2 uses an implicit specialization based on the primvary template, because the explicit specialiation is not declared. The two modules have different ideas about what t1<int> means. To satisy the One-Definition Rule, the explicit specializaiton t1<int> must be declared or defined identically in every module that uses it. Usually you put at least the declaration in the header associated with t1.
Versions of Sun C++ since Sun Studio 8 (C++ 5.5) use the "comdat" model of template instantiation. Every module that needs to create a template instance does so. At link time, all but one instance is discarded. Since the One-Definition Rule requires that all instances be identical, it does not matter which instance is retained.
In your case, it sounds like you modified the definition of an instance in one file without affecting the definition of that instance in other files. Apparently the modified instance was discarded.

Similar Messages

  • How to setup a template to issue SHA1 certs if I have a SHA256 chain

    Hi All
    Can any one tell me how to setup a template to issue SHA1 certs if I have a SHA256 chain. I looked at the templates and I didn’t see where it is specified?
    Puneet Singh

    Certificate signature algorithm is CA-wide settings and independent from certificate templates. You have to configure your CA to use SHA1 signature:
    certutil -setreg ca\csp\cnghashalgorithm sha1
    net stop certsvc && net start certsvc
    Vadims Podāns, aka PowerShell CryptoGuy
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell File Checksum Integrity Verifier tool.

  • Issue with Sun Webserver 7

    Hi
    I am facing issue with sun webserver7.0. I installed 64 bit version of sun webserver 7 on solaris 64 bit machine.
    I added my NSAPI extension to it. And it works fine.
    The problem i m facing is things are not consistance.. Like i configure my connector(nsapi extension) and request pageof that extension some time it comes and sometimes not.
    when i restart web server things starts working fine. until my connector restart when it adds extension to it.
    Also seen cases where the same page can be opened in IE cannt working in firefox.
    i tried all possible cases. I still not able to figure out issue is in my connector or their is issue with web server 7 for 64 bit.
    Thanks in advance.

    I don't know about this but I will try.
    1. Web Server's Web Container supports jsps.
    2. Can you use simple redirects in obj.conf for the rest to forward your requests?
    http://blogs.sun.com/elving/entry/regular_expression_redirects_in_7
    http://blogs.sun.com/elving/entry/301_permanent_redirects_in_7
    3. Or Can't you use reverse proxy to forward your requests?
    http://blogs.sun.com/meena/entry/configuring_reverse_proxy_in_sun
    4. I don't understand what you extensions do, if you want to simply register a file extension, can't adding new entry in mime.types work?
    http://docs.sun.com/app/docs/doc/819-2630/6n4thbiet?a=view
    "The MIME types file in the config directory contains mappings between the MIME types and file extensions."

  • Sun VDI 3.0 Patch 3 is now available at SunSolve

    Hi folks,
    we just released a third patch revision for Sun VDI 3.0. The patch binaries are available at SunSolve:
    [Patch ID 141481-03 (Solaris 10 sparc) |http://sunsolve.sun.com/search/document.do?assetkey=1-21-141481-03-1]
    [Patch ID 141482-03 (Solaris 10 x86) |http://sunsolve.sun.com/search/document.do?assetkey=1-21-141482-03-1]
    Please notice that due to CR 6880209 ("The VirtualBox 2.0.x web service doesn't require clients to authenticate") both patch binaries are flagged as security relevant. This affects customers using VirtualBox as virtualization platform. A corresponding Sun Alert (268328) will be published soon.
    This patch is accompanied with a minor update release of VirtualBox (*VirtualBox 2.0.12*). This updated VirtualBox version must be installed after applying the Sun VDI 3.0 patch 3 (see instructions below). The updated VirtualBox installer for Solaris 10 is available from the [Sun VDI 3.0 download page|http://www.sun.com/software/vdi/get.jsp]. VirtualBox binaries for other operating systems, for example, for creating desktop templates on your preferred platform, are available here.
    - Klaus
    The following steps are recommended for updating VirtualBox installations:
    1. Login to the Sun VDI administration UI (http://yourserver:1800)
    2. Select the affected VirtualBox desktop provider
    3. Switch to the "Hosts" tab
    4. Select the desired VirtualBox host and click on "Disable"
    This ensures that no new desktops/virtual machines will be balanced/started on this host. Please notice, that this will not stop any already running desktops on this host. Thus you either need to ask users to shutdown their desktops or you explicitly trigger the shutdown/power off yourself using the administration UI. After the shutdown, users can immediately request their desktops again - new desktops will automatically be started on the remaining (enabled) VirtualBox hosts (assuming that more than one VirtualBox host is configured in your setup).
    5. Download the updated VirtualBox installer from the [Sun VDI 3.0 download page|http://www.sun.com/software/vdi/get.jsp] and extract the archive in a temporary location.
    6. Un-install the previous VirtualBox version by triggering
    # vbox_2.0/vbox-install -u7. Install the new VirtualBox version by executing
    # vbox_2.0/vbox-install8. If the installation fails due to an issue with the VirtualBox kernel module, reboot the machine and repeat step 7 again.
    The installation of the new VirtualBox version will change the SSL certificate of the web service. Thus you need to re-import the certificate in Sun VDI 3.0 to establish the communication again.
    1. In the Sun VDI administration UI select the affected VirtualBox desktop provider.
    2. Switch to the "Hosts" tab
    3. Select the desired VirtualBox host and click on "Edit"
    4. In the host wizard confirm the changed certificate and click on "Finish"
    The last step is to enable the VirtualBox host again:
    5. On the "Hosts" tab select the disabled VirtualBox host and click on "Enable"
    At this point the Sun VDI 3.0 system will again balance desktops to the updated VirtualBox host. You can now update the next VirtualBox host in your setup.

    Hi folks,
    we just released a third patch revision for Sun VDI 3.0. The patch binaries are available at SunSolve:
    [Patch ID 141481-03 (Solaris 10 sparc) |http://sunsolve.sun.com/search/document.do?assetkey=1-21-141481-03-1]
    [Patch ID 141482-03 (Solaris 10 x86) |http://sunsolve.sun.com/search/document.do?assetkey=1-21-141482-03-1]
    Please notice that due to CR 6880209 ("The VirtualBox 2.0.x web service doesn't require clients to authenticate") both patch binaries are flagged as security relevant. This affects customers using VirtualBox as virtualization platform. A corresponding Sun Alert (268328) will be published soon.
    This patch is accompanied with a minor update release of VirtualBox (*VirtualBox 2.0.12*). This updated VirtualBox version must be installed after applying the Sun VDI 3.0 patch 3 (see instructions below). The updated VirtualBox installer for Solaris 10 is available from the [Sun VDI 3.0 download page|http://www.sun.com/software/vdi/get.jsp]. VirtualBox binaries for other operating systems, for example, for creating desktop templates on your preferred platform, are available here.
    - Klaus
    The following steps are recommended for updating VirtualBox installations:
    1. Login to the Sun VDI administration UI (http://yourserver:1800)
    2. Select the affected VirtualBox desktop provider
    3. Switch to the "Hosts" tab
    4. Select the desired VirtualBox host and click on "Disable"
    This ensures that no new desktops/virtual machines will be balanced/started on this host. Please notice, that this will not stop any already running desktops on this host. Thus you either need to ask users to shutdown their desktops or you explicitly trigger the shutdown/power off yourself using the administration UI. After the shutdown, users can immediately request their desktops again - new desktops will automatically be started on the remaining (enabled) VirtualBox hosts (assuming that more than one VirtualBox host is configured in your setup).
    5. Download the updated VirtualBox installer from the [Sun VDI 3.0 download page|http://www.sun.com/software/vdi/get.jsp] and extract the archive in a temporary location.
    6. Un-install the previous VirtualBox version by triggering
    # vbox_2.0/vbox-install -u7. Install the new VirtualBox version by executing
    # vbox_2.0/vbox-install8. If the installation fails due to an issue with the VirtualBox kernel module, reboot the machine and repeat step 7 again.
    The installation of the new VirtualBox version will change the SSL certificate of the web service. Thus you need to re-import the certificate in Sun VDI 3.0 to establish the communication again.
    1. In the Sun VDI administration UI select the affected VirtualBox desktop provider.
    2. Switch to the "Hosts" tab
    3. Select the desired VirtualBox host and click on "Edit"
    4. In the host wizard confirm the changed certificate and click on "Finish"
    The last step is to enable the VirtualBox host again:
    5. On the "Hosts" tab select the disabled VirtualBox host and click on "Enable"
    At this point the Sun VDI 3.0 system will again balance desktops to the updated VirtualBox host. You can now update the next VirtualBox host in your setup.

  • Sun VDI 3.0 patch 2 - linux guest display is laggy/unusable

    Hello.
    We have setup Sun VDI 3.0 to test out ubuntu desktop images. We have it functionaly setup but the lag/redraw is unusable. For example opening, closing and moving windows around has a horrible lag and takes a second or two to redraw. Just doing an "ls" from the command line is noticeably slow. I couldn't figure out any good way to measure the visual slowness I am seeing so I hope my plain english description makes sense.
    The environment is setup as follows
    Solaris 10 update 7 on x64 hardware.
    Sun VDI 3.0 patch 2 (patch 1 behaved the same)
    virtualbox 2.0.10 (version 2.0.8 with patch 1 behaved the same)
    Sun 7110 as storage device
    Desktop Images tried on the desktop
    RedHat 5.3 (32 bit) and Ubuntu 8.04.3 (32 bit)
    We installed the Sun VDI software into the all on one host demo mode. Our host is configured with 24GB of memory (24gb of swap as well per requirements). The virtualbox installs were done on the 2.0.8 version of virtualbox and then imported into the vdi solution. We ran between 2 or 3 vm's at one time so the box still had plenty of ram left since we only allocated 512MB to each vm (tried uppping that to 3GB with no perf improvements).
    The Sun Ray units we tried is a stand alone 270 and 1 2FS unit. Surely i'm not the only one attempting linux desktops. I loaded up an windows XP desktop for testing purposes and it functioned great. Barely noticeable performance difference. Any ideas on what I'm missing?
    Thanks. Deet.

    Dirk.
    Thanks for the input. I made the changes you mentioned and got an order of magnitude improvement! I was guilty of being a Solaris admin looking for a Solaris problem:)
    Deet.

  • Error for instantiating template in C++ with Sun Studio12U1

    Hi
    I am working with an application DEAL-II and therefore am trying to compile it on my Solaris Machine.
    But I am getting this following error:
    make[1]: Entering directory `/gdzusers/abhishek/deal.II/base'
    =====base=============debug========== data_out_base.cc
    "source/data_out_base.cc", line 4821: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<1, 1>&).
    "source/data_out_base.cc", line 4822: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<2, 2>&).
    "source/data_out_base.cc", line 4823: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<3, 3>&).
    "source/data_out_base.cc", line 4824: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<4, 4>&).
    "source/data_out_base.cc", line 4825: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<1, 2>&).
    "source/data_out_base.cc", line 4826: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<2, 3>&).
    "source/data_out_base.cc", line 4827: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<3, 4>&).
    7 Error(s) detected.
    make[1]: *** [gdzusers/abhishek/deal.II/lib/base/data_out_base.g.o] Error 7
    make[1]: Leaving directory `/gdzusers/abhishek/deal.II/base'
    make: *** [baseg] Error 2
    The code where the error is being raised is as follows:
    // explicit instantiations
    #define INSTANTIATE(dim,spacedim) \
    template class DataOutInterface<dim,spacedim>; \
    template class DataOutReader<dim,spacedim>; \
    template class DataOutBase::Patch<dim,spacedim>; \
    template \
    std::ostream & \
    operator << (std::ostream &out, \
         const DataOutBase::Patch<dim,spacedim> &patch); \
    template \
    std::istream & \
    operator >> (std::istream &in, \
         const DataOutBase::Patch<dim,spacedim> &patch);\
    INSTANTIATE(1,1);
    INSTANTIATE(2,2);
    INSTANTIATE(3,3);
    INSTANTIATE(4,4);
    INSTANTIATE(1,2);
    INSTANTIATE(2,3);
    INSTANTIATE(3,4);
    #undef INSTANTIATE
    Information of my work environment is as follows:
    OS - Solaris 10 1/06 s10x_u1wos_19a X86
    Sun Studio version: SunStudio12 Update1
    Kindly help me in solving this issue.
    Thanking You
    Abhishek Uppala

    Deal-II will not compile using the default libCstd. You need to use the optional STLport (or supply your own library replacement).
    The Sun C++ FAQ has more on this topic:
    [http://developers.sun.com/sunstudio/documentation/ss12u1/mr/READMEs/c++_faq.html#LibComp]
    To use STLport, add the option -library=stlport4 to every CC command, compiling and linking. You cannot mix STLport and libCstd in the same program. Everything, including any C++ libraries linked to the application, must be compiled using STLport.
    BTW, questions about C++ should be posted in the C++ Forum:
    [http://forums.sun.com/forum.jspa?forumID=850]

  • Template member function of a class template specialisation issue

    The following bit of code from gmock (http://code.google.com/p/googlemock/) caused CC 5.9 ( and Studio Express) to emit:
    "./include/gmock/gmock-printers.h", line 418: Error: static testing::internal::TuplePrefixPrinter<testing::internal::N>::PrintPrefixTo<testing::internal::TuplePrefixPrinter<testing::internal::N>::Tuple>(const testing::internal::TuplePrefixPrinter<testing::internal::N>::Tuple&, std::ostream *) already had a body defined.
    Code:
    template <size_t N>
    struct TuplePrefixPrinter {
    // Prints the first N fields of a tuple.
    template <typename Tuple>
    static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
    TuplePrefixPrinter<N - 1>::PrintPrefixTo(t, os);
    *os << ", ";
    UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
    ::Print(::std::tr1::get<N - 1>(t), os);
    // Tersely prints the first N fields of a tuple to a string vector,
    // one element for each field.
    template <typename Tuple>
    static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) {
    TuplePrefixPrinter<N - 1>::TersePrintPrefixToStrings(t, strings);
    ::std::stringstream ss;
    UniversalTersePrint(::std::tr1::get<N - 1>(t), &ss);
    strings->push_back(ss.str());
    template <>
    template <typename Tuple>
    void TuplePrefixPrinter<1>::PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
    UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>::
    Print(::std::tr1::get<0>(t), os);
    Removing the inline definition of TuplePrefixPrinter from the class and adding it after the specialisation fixed the issue.
    Ian.

    Hi, Ian. Please file a bug report at bugs.sun.com so we can track the problem.
    - Steve

  • Live text template render issue when using Media Encoder?

    I'm running into flash frames with Media Encoder exports of Premiere sequences using the live text templates.
    Unfortunately, AME doesn't flag it as an error, so the render completes without any issues in the render log and the only way to find it is to watch the rendered file.
    I have tried different combinations of having After Effects open or closed, with the live text template comp open or closed; I can't consistently reproduce the problem with any certainty and so am having trouble pinpointing the source.
    My only hypotheses so far are that:
    The glitches seem to be happening in the dynamic link between AME and PP, not AE and PP. The live text will pop back to the duplicated comp's text for one frame. Video playing simultaneously doesn't pop.
    In other words, the AE text template said: "name here". In PP it was edited to say "John Doe", then that comp was duplicated and edited to say "Bob Smith". Everything looks fine in PP. There are no keys on the source text in AE (I have noticed that if there are keys on the source text in AE, the text will pop back to the original AE text at that key in PP).
    When rendered out of AME, halfway through Bob Smith's title, it will read "John Doe" for a single frame, then pop back to being Bob.
    I've only had this happen so far with AME renders. The renders out of PP haven't given me any issues so far.
    It might happen more frequently on longer segments? If a title is up for 45 sec instead of 10 sec, it may be more likely to pop.
    The issue seems to occur more often in batch renders out of AME (happened to 3 of 5 files rendered in a batch, AME 2014.1) and/or with unrelated AE comps open (on a single render from AME 2014.2)
    Again, it doesn't happen every time or to the same title, or in the same spot. Files are being rendered to ProRes 422 HQ. Unchecked "Use Previews" in AME.
    Would be nice to get to the bottom of what's happening so I can recommend something to the editors when I hand off these live text templates to them.
    I realize that the live text is a new feature as of 2014.1, but haven't found anyone else talking about this. Would love if this was a very simple fix that I'm missing.
    I was able to reproduce the error on 2 different machines, with similar specs:
    Premiere CC 2014.1 and 2014.2
    Media Encoder CC 2014.1 and 2014.2
    Mac tower 2010
    2x 6-core Intel Xeon
    RAM: 64 GB
    Graphics: ATI Radeon HD 5770 and NVidia Quadro K5000 (or K4000)
    OS: 10.8.5 Mountain Lion

    I'm running into flash frames with Media Encoder exports of Premiere sequences using the live text templates.
    Unfortunately, AME doesn't flag it as an error, so the render completes without any issues in the render log and the only way to find it is to watch the rendered file.
    I have tried different combinations of having After Effects open or closed, with the live text template comp open or closed; I can't consistently reproduce the problem with any certainty and so am having trouble pinpointing the source.
    My only hypotheses so far are that:
    The glitches seem to be happening in the dynamic link between AME and PP, not AE and PP. The live text will pop back to the duplicated comp's text for one frame. Video playing simultaneously doesn't pop.
    In other words, the AE text template said: "name here". In PP it was edited to say "John Doe", then that comp was duplicated and edited to say "Bob Smith". Everything looks fine in PP. There are no keys on the source text in AE (I have noticed that if there are keys on the source text in AE, the text will pop back to the original AE text at that key in PP).
    When rendered out of AME, halfway through Bob Smith's title, it will read "John Doe" for a single frame, then pop back to being Bob.
    I've only had this happen so far with AME renders. The renders out of PP haven't given me any issues so far.
    It might happen more frequently on longer segments? If a title is up for 45 sec instead of 10 sec, it may be more likely to pop.
    The issue seems to occur more often in batch renders out of AME (happened to 3 of 5 files rendered in a batch, AME 2014.1) and/or with unrelated AE comps open (on a single render from AME 2014.2)
    Again, it doesn't happen every time or to the same title, or in the same spot. Files are being rendered to ProRes 422 HQ. Unchecked "Use Previews" in AME.
    Would be nice to get to the bottom of what's happening so I can recommend something to the editors when I hand off these live text templates to them.
    I realize that the live text is a new feature as of 2014.1, but haven't found anyone else talking about this. Would love if this was a very simple fix that I'm missing.
    I was able to reproduce the error on 2 different machines, with similar specs:
    Premiere CC 2014.1 and 2014.2
    Media Encoder CC 2014.1 and 2014.2
    Mac tower 2010
    2x 6-core Intel Xeon
    RAM: 64 GB
    Graphics: ATI Radeon HD 5770 and NVidia Quadro K5000 (or K4000)
    OS: 10.8.5 Mountain Lion

  • BI - Portal Template Installer Issue

    Hi all,
    Guess it's appropriate forum for this question regarding BI to portal connectivity. I've tried Template Installer from SAP Note 983156 but in it's first step "create RFC destination in abap" fails with following error message:
    1     Create Destination in ABAP     Import not successful     
    Element'SAPConfigLib.BIW.Unclassified.createRfcDestination':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException: <Localization failed: ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle', ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!157-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.96
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41
    Element 'SAPConfigLib.BIW.Unclassified.createRfcDestination':Error during executing Java Reflection:JCO.Client not connected in repository call
    There are few threads on this issue but fail to resolve the issue here. If some came across this issue I'll be pleased if a solution can be shared here.
    Regards.

    Issue resolved,
    Template installer runs on specific SP levels on BI.
    Check SAP notes for this.
    Rgds.

  • Missing template/layout issues post-content migration

    We are attempting a migration of data and content from 6.3 to 6.2 (for SAP EL integration) and we are seeing two issues.  About 1/3 of the meetings display a node with the message: "The template you are looking at is the one we use if the default template feature is not working", another 1/3 show a blank meeting board and have no available layouts, and the remaining 1/3 work fine.
    We are still trying to determine if this might be a versioning issue by examining creation/mod dates of the meetings and underlying templates but have yet to find a discernable pattern.  Note, all meetings function without issue in the 6.3 system.
    My next stop is hunting for DB discrepencies...
    Any help appreciated,
    Lee

    Does anyone know where/how the file system path to content is configured?  I have looked through the DB and App file dir with no luck.  The (target) lab system I am using was installed with a non-default path (D:/AdobeConnect/breeze...) and the (source) migrated content came from a system with a default path (D:/breeze...).  When attempting to access the content library, the object display window just times out.  I have verified the content does exist in file system and is uncorrupted.
    Any help appreciated,
    Lee

  • ADF migration from 11.1.1.1.0 to 11.1.1.2.0 : template management issue

    Hello,
    I'm trying to migrate my applications from ADF 11.1.1.1 to ADF 11.1.1.2. One of these apps is based on a page template, and doesn't work anymore.
    Here's one of the jspx (I removed all unnecessary elements). The page is a simple table based on a ViewObject. The bottom facet displays a "Comments" tag, which is linked to the "Comments" field of the selected row
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:afh="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
       <jsp:directive.page contentType="text/html;charset=windows-1252"/>
       <f:view  locale="#{localeManager.userLocale}">
        <f:loadBundle basename="Locale.messageBundle" var="bundle"/>
          <af:document id="d1" title="#{sessionScope.contextTitle} : your mobile time registration system"
                       uncommittedDataWarning="on">
             <af:messages id="m1"/>
             <af:form id="f1">
                *<af:pageTemplate viewId="/MTRSTemplate.jspx" id="pt1" value="#{bindings.pageTemplateBinding}">*
                   <f:facet name="header">
                   </f:facet>                
                   <f:facet name="main">
                   <af:panelStretchLayout id="psl2"  inlineStyle="margin:10px;"
                                          bottomHeight="0">
                      <f:facet name="center">
                      <af:table value="#{bindings.PersonReport.collectionModel}"
                                var="row" width="100%"
                                rows="#{bindings.PersonReportIterator.rangeSize}"
                                emptyText="#{bindings.PersonReport.viewable ? 'No data to display.' : 'Access Denied.'}"
                                fetchSize="#{bindings.PersonReportIterator.rangeSize}"
                                rowBandingInterval="1"
                                filterModel="#{bindings.PersonReportIterator.queryDescriptor}"
                                queryListener="#{bindings.PersonReportIterator.processQuery}"
                                selectedRowKeys="#{bindings.PersonReport.collectionModel.selectedRow}"
                                selectionListener="#{bindings.PersonReport.collectionModel.makeCurrent}"
                                filterVisible="true" varStatus="vs"
                                rowSelection="single" id="tbl1"
                                verticalGridVisible="true"
                                horizontalGridVisible="false"
                                binding="#{dataManagerBean.activityCollectionModel}">
                               <af:column id="persDet" headerClass="HeaderGroup"
                                    headerText="#{bundle.daily_CPerson}">
                            <af:column align="center"
                                       headerText=" "
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="column1" width="20">
                               <af:image id="flag" source="images/flags/flag_#{row.AdminStatusFlagColor}.png" rendered="#{row.AdminStatusFlagColor != null ? true : false}"
                                         shortDesc="#{row.AdminStatusFlagColor}"/>
                            </af:column>
                            <af:column sortProperty="PersonCompanyNr"
                                       sortable="true" align="center"
                                       headerText="#{bundle.daily_CPCompanyNr}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c7" width="45">
                               <af:outputText value="#{row.PersonCompanyNr}" id="ot3"/>
                            </af:column>                       
                            <af:column sortProperty="PersonLastName" sortable="true"
                                       styleClass="columnDataExtended"
                                       headerText="#{bundle.daily_CPName}"
                                       headerClass="tableHeader" id="c6"
                                       width="120" align="left">
                                     <af:outputText value="#{row.PersonLastName} #{row.PersonFirstName}" inlineStyle="margin-left:2px;"
                                              id="ot8" shortDesc="Person details :&#13;Tel: #{row.PersonMobile} &#13;Mail: #{row.PersonMobile} &#13;Address: #{row.PersonStreetNr}, #{row.PersonStreet}&#13;#{row.PersonPostCode}, #{row.PersonLocation}"/>                                
                            </af:column>
                        </af:column>
                         <af:column id="noDet" headerClass="HeaderGroup">
                            <f:facet name="header">
                               <af:outputText id="notext" value=""/>
                            </f:facet>
                            <af:column sortProperty="DateDay" sortable="true"
                                       align="center" headerText="#{bundle.daily_CDate}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c13" width="60">
                               <af:outputText value="#{row.DateDay}"
                                              id="ot4">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.DateDay.format}"/>
                               </af:outputText>
                            </af:column>
                            </af:column>
                            <af:column id="planDet" headerClass="HeaderGroup"
                                    width="330">
                            <f:facet name="header">
                               <af:outputText id="plan" value="#{bundle.daily_CPlan}"/>
                            </f:facet>
                            <af:column width="180" align="left"
                                       headerText="#{bundle.daily_CCustCost}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c8"
                                       >
                               <af:outputText value="#{row.PlanCustomerCompanyNr} #{row.PlanCustomerName} - #{row.PlanCostCenterCompanyNr} #{row.PlanCostCenterName}"
                                              id="outputText1" inlineStyle="margin-left:2px;" shortDesc="Contact Details :&#13;#{row.PlanContactCompanyNr} #{row.PlanContactLastName} #{row.PlanContactFirstName}&#13;Tel: #{row.PlanContactMobile} &#13;Mail: #{row.PlanContactEmail}"/>
                            </af:column>
                            <af:column sortProperty="PlanStartTime"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CStart}" headerClass="tableHeader"
                                       styleClass="columnData" id="c9"
                                       >
                               <af:outputText value="#{row.PlanStartTime}"
                                              id="ot10">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.PlanStartTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="PlanStopTime"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CStop}"
                                       headerClass="tableHeader"
                                       styleClass="columnDataExtended" id="c14"
                                       >
                               <af:outputText value="#{row.PlanStopTime}"
                                              id="ot12">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.PlanStopTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="PlanDuration"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CDuration}" headerClass="tableHeader" id="c10"
                                       styleClass="columnData"
                                       >
                                <af:outputText value="#{row.PlanDuration}"
                                               id="outputText4"/>
                            </af:column>
                         </af:column>
                         <af:column id="repDet" headerClass="HeaderGroup">
                            <f:facet name="header">
                               <af:outputText id="rep" value="#{bundle.daily_CReport}"/>
                            </f:facet>
                            <af:column align="left"
                                       headerText="#{bundle.daily_CCustCost}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c5" width="180"
                                       >
                               <af:outputText value="#{row.ReportCustomerCompanyNr} #{row.ReportCustomerName} - #{row.ReportCostCenterCompanyNr} #{row.ReportCostCenterName}"
                                              id="ot9" inlineStyle="margin-left:2px;" shortDesc="Contact Details :&#13;#{row.ReportContactCompanyNr} #{row.ReportContactLastName} #{row.ReportContactFirstName}&#13;Tel: #{row.ReportContactMobile} &#13;Mail: #{row.ReportContactEmail}"/>
                            </af:column>
                            <af:column sortProperty="ReportStartTime" sortable="true"
                                       align="center" headerText="#{bundle.daily_CStart}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c3" width="40"
                                       >
                               <af:outputText value="#{row.ReportStartTime}"
                                              id="ot11">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.ReportStartTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="ReportStopTime" sortable="true"
                                       align="center" headerText="#{bundle.daily_CStop}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="column3" width="40"
                                       >
                               <af:outputText value="#{row.ReportStopTime}"
                                              id="ot6">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.ReportStopTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="ReportDuration"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CDuration}" headerClass="tableHeader"
                                       id="column4"
                                       styleClass="columnData"
                                       >
                                <af:outputText value="#{row.ReportDuration}"
                                              id="outputText2"/>
                            </af:column>
                            </af:column>
                            <af:column id="noDet2" headerClass="HeaderGroupEnd">
                            <f:facet name="header">
                               <af:outputText id="notext2" value=""/>
                            </f:facet>
                         </af:column>   
                      </af:table>
                      </f:facet>                 
                      </af:panelStretchLayout>
                   </f:facet>
                   <f:facet name="bottom">
                      <af:panelStretchLayout id="psl3" inlineStyle="margin:10px;">
                          <f:facet name="top">
                                <af:panelFormLayout id="pfl3" partialTriggers="tbl1">
                                      <af:inputText label ="#{bundle.daily_CComments}" value="#{bindings.Comments.inputValue}"
                                                    readOnly="true" 
                                                    inlineStyle="height:80px;"
                                                    id="ot1" rows="3" columns="100"/>
                                </af:panelFormLayout>
                             </f:facet>
                      </af:panelStretchLayout>                 
                   </f:facet>
                </af:pageTemplate>
             </af:form>
          </af:document>
       </f:view>
    </jsp:root>The pageDef for this page :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.54.7" id="dailyActivityReportPageDef"
                    Package="com.traxxeo.mtrs.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        *<page path="com.traxxeo.mtrs.view.pageDefs.MTRSTemplatePageDef"*
              *id="pageTemplateBinding" Refresh="ifNeeded" />*
        <iterator Binds="PersonReport" RangeSize="25"
                  DataControl="MTRSAppModuleDataControl"
                  id="PersonReportIterator"/>
      </executables>
      <bindings>
        <tree IterBinding="PersonReportIterator"
              id="PersonReport">
          <nodeDefinition DefName="com.traxxeo.mtrs.model.views.PersonReport"
                          Name="PersonReport0">
            <AttrNames>
              <Item Value="AdminStatusAdminStatusId"/>
              <Item Value="AdminStatusId"/>
              <Item Value="AdminStatusName"/>
              <Item Value="ApprovalDate"/>
              <Item Value="Comments"/>
              <Item Value="DateDay"/>
              <Item Value="ExportDate"/>
              <Item Value="FunctionTypeFunctionTypeId"/>
              <Item Value="FunctionTypeName"/>
              <Item Value="PersonCategoryId"/>
              <Item Value="PersonCompanyNr"/>
              <Item Value="PersonCountry"/>
              <Item Value="PersonEmail"/>
              <Item Value="PersonFirstName"/>
              <Item Value="PersonId"/>
              <Item Value="PersonLastName"/>
              <Item Value="PersonLocation"/>
              <Item Value="PersonMobile"/>
              <Item Value="PersonPersonId"/>
              <Item Value="PersonPostCode"/>
              <Item Value="PersonReportId"/>
              <Item Value="PersonStreet"/>
              <Item Value="PersonStreetNr"/>
              <Item Value="PlanContactCompanyNr"/>
              <Item Value="PlanContactContactId"/>
              <Item Value="PlanContactCostCenterId"/>
              <Item Value="PlanContactEmail"/>
              <Item Value="PlanContactFirstName"/>
              <Item Value="PlanContactId"/>
              <Item Value="PlanContactLastName"/>
              <Item Value="PlanContactMobile"/>
              <Item Value="PlanCostCenterCompanyNr"/>
              <Item Value="PlanCostCenterCostCenterId"/>
              <Item Value="PlanCostCenterCustomerId"/>
              <Item Value="PlanCostCenterName"/>
              <Item Value="PlanCustomerCompanyNr"/>
              <Item Value="PlanCustomerCustomerId"/>
              <Item Value="PlanCustomerName"/>
              <Item Value="PlanDuration"/>
              <Item Value="PlanFunctionTypeId"/>
              <Item Value="PlanStartTime"/>
              <Item Value="PlanStopTime"/>
              <Item Value="ReportContactCompanyNr"/>
              <Item Value="ReportContactContactId"/>
              <Item Value="ReportContactCostCenterId"/>
              <Item Value="ReportContactEmail"/>
              <Item Value="ReportContactFirstName"/>
              <Item Value="ReportContactId"/>
              <Item Value="ReportContactLastName"/>
              <Item Value="ReportContactMobile"/>
              <Item Value="ReportCostCenterCompanyNr"/>
              <Item Value="ReportCostCenterCostCenterId"/>
              <Item Value="ReportCostCenterCustomerId"/>
              <Item Value="ReportCostCenterName"/>
              <Item Value="ReportCustomerCompanyNr"/>
              <Item Value="ReportCustomerCustomerId"/>
              <Item Value="ReportCustomerName"/>
              <Item Value="ReportDuration"/>
              <Item Value="ReportStartTime"/>
              <Item Value="ReportStatusId"/>
              <Item Value="ReportStatusName"/>
              <Item Value="ReportStatusReportStatusId"/>
              <Item Value="ReportStopTime"/>
              <Item Value="WorkCodeId"/>
              <Item Value="WorkCodeName"/>
              <Item Value="WorkCodeWorkCodeId"/>
              <Item Value="AdminStatusFlagColor"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
        <attributeValues IterBinding="PersonReportIterator" id="Comments">
          <AttrNames>
            <Item Value="Comments"/>
          </AttrNames>
        </attributeValues>
      </bindings>
    </pageDefinition>The template page :
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:loadBundle basename="Locale.messageBundle" var="bundle"/>
      <!--<link href="styles/main.css" rel="stylesheet" type="text/css"/>--> 
      <af:pageTemplateDef var="attrs">  
        <af:xmlContent>
          <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
            <display-name>MTRSTemplate</display-name>
                    <facet>
                        <facet-name>
                            main
                        </facet-name>
                    </facet>
                    <facet>
                        <facet-name>
                            header
                        </facet-name>
                    </facet>
                    <facet>
                        <facet-name>
                            bottom
                        </facet-name>
                    </facet>
                </component>
        </af:xmlContent>
                    <af:panelStretchLayout id="pst1h" inlineStyle="border:1px solid #D2D2D2;margin-top:7px;margin-left:2px;margin-right:3px; -moz-border-radius: 10px;background-color:#FFFFF0;">
                        <f:facet name="center">
                            <af:facetRef facetName="header"/>
                        </f:facet>
                    </af:panelStretchLayout>
                    <af:panelStretchLayout id="pst1m" topHeight="#{attrs.backButton != null ? 30 : 0}"
                                                   startWidth="10px"
                                                   styleClass="mainPanel">
                        <f:facet name="center">
                            <af:facetRef facetName="main"/>
                        </f:facet>
                    </af:panelStretchLayout>
                <af:panelStretchLayout id="pst1b" topHeight="#{attrs.bottomHeight}"
                                           inlineStyle="border:1px solid #D2D2D2; margin-top:10px; margin-left:2px; margin-right:3px; -moz-border-radius: 10px;">
                    <f:facet name="top">                      
                         <af:facetRef facetName="bottom"/>
                    </f:facet>               
                </af:panelStretchLayout>
      </af:pageTemplateDef>
    </jsp:root>and the template pageDef :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.54.7" id="MTRSTemplatePageDef"
                    Package="com.traxxeo.mtrs.view.pageDefs">
    </pageDefinition>With this configuration, an error is returned when page is displayed :
    javax.el.PropertyNotFoundException: Target Unreachable, 'Comments' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.getType(AstValue.java:56)
         at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValueExpressionType(ValueRenderer.java:172)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputTextRenderer.renderContentStyleAttributes(SimpleInputTextRenderer.java:409)
         Truncated. see log file for complete stacktraceWhen template is desactivated, the error disappears. It also disappears when I use #{bindings} instead of #{bindings.pageTemplateBinding} in the af:pageTemplate tag
    any idea?
    Thanks for your help
    Stephane

    Hello Frank,
    If I remove the "Comments" data, the table content displays correctly. However, when I try to scroll the table, after the 25 base range rows, the table refresh and goes back to first row, giving following error :
    <SortableModel><_toRowIndex> rowkey non valide : [oracle.jbo.Key[10714 ]] type : class java.util.Collections$SingletonList
    <SortableModel><_toRowIndex>
    java.lang.ClassCastException: java.util.Collections$SingletonList cannot be cast to java.lang.Integer
         at org.apache.myfaces.trinidad.model.SortableModel._toRowIndex(SortableModel.java:341)
         at org.apache.myfaces.trinidad.model.SortableModel.setRowKey(SortableModel.java:137)
         at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:423)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.validateRowIndex(TableRendererUtils.java:647)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.getDataFetchStartAndSize(TableRendererUtils.java:671)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:927)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:494)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:273)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:523)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:70)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:410)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:273)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:523)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:47)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:153)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:820)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.traxxeo.mtrs.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:42)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.traxxeo.mtrs.util.AuthenticationFilter.doFilter(AuthenticationFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Please note that some errors appears before/after the stack :
    <UIXInclude><_setupIncludeContext> Appel interdit pour configurer le contexte d'une inclusion déjà en contexteWhat do you mean by 'which could be a case if you use EO in libraries'?
    Thanks for your help
    Stephane

  • Two compile issues with Sun Studio 12 @ x86(_64 = amd64)

    The following two issues are absent on Solaris 10 SPARC and all previous Sun Studio versions (8 to 11), but present on both amd64 Solaris 10 and Linux 2.6 versions:
    1. mozilla.org's Spidermonkey "JavaScript" (ECMAscript) can't be compiled with it: in file jsinterp.c an endless loop is entered by the optimizer in level -xO1 and higher (!). With no optimization, linking is impossible (unresolved symbols from jsinterp.o), which hints to defunct output.
    2. the optimizer (ube) is crashing in sources with a switch with many many case labels in optimization level -xO3 and higher with a segfault.

    I have trouble to seperate a reasonable (example) source out of our complex sources showing the second issue --- what I can already tell is, that the following special pragma has to do with it (while I'm now in doubt that the each 256 case labels per switch, two switches in an if else clause have to do with it):
    #pragma opt 0 (func_name)
    Own1 Own2 func_name(...)
    The buggy versions I can tell you: they are
    on Solaris 10 amd64:
    /opt/SUNWspro/bin/cc -V
    cc: Sun C 5.9 SunOS_i386 2007/05/03
    /opt/SUNWspro/prod/bin/ube -V
    ube: Sun Compiler Common 12 SunOS_i386 2007/05/03
    on GNU/Linux:
    cc -V
    cc: Sun C 5.9 Linux_i386 2007/05/03
    ube -V
    ube: Sun Compiler Common 12 Linux_i386 2007/05/03
    The only important compiler option in this regard seems to be the optimization level, but the situation is complex too, if others should be also involved. I will investigate further...

  • Sun JVM Performance Issue in Sun Solaris 10 (SPARC)

    Hi,
    Issue : Performance issue after the migration of a Java application from IBM-AIX 5 to Sun Solaris 10 (SPARC)
    I am facing performance issue after the migration of a Java application from IBM-AIX 5.3 to Sun Solaris 10 (SPARC).
     Normally the application takes less than 1 hour to complete the process in AIX, but after migration in Solaris the application is taking 4+ hours.
    The Java version of IBM AIX is ,
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20051104)
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20051103 (JIT enabled)
    The Java version of Solaris 10 is,
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
    Description of Application
    The application merges 2 XML files of size 300 MB each using DOM Parser and generates flat file according to certain business logic.No remote files are using for the file generation. There are two folders and around 200 XML file in each folders of similar names. The application loads 2 similar XML file at a time from each folder and Processes. Same way, the application processes all the 200 XML file pairs using loop.
    The JVM Parameters are given below.
    /usr/java5/bin/java -cp $CLASSPATH -Xms3072m -Xmx3072M com.db.mcc.creditderiv.GCDXMLTransProc
    Here the extended swap memory in AIX is 3072 (3GB). After copying the same tode to Solaris, the
    application started throwing java.lang.OutofMemoryError. So that we have increased the swap memory up to 12 GB.
    Since 32bit Java allows maximum 4 GB extended memory we started using 64 Bit Java in Solaris using -d64 argument.
    The Current JVM Parameter in Solaris is given below.
    java -d64 -cp $CLASSPATH -Xms8192m -Xmx12288m com.db.mcc.creditderiv.GCDXMLTransProc ( 64 GB Swap Memory is available in the System)
    We have tried the following options
    1.       Extended heap size up to 12 GB using -xms and -xmx parameters and tried multiple -XX options. Earlier the application was working fine in AIX with 3.5 GB extended heap size. ( 64 GB Swap Memory is available in the System)
    2.       Downloaded and installed the Solaris SPARC Patches from the website,
         http://java.sun.com/javase/downloads/index_jdk5.jsp
    4.   Downloaded and installed XML and XSLT patch from sun website
    5.       Tried to run the Java in server mode using -server option.

    A 64 bit VM is not necessarily faster than a 32 bit one. I remember at least on suggestion that it could be slower.
    Make sure you use the -server option.
    As a guess IBM isn't necessarily a slouch when it comes to Java. It might simply be that their VM was faster. Could have used a different dom library as well.
    Could be an environment problem of course.
    Profiling the application and the machine as well might provide information.

  • Template creation Issue

    Hi,
    We have normal a user account in OEM 12c and we grant the following privilege to that user. But the user is getting "You do not have sufficient access to perform this operation" when we apply monitoring the template..
    1.Assigned roles:-
    EM_ALL_VIEWER
    EM_PRE12CR3COMPATIBLE
    EM_TV_DESIGNER
    EM_USER
    PUBLIC
    2.Grant connect target read-only privilege
    3.Resource privilege
    template collection
    template
    report
    Please help me to fix this issue and thanks in advance.

    Hi,
    to allow a user in Enterprise Manager to perform a specific activity, you usually need to grant a combination of resource and target privileges. In this case, I would try the following privileges:
    Target Privilege:          Manage Target Metrics (also included in "Operator" and "Full" target privilege)
    Resource Privilege:      View Monitoring Template (also included in "Full Monitoring Template")
    If your target is member of one Administration Group and included in the automated monitoring template synchronization process, you could also get error Messages, if you try to apply a Monitoring template manually.
    Kind regards
    Tom

  • Template Size Issues

    I have been having many issues with templates. I make a
    template and it appears so different in different browsers, then I
    have pages that are nearly identical and some of the fixed
    templatre areas are huge and some are tiny.
    Is there any way to lock down some parts of the template so
    they can't change size in browsers?
    Or, how can I lock down the size of a table?
    See my problem here, same template, different size buttons at
    top.
    http://lostjewels.com/apiery.html
    http://lostjewels.com/azure.html
    I'm so frustrated. I just want a simple site to sell my
    jewelry. PLease help! THANKS!

    Actually, the problem was CSS, and got solved. :-)
    Patty Ayers | Adobe Community Expert
    www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > The real problem is not understanding how templates
    work, to tell you the
    > truth. Templates have nothing to do with the issues
    being seen on these
    > pages.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "Joris van Lier" <[email protected]> wrote in
    message
    > news:[email protected]...
    >>
    >>
    >> "P@tty Ayers ~ACE"
    <[email protected]> wrote in
    >> message news:[email protected]...
    >>>
    >>> "Joris van Lier" <[email protected]>
    wrote in message
    >>> news:[email protected]...
    >>>>
    >>>>
    >>>> "P@tty Ayers ~ACE"
    <[email protected]> wrote in
    >>>> message
    news:[email protected]...
    >>>>>
    >>>>> "Joris van Lier"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> Your problem is the use of tables
    for layout, please search this
    >>>>>> forum or way for Murray to reply.
    >>>>>
    >>>>> This is not accurate - the problems have
    to do with her styling of
    >>>>> text, and are not any direct result of
    her use of tables.
    >>>>>
    >>>>
    >>>> Thanks for correcting me Patty, I should
    have said
    >>>> Your FIRST problem is the use of tables for
    layout
    >>>> Second problem would be the duplication of
    the .style3 class in the
    >>>> editable portion of the head.
    >>>
    >>> Well, no, since using tables isn't causing her
    any problems at all
    >>> there. :-) With the style problem fixed, the
    pages are fine.
    >>>
    >> Well maybe not in the case of the text-size, since
    OP mentioned "some of
    >> the fixed templatre areas are huge and some are
    tiny" and seeing the
    >> table I assumed that was the problem, and I thought
    the general consensus
    >> was that tables are "not done" anymore, but that's
    another thread 8)
    >>
    >>
    >>
    >>
    >

Maybe you are looking for

  • During rutime of application: Error: this application has requested the runtime to terminate

    The application is runing on a server. It's running several days until thethe error "this application has requested...." (see attachement) occurs. How can I get further information, about the reason for thiserror? Kind regards, Daniel Attachments: Er

  • Planned price in material master default in valuation price in PR

    Hello, I want to default planned price  of material master in valuation price of Purchase requisition, Currently MAP is defaulted in valuation price field in Purchase requisition. Is this possible by using any user exit? Regards

  • Need to get record status

    Hi All I have a below requirement... Normally i have 3 blocks. One is master block and remaining blocks are details blocks(in different tabs). I can do query in all the blocks for the sake of fetching records. If i selected the record in detail block

  • Pages being rotated

    when I'm creating my master pdf. I am dragging smaller PDF files into the Pages tab. This works, up until today. now when I drag Pdf's in. They get rotated Randomly. 90 or 180. what has changed since yesterday when I left my desk? This must be fixed.

  • Userlist not showing in SBS dashboard

    We have SBS 2011 essentials 64 bit From last 2 days users list not showing in SBS dashboard however all users are there in AD We did not install any updates on the server All computers are showing offline Any idea that how to resolve this issue