Modify BeanInfo programatically at runtime?

I'm trying to customize the order in which properties are stored for a JavaBean, based on information gathered at runtime.
These are classes generated by JAXB from an XSD schema. The problem is that I need the properties returned in the same order in which they appear in the schema, but getProperties() is returning them in alphabetical order. I think that I could write a custom BeanInfo class to do this, but the JAXB classes are created and compiled at runtime, so ideally I would be able to do programatically when I read the classes, instead of needing to actually write source code and compile it at runtime for the custom BeanInfo.

Hi,
There are range of things you can modify on a presentation at runtime. Can you provide some more details on what properties you wish to modify?
Thanks,
Tim

Similar Messages

  • Portal Runtime error when modifying: com.sap.portal.runtime.logon.par

    Hello,
    We need some help because we get 'Portal Runtime error: iView: N/A Component Name:N/A' error when trying to access portal logon screen.
    This is what we've done:
    We've modified com.sap.portal.runtime.logon.par file and we've uploaded it but it doesn't work. Because of the error, we've overwritten this file with the original one but now it's imposible to access portal.
    The situation it seems to be like before the modification of the .par file but we get the same error and can't access portal.
    Please, do you know what could be the problem?
    Thanks in advance

    Hi Belen,
    Here are the steps you would need to take
    1. import the original par file into the NWDS and name the project as  
        com.sap.portal.runtime.logon
    2. Make sure the project name is com.sap.portal.runtime.logon
    3. use winzip/winrar to extract the com.sap.portal.runtime.logon.par file in
        a local directory
    4.Under the lib you would find two jar files copy them and paste them in your project
       under dist>PORTAL-INF>lib directory
    5.move the files cert....till umResetPass....jsp into the  PORTAL-INF directory
    6. export the par to the server in question
    7. restart your server
    This should solve your problem..
    Thanks,
    Gokul

  • Dynamically modify Task Flow at runtime

    I have a use case where I need to dynamically modify a task flow at runtime. In my use case, for all task flows I need to add a router that can navigate to any view activity on the flow. The router will need to have control flows from the router to each view activity and a case for each.
    What I've Tried
    I've written a test app that uses MDS to modify a single task flow. This works. I did it by using JDev in customization mode, adding the router and stuff to the flow manually, then running the app. This does exactly what I need it to do. The problem is, I need to do this dynamically at runtime. I'll need to have a process that looks at the task flow and generates the MDS metadata that will insert the router (and other stuff) at runtime. I'm not sure how to do this.
    What I'd like to do
    Ideally, I'd like to do this programmatically (not using MDS) by overriding the controller that returns task flow objects. I may be off the mark here, but I imagine that at runtime the task flow xml is represented by a java object. I also imagine that the java object gets returned by some controller based on the name (and maybe type) of the data requested. If I could override this controller to modify the task flow object before it gets returned, that would be ideal.
    I've found some links from others looking to do something similar to what I'm attempting here. These links are over a year old, so I imagine that some progress has been made on this.
    https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=7355435
    [ER] Add a way to decorate the current PageFlow
    Re: To Simon Lessard - Usecase required for ER request
    Thanks in advance for your help!!
    Cheers,
    Mike

    I have three usecases where I need this ability.
    - breadcrumbs - this should keep a historical trail of the pages the user has visited. clicking on a breadcrumb should take the user back to the page and remove the remainder of the trail.
    - favorites - this is essentially bookmarking within the app. the user should be able to add a page as a favorite the navigate back to it by clicking the link in the favorites drop down.
    - recent items - this is similar to breadcrumbs, but I imagine we will want it to persist across sessions for the user.
    We are using bounded task flows and page fragments. All of these features will need the ability to navigate to any view on a flow (not just the default view). I can navigate to a flow just fine. We have implemented our own version of the XMLMenuModel and are using a dynamic region for navigation. To navigate, we just replace the task flow ID on the dynamic region with the target task flow ID then the region refreshes. This part work just fine. The part that I am working on is how to navigate to a view on the flow. I'm managing state by passing parameters between flows and pages. That part is working ok too. It's just the navigation piece that is giving me grief.
    The little MDS prototype that I did looks promising, but I would need to figure some stuff out. The customization would need to apply to all users and all task flows. I'm not sure how to do that. Also, it would need to be dynamic. The MDS metadata that is responsible for the customization would be different for each task flow and would need to be generated at runtime. I can figure out how to generate the metadata at runtime based on the task flow, but I don't know where the hooks are in the MDS framework where I could put this logic. It would need to execute before the MDS framework tries to merge the base doc (the task flow) with the customization doc that I generate.
    Thanks!!
    Mike

  • JCAPS 5.1.1 - Properties to modify jcd behaviour at runtime

    I need to create jcds whose behaviour may be customized via runtime properties.
    Currently, one possible way I found is to create one property file and access it via java code directly from within the jcd; this is nice because properties are modifiable at runtime, but needs some custom code to be added to the jcd and extrenal properties files to be mantained.
    Anyone can suggest if there is a way to acheive similar functionalities, but using only JCAPS tools? For example Environment Variables or other ...
    Thanks
    Davide

    Hi,
    the projects I run are very similar, and the most of times I can reuse the same projects, and in particular JCDs, by simply changing very little things.
    Thus, I started creating JCDs whose behaviour can be a little bit customized to meet tha requirements of different installations. This way, on installation (and here is the scope), I only have to import a "standard" project and configure just some properties to adapt it to the peculiar needs of the customer.
    Could the Environmental Variables be useful in this? I would be glad of this. By now I haven't found a way to read, from within a JCD, the value of environmental variables ...

  • How can I modify the SQLQueryString at runtime? (VB6 Application, CR XI)

    I have created a report in Crystal Reports XI which uses a stored procedure to retrieve data. The report was created using our test database (AS/400 DB2) as its datasource. In our Visual Basic 6 application we want to be able to run against the production database. In the code a CRAXDRT.Report object is instantiated and the .rpt file is specified in the OpenReport command. I can see that the SQLQueryString property is {CALL "TESTSERV"."ABCLIB"."RPT_ONE_SP"}, where TESTSERV is the test machine, ABCLIB is the library (Default Collection property value in the connection properties which can be modified) and "RPT_ONE_SP" is the stored procedure name. If a change to the SQLQueryString is attempted an error is raised. Even if all connection properties are changed the stored procedure call still defers to what is specified in the call (from the .rpt file). Is there a workaround for this situation?

    Hi Daniel,
    You can't change the info directly in the SQL you have to use the .Location method. This will update the SQL and re-direct from your original server to the new server.
    Please read the info in the link Dan attached to is first reply. It will show you how to do this and it does work.
    Once you set all the logon info then use the .Verify method or Testconnectivity API to confirm it's going to the new Server. Then export the report to RPT format to confirm the new logon info is saved.
    Changing to SQL Server (OLE DB) at Runtime
    'Declare a Connection Info Object
    Dim ConnectionInfo As CRAXDRT.ConnectionProperties
    'Set the Connection Info to Connection Properties of u2018the table object
    Set ConnectionInfo = Report.Database.Tables(1).ConnectionProperties
    'Set the DLL name
    Report.Database.Tables(1).DLLName = u201Ccrdb_ado.dllu201D
    'Clear the ConnectionProperties collection
    ConnectionInfo.DeleteAll
    'Add the OLE DB Provider
    ConnectionInfo.Add u201CProvideru201D, u201CSQLOLEDBu201D
    'Add the physical server name
    ConnectionInfo.Add u201CData Sourceu201D, u201CServer nameu201D
    'Add the database name
    ConnectionInfo.Add u201CInitial Catalogu201D, u201CDatabase nameu201D
    'Add the user name
    ConnectionInfo.Add u201CUser IDu201D, u201CUser nameu201D
    'Add the password
    ConnectionInfo.Add u201CPasswordu201D, u201CPasswordu201D
    'Set the fully qualified table name if different from u2018the original data source
    Report.Database.Tables(1).Location = u201Cdatabase.owner.tablenameu201D
    Thank you
    Don

  • Modifying/designing Report at runtime?

    Hello,
    i´ve tested CR for Eclipse and BO Enterprise (older Version) as standalone Solution. Both have very nice features. Currently i am working on a project where users have to modify Reports at Runtime. This is possible with BO Enterprise, but i want to integrate it in a J2EE Architecture (Websphere) with EJB as Datasource. What possibilities does CR or BO offer to modify Reports at Runtime? Is there any Documentation available?
    Currently i am thinking of using OpenSource Software and modify the XML-Desginfile (most OpenSource Tools are based on XML-Designfiles) at runtime to fit my needs.
    best regards,
    Midrag

    <p>Hi,</p><p> I&#39;d be interested in the same information, personally, I&#39;m looking to see if reports can be made to take the users group into account, so one user viewing a report will see different data to another user who is in a different group</p><p> </p><p>Thanks,</p><p>Balmark </p><p> </p><p>ps. looking at the lack of posts on most of the threads and the time for any responses, does anyone from business objects respond in this forum? To be honest, this question is a very big question for me and whether we&#39;ll be using crystal reports and whether all our customers will be advised to. If its a stupid question with a simple answer, I&#39;d love to know. </p>

  • Will lookout integrator system allow you to modify and save existing runtime/development applications

    We have many customers that are using Lookout. All have the Runtime/Development version. I would like to know if the Lookout Integrator System license will allow me to save a customer's process to a floppy disk from their machine, allow me to open it from my machine (with Lookout Integrator System license installed), modify the process, save it back to a floppy disk and copy the process to the customer's machine.
    My goal is to be able to "develop" and or modify a customer's process at my office then copy it to customer's machine with modifications.
    I also employ three other Lookout programmers. Will I have to purchase multiple integrator licenses or can I install one license on four machines?

    Yes, you are able to open the customer's process, modify something and then copy to the customer computer.  Lookout Integrator software is exactly what you need.
    But you have to purchase 4 licenses if you want to install on 4 computers.
    Ryan Shi
    National Instruments

  • Modifying Message Bridge at Runtime

    I'm trying to modify a message bridge at runtime. The message bridge is
              between two local Queues.
              What I'm trying to do is basically create an alias that points to one of
              many queues.
              For example, I want my workflow to always look up the queue with JNDI
              name A, but at runtime I want messages sent to A to really go to one of
              B,C,D. So, I create a message bridge from A to B, then want to change at
              runtime from A to C or A to D.
              Now, the message bridge works for the configuration that is setup when
              the server starts, but at runtime, changing the message bridge
              configuration via the admin console does not work. The messages are not
              forwarded after I do this. If I stop and start the server, the messages
              are forwarded to the new destination correctly.
              This is a very critical component of our evaluation of the product, and
              is a must for us to use it in our system. We need the most runtime
              configuration/parameterization as possible since we will be in a 24/7
              environment.
              How can I get this to work? Is this a bug, or was runtime configuration
              never intended for such a change?
              Thanks
              

    Hi Steven,
              This use for the bridge was not anticipated.
              The bridge's destination fields are marked "non-dynamic"
              on the console and in the mbean javadoc, but perhaps it
              is still possible to make the bridge do what you require.
              Did you try stopping and restarting just the bridge, rather
              than rebooting the whole server? If that doesn't work (and
              I'm told it likely won't), you can
              try undeploying and redeploying the bridge (set the target
              of the bridge to nothing, then set it back to its intended
              host server.) Both of these methods can be done fully
              programmatically via JMX mbeans. I think they can
              even be scripted via weblogic.Admin (but I'm not sure how.)
              Tom, BEA
              P.S. Instead of the bridge, you could write your own
              forwarding mechanism - which would give you full flexibility.
              There is example forwarding code in appendices for
              the JMS Performance Guide whitepaper on dev2dev:
              http://dev-test.bea.com:90/products/wlserver/whitepapers/WL_JMS_Perform_GD.jsp
              P.P.S. Instead of one bridge, you could have multiple: one
              per remote destination. Then, if you need to change
              the remote destination, undeploy the current bridge
              and deploy the desired bridge. This can be
              done via the console or programmatically.
              P.P.P.S. If this issue is really a "deal-breaker", I suggest
              making sure that your BEA sales-person knows this, so that
              they have the opportunity to make suggestions.
              Steven Ostrowski wrote:
              > I'm trying to modify a message bridge at runtime. The message bridge is
              > between two local Queues.
              >
              > What I'm trying to do is basically create an alias that points to one of
              > many queues.
              >
              > For example, I want my workflow to always look up the queue with JNDI
              > name A, but at runtime I want messages sent to A to really go to one of
              > B,C,D. So, I create a message bridge from A to B, then want to change at
              > runtime from A to C or A to D.
              >
              > Now, the message bridge works for the configuration that is setup when
              > the server starts, but at runtime, changing the message bridge
              > configuration via the admin console does not work. The messages are not
              > forwarded after I do this. If I stop and start the server, the messages
              > are forwarded to the new destination correctly.
              >
              > This is a very critical component of our evaluation of the product, and
              > is a must for us to use it in our system. We need the most runtime
              > configuration/parameterization as possible since we will be in a 24/7
              > environment.
              >
              > How can I get this to work? Is this a bug, or was runtime configuration
              > never intended for such a change?
              >
              > Thanks
              >
              

  • Modified Login Page - "Portal Runtime Error".

    Dear All,
    I need to Customize the Portal Login Page. To do so, I followed the below steps.
    1.      Navigated to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.   Found com.sap.portal.runtime.logon.par.bak.
           2.      Make a copy of com.sap.portal.runtime.logon.par.bak and rename it renamed to delta.new.logon.par.
           3.    Imported the Par File to NWDS as "delta.new.logon" in the EP Perspective and Modified the umLogonPage.jsp.
    4.    Deployed the imported portal application "delta.new.logon".
    5.      Copy delta.new.logon.par back to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.
    6. Downloaded Authschemes.xml file from configtool and renamed as authschemes_delta.xml.
    7. In the "authschemes_delta.xml", I replaced all occurrences of the string u201Ccom.sap.portal.runtime.logonu201D with u201Cdelta.new.logonu201D in the tags <frontendtarget> and save the file.
    8. Then uploaded "authschemes_delta.xml" to the configtool under com.sap.security.core.ume.service node.
    9. Then changed the "login.authschemes.definition.file" property custom value to authschemes_delta.xml
    and restarted the server.
    (NOTE: while making all the above changes , I didn't shutdown the server. The server was running.Only after completed all modifications, I restarted the server).
    But after restarting , When i tried to open the login page with the url, "http://host:port/irj/portal",
    I am getting an "Portal Runtime Error".  
    What would be the problem?
    Thanks,
    Eben Joyson

    Eben,
    Please try deploy the renamed file into portal from NWDS.
    Steps are Here,
    1. Download the latest par file from System Admin -> support -> Portal Runtime -> Browse Deploment -> download the logon par file. The file format would be par.bak/ .par format.
    2. Store the file into your local computer.
    3. Open NWDS and import the downloaded file into NWDS in different Name and press Finish button
    4. Extract the locally stored par file and store the extracted file into a folder. Navigate to PORTAL-INF -> lib folder and copy the jars files.
    5. Navigate to PORTAL0INF -> lib folder of your renamned project stucture in NWDS and paste the jar files there.
    6. Right click on the project stucture and press excport to deply the file.
    Done!
    Ram

  • Modify user authorization on runtime

    Hi,
    I would like to know if there is a way we can modify a user's authorization during program runtime?
    Appreciate any help on this.

    Hi,
    Try with TCODE: SUIM
    Regards,
    Bhaskar

  • Oracle Business Rule : Unable to modify the rule at runtime

    Hi
    I am developing simple Business rule using Oracle jdevelper 11g which displays a message based on two rules.
    rule1 : If amount <= 100, displays the message "Less than or equal to 100"
    rule2 : If amount >100 and amount less than 200 display the message "Between 100 and 200"
    The above rule is created within the BPEL process which accepts a parameter. Once the BPEL project has been published, it has created a Dictionary with one ruleset having two rules mentioned above.
    If I test the BPEL process through em console response is getting displayed based on the above rule.
    Now I am trying to modify Rule2 through SOA Composer as below.
    Rule2 : If amount >100 and amount less than 300 display the message "Between 100 and 300"
    After editing and modifying the rule , the message is not getting updated properly in the properties window. If I save and commit the rule, BPEL process is giving the error
    If any one has faced this problem and got the solution, please help me to solve this issue
    Thanks in advance

    Hi
    Thanks for the response.
    I have saved and committed the new rule. When modified the rule, assert new value is displaying as blank. If I click on Validate button, it is not displaying any error. Once I save and commit it is showing below error in BPEL Process
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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 com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:992) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 79 more Caused by: javax.xml.ws.soap.SOAPFaultException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1024) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:808) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 82 more

  • Modifying database link at runtime

    Hi,
    I have a mapping that collects audit information from and oracle database. The mapping is designed to run against any Oracle DB, so I'd like to do something like this:
    1) set db link to point to a particular database
    2) run the mapping (actually its a process of many mappings)
    3) ...Repeat Ad Nauseum....
    I plan on running this via an OEM job executing the OWB template script, so my first thought is to add a drop/create db link statement in there somewhere.
    So, does anyone have an idea on how to accomplish this?
    Thanks,
    -Mark

    Hi KMillar,
    You can use javascript, to change Item objects (DOM objects) at runtime. You can run it without or with an event.
    Example:
      <SCRIPT type='text/javascript'>
        $x('P1_ITEM').readOnly= 'true';
      </SCRIPT>When the browser runs this code, it's executed at runtime!
    Greetings,
    Rutger

  • Any way of modify base directory at runtime (in loaded jars )?

    Hello all,
    Well, I'm using tomcat to run my web application, which loads
    dinamically many jars and execute them. My problem is that these jars
    sometimes have a method that uses relative paths to do something (read
    files, create files, etc). Currently, the current base dir is given
    wrong for these loaded applications! Instead of the right path, it's
    given "C:\tomcat" or something.
    If it were with my Web Application itself, it would be easy to get over
    this problem by using the getRealPath("") method provided by api. But
    since I can't modify the jar code I will load, what can I do? Some
    ideas?
    Thanks you!
    Bruno

    I have found the solution. This is the code to write-access files from within JavaServer Faces backing bean:
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    ServletContext sc = (ServletContext) ec.getContext();
    String realPath = sc.getRealPath(getDocumentURI());
    FileOutputStream fos = new FileOutputStream(realPath);where getDocumentURI() is the method that returns the virtual path for document to write to.

  • Programatically set runtime menu to default

    I am trying to set the Runtime menu from a custom menu back to the default menu.  I write a string using the RunTimeMenuPath property node when the VI is idle.  All the basic combinations failed: empty string, "default", "default.rm".  When I open the VI and verify the menu change, the string I specified cannot be found and the menu is then reset to default.
    Is there another way to set the RunTime menu back to default other than the RunTimeMenuPath property?
    I have LV2010 Professional.
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector
    Solved!
    Go to Solution.

    Found the solution to this problem.   The reference that I was using was generic Virtual Instrument and gave me at RunTime Menu Path as a string.  There was no way to clear the menu.  When I obtained a VI Refnum instead, setting the path to <Not a Path> changed the Run Time menu to the default.
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Move stack canvas programatically at runtime

    hello all
    i have built a stack anvas on top of a content canvas which is always visible
    I want to create a functionality wherein i can move the stack canvas at runtime
    i want to create buttons Eg UP , Down ,Right And Left which could move the stack canvas According to the button i press.
    Can any one help me with this ??
    When i click the down button(and keep it pressed) the canvas should move down as if i am dragging it down until i release the button
    plzz help me with this
    mandar

    Hello,
    Use the Set_Canvas_Property() and Set_View_Property() built-ins.
    Francois

Maybe you are looking for

  • I can't start halo for mac

    Hi, I having some problems with halo for mac. I have a intel duel core mac with windows installed. I have been playing halo for some time now, but about 3 weeks ago I quit for a week. In this time I installed America's Army (the game developed by the

  • OAS 4.0.8.1/Redhat 6.2? WRKSF problem

    Hi, I've installed OAS 4.0.8.1 on Redhat 6.2 but when I start the processes up the WRKSF goes down after a few seconds, I've seen a previous posting on this subject had a workaround proposed by Dennis Irwin which seemed to work for many people, unfor

  • How to start/stop 2 parallel while loops

    My question might be simple to answer for experts, but as a Labview beginner would be great to receive your help: I hav a VI with two parallel while loops. The first loop runs in a tact of 100 ms to aquire voltage, speed and to output a speed setpoin

  • Unsupported image format following update to Aperture 3.4.1

    Following the update to Aperture 3.4.1 I can not use the JPEG file as the orignal in a RAW + JPEG file import. When I right click on an RAW + JPEG paired image and ask to use the JPEG as the original from either my Canon 5D Mark II or Canon 7D images

  • Manually Managed Music - Music Restore after iOS4 Upgrade

    I just upgraded my 3G iPhone to iOS4 (from 3.1.3). Unfortunately the music and playlists (which were managed manually) did not survive the upgrade. Does anyone know if the playlist names and audio file names were automatically backed up somewhere? If