Binding component's instance to bean property

I'm trying to bind a dataTable to an array of objects in a JavaBean. But I don't understand how the UIData object in my JavaBean gets created. I see the "setter" gets called from the binding attribute in the dataTable element, but it's not actually being populated with my data (it gets populated with a UIData object, HtmlDataTable, with 0 rows. But my object has rows).
<h:dataTable id="licenseTable"
             styleClass="Detail"
             binding="#{searchBean.licenseTable}"
             value="#{searchBean.licenses}"
             var="license">
</h:dataTable>In the "searchBean" JavaBean I have the following:
  private UIData licenseTable = null;
  private License[] licenseArray = null;
  public UIData getLicenseTable()
    return licenseTable;
  public void setLicenseTable(UIData table)
    this.licenseTable = table;
  public License[] getLicenses()
    return licenseArray;
  }Do I manually create the UIData object? From the examples I've seen, that doesn't appear to be the case. But I don't see how it works.
Thanks.

I'll try to answer your question, although, to be honest I'm not 100% sure that it will be correct. Perhaps a more experienced poster can correct me if I'm wrong.
I think that local values and component values are the same thing. Model values are the properties of the managed bean. There is a third category, which is submitted values.
- Submitted Values are the values which are read right off the HTTP parameters. In essence, they are the HTTP parameters.
- Local Values (or Component Values) These are the properties of the component. They are set from the submitted value during Apply_Request_Values phase.
- Model Values are the properties of a managed bean. These are set during the Update_Model_Values phase from the local values after being converted and validated during the Process_Validations phase.
I hope that helps, again, I am not completely sure if this is correct.

Similar Messages

  • Property binding causes Bean property to be null when Component is readonly

    I am retrieving an object (instantiation of a Bean) from a list of objects displayed in a table.
    A set of components (textfields, textareas) are bound to the properties of the retrieved object. - propertybinding, text property bound to name property of managed bean.
    If I make any of the bound components read-only the corresponding property of the bound object is set to null.
    Why is this? Is there a work-around for this? If there is not I will not be able to make use of the propertybinding feature and I will have to populate and retrieve from components manually.
    I have tested this using different components and setting up binding in multiple ways - through "data binding" and through "property binding" directly to the text field of the component.
    Thanks,

    I have been working with my issue for a little bit and I've learned that binding to an object (or Bean) can be dangerous for the object.
    In SessionBean1 I have instantiated two objects of my bean TransferMethod, tm1 and tm2. tm2 is a "copy" of tm1 in that it contains all the same data, but in separate memory.
    I've bound tm1 to text fields on my jsp page. tm2 is not bound to anything.
    My page has a table, and edit area and several buttons. When I load my page it populates the table with data. I select a row from the table and click my "Edit" button. This instantiates the tm1 and tm2 objects and populates them with data from the row.
    As my text fields are bound to tm1 the text fields are now populated when the page is re-displayed. The name field is bound to the name property and the component is set to readonly. The description field is bound to the description property and has no other configuration.
    When I click my "Save" button and interrogate my tm1 and tm2 objectsm all properties in my tm1 object are reset to default values with the exception of the description field. All properties of the tm2 object are still populated with original data.
    This tells me that binding an object to components is not feasible if you expect to continually work with that object on a single page.
    My work around will be to manually assign the properties of my object to my textfields and vice-versa.
    Hopefully the new version of Creator will address this issue.
    Rebecca

  • Bug/Bad docs trying to bind SelectItem to bean property of type Collection

    Hi,
    I've been trying for the best part of the morning to use a selectOneMenu tag and bind the selectItems value to a backing bean property.
    The tutorial states that:
    "The advantages of using the selectItems tag are as follows:
    You can represent the items using different data structures, including Array, Map, List, and Collection. The data structure is composed of SelectItem instances or SelectItemGroup instances."
    well I've used Map, and List (which are both covered by Collection anyway...) and they don't work. You go silently to the renderResponse phase.
    In all cases the content of my Collection typed property were javax.faces.model.SelectItem instances.
    I changed the backing bean property to be of type SelectItem[] instead and suddenly it works fine.
    It's as if the binding mechanism isn't able to handle collections?
    Is the tutorial wrong or does this just not work?
    I'm using 1.0.
    Neil

    Hi
    I have the same problem whereby my backing beans has implemented as a HashSet of attachments for a client. If this is changed to a type, List say ArrayList, everything works correctly with no errors.
    client.attachments -> contains a HashSet of attachments
    Page goes to display this list and if a Set is used then error below is thrown.
    Has anyone experienced this problem and found a solution, it would very help
    Thanks
    Glenn
    Exception :
    com.sun.facelets.tag.TagAttributeException: /C:/development/42508/apmweb/pages/client/client_notes_list.xhtml @70,53 tes
    t="${not empty note.attachments}" /C:/development/42508/apmweb/pages/client/client_notes_list.xhtml @70,53 test="${not e
    mpty note.attachments}": Bean: org.hibernate.collection.PersistentSortedSet, property: 0
    at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
    at com.sun.facelets.tag.TagAttribute.getBoolean(TagAttribute.java:79)
    at com.sun.facelets.tag.jstl.core.IfHandler.apply(IfHandler.java:49)
    at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:168)
    at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:147)
    at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:147)
    at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:147)
    at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:94)
    at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
    at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
    at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
    at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:400)
    at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:434)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:214)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:120)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3020)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1925)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1848)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1288)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: javax.el.PropertyNotFoundException: /C:/development/42508/apmweb/pages/client/client_notes_list.xhtml @70,53
    test="${not empty note.attachments}": Bean: org.hibernate.collection.PersistentSortedSet, property: 0
    at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
    at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.jav
    Code :
    <c:forEach items="#{WriteableClient.notes}" var="note">          
    <c:if test="#{not empty note.attachments}">
    </c:forEach >

  • Binding component value to a property or  to an implicit object?

    Sorry for that newbie question, but it confuses me...
    What is the differnce between binding component value to a property and binding this value to an implicit object? In both cases i can refere to the value inside jsp file by:
    #{MyBean.someValue}.
    The difference is that in first case I need to declare:
    <managed-bean>
    <managed-bean-name>MyBean</managed-bean-name>
    <managed-property>
    <property-name>someValue</property-name>
    <value>value</value>
    </managed-property>
    </managed-bean>In second case I don't need to declare anything.
    When should I use first type of binding and when the second one?
    What are the restrictions in using implicit binding?

    The definition of EasingColorKeyFrame class support Dependency Object.
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.animation.easingcolorkeyframe.aspx.
    http://stackoverflow.com/questions/8892234/binding-easingcolorkeyframe-value.

  • Including Bean-Property in Database-Binding

    Hello,
    I'm testing SJSC and right now I'm testing the Database-Bindings. I was successfull in integrating the MySQL JDBC-driver and creating JNDI-Ressource, JDBC-Ressource and Connection-Pool (I have several "RaveGenerated entrys but this problem will be solved later hopefully).
    My question is how I can integrate the value of a managed Bean in a SQL-Query of a Rowset. n my own Example I have a page where I enter a Short name in an Input-Field. This field is bound to a manged Bean and the name is a Property. I press a Okay-Button and on the next Page I display this Property again. This works finde. Now I will lookup in a database the long name corresponding to the short Name. I bound the Output-Field to a Rowset and the first long name is displayed from the database. I would like to display the long Name of the DB-Column of the entered short name. How can I do that?
    Best regards,
    Thomas

    Does your DbAccess bean have a "setJdbcUser" method?
    ie public void setJdbcUser(String user)Yes. Wouldn't the 'setProperty" tag cause compilation to fail if there was not a corresponding bean property?
    I'll add the standard disclaimer how db connections
    in JSPs is a bad idea. Such code should be in a servlet/bean.I have created context parameters in web.xml with the jdbc configuration values to create the connection. I created a context listener to open the connection on application initialization. My original conception was to create the connection in my controller servlet and then pass it as a request attribute and fetch it in the JSP. But, on further consideration, I could not find a way to do that without using a scriptlet. For that reason, I backtracked and created the DbAccess bean, whose purpose actually is to create the connection. So, the business with the jdbcUser property is really just me "feeling my way" with how these tags work in the JSP. I'm having difficulty in visualizing how to access that connection (or the data feed) in the JSP. I can create the DbAccess object with the JDBC connection in the listener.
    I am certainly open to suggestions as to the best way to make this work. I haven't found much guidance in the documentation I've read.
    Thanks for the reply.
    mp

  • JDBC Binding Component Bug

    We need to use the JDBC binding component but run into this error when trying it against the Derby sample database:
    Gettin bean for {http://j2ee.netbeans.org/wsdl/TestJDBC}serviceport
    Adding reply listener for messsage exchange:190736427284860-12041-134354767608280052
    Received in-only message 190736427284860-12041-134354767608280052.
    Processing one-way inbound messages...
    Executing sql . update PURCHASE_ORDER set FLAG = 1 whereORDER_NUM=10398001
    Error occured while executing sql.update PURCHASE_ORDER set FLAG = 1 whereORDER_NUM=10398001
    Finished processing message with exchange id of [190736427284860-12041-134354767608280052]. Removing the exchange id...
    Finished processing outbound messages.
    BPCOR-6151:The process instance has been terminated because a fault was not handled; Fault Name is {http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure; Fault Data is null
    com.sun.jbi.engine.bpel.core.bpel.exception.StandardException: I18N: BPCOR-3023: Selection Failure occurred in BPEL({http://enterprise.netbeans.org/bpel/testJDBC/TestJDBC}TestJDBC) at line 22!
    Looks like someone forgot the space after "where" which causes the SQL statement to break. Is there a fix?
    Also when using the polling type, the log shows select * rather than using the select statement with column values defined in the WSDL.
    Received in-only message.
    Executing sql . select * from PURCHASE_ORDER
    normalized message
    Finished executing the SQL successfully.
    Accepted the message in JDBC Binding. 190736427284860-12041-134354767608280052
    Accepted message with exchange ID 190736427284860-12041-134354767608280052 in JDBC outbound message processor.

    This is the error caused by the null string database column value retrieved during the polling process:
    IN_ONLY select statement processed
    normalized message
    I18N: BPJBI-3002: Pattern for exchange Id 202752488871337-35996-134357795744840255 is http://www.w3.org/2004/08/wsdl/in-only
    ERROR: ''
    ERROR: ''
    ERROR: ''
    ERROR: ''
    BPJBI-6010:Failed to process In Only Message M Ex 202752488871337-35996-134357795744840255
    java.lang.RuntimeException: BPCOR-6096:Error occurred while converting the node to a string.
    at com.sun.jbi.engine.bpel.core.bpel.util.DOMHelper.createXmlString(DOMHelper.java:137)
    at com.sun.jbi.engine.bpel.core.bpel.util.DOMHelper.createXmlString(DOMHelper.java:103)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.JBIMessageImpl.toString(JBIMessageImpl.java:345)
    at java.lang.String.valueOf(String.java:2827)
    at java.lang.StringBuffer.append(StringBuffer.java:219)
    at com.sun.jbi.crl.util.LocalizationSupport.salvage(LocalizationSupport.java:115)
    at com.sun.jbi.crl.util.LocalizationSupport.format(LocalizationSupport.java:126)
    at com.sun.jbi.crl.util.LocalizationSupport.t(LocalizationSupport.java:181)
    at com.sun.jbi.engine.bpel.util.I18n.loc(I18n.java:50)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:612)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:308)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:194)
    Caused by: javax.xml.transform.TransformerException: java.lang.NullPointerException
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:717)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
    at com.sun.jbi.engine.bpel.core.bpel.util.DOMHelper.createXmlString(DOMHelper.java:124)
    ... 11 more

  • Portal runtime error: Cannot access bean property

    Dear all,
    Does anybody have a clue what problem might couse the <b>Portal Runtime Error</b> described below?
    It does seem to occur when a second user wants to access the <b>Component</b>.
    <b>Portal Runtime Error</b>
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.xxxxx.luminaires/com.xxxx.iviews/Quotations/EasyQuote
    <b>Component</b> Name : EasyQuoteDemo.EasyQuoteComponent
    Tag tableView attribute model: Cannot access bean property quotationHeader.CurrentTableModel in page context.
    Exception id: 04:50_21/09/04_0070
    See the details for the exception ID in the log file
    Thxs in advance
    Joost

    Hi Dominik,
    Having a closer look at the problem, we found it is not the number of users.
    It seems our JAVA components keeps the conenctions with SAP open and reopens a new one every time we start the component.
    If we finished solving the problem, I will publish the solution.
    Greetings,
    Joost

  • Bean property and public field found with the same name: getid

    Hi all,
    I have a ejb jar file contains some local entity beans and one session bean
    , the session bean has some functions suck as findXXXByQuery() , InsertXXX()
    , and I have created some model class for the entity bean , and use it as
    the parameter or return type of the session bean , then I want to transfer
    the session bean as a webservice , using ant automaticly . All this function
    successfully in weblogic 6.1 , but when I want to run ant command in
    weblogic 7.0 , an error occured :
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property
    and public field found with the same name: getid
    Yes , I have a getid field in table , a getid in entity bean , and a getid
    property in model class , but what different does it make ? Would you mind
    to test my jar file ? I send all files as attachments .
    Any advice will be appreciate .
    lcl
    [build.xml]
    [work.jar]

    In article <[email protected]>, lcl <[email protected]> wrote:
    -=-=-=-=-=-
    Hi all,
    I have a ejb jar file contains some local entity beans and one session bean
    , the session bean has some functions suck as findXXXByQuery() , InsertXXX()
    , and I have created some model class for the entity bean , and use it as
    the parameter or return type of the session bean , then I want to transfer
    the session bean as a webservice , using ant automaticly . All this function
    successfully in weblogic 6.1 , but when I want to run ant command in
    weblogic 7.0 , an error occured :
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property
    and public field found with the same name: getid
    Yes , I have a getid field in table , a getid in entity bean , and a getid
    property in model class , but what different does it make ? Would you mind
    to test my jar file ? I send all files as attachments .
    Any advice will be appreciate .
    lcl
    -=-=-=-=-=-For better or worse the JAX-RPC spec requires this behavior. From
    section 5.4.1:
    "There is no standard mapping for the case when a JavaBean property
    has the same name as a public field. A Java to XML mapping
    implementation is required to flag this case as an error."
    Since you are not the first person to run into this restriction I'm
    beginning to think we need an option to bypass it.
    --Scott

  • What is correct row bean property class?

    I'm trying to extend the WL9.0 administrative console
              and I'm tryign to use the templates provided for viewing
              table form content there. The problem is as follows:
              I define a JSP that shows a table, each row showing data
              from my own bean class 'SponsorListItem'
              --->JSP snippet
              <%@ page language="java" %>
              <%@ taglib uri="/WEB-INF/console-html.tld" prefix="wl" %>
              <%@ taglib uri="/WEB-INF/fmt.tld" prefix="fmt" %>
              <%@ taglib uri="/WEB-INF/beehive-netui-tags-template.tld" prefix="beehive-template" %>
              <fmt:setBundle basename="mgmtconsole" var="current_bundle" scope="page"/>
              <beehive-template:template templatePage="/layouts/tableBaseLayout_netui.jsp">
              <beehive-template:section name="configAreaIntroduction">
              <fmt:message key="mysoftware.mgmtconsole.sponsorlist.title" bundle="${current_bundle}"/>
              </beehive-template:section>
              <beehive-template:section name="table">
              <wl:table
              name="sponsorListForm"
              property="sponsors"
              showcheckboxes="false"
              captionEnabled="true"
              controlsEnabled="false"
              bundle="mgmtconsole"
              formEnabled="true"
              showheadings="true"
              singlechange="false">
              <wl:caption>
              <fmt:message key="mysoftware.mgmtconsole.sponsorlist.caption" bundle="${current_bundle}"/>
              </wl:caption>
              <wl:column property="sponsorName" label="mysoftware.mgmtconsole.sponsorlist.sponsorname"/>
              <wl:column property="sponsorCode" label="mysoftware.mgmtconsole.sponsorlist.sponsorcode"/>
              <wl:column property="sponsorId" label="mysoftware.mgmtconsole.sponsorlist.sponsorid"/>
              </wl:table>
              </beehive-template:section>
              </beehive-template:template>
              -->end clip
              My form bean (SponsorListForm) has function
              --->clip
              public SponsorListItem[] getSponsors() { return fArray; }
              <--end clip
              My row bean (SponsorListItem) has the following getters
              -->clip
              public String getSponsorName() { return fName; }
              public String getSponsorCode() { return fCode; }
              public String getSponsorId() { return fId; }
              public String getHandle() { return fId; }
              <--end clip
              So far so good, when I try to view the JSP in the
              mgmt console snippet I get an error:
              java.lang.ClassCastException: java.lang.String
              at com.bea.console.taglib.html.renderer.DefaultCellRenderer.doRender(DefaultCellRenderer.java:36)
              at com.bea.console.taglib.html.TableTag.printTableRows(TableTag.java:749)
              at com.bea.console.taglib.html.TableTag.printTable(TableTag.java:594)
              at com.bea.console.taglib.html.TableTag.doEndTag(TableTag.java:359)
              at jsp_servlet._mgmtconsole._jsp.__mgmtconsole2._jspService(__mgmtconsole2.java:337)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:214)
              at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:120)
              If I set the getters from SponsorListItem to return null I do not get the error - instead I get the correct number of rows with empty content (naturally as I did not give any content, just nulls). So it seems that the cell renderer assumes that the property is of some class other than java.lang.String but I cannot find from the documentation what is the class it wants. If I had the source of the renderer I could go and have a look at there but naturally I do not have that...
              So, what is the correct class to return for a row bean property?

    It appears the assumed class for getHandle() in the row item bean is com.bea.console.handles.Handle which can be found from the console.jar in the server/lib/consoleapp/webapp/WEB-INF/lib.
              If I subclass this item and then make my row bean return instances of these for the getHandle() then I do not get class cast exception.

  • Error starting component: oracle instance: instance 1 (coreapplication)

    Hi,
    Mu OBIEE core application can't start anymore. I encounter this problem on OBIEE after restoring the database:
    Message     Error in starting component: oracle instance: instance1, component: coreapplication_obis1
    Details oracle.bi.management.bidomain.opmn.ProcessControlException: Operation Failed: start; OracleInstance: instance1; Component: coreapplication_obis1; msg: 0 of 1 processes started.
    at oracle.bi.management.bidomain.opmn.OpmnProcessController.start(OpmnProcessController.java:140)
    at oracle.bi.management.adminservices.model.impl.ProcessManagerProxyImpl.start(ProcessManagerProxyImpl.java:59)
    at oracle.bi.management.adminservices.mbeans.impl.BIComponentMBeanImpl.start(BIComponentMBeanImpl.java:147)
    at oracle.bi.management.adminservices.mbeans.impl.BIComponentMBeanImpl.start(BIComponentMBeanImpl.java:139)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:973)
    at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:190)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:344)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:360)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:887)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
    at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
    at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
    at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
    at javax.management.remote.rmi.RMIConnectionImpl_1034_WLStub.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
    at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
    at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
    at oracle.sysman.emai.model.bi.impl.JmxUtil.invokeMethod(JmxUtil.java:185)
    at oracle.sysman.emai.model.bi.mbean.AvailabilityAssistant.processComponent(AvailabilityAssistant.java:554)
    at oracle.sysman.emai.model.bi.mbean.AvailabilityAssistant.startComponent(AvailabilityAssistant.java:516)
    at oracle.sysman.emai.view.bi.AvailabilityView.startComponent(AvailabilityView.java:398)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.sysman.emas.sdk.progress.WorkWrapper.run(WorkWrapper.java:96)
    at java.lang.Thread.run(Thread.java:662)
    Core application is the only process which doesn't start. Have you any idea of the origin of this problem, I am quite stuck with this ?
    Thanks

    Hello,
    I am not sure of the log file directory:
    - Oracle\admin\bifoundation_domain\aserver\bifoundation_domain\servers\AdminServer\sysman\log
    - Oracle\admin\bifoundation_domain\aserver\bifoundation_domain\servers\AdminServer\logs
    - Oracle\admin\bifoundation_domain\aserver\bifoundation_domain\servers\bi_server1\logs
    1 - emoms.log
    2012-09-07 16:14:32,736 [Thread-344] ERROR progress.WorkWrapper logp.251 - WorkWrapper caught exception:
    oracle.sysman.emSDK.app.exception.EMSystemException
         at oracle.sysman.emai.view.bi.AvailabilityView.startComponent(AvailabilityView.java:402)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.sysman.emas.sdk.progress.WorkWrapper.run(WorkWrapper.java:96)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.sysman.emai.model.bi.ModelException: Failed to invoke method: start for bean: oracle.biee.admin:oracleInstance=instance1,type=BIDomain.BIInstanceDeployment.BIComponent,biInstance=coreapplication,process=coreapplication_obis1,group=Service
         at oracle.sysman.emai.model.bi.impl.JmxUtil.invokeMethod(JmxUtil.java:192)
         at oracle.sysman.emai.model.bi.mbean.AvailabilityAssistant.processComponent(AvailabilityAssistant.java:554)
         at oracle.sysman.emai.model.bi.mbean.AvailabilityAssistant.startComponent(AvailabilityAssistant.java:516)
         at oracle.sysman.emai.view.bi.AvailabilityView.startComponent(AvailabilityView.java:398)
         ... 6 more
    Caused by: javax.management.MBeanException: Unable to start process: instance1: coreapplication_obis1
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
         at javax.management.remote.rmi.RMIConnectionImpl_1034_WLStub.invoke(Unknown Source)
         at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
         at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
         at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
         at oracle.sysman.emai.model.bi.impl.JmxUtil.invokeMethod(JmxUtil.java:185)
         ... 9 more
    Caused by: javax.management.OperationsException: Unable to start process: instance1: coreapplication_obis1
         at oracle.bi.management.adminservices.mbeans.impl.ExternalExceptionHelper.externalize(ExternalExceptionHelper.java:42)
         at oracle.bi.management.adminservices.mbeans.impl.BIComponentMBeanImpl.start(BIComponentMBeanImpl.java:153)
         at oracle.bi.management.adminservices.mbeans.impl.BIComponentMBeanImpl.start(BIComponentMBeanImpl.java:139)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:973)
         at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:190)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:344)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:360)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:887)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
         at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         ... 15 more
    2 - AdminServer-diagnostic.log
    [2012-09-07T16:14:32.736+02:00] [AdminServer] [ERROR] [] [oracle.bi.management.sysmancommon] [tid: Thread-344] [userId: weblogic] [ecid: 2e380b2bc6d1ce07:-6c56eda2:139a0a22d24:-8000-000000000000018c,1:17877] [APP: biadminservices#11.1.1] Operation Failed: start; OracleInstance: instance1; Component: coreapplication_obis1; msg: 0 of 1 processes started.
    [2012-09-07T16:14:32.736+02:00] [AdminServer] [ERROR] [] [oracle.bi.management.sysmancommon] [tid: Thread-344] [userId: weblogic] [ecid: 2e380b2bc6d1ce07:-6c56eda2:139a0a22d24:-8000-000000000000018c,1:17877] [APP: biadminservices#11.1.1] Error in starting component: oracle instance: instance1, component: coreapplication_obis1[[
    oracle.bi.management.bidomain.opmn.ProcessControlException: Operation Failed: start; OracleInstance: instance1; Component: coreapplication_obis1; msg: 0 of 1 processes started.
         at oracle.bi.management.bidomain.opmn.OpmnProcessController.start(OpmnProcessController.java:140)
         at oracle.bi.management.adminservices.model.impl.ProcessManagerProxyImpl.start(ProcessManagerProxyImpl.java:59)
         at oracle.bi.management.adminservices.mbeans.impl.BIComponentMBeanImpl.start(BIComponentMBeanImpl.java:147)
         at oracle.bi.management.adminservices.mbeans.impl.BIComponentMBeanImpl.start(BIComponentMBeanImpl.java:139)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:973)
         at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:190)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:344)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:360)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:887)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
         at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
         at javax.management.remote.rmi.RMIConnectionImpl_1034_WLStub.invoke(Unknown Source)
         at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
         at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
         at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
         at oracle.sysman.emai.model.bi.impl.JmxUtil.invokeMethod(JmxUtil.java:185)
         at oracle.sysman.emai.model.bi.mbean.AvailabilityAssistant.processComponent(AvailabilityAssistant.java:554)
         at oracle.sysman.emai.model.bi.mbean.AvailabilityAssistant.startComponent(AvailabilityAssistant.java:516)
         at oracle.sysman.emai.view.bi.AvailabilityView.startComponent(AvailabilityView.java:398)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.sysman.emas.sdk.progress.WorkWrapper.run(WorkWrapper.java:96)
         at java.lang.Thread.run(Thread.java:662)
    [2012-09-07T16:14:32.736+02:00] [AdminServer] [ERROR] [] [oracle.bi.management.adminservices] [tid: Thread-344] [userId: weblogic] [ecid: 2e380b2bc6d1ce07:-6c56eda2:139a0a22d24:-8000-000000000000018c,1:17877] [APP: biadminservices#11.1.1] MBean operation failed.[[
    oracle.bi.management.adminservices.model.ProcessManagementException: Unable to start process: instance1: coreapplication_obis1
         at oracle.bi.management.adminservices.model.impl.ProcessManagerProxyImpl.start(ProcessManagerProxyImpl.java:87)
         at oracle.bi.management.adminservices.mbeans.impl.BIComponentMBeanImpl.start(BIComponentMBeanImpl.java:147)
         at oracle.bi.management.adminservices.mbeans.impl.BIComponentMBeanImpl.start(BIComponentMBeanImpl.java:139)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:973)
         at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:190)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:344)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:360)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:887)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
         at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
         at javax.management.remote.rmi.RMIConnectionImpl_1034_WLStub.invoke(Unknown Source)
         at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
         at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
         at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
         at oracle.sysman.emai.model.bi.impl.JmxUtil.invokeMethod(JmxUtil.java:185)
         at oracle.sysman.emai.model.bi.mbean.AvailabilityAssistant.processComponent(AvailabilityAssistant.java:554)
         at oracle.sysman.emai.model.bi.mbean.AvailabilityAssistant.startComponent(AvailabilityAssistant.java:516)
         at oracle.sysman.emai.view.bi.AvailabilityView.startComponent(AvailabilityView.java:398)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.sysman.emas.sdk.progress.WorkWrapper.run(WorkWrapper.java:96)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.bi.management.bidomain.opmn.ProcessControlException: Operation Failed: start; OracleInstance: instance1; Component: coreapplication_obis1; msg: 0 of 1 processes started.
         at oracle.bi.management.bidomain.opmn.OpmnProcessController.start(OpmnProcessController.java:140)
         at oracle.bi.management.adminservices.model.impl.ProcessManagerProxyImpl.start(ProcessManagerProxyImpl.java:59)
         ... 68 more
    3 - bi_server1.log
    ####<Sep 7, 2012 4:00:31 PM CEST> <Error> <Diagnostics> <spmrecana> <bi_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2e380b2bc6d1ce07:-34c77dc4:139a0a3839c:-8000-0000000000000825> <1347026431424> <BEA-320142> <An error was encountered while performing size based data retirement on archive EventsDataArchive
    weblogic.diagnostics.accessor.DiagnosticDataAccessException: weblogic.store.PersistentStoreException: weblogic.store.PersistentStoreException: [Store:280029]The persistent store record 10,422 could not be found
         at weblogic.diagnostics.archive.wlstore.PersistentStoreDataArchive.deleteDataRecords(PersistentStoreDataArchive.java:1368)
         at weblogic.diagnostics.archive.wlstore.PersistentStoreDataArchive.retireOldestRecords(PersistentStoreDataArchive.java:1211)
         at weblogic.diagnostics.archive.DataRetirementByQuotaTaskImpl.performDataRetirement(DataRetirementByQuotaTaskImpl.java:92)
         at weblogic.diagnostics.archive.DataRetirementByQuotaTaskImpl.run(DataRetirementByQuotaTaskImpl.java:49)
         at weblogic.diagnostics.archive.DataRetirementTaskImpl.run(DataRetirementTaskImpl.java:261)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused By: weblogic.store.PersistentStoreException: weblogic.store.PersistentStoreException: [Store:280029]The persistent store record 10,422 could not be found
         at weblogic.diagnostics.archive.wlstore.PersistentStoreDataArchive.readRecord(PersistentStoreDataArchive.java:698)
         at weblogic.diagnostics.archive.wlstore.PersistentStoreDataArchive.readRecord(PersistentStoreDataArchive.java:668)
         at weblogic.diagnostics.archive.wlstore.PersistentStoreDataArchive.deleteDataRecords(PersistentStoreDataArchive.java:1285)
         at weblogic.diagnostics.archive.wlstore.PersistentStoreDataArchive.retireOldestRecords(PersistentStoreDataArchive.java:1211)
         at weblogic.diagnostics.archive.DataRetirementByQuotaTaskImpl.performDataRetirement(DataRetirementByQuotaTaskImpl.java:92)
         at weblogic.diagnostics.archive.DataRetirementByQuotaTaskImpl.run(DataRetirementByQuotaTaskImpl.java:49)
         at weblogic.diagnostics.archive.DataRetirementTaskImpl.run(DataRetirementTaskImpl.java:261)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused By: weblogic.store.PersistentStoreException: [Store:280029]The persistent store record 10,422 could not be found
         at weblogic.store.io.file.FileStoreIO$TypeRecord.getSlot(FileStoreIO.java:1064)
         at weblogic.store.io.file.FileStoreIO.readInternal(FileStoreIO.java:244)
         at weblogic.store.io.file.FileStoreIO.read(FileStoreIO.java:235)
         at weblogic.store.internal.ReadRequest.run(ReadRequest.java:34)
         at weblogic.store.internal.StoreRequest.doTheIO(StoreRequest.java:64)
         at weblogic.store.internal.PersistentStoreImpl.run(PersistentStoreImpl.java:729)
         at java.lang.Thread.run(Thread.java:662)
    >

  • Had a Search Criteria and the result as table in header.Wanted to bind the result table to bean for the key value access

      Had Search Criteria and the result is displayed in the table in a panel header .  I want to get the selected  row value and parse the value to next Vo in next page for a bind variable . So i need to handle the  tbale value by biniding to the bean , but there was no option to bind the table for a bean.So how can i get the value selected .
    Regards,
    K M Krishna.

    First of all tell us your jdev version, please.
    to get to the selected row you don't need to bind the table to a managed bean. You can e.g. drag the needed attributes from the VO onto the page and drop them as inputText components. the Framework then generated the attribute bindings and sets the values of the current row to them. As you don't really need the inputText components switch to source mode (!this is essential!) and remove them. This will remove the visual component but the attribute bindings are kept.
    Know you can access the values via their EL or like you get the value from an attribute via it's binding.
    Timo

  • Concurrency and javafx.beans.property

    I am building a MVC architecture and i'd like the model to be running independetly of the view/controller, so the model runs concurrently with the controller/view.
    the following example is a very simplified build on how i have it:
    controller:
    public class controller extends AnchorPane implements Initializable{
         private ObjectProperty<Model> m;
         @FXML Label aLabel;
         public controller() throws Exception{
              this.m = new SimpleObjectProperty<Model>(this, "Model", null);
              FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("../view/View.fxml"));
              fxmlLoader.setController(this);
              fxmlLoader.setRoot(this);
              fxmlLoader.load();
         @Override public void initialize(URL arg0, ResourceBundle arg1){}
         public void setGame(Model m) throws Exception{
              this.m.set(m);
              aLabel.textProperty().bind(this.m.get().getIntProperty().asString());
         public void start(){
              //Method1:
              m.get().start();
              //Method2:
              Task<Void> task = new Task<Void>() {
                   @Override public Void call() {
                        m.get().start();
                        return null;
              new Thread(task).start();
              //Method3:
              m.get().start();     //Model extends Thread and public void start() to protected void run()
              //Method4:
              m.get().start();     //Model extends Task<Void> and
                             //public void start() to protected Void call() throws Exception
              //Method5:          //calling any of the before ones on the controller that calls this one
    }model:
    public class Model extends Thread{
         IntegerProperty intProperty;
         public Model(){
              this.intProperty = new SimpleIntegerProperty(0);
         public IntegerProperty getIntProperty(){
              return intProperty;
         public void start(){
              while (true){
                   this.intProperty.set(this.intProperty.get()+1);
    }Tried any of those and the results are:
    -Method1: the view crashes and cannot be seen anything (model seems to be working since continues in the loop)
    -Method2: when reaches the first this.intProperty.set(this.intProperty.get()+1); the task gets frozen and stops
    -Method3: execution error on this.intProperty.set(this.intProperty.get()+1);
    -Method4: same as Method3
    -Method5: like before ones
    how can i make the it work?

    There are a few things wrong here.
    First, if you want the model to use a Thread, make sure you know how to use the Thread class. There's a decent section on concurrency at the [url http://docs.oracle.com/javase/tutorial/essential/concurrency/index.html]Java tutorial. What you need here is to have your Model class override the run() method, not the start() method. Then call the start() method, which will cause the run() method to be executed on a separate thread of execution. (You may be doing this in Method 3, I couldn't understand your comment.)
    This is probably just an artifact of your simplified version, but your run() method should block at some point. Multiple threads can be executed on the same processor, so your current implementation may hog that processor, making it impossible for the FX Application thread to do its stuff. For testing, throw in a Thread.sleep(...) call, wrapped in a try/catch block for the InterruptedException. I assume that the real application is waiting for something from the server, so there would be some "natural" blocking of the thread in that case.
    The important rule for the UI is that changes to the interface should only be performed on the FX Application thread. Assuming you have the implementation of your model correctly running on a background thread, you violate this with your binding. (The model sets its intProperty on the background thread; the binding causes the label's text to be changed on the same thread.) So to fix this your controller should listen for changes in the model's int property, and schedule a call to aLabel.setText(...) on the FX application thread using Platform.runLater(...). You want to make sure you don't flood the FX Application thread with too many such calls. Depending on how often the int property in the model is getting updated, you may need the techniques discussed in {thread:id=2507241}.
    The Task API from JavaFX provides nice mechanisms to call back to the JavaFX Application thread; however this is not really applicable in this case. The Task class encapsulates a one-off task that (optionally) returns a value and then completes, which is not what you're doing here.
    Here's a complete example; it's not broken out into separate FXML for the view and a controller, etc, but you can see the structure and break it down as you need.
    import javafx.application.Application;
    import javafx.application.Platform;
    import javafx.beans.property.IntegerProperty;
    import javafx.beans.property.SimpleIntegerProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.Label;
    import javafx.scene.layout.AnchorPane;
    import javafx.stage.Stage;
    public class ConcurrentModel extends Application {
      @Override
      public void start(Stage primaryStage) {
        final AnchorPane root = new AnchorPane();
        final Label label = new Label();
        final Model model = new Model();
        model.intProperty.addListener(new ChangeListener<Number>() {
          @Override
          public void changed(final ObservableValue<? extends Number> observable,
              final Number oldValue, final Number newValue) {
            Platform.runLater(new Runnable() {
              @Override
              public void run() {
                label.setText(newValue.toString());
        final Button startButton = new Button("Start");
        startButton.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            model.start();
        AnchorPane.setTopAnchor(label, 10.0);
        AnchorPane.setLeftAnchor(label, 10.0);
        AnchorPane.setBottomAnchor(startButton, 10.0);
        AnchorPane.setLeftAnchor(startButton, 10.0);
        root.getChildren().addAll(label, startButton);
        Scene scene = new Scene(root, 100, 100);
        primaryStage.setScene(scene);
        primaryStage.show();
      public static void main(String[] args) {
        launch(args);
      public class Model extends Thread {
        private IntegerProperty intProperty;
        public Model() {
          intProperty = new SimpleIntegerProperty(this, "int", 0);
          setDaemon(true);
        public int getInt() {
          return intProperty.get();
        public IntegerProperty intProperty() {
          return intProperty;
        @Override
        public void run() {
          while (true) {
            intProperty.set(intProperty.get() + 1);
            try {
              Thread.sleep(50);
            } catch (InterruptedException exc) {
              exc.printStackTrace();
              break;
    }

  • Bind a UiComponent to manage bean

    Hi
       jdeveloper 11.1.1.7
    i need to refresh a inputText programatically .so
    How can i assign a inputText to  UiComponent in the managed bean ?
    thanks

    The parameter you pass to the addPartialTarget method is indeed the java representation of a ui component. In your code I miss the component you want to refresh.
    The normal way to get the component reference is to look it up in the page structure by its id. For this you can use e.g.
    Edwin Biemond's blog http://biemond.blogspot.com/2009/11/find-uicomponent-in-adf-task-flow.html
    Binding the component directly to the bean is only a possibility if the beans memory scope is request.
    Timo

  • Binding JTextField to a model bean

    trying to wrap my head around the idea of binding a JTextField to a bean value...but I'm getting an illegal state exception. I think I understand why, but I want to make sure.
    1) the user enters a name in the name field
    2) the field's doc Listener calls model.setName( field.getText() )
    3) the model updates it's property field and fires a change event
    4) the view that called the model's setter hears the change event
    5) the propertyChange method does:
    field.setText( changeEvent.getNewValue() )
    you'll get an IllegalStateException, I assume because the setText( ) will invoke a setter on the model just like it did when the user entered some data, but the current change event hasn't finished yet
    seems awful dirty to have to do the following in the propertyChange method:
    if( ! foo.getText().equals(model.getFoo())){
         foo.setText((String)evt.getNewValue());
    am I missing something?
    Jason
    My Model classpublic class Model extends PropertyChangeSupportBean {
         public static final String NAME_PROPERTY = "name";
         private String name;
         public Model(){
              this.name = "";
         public Model(String name){
              this.name = name;
         public void setName(String name){
              String oldName = this.name;
              this.name = name;
              changer.firePropertyChange(NAME_PROPERTY, oldName, name);
         public String getName(){
              return this.name;
    A view of the model:
    import java.awt.EventQueue;
    import java.awt.GridLayout;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.UIManager;
    import javax.swing.event.DocumentEvent;
    import javax.swing.event.DocumentListener;
    public class View extends JFrame implements DocumentListener, PropertyChangeListener {
         private static final long serialVersionUID = 1L;
         private JTextField nameField;
         private JLabel nameLabel;
         private Model model;
         public View(Model model) {
              super("view 2");
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              this.model = model;
              model.addPropertyChangeListener(Model.NAME_PROPERTY, this);
              getContentPane().setLayout(new GridLayout(1,2,5,5));
              initComponents();
              setLocationRelativeTo(null);
              setResizable(false);
              pack();
              setVisible(true);
         private void initComponents(){
              nameLabel = new JLabel("Your Name: ");
              this.getContentPane().add(nameLabel);
              nameField = new JTextField(model.getName(), 20);
              nameField.getDocument().addDocumentListener(this);
              this.getContentPane().add(nameField);
         public static void main(String[] args) {
              try {
                   UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
              } catch (Exception ex) {
                   System.out.println("Unable to load native look and feel");
              EventQueue.invokeLater(new Runnable() {
                   public void run() {
                        Model m = new Model("");
                        new View(m);
                        new View2(m);
         public void changedUpdate(DocumentEvent e) {
              updateModel();
         public void insertUpdate(DocumentEvent e) {
              updateModel();
         public void removeUpdate(DocumentEvent e) {
              updateModel();
         private void updateModel(){
              model.setName(nameField.getText());
         public void propertyChange(PropertyChangeEvent evt) {
               * code that throws an illegal state exception
              nameField.setText((String)evt.getNewValue());
               * code that "works"
              //if(!nameField.getText().equals(model.getName())){
              //     nameField.setText((String)evt.getNewValue());
         }

    When you use the DynamicResource markup extension, the UI will update when the resource does.
    <Window.Resources>
    <sys:String x:Key="Name">name</sys:String>
    </Window.Resources>
    <MenuItem Header="{DynamicResource Name}"/>
    <Button Content="Change header dynamically" Click="Button_Click_1"/>
    private void Button_Click_1(object sender, RoutedEventArgs e) {
    this.Resources["Name"] = "nombre";
    The only other options are to bind to dependency properties:
    <MenuItem Header="{Binding SomeDependencyProperty}"/>
    ..or binding to a property of an object that implements the INotifyPropertyChanged and raises the PropertyChanged event.
    ..or update the refresh the bindings manually using the UpdateTarget() method:
    var be = menuItem.GetBindingExpression(MenuItem.HeaderProperty);
    be.UpdateTarget();
    These are your (only) options.
    Please upload a reproducable sample of your issue to OneDrive and post the link to it here along with a detailed description about how to reproduce the issue if you need any further help.
    Please also remember to close your threads by marking helpful posts as answer.

  • How to Use COM Component in a Java Bean

    Dear Sir,
    How can I use a COM Component in a Java-Bean . I am having a COM Component for reading Weighment Reading on a Serial Port and want to use this Component in a Java-Bean . I would also like to call the methods of this COM Component inside my Java-Bean . COM Component is a dll file .
    Please guide me how to go ahead . If possible kindly provide some sample code for the same .
    With Thanks and Regards
    B V Mittal

    You need a Java to COM bridge like Jacob. Try searching this forum for more information, I've answered this question several times before.
    Dom.

Maybe you are looking for