NCo 3.02 Context & Exceptions (VB 2010)

Sometimes it is necessary to bracket BAPI calls using the statements RfcSessionManager.BeginContext and RfcSessionManager.EndContext. But what happens in detail if an exception is raised?
try
  Dim BAPI_Worklist As IRfcFunction = Repo.CreateFunction("QIRF_SEND_REQUIRMENTS_GET_DAT2")
  RfcSessionManager.BeginContext(SAP_Destination)
     BAPI_Worklist.Invoke(SAP_Destination) ' --> raises exception
     Dim BAPI_SendCommit As IRfcFunction = Repo.CreateFunction("QIRF_SEND_COMMIT_TO_QM")
     BAPI_SendCommit.Invoke(SAP_Destination)
  RfcSessionManager.EndContext(SAP_Destination)
Catch ex As RfcAbapException
      If ex.Key = "WORKLIST_EMPTY" Then
         'do nothing.
        ' RfcSessionManager.EndContext(SAP_Destination) ???
      End If
End Try
"BAPI_Worklist.Invoke" raises an exception if there's no SAP worklist data to fetch. But as you see, the EndContext statement is not executed. But the context seems to be closed as it is not possible to add another EndContext statement (the one with question marks). This statement would only raise a new exception.
There statements are executed in a backgroundworker thread which is removed after execution. Within the NCo dll there seems to be a timer which produces exactly 600s after the exception a new exception and a new entry in the file "dev_nco_rfc.log":
SAP.Middleware.Connector.RfcCommunicationException: no SAP ErrInfo available
SAP.Middleware.Connector.CpicConnection.CpicReceive(Int32 timeout)
SAP.Middleware.Connector.CpicConnection.Read(Byte* buffer, Int32 offset, Int32 count)
SAP.Middleware.Connector.RfcConnection.ReadBytes(Byte* buffer, Int32 count)
SAP.Middleware.Connector.RfcConnection.ReadRfcIDBegin(Int32& length)
SAP.Middleware.Connector.RfcConnection.ReadUpTo(RFCGET readState, RfcFunction function, RFCID toRid)
SAP.Middleware.Connector.RfcConnection.RfcReceive(RfcFunction function)
SAP.Middleware.Connector.RfcConnection.ResetSAPServerContext()
SAP.Middleware.Connector.RfcSessionState.Dispose(Boolean disposing)
As there is no active thread to catch the timeout exception, the program terminates. I can live with the WORKLIST_EMPTY exceptions but I have to eliminate the 600s timeout. Any good idea what to do?
Kind regards,
  Masgrim

Hi
NCo 3.02 is the latest one...or after that any patch level is available for Nco ?
Regards
Dilip Vyas

Similar Messages

  • Getting context exception

    HI,
    I am getting context exception like as
    com.sap.tc.webdynpro.progmodel.context.ContextException: Path 'null' does not point to an attribute, but to View(path=AccountComp/AccountHistory, class=com.sap.tc.webdynpro.progmodel.generation.DelegatingView)
    i created context as
    Node --> category
    Attribute --> Category.description
    Node -->Source
    Node--> points
    Attribute --> Source.Points.sdate
    Attribute -->Source.points.Edate
    Attribute --> Source.points.label
    and to set the values for the attribute in a loop i created the nodes added the element to it like as
    IPublicAccountComp.ICategoryNode dnode = wdContext.nodeCategory();
           for (int i = 0; i < CategoryValues.length; i++)
                IPublicAccountComp.ICategoryElement cat1 = dnode.createCategoryElement();
                cat1.setDescription(CategoryValues<i>);
                wdContext.nodeCategory().addElement(cat1);
           for (int i = 0; i < CatLabels.length; i++)
           {      IPublicAccountComp.ISourceNode snode = wdContext.nodeSource();
                    IPublicAccountComp.ISourceElement src= snode.createSourceElement();
                     IPublicAccountComp.IPointsNode oupt1 = snode.nodePoints();
                     IPublicAccountComp.IPointsElement pEle = oupt1.createPointsElement();
                pEle.setCuID(CatLabels<i>);
                pEle.setStartValue(startDate<i>);
                pEle.setEndValue(endDate<i>);
                oupt1.addElement(pEle);
                wdContext.nodeSource().addElement(src);
    i dont know where i went wrong would you please help me in this
    Thanks
    Anu

    You are creating element Source and then creating child element Points before adding the parent element Source first
    You need to create and then add the element before you can add a child node to it
    Hope this explains,
    Robin

  • Passing Parameters to Webservice model context--Exception in execution

    Hi
    I have a problem while passing the values to the webservice model context.I have 9 input fields in my view 5 of them binded to directly to the model context after mapping. 4 input fields i have binded to seperate node of cardinality 1:1.
    My structure is like this
          Req_Identity_In(model root node)
            Req_Ide_SYNC (Input node of model)
                  Identity( node )
                 UserAccount(node)
                  PersonalAddress(node)
                     PersonName(Node)
                             |
                          givenname,middlename,familyname etc (Attributes)
    This structure is similar to bapi user create ECC Function module after exposing as a webservice.
    I am using the following code for bindings
    ==================
           String givenName = wdContext.currentPersonNamesDataElement().getGivenName();
           String middleName = wdContext.currentPersonNamesDataElement().getMiddleName();
           String familyName = wdContext.currentPersonNamesDataElement().getFamilyName();
           String additionalFamName = wdContext.currentPersonNamesDataElement().getAdditionalFamilyName();
           //getting the data from user for personNames
           //passing the data
           UserAccountCreateModel userAccountCreateModel = new UserAccountCreateModel();
          Request_IdentityUserAccountCreateRequestConfirmation_In request_IdentityUserAccountCreateRequestConfirmation_In = new Request_IdentityUserAccountCreateRequestConfirmation_In(userAccountCreateModel);
           IdentityUserAccountCreateRequestMessage_Sync identityUserAccountCreateRequest_Sync = new IdentityUserAccountCreateRequestMessage_Sync(userAccountCreateModel);
          request_IdentityUserAccountCreateRequestConfirmation_In.setIdentityUserAccountCreateRequest_Sync(identityUserAccountCreateRequest_Sync);
          IdtUsrAcctCrteReq_SyncIdt identity = new IdtUsrAcctCrteReq_SyncIdt(userAccountCreateModel);
          identityUserAccountCreateRequest_Sync.setIdentity(identity);
              IdtUsrAcctCrteReq_SyncUsrAcct userAccount = new IdtUsrAcctCrteReq_SyncUsrAcct(userAccountCreateModel);
              identity.setUserAccount(userAccount);
              IdtUsrAcctCrteReq_SyncDfltSettings defaultSettings = new IdtUsrAcctCrteReq_SyncDfltSettings(userAccountCreateModel);
              userAccount.setDefaultSettings(defaultSettings);
              java.util.List<NOSC_PersonalAddress> personalAddress = new ArrayList<NOSC_PersonalAddress>();
              userAccount.setPersonalAddress(personalAddress);
              NOSC_PersonName personName = new NOSC_PersonName(userAccountCreateModel);
              //kalyan
              //create the personalAddress model
              NOSC_PersonalAddress personalAddrModel = new NOSC_PersonalAddress(userAccountCreateModel);
              //create a element for PersonalAddress Node and node element.
              IPersonalAddressNode paNodeRef = wdContext.nodePersonalAddress();
              IPersonalAddressElement paNodeEle = wdContext.createPersonalAddressElement(personalAddrModel);
              //creating an element in Personname subnode and pass the data
              IPersonNameNode personNameNodeRef = paNodeRef.nodePersonName();
              IPersonNameElement personNameEle = personNameNodeRef.createPersonNameElement(personName);
              personNameEle.setGivenName(givenName);
              personNameEle.setMiddleName(middleName);
              personNameEle.setMiddleName(familyName);
              personNameEle.setAdditionalFamilyName(additionalFamName);
              //personNameNodeRef.addElement(personNameEle);
              //add the PA element to the PA node
              paNodeRef.addElement(paNodeEle);
              //add to the list
              personalAddrModel.setPersonName(personName);
              personalAddress.add(0, personalAddrModel);
              //kalyan
              NOSC_BasicBusinessDocumentMessageHeader messageHeader = new NOSC_BasicBusinessDocumentMessageHeader(userAccountCreateModel);
              identityUserAccountCreateRequest_Sync.setMessageHeader(messageHeader);
              Response_IdentityUserAccountCreateRequestConfirmation_In response = new Response_IdentityUserAccountCreateRequestConfirmation_In(userAccountCreateModel);
              request_IdentityUserAccountCreateRequestConfirmation_In.setResponse(response);
              IdentityUserAccountCreateConfirmationMessage_Sync identityUserAccountCreateConfirmation_Sync = new IdentityUserAccountCreateConfirmationMessage_Sync(userAccountCreateModel);
              response.setIdentityUserAccountCreateConfirmation_Sync(identityUserAccountCreateConfirmation_Sync);
              NOSC_Log log = new NOSC_Log(userAccountCreateModel);
                  identityUserAccountCreateConfirmation_Sync.setLog(log);
                  java.util.List<NOSC_LogItem> item = new ArrayList<NOSC_LogItem>();
                  log.setItem(item);
                  wdContext.nodeRequest_IdentityUserAccountCreateRequestConfirmation_In().bind(request_IdentityUserAccountCreateRequestConfirmation_In);
           //passing the data
           wdThis.wdGetUserCreateCompController().executeIdentityUserAccountCreateRequestConfirmation_In();
           //success
           //wdComponentAPI.getMessageManager().reportSuccess("The user created successfully");
    ================================================
    After executing i am getting the error like this
    Exception on execution of web service with WSDL URL 'http://<host>:<port>/sap/bc/srt/wsdl/bndg_DDB660678B8DB6F1934200142220669B/wsdl11/allinone/ws_policy/document?sap-client=XXX&sap-user=XXXXX&sap-password=XXXX' with operation 'IdentityUserAccountCreateRequestConfirmation_In' in interface 'IdentityUserAccountCreateRequestConfirmation_In'
    Is there any wrong in the code while passing the values to the model.
    What are the possible causes for this exception.
    Regards
    Kalyan

    I am no more working on this.

  • Context Exception for context mapping between 2 components

    Hi Guys,
    Currently I am working on ess FPM applications,
    I have 2 componets, VcComp1 & FcComp2, the data entered on the VcComp1 view should be passed to FcComp2.
    I defined context attribute in FcComp2 Interface controller, and then I mapped it to the context value attribute of VcCompl1's view controller, then bind the input field with that context value attribute.
    FcComp2 is added to the "used component" of VcComp1, all other mappings are also done.
    but when i run the appl to display the view in VcComp1, always this error comes out:
    com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(VcComp1View.attribute1): does not have a simple type.
    Even I changed the type of FcComp2 into a local dictionary simple type, then do context mapping again, this error is still there.
    Please help , I  have been stuck for 2 days on this small issue.
    Thanks with high rewarding points!
    Regards,
    Guo Feng

    hi,
    If you are trying to access the values in SVS or EVS and  passing it to the  Comp controller this errror will occur.
    Create a context attr and copy that vaue into it and bind it to the comp value attr.
    If not  chk out the following link,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60132577-7801-2b10-c9b1-b13b2f78f23b
    Regards
    Jayapriya

  • XSL-1047: (Error) Invalid instantiation of 'xsl:output' in 'INSERT' context

    Following is my development environment:
    JDeveloper 9i Release Candidate
    JDeveloper JVM 1.3.1
    Oracle XML Parser v2 9.2.0.0.0
    I'm using the Oracle XML Parser V2 9.2.0.0.0 library to apply a stylesheet to an XML document. However when I invoke the call to processor.processXSL() an XSLException is thrown with the following details:
    oracle.xml.parser.v2.XSLException: <Line 1, Column 116>: XSL-1047: (Error) Invalid instantiation of 'xsl:output' in 'INSERT' context.
    exception
    Below is the sequence of events:
    // Create an instance of XSLProcessor to perform the transformation
    XSLProcessor processor = new XSLProcessor();
    // create a Reader from a String object that contains the stylesheet text
    StringReader r = new StringReader( stylesheet );
    // create a new XSL stylesheet, passing it the Reader object reference
    XSLStylesheet sheet = processor.newXSLStylesheet(r);
    // apply the stylesheet
    // the variable sheet represents the XSLStylesheet object
    // the variable source represents the XMLDocument object
    // this call throws the exception
    DocumentFragment df =
    processor.processXSL(sheet,source);
    I've included the Stylesheet and source XML file I'm processing below.
    Note: My application works fine when I use the Oracle XML Parser v2 9.0.1 library. (although I have to use new XSLStylesheet() in place of XSLProcessor.newXSLStylesheet())
    Any ideas on what has changed between the two releases? I do have a reproducible test case that I can send on if required?
    thanks in advance
    private String stylesheet =
    "<INSERT xsl:version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"> "+
    "<xsl:output method=\"xml\" indent=\"yes\"/> "+
    "<ROWSET table_name=\"acc_database\"> "+
    " <xsl:for-each select=\"DATABASES/DATABASE\"> "+
    " <ROW> "+
    " <DBID><xsl:value-of select=\"DBID\"/></DBID> "+
    " <DBNAME><xsl:value-of select=\"DBNAME\"/></DBNAME> "+
    " <DBSIZE><xsl:value-of select=\"DBSIZE\"/></DBSIZE> "+
    " <DBPATHNAME><xsl:value-of select=\"DBPATHNAME\"/></DBPATHNAME> "+
    " <DBUSER><xsl:value-of select=\"DBUSER\"/></DBUSER> "+
    " <DBPASSWORD><xsl:value-of select=\"DBPASSWORD\"/></DBPASSWORD> "+
    " <ISAPPDB><xsl:value-of select=\"ISAPPDB\"/></ISAPPDB> "+
    " <ISATTACHEDDB><xsl:value-of select=\"ISATTACHEDDB\"/></ISATTACHEDDB> "+
    " <CONVERTDB><xsl:value-of select=\"CONVERTDB\"/></CONVERTDB> "+
    " <VERSION><xsl:value-of select=\"VERSION\"/></VERSION> "+
    " </ROW> "+
    " </xsl:for-each> "+
    "</ROWSET> "+
    "</INSERT>";
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- this file was generated by the Oracle Migration Workbench Exporter for MS Access 9.2.0.1.0 on 13/02/02 15:16:52 -->
    <!-- Do not modify this file as any modification will invalidate the export and subsequent migration of your MS Access database -->
    <DATABASES>
    <DATABASE>
    <DBID>1</DBID>
    <DBNAME>xmltest</DBNAME>
    <DBSIZE>1</DBSIZE>
    <DBPATHNAME>E:\xmltest.mdb</DBPATHNAME>
    <DBUSER>xmltest</DBUSER>
    <DBPASSWORD>oracle</DBPASSWORD>
    <ISAPPDB>1</ISAPPDB>
    <ISATTACHEDDB>0</ISATTACHEDDB>
    <CONVERTDB>1</CONVERTDB>
    <VERSION>4.0</VERSION>
    <TABLES>
    <TABLE PRIMARY_KEY="1">
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <TBLNAME>xsu_test</TBLNAME>
    <CNVTABLESTRUCT>1</CNVTABLESTRUCT>
    <CNVMOVEDATA>1</CNVMOVEDATA>
    <CNVRI>1</CNVRI>
    <CNVVALIDATION>1</CNVVALIDATION>
    <CNVDEFAULT>1</CNVDEFAULT>
    <CNVADDTIMESTAMP>1</CNVADDTIMESTAMP>
    <ATTACHTABLEBACKTOACCESS>1</ATTACHTABLEBACKTOACCESS>
    <SAVEPASSWORD>0</SAVEPASSWORD>
    <CNVMAKEUPDATEABLE>1</CNVMAKEUPDATEABLE>
    <RETAINLOCALCOPY>0</RETAINLOCALCOPY>
    <SYNCWITHSERVER>1</SYNCWITHSERVER>
    <OWNERID>1</OWNERID>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <VALIDATIONRULE></VALIDATIONRULE>
    <NUMBEROFROWS>1</NUMBEROFROWS>
    <CACHINGTABLE>0</CACHINGTABLE>
    <DESCRIPTION></DESCRIPTION>
    <COLUMNS>
    <COLUMN>
    <COLID>1</COLID>
    <TBLID>1</TBLID>
    <COLNAME>id</COLNAME>
    <COLTYPE>4</COLTYPE>
    <COLTYPEDESC>Long</COLTYPEDESC>
    <COLAUTOINCR>1</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>4</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE></DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>1</COLORDPOSITION>
    <VALIDATIONRULE></VALIDATIONRULE>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <COLUMNDESCRIPTION></COLUMNDESCRIPTION>
    </COLUMN>
    <COLUMN>
    <COLID>2</COLID>
    <TBLID>1</TBLID>
    <COLNAME>name</COLNAME>
    <COLTYPE>10</COLTYPE>
    <COLTYPEDESC>Text</COLTYPEDESC>
    <COLAUTOINCR>0</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>50</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE></DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>2</COLORDPOSITION>
    <VALIDATIONRULE></VALIDATIONRULE>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <COLUMNDESCRIPTION></COLUMNDESCRIPTION>
    </COLUMN>
    </COLUMNS>
    <INDEXES>
    <INDEX>
    <INDID>1</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>id</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>0</ISPRIMARY>
    <ISUNIQUE>0</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>0</ISREQUIRED>
    <INDEX_COLUMNS>
    <INDEX_COLUMN>
    <INDCOLID>1</INDCOLID>
    <INDID>1</INDID>
    <COLID>1</COLID>
    <COLORDER>1</COLORDER>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    <INDEX>
    <INDID>2</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>PK_xsu_test</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>1</ISPRIMARY>
    <ISUNIQUE>1</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>1</ISREQUIRED>
    <INDEX_COLUMNS>
    <INDEX_COLUMN>
    <INDCOLID>2</INDCOLID>
    <INDID>2</INDID>
    <COLID>1</COLID>
    <COLORDER>1</COLORDER>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    </INDEXES>
    </TABLE>
    </TABLES>
    <RELATIONS>
    </RELATIONS>
    </DATABASE>
    <ATTACHED_TABLES>
    </ATTACHED_TABLES>
    </DATABASES>

    Your problem is that your stylesheet is illegal.
    You're using the "simple form" of the stylesheet which
    is equivalent to having a single root template.
    If you use the simple form, you cannot use: <xsl:include>,
    <xsl:import>, <xsl:output>, <xsl:param>
    or any other <xsl:XXX> element which must be at the "top-level"
    of the stylesheet.
    The solution is to change from:
    <INPUT xsl:version="1.0" xmlns:xsl="...">
       <xsl:output>
    </INPUT>.
    which is illegal to:
      <xsl:stylesheet version="1.0" xmlns:xsl="...">
        <xsl:output>
        <xsl:template match="/">
          <INPUT>
          </INPUT>
        </xsl:template>
      </xsl:stylesheet>

  • Exception Handling in bounded taskflows - expected behaviour

    Hi,
    I'm currently reviewing exception handling in bounded task flows and some things does not seems to be very clear for me.
    (q1) Does it make sense that a bounded task flow calls a method (via a method activity) defined on the page definition of another page (outside of the BTF) by using a #{data.xxxmyPageDef.myMethodName.execute} EL expression?
    (q2) Is is correct to expect the application to execute the method marked as ExceptionHandler in the taskflow, whenever an exception occurs?
    (q3) I created 5 different scenarios where I call a service method which throws an exception, from within a page fragment of the BTF.
    (q3 – sc1) Call a service method through the binding layer of the current page (by using #{bindings.xxx.execute})
    Result: A dialog containing the exception message appears.
    This is what I expected. Althought, the exception handler method does not seems to be invoked.(q3 – sc2) Call a service method through a task flow method activity using #{bindings.xxx.execute}
    Result: A dialog containing the exception message appears.
    This is what I expected. Althought, the exception handler method does not seems to be invoked.(q3 – sc3) Call a service method through a task flow method activity using #{data.myPageFragementPagedef.xxx.execute} (accessing the pageDef of the page fragment)
    Result: Nothing happens.
    This is not what I expected. Although, the exception handler method does nog seems to be invoked, I expect the ADF Error Handler to create a FacesMessage.(q3 – sc4) Call a service method through a task flow method activity using #{data.myPageContainingThePageFragmentPageDef.xxx.execute} (accessing the page containing the BTF region)
    Result: Nothing happens.
    This is not what I expected. Although, the exception handler method does nog seems to be invoked, I expect the ADF Error Handler to create a FacesMessage. (q3 – sc5) Call a service method through a task flow method activity using #{data.aPageOutsideTheBTFPageDef.xxx.execute} (accessing a page outside the BTW)
    Result: Nothing happens.
    This is not what I expected. Although, the exception handler method does nog seems to be invoked, I expect the ADF Error Handler to create a FacesMessage. (q4) How can it be possible that – without an exception handler – exceptions occur when calling method activities, without the exceptions being translated to FacesMessages?
    Thanks in advance,
    Koen Verhulst
    JDeveloper 11.1.1.4

    Koen,
    +(q1) Does it make sense that a bounded task flow calls a method (via a method activity) defined on the page definition of another page (outside of the BTF) by using a #{data.xxxmyPageDef.myMethodName.execute} EL expression?+
    No. Exceptions should be handled locally.
    +(q2) Is is correct to expect the application to execute the method marked as ExceptionHandler in the taskflow, whenever an exception occurs?+
    Only for exceptions that are before Render Response. The Render Response Phase is not handled in ADFc. So exceptions that occur in managed beans may fall through
    +(q3) I created 5 different scenarios where I call a service method which throws an exception, from within a page fragment of the BTF.+
    +(q3 – sc1) Call a service method through the binding layer of the current page (by using #{bindings.xxx.execute}) Result: A dialog containing the exception message appears.+
    This is what I expected. Althought, the exception handler method does not seems to be invoked.
    The binding layer has an error handler you can override in the DataBinings.cpx file
    +(q3 – sc2) Call a service method through a task flow method activity using #{bindings.xxx.execute}+
    Result: A dialog containing the exception message appears.
    This is what I expected. Althought, the exception handler method does not seems to be invoked.
    Again, you use the binding layer to invoke the service
    +(q3 – sc3) Call a service method through a task flow method activity using #{data.myPageFragementPagedef.xxx.execute} (accessing the pageDef of the page fragment)+
    Result: Nothing happens.
    This is not what I expected. Although, the exception handler method does nog seems to be invoked, I expect the ADF Error Handler to create a FacesMessage.
    Never use such a call. Its bad practice as there is no guarantee the container you reference is active. Always have the method call activity have its own binding defined when accessing a method call activity. I know there are lots of example floating aroundthat you #{data ...} and many are from 10.1.3. This should be avoided alltogether though
    +(q3 – sc4) Call a service method through a task flow method activity using #{data.myPageContainingThePageFragmentPageDef.xxx.execute} (accessing the page containing the BTF region)+
    Result: Nothing happens.
    This is not what I expected. Although, the exception handler method does not seems to be invoked, I expect the ADF Error Handler to create a FacesMessage.
    Again, this is not a proper use of the ADF framework.
    +(q3 – sc5) Call a service method through a task flow method activity using #{data.aPageOutsideTheBTFPageDef.xxx.execute} (accessing a page outside the BTW)+
    Result: Nothing happens. This is not what I expected. Although, the exception handler method does nog seems to be invoked, I expect the ADF Error Handler to create a FacesMessage.
    accessing a page outside the BTW (!!!) This should ring a worst practices alarm on your laptop (obviously doesn't do it either)
    +(q4) How can it be possible that – without an exception handler – exceptions occur when calling method activities, without the exceptions being translated to FacesMessages?+
    Exceptions are not handled in a single place but stacked. The business service raises an exception and passes it to the binding layer if not handled. The binding layer handles the exception and if it can't passes it to ADFc. ADFc can handle this exception if it is not during Render Response.
    Bottom line: There is no single point of exception handling. So as a recommendation for best practices
    - Catch and handle exceptions as close as possible to their origins
    - If things can go wrong, thy will - use try/catch blocks in managed beans
    - Use an exception handling activity in all bounded task flows. In the case of task flow call activities being used exceptions can bubble up to the caller. However, this would take users out of their current application context
    - Exceptions not handled in ADFc can be intercepted by overriding the application task flow exception handler (used by the exception handler activities). This would give you a chance e.g. to handle issues during Render Response
    - Never fight the framework, never bend the framework: Don't use out of scope access to page definitions and resources. Exception handling is not a replacement for bad code practices (sorry for saying this, its not meant to be rude) :-)
    Though I don't have a qualified numbers of bugs open for exception handling in ADF between 11.1.1.4 and now (and some that are open), but there are issues reported in this area. If there is something that really feels wrong, please go ahead and file a bug and provide a test case for development to have a look. The Render Response issue, for example is something we are aware of and that is in discussion (afaik knows, there is a change in exception handling in JSF 2 that may have an impact to what we can do in ADFc).
    thanks
    Frank

  • Error 500: Model binding context not initialized

    I have created a JHeadStart Bc4J application in JDeveoper 10g and moved it WebSphere 6.
    I have moved all the required binary libraries to the lib/ext directory of the WebSphere AppServer.
    JSP and HTML pages are being displayed correctly but whenever it counters a .do class ( Struts framework) it displays the error :
    Error 500: Model binding context not initialized
    Please help me with this.
    Below is the Error Log :
    [6/21/05 15:57:27:891 PDT] 00000024 RequestProces W Unhandled Exception thrown: class java.lang.RuntimeException
    [6/21/05 15:57:27:891 PDT] 00000024 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet action. Exception thrown : javax.servlet.ServletException: Model binding context not initialized
         at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    ---- Begin backtrace for Nested Throwables
    java.lang.RuntimeException: Model binding context not initialized
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [6/21/05 15:57:27:922 PDT] 00000024 ServletWrappe E SRVE0014E: Uncaught service() exception root cause action: java.lang.RuntimeException: Model binding context not initialized
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [6/21/05 15:57:27:938 PDT] 00000024 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet action. Exception thrown : javax.servlet.ServletException: Model binding context not initialized
         at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    ---- Begin backtrace for Nested Throwables
    java.lang.RuntimeException: Model binding context not initialized
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [6/21/05 15:57:27:953 PDT] 00000024 ServletWrappe E SRVE0014E: Uncaught service() exception root cause action: java.lang.RuntimeException: Model binding context not initialized
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [6/21/05 15:57:28:000 PDT] 00000024 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet action. Exception thrown : javax.servlet.ServletException: Model binding context not initialized
         at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    ---- Begin backtrace for Nested Throwables
    java.lang.RuntimeException: Model binding context not initialized
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [6/21/05 15:57:28:016 PDT] 00000024 ServletWrappe E SRVE0014E: Uncaught service() exception root cause action: java.lang.RuntimeException: Model binding context not initialized
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    [6/21/05 15:57:28:047 PDT] 00000024 WebApp E SRVE0026E: [Servlet Error]-[action]: java.lang.RuntimeException: Model binding context not initialized
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    Thanks
    Venkat

    Thank you all for answering.
    Just found the cause of the problem:
    The page I am forwarding to has a DataForwardAction underneath.
    The problem is: When I forward from my binding filter's doFilter() method, I never call super.doFilter() (how could I ?!) which puts the binding context into the DataActionContext.
    No super.doFilter() -> no binding context in action context -> exception.
    Why didn't this happen in 9.0.5.2?
    In 9.0.5.2, in DataAction.execute(), the call to initialize the action context was wrapped in a try-catch block. The exception did occur in 9.0.5.2, but no one noticed (because the catch block caught it and sent it down the drain somehow).
    This try-catch block no longer exists in DataAction, version 10.1.2.1.
    One solution was to use a standard Struts ForwardAction for this page.
    Sascha

  • Best practices for dealing with Exceptions on storage members

    We recently encountered an issue where one of our DistributedCaches was terminating itself and restarting due to an RuntimeException being thrown from our code (see below). As usual, the issue was in our own code and we have updated it to not throw a RuntimeException under any circumstances.
    I would like to know if there are any best practices for Exception handling, other than catching Exceptions and logging them. Should we always trap Exceptions and ensure that they do not bubble back up to code that is running from the Coherence jar? Is there a way to configure Coherence so that our DistributedCaches do not terminate even when custom Filters and such throw RuntimeExceptions?
    thanks, Aidan
    Exception below:
    2010-02-09 12:40:39.222/88477.977 Oracle Coherence GE 3.4.2/411 <Error> (thread=DistributedCache:StyleCache, member=48): An exception (java.lang.RuntimeException) occurred reading Message AggregateFilterRequest Type=31 for Service=DistributedCache{Name=StyleCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=1021, BackupCount=1, AssignedPartitions=201, BackupPartitions=204}
    2010-02-09 12:40:39.222/88477.977 Oracle Coherence GE 3.4.2/411 <Error> (thread=DistributedCache:StyleCache, member=48): Terminating DistributedCache due to unhandled exception: java.lang.RuntimeException

    Bob - Here is the full stacktrace:
    2010-02-09 13:04:22.653/90182.274 Oracle Coherence GE 3.4.2/411 <Error> (thread=DistributedCache:StyleCache, member=47): An exception (java.lang.RuntimeException) occurred reading Message AggregateFilterRequest Type=31 for Service=DistributedCache{Name=StyleCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=1021, BackupCount=1, AssignedPartitions=205, BackupPartitions=204}
    2010-02-09 13:04:22.653/90182.274 Oracle Coherence GE 3.4.2/411 <Error> (thread=DistributedCache:StyleCache, member=47): Terminating DistributedCache due to unhandled exception: java.lang.RuntimeException
    2010-02-09 13:04:22.653/90182.274 Oracle Coherence GE 3.4.2/411 <Error> (thread=DistributedCache:StyleCache, member=47):
    java.lang.RuntimeException: java.lang.ClassNotFoundException: com.edmunds.vehicle.Style$PublicationState
         at com.edmunds.common.coherence.EdmundsEqualsFilter.readExternal(EdmundsEqualsFilter.java:84)
         at com.tangosol.io.pof.PortableObjectSerializer.initialize(PortableObjectSerializer.java:153)
         at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:128)
         at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3284)
         at com.tangosol.io.pof.PofBufferReader.readAsObjectArray(PofBufferReader.java:3328)
         at com.tangosol.io.pof.PofBufferReader.readObjectArray(PofBufferReader.java:2168)
         at com.tangosol.util.filter.ArrayFilter.readExternal(ArrayFilter.java:243)
         at com.tangosol.io.pof.PortableObjectSerializer.initialize(PortableObjectSerializer.java:153)
         at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:128)
         at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3284)
         at com.tangosol.io.pof.PofBufferReader.readAsObjectArray(PofBufferReader.java:3328)
         at com.tangosol.io.pof.PofBufferReader.readObjectArray(PofBufferReader.java:2168)
         at com.tangosol.util.filter.ArrayFilter.readExternal(ArrayFilter.java:243)
         at com.tangosol.io.pof.PortableObjectSerializer.initialize(PortableObjectSerializer.java:153)
         at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:128)
         at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3284)
         at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2599)
         at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:348)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:4)
         at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
         at com.tangosol.coherence.component.net.message.requestMessage.distributedCacheRequest.partialRequest.FilterRequest.read(FilterRequest.CDB:8)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$AggregateFilterRequest.read(DistributedCache.CDB:4)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:117)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:37)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: com.edmunds.vehicle.Style$PublicationState
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.edmunds.common.coherence.EdmundsEqualsFilter.readExternal(EdmundsEqualsFilter.java:82)
         ... 25 more
    2010-02-09 13:04:23.122/90182.743 Oracle Coherence GE 3.4.2/411 <Info> (thread=Main Thread, member=47): Restarting Service: StyleCacheOur code was doing something simple like
    catch(Exception e){
        throw new RuntimeException(e);
    }Would using the ensureRuntimeException call do anything for us here?
    Edited by: aidanol on Feb 12, 2010 11:41 AM

  • Parallel Transaction recovery caught exception 30319

    Hi,
    Database - Oracle 11.1.0.7
    Server - RHEL 5.2
    A load process which was to load 7 milllion records was killed after 4 hours because it had several errors in the alert log -
    22238:ORA-04030: out of process memory when trying to allocate 10504 bytes (pga heap,kgh stack)
    After the process was killed, even after 3 hours, there were several trc files being generated with the error -
    Dead transaction 0x0001.04a.00005b78 recovered by 32 server(s)
    SMON: Parallel transaction recovery tried
    Parallel Transaction recovery caught exception 30319
    and
    Parallel Transaction recovery server caught exception 10388
    *** 2010-10-07 20:40:01.124
    *** SESSION ID:(2993.32762) 2010-10-07 20:40:01.124
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-10-07 20:40:01.124
    Does this means that the smon recovery failed? If so, what can I do for this? I need to kick off the load process again.
    these are some other queries I ran -
    select l.message,l.sql_id,l.totalwork,l.sofar,l.*
    from v$session_longops l
    where time_remaining is not null and time_remaining > 0
    Row#     MESSAGE     SQL_ID     TOTALWORK     SOFAR     SID     TIME_REMAINING     ELAPSED_SECONDS
    1     Table Scan: prdb.prpeet: 156648 out of 843440 Blocks done     3w1cxu6vbz4jn     843440     156648     2956     8707     1986
    2     Index Fast Full Scan: prdb.prpeet: 15 out of 216076 Blocks done     7cacc3d07d041     216076     15     2953     3442572     239
    3     Index Fast Full Scan: prdb.prpeet: 192281 out of 206419 Blocks done     d2cu3p7tmuz0z     206419     192281     2953     37     509
    4     Index Fast Full Scan: prdb.prpeet: 198899 out of 216076 Blocks done     f7whmwp813kf8     216076     198899     2953     46     531
    5     Index Fast Full Scan: prdb.prpeet: 5 out of 216076 Blocks done     dwf4gghk4mq0z     216076     5     2953     604999     14
    6     Index Fast Full Scan: prdb.prpeet: 7 out of 216076 Blocks done     dwf4gghk4mq0z     216076     7     2953     864276     28
    7     Index Fast Full Scan: prdb.prpeet: 6 out of 216076 Blocks done     7cacc3d07d041     216076     6     2953     504163     14
    8     Index Fast Full Scan: prdb.prpeet: 9 out of 216076 Blocks done     7cacc3d07d041     216076     9     2953     1128350     47
    9     Index Fast Full Scan: prdb.prpeet: 13 out of 216076 Blocks done     7cacc3d07d041     216076     13     2953     1961187     118
    Can someone please tell me what I need to do so that I can restart the load?
    Thanks.

    I do -
    OPEN cur_n1_C1 ;
    LOOP
    FETCH cur_n1_C1 BULK COLLECT INTO vt_C1 LIMIT 1000000;
    FOR i IN vt_C1.FIRST .. vt_C1.LAST LOOP
    INSERT /*+ APPEND */ INTO prpeet
    VALUES
    END LOOP ;
    COMMIT;
    END IF ;
    END LOOP;
    CLOSE cur_n1_C1 ;
    EXCEPTION
    So, will this commit be a problem? I am loading around 7 million records.
    Also,
    I ran the v$session_longops query again now and this is what it says -
    select l.message,l.sql_id,l.totalwork,l.sofar,l.sid, l.time_remaining, elapsed_seconds
    from v$session_longops l
    where time_remaining is not null and time_remaining > 0
    Row#     MESSAGE     SQL_ID     TOTALWORK     SOFAR     SID     TIME_REMAINING     ELAPSED_SECONDS
    1     Sort Output: : 55613 out of 122712 Blocks done          122712     55613     2987     490     406
    3     Table Scan: prdb.prpeet: 160239 out of 843440 Blocks done     3w1cxu6vbz4jn     843440     160239     2956     21071     4942
    Does this mean it will finish in 21071 seconds?
    Edited by: user12158503 on Oct 7, 2010 9:41 PM

  • How to restrict Production context in Development

    Hi,
    My question is how can anybody restrict or do away with the Production context while working in Development. Whenever we execute a scenario or interface we are faced with the option of executing in Dev or Production. I want to see that the user has only option to execute in Dev and not in production while working on development work repository. any ideas?
    Regards
    B

    Hi B,
    Its little complex as Oracle doesnt have good document/information regarding Security, thats why i suggested you the other way.
    Anyways, here you go.
    Step 1 :
    Duplicate CONNECT profile, ex: NG CONNECT and delete objects SCHEMA/CONTEXT and AGENT/CONTEXT from it. Expand object CONTEXT, except VIEW instance delete all.
    Open View instance and UN CHECK Generic Privilege.
    http://img841.imageshack.us/f/screenshot020u.jpg/
    Step 2:
    Create a user, ex: USER1 without SUPERVISOR privilege.
    http://img716.imageshack.us/f/screenshot021v.jpg/
    Step 3:
    Assign (drag and drop) DESIGNER, NG CONNECT profiles to it.
    Step 4:
    From Topology Manager -> Context, drag and drop Development related context to USER1 ex: DEV and Global.
    Step 5:
    Once u drag and drop u can see a screen in Security manager like this,
    http://img268.imageshack.us/f/screenshot022kn.jpg/
    Select Active as checked.
    Thats all.
    Now USER1 can able to select/see only DEV and GLOBAL in Designer and Operator.
    P.S: USER1 can able to see PROD context in Topology Manager, but he doesnt able to open it. Its just a view.
    Let me know how it goes.
    Thanks,
    Guru

  • JDev 10.1.2.1: Server Error 500: Model binding context not initialized

    We're migrating from 9.0.5.2 to 10.1.2.1. The UIX application supports dynamic JDBC credentials through our own binding filter. This ran fine in 9.0.5.2. Now, when the app starts, I get:
    java.lang.RuntimeException: Model binding context not initialized
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)
         at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
         at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
         at com.ge.med.bone.uix.AuthPageFilter.forwardToPage(AuthPageFilter.java:570)
         at com.ge.med.bone.uix.AuthPageFilter.doFilter(AuthPageFilter.java:220)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Our pages have bindings, so bug 4222054 is probably not involved.
    Has someone else encountered this?
    Sascha

    Thank you all for answering.
    Just found the cause of the problem:
    The page I am forwarding to has a DataForwardAction underneath.
    The problem is: When I forward from my binding filter's doFilter() method, I never call super.doFilter() (how could I ?!) which puts the binding context into the DataActionContext.
    No super.doFilter() -> no binding context in action context -> exception.
    Why didn't this happen in 9.0.5.2?
    In 9.0.5.2, in DataAction.execute(), the call to initialize the action context was wrapped in a try-catch block. The exception did occur in 9.0.5.2, but no one noticed (because the catch block caught it and sent it down the drain somehow).
    This try-catch block no longer exists in DataAction, version 10.1.2.1.
    One solution was to use a standard Struts ForwardAction for this page.
    Sascha

  • Regarding  Exception

    Hi friends
         i am getting the exception
    "com.sap.tc.webdynpro.progmodel.context.ContextException: Node(DfmQueryView.Request_UCS_DFM_NTO_Document_getNtoProductList.Response_getNtoProductList.Result_getNtoProductList): cannot bind or add elements because the node has no valid parent "
    can anybody tell where my program has went wrong...........
    why does this context exception occurs.....
    BYEEEE

    Hi Shravan,
    To my understanding, do you have a context structure like this?
    - A (Model Node)
    - B (Sub Model Node of A)
    ++ Country (Model Attribute B)
    ++ Language(Model Attribute B)
    Are you trying to use similar kind of a code as given below?
    IPrivateMainView.IAElement userInfo = wdContext.createAElement(new A());
    wdContext.nodeB().addElement(userInfo);
    Please let me know so that I can help you!!!
    Regards,
    Rekha Malavathu

  • Exchange 2010 and Powershell v3 Issue

    I decided to take the plunge pray and install powershell v3. I like it so far but I am having a few problems. One problem occurs when running the search-mailbox cmdlet. It starts to run and as soon as it seems like it's finished my powershell windows closes
    arbitrarily. Event ID 4999 show in the application log. Same with ISE.
    Watson report about to be sent for process id: 3480, with parameters: E12, c-buddy-RTL-AMD64, 14.02.0247.005, PowerShell_ISE, unknown, M.E.D.S.N.PropertyDefinitionSets.BuildWellKnownSets, System.TypeInitializationException, b3a, unknown.
    ErrorReportingEnabled: False
    - System
      - Provider
       [ Name]  MSExchange Common
      - EventID 4999
       [ Qualifiers]  16388
       Level 2
       Task 1
       Keywords 0x80000000000000
      - TimeCreated
       [ SystemTime]  2012-10-03T18:07:40.000000000Z
       EventRecordID 31189
       Channel Application
       Computer computer.domain.local
       Security
    - EventData
       3480
       E12
       c-buddy-RTL-AMD64
       14.02.0247.005
       PowerShell_ISE
       unknown
       M.E.D.S.N.PropertyDefinitionSets.BuildWellKnownSets
       System.TypeInitializationException
       b3a
       unknown
       False
    Another problem im having is warning messages that show when running some cmdlets before they actually run. They are always the same so far.
    below is the warning...
    WARNING: The cmdlet extension agent with the index 0 has thrown an exception in OnComplete(). The exception is:
    System.TypeInitializationException: The type initializer for
    'Microsoft.Exchange.Data.Storage.NativeStorePropertyDefinitionDictionary' threw an exception. ---> System.NotSupportedException:
     Not supported field(MailEnabled) type(Microsoft.Exchange.Data.Storage.PropertyTagPropertyDefinition).
       at Microsoft.Exchange.Data.Storage.NativeStorePropertyDefinitionDictionary.PropertyDefinitionSets.BuildWellKnownSets()
       at Microsoft.Exchange.Data.Storage.NativeStorePropertyDefinitionDictionary..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Storage.PropertyTagPropertyDefinition.TryFindEquivalentDefinition(PropTagKey key, Boolean
    isCustom, PropType type, TypeCheckingFlag typeCheckingFlag, PropertyTagPropertyDefinition& definition, Boolean&
    createNewDefinition)
       at Microsoft.Exchange.Data.Storage.PropertyTagPropertyDefinition.InternalCreate(String displayName, PropTag propertyTag,
    PropertyFlags flags, TypeCheckingFlag typeCheckingFlag, Boolean isCustom, PropertyDefinitionConstraint[] constraints)
       at Microsoft.Exchange.Data.Storage.PropertyTagCache.InternalPropertyDefinitionsFromPropTags(TypeCheckingFlag
    propertyTypeCheckingFlag, MapiProp mapiProp, StoreSession storeSession, PropTag[] propTags, Int32& resolvedPropertyCount)
       at Microsoft.Exchange.Data.Storage.RecipientTable.GetRecipientPropertyDefinitionsFromMapiTable(Boolean&
    originalColumnsChanged)
       at Microsoft.Exchange.Data.Storage.RecipientTable.BuildRecipientCollection(Action`2 recipientCollectionBuilder)
       at Microsoft.Exchange.Data.Storage.CoreRecipientCollection..ctor(ICoreItem coreItem)
       at Microsoft.Exchange.Data.Storage.CoreItem.Microsoft.Exchange.Data.Storage.ICoreItem.GetRecipientCollection(Boolean
    forceOpen)
       at Microsoft.Exchange.Data.Storage.CoreItem.GetRecipientCharsetDetectionData(StringBuilder stringBuilder, Boolean
    isComplete)
       at Microsoft.Exchange.Data.Storage.ItemCharsetDetector.BuildCodePageDetector(MemoryStream& cachedHtmlBody)
       at Microsoft.Exchange.Data.Storage.ItemCharsetDetector.DetectCpidWithOptions(Charset userCharset, MemoryStream&
    cachedHtmlBody)
       at Microsoft.Exchange.Data.Storage.ItemCharsetDetector.SetCachedBodyDataAndDetectCharset(Char[] cachedBodyData, Charset
    userCharset, BodyCharsetFlags charsetFlags)
       at Microsoft.Exchange.Data.Storage.BodyCharsetDetectionStream.CalculateCharset()
       at Microsoft.Exchange.Data.Storage.BodyCharsetDetectionStream.OnBufferFull()
       at Microsoft.Exchange.Data.Storage.BodyCharsetDetectionStream.CloseDetectorConversionStream()
       at Microsoft.Exchange.Data.Storage.BodyCharsetDetectionStream.Flush()
       at Microsoft.Exchange.Data.TextConverters.ConverterEncodingOutput.Flush()
       at Microsoft.Exchange.Data.TextConverters.Internal.Text.TextCodePageConverter.Run()
       at Microsoft.Exchange.Data.TextConverters.Internal.Text.TextCodePageConverter.Flush()
       at Microsoft.Exchange.Data.TextConverters.ConverterWriter.Flush()
       at Microsoft.Exchange.Data.TextConverters.ConverterWriter.Dispose(Boolean disposing)
       at System.IO.TextWriter.Close()
       at Microsoft.Exchange.Data.Storage.BodyTextWriter.<CloseWriter>b__11()
       at Microsoft.Exchange.Data.Storage.ConvertUtils.CallCts(Trace tracer, String methodName, LocalizedString exceptionString,
    CtsCall ctsCall)
       at Microsoft.Exchange.Data.Storage.BodyTextWriter.CloseWriter()
       at Microsoft.Exchange.Data.Storage.BodyTextWriter.Dispose(Boolean disposing)
       at System.IO.TextWriter.Dispose()
       at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLogMessageData data, LogMessageDelegate
    logMessage)
       at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e)
       at Microsoft.Exchange.Provisioning.ProvisioningLayer.OnComplete(Task task, Boolean succeeded, Exception exception)
    Exchange 2010 Version 14.02.0318.002
    Problems occur on a Win7 client. The only thing that has changed was a powershell v3 install.
    current powershell version shows version 3
    any ideas?

    Powershell v3 is not (yet) supported with Exchange 2010:
    http://technet.microsoft.com/en-us/library/ff728623.aspx
    Alexei

  • Learning EcmaScript for Sharepoint 2010?

    Hi All,
    Are there any good resources/books to learn Ecmascript in context with Sharepoint 2010?
    Appreciate your suggestions.
    Thanks,
    Rahul Babar
    ASP.NET, C# 4.0, Sharepoint 2007/2010, Infopath 2007/2010 Developer

    Hi
    Check following URLs for SharePoint 2010 Ecmascript,Javascript Client object model Tutorial,Samples
    http://www.learningsharepoint.com/sharepoint-2010-ecmascriptjavascript-client-object-model-tutorialsamples/
    http://msdn.microsoft.com/en-us/sp2010devtrainingcourse_ecmascriptclientobjectmodel.aspx
    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact [email protected]

  • SQL Exception : Type LONGINT .....

    Hi,
    I am using deploytool & J2EE 1.3.1...
    I am trying to get a stateless session bean to create/reference a CMP2.0 entity bean.
    I get the following error:
    Context Exception caught = nested exception is: SQL Exception: Type LONGINT does
    not recognize the format of the string 'Compiler'.
    javax.ejb.EJBException: nested exception is: SQL Exception: Type LONGINT does no
    t recognize the format of the string 'Compiler'.
    SQL Exception: Type LONGINT does not recognize the format of the string 'Compile
    r'.
    The create method has a string key (in this case I pass the string "Compiler" and this is received in the ejbCreate method and I store it using the abstract method setName().
    Has anybody any idea what this error means?
    Thanks
    Sean

    Greetings,
    Thanks for the help.
    I am using cloudscape and have told the deploytool to
    generate the SQL.Think of this as being only a "suggestion". The generated SQL is often incorrect, especially if your database schema is pre-existing. After generating the SQL, click on the method names and check the SQL statements for correctness.
    I have given a new Abstract schema name, but still no
    joy.This is really only relevant to your EJB QL. You should still check the mapping between EJB QL and SQL (refer again to the above :).
    Any idea how one syn's up cloudscape and the abstract
    schema?I hope this helps.
    Thanks,
    SeanRegards,
    Tony "Vee Schade" Cook

Maybe you are looking for