Nesting a SharedAM in a regular root AM

Hie
We are planning to create a sharedAM for some static data at application scope.
As a AM holds a db connection so we wanted to know if it makes sense to avoid that by nesting a sharedAM in a root level non sharedAM ?
This will save the additional db connection but as both with share the same entity cache for a view instance and non shared can do transaction stuff on the vo so can that cause issues?

Hie
We are planning to create a sharedAM for some static data at application scope.
As a AM holds a db connection so we wanted to know if it makes sense to avoid that by nesting a sharedAM in a root level non sharedAM ?
This will save the additional db connection but as both with share the same entity cache for a view instance and non shared can do transaction stuff on the vo so can that cause issues?

Similar Messages

  • Issues with Nested AM Transaction

    Hi All,
    I am using JDev  11.1.1.6 and WLS 10.3.6
    I am developing an application that contains a number of AMs(Application Module) . Now I clubbed  all the AMs under a root AM.by modifying  the databindings.cpx and all the necessary pagedefs.
    Now I need a mechanism so that any individual AM can be committed at a time.
    I am explaining the scenario with an example
         I have two regions in UI that uses two different jsff(having different taskFlows). Each jsff have different AM that is now clubbed under a single root AM.
         I made changes in both the regions.
         For saving the changes I have two separate buttons that calls the commit operation and which in turn calls the overridden doDML method in respective EOImpl class.
         Now when I click one button,this results in saving both the regions.
    I want to avoid this scenario and want that, click on one save button should affect the respective region.
    How to achieve this please suggest.

    Nested AMs do not have their own DB connection and a transaction object but they use (i.e. share) the connection and the transaction object of the root AM. When you commit/rollback a nested AM instance, you in fact commit/rollback the root AM together with all its nested AM instances.
    If you want to commit the regions separately, you must not use nested AMs (in one and same root AM) but separate root AMs instead.
    Dimitar

  • Awesome cursor theme not applied at root-window and bar.

    I've just started using awesomeWM and it's quite neat. My problem is that my cursor theme doesn't get applied completely. It's all fine in apps, but appears without theme when mouse is over the bar and root window.
    My setup info here:
    1. I set my xcursor theme with this:
    ln -s /usr/share/icons/Flatbed-Green-Regular/ ~/.icons/default
    2. I have this in my ~/.xinitrc
    xsetroot -cursor_name left_ptr &
    and the cursor actually is set to be left pointer instead of an "X".
    3. Version
    awesome --version
    awesome v3.4-rc2-5-g9a9c3d1 (Piku)
    • Build: Oct 8 2009 17:56:27 for i686 by gcc version 4.4.1
    • D-Bus support: ✔
    Also /usr/share/doc/awesome/luadoc/modules/root.html#cursor must be just for this purpose, but I don't know the working syntax... I tried adding this to rc.lua (but with no avail):
    cursor = "Flatbed-Green-Regular"
    root.cursor(cursor)
    Edit: Well, anrxc told me "xcb does not support Xcursor yet", meaning this issue can't really be solve by now.
    Last edited by lolilolicon (2009-10-09 14:32:20)

    Got it now.  xsetroot needs the display if you've got a multihead setup or I guess it just doesn't bother.  (Alternately I might just have a weird multihead setup.  Nvidia with one rotated screen in TwinView which isn't even supposed to work.)
    xsetroot -d :0 -cursor_name left_ptr
    xsetroot -d :0.1 -cursor_name left_ptr
    That fixed it for me.

  • Pooling Issues with Root AM approach

    Hello All,
    My JDeveloper Version : 11.1.2.3.0
    Weblogic Server Version : 10.3.5
    Database Version Oracle 11G
    i am working on a application which about to go live and during load tests we have identified database connection usage is more oracle support suggested us to go with single root application module approach so we have migrated application to use only one application module and all the other modules we have nested in this am. this  approach is good and db connections are also limited to number of users and business we haven't found any issues with this migration. but we are facing below errors in server logs.
    the observations i have made during load test with 30 users :
    1)datasource connection pool size is 30
    2)2GB Ram
    3)linux server.
    if 30 users are working with the system concurrently jdbc connections in weblogic console it was showing under Active Connections High Count 13
    and sessions it was showing 30
    if 31 + session are getting launched i am getting below exception i am facing below issue in jdeveloper console and in server logs often.
    please suggest me some inputs to resolve this error.
    one more notification from dms/Spy i observed is instancesCheckedOutFailed is getting increased 31+ session onwards.
    Name
    Host
    Process
    appModuleCreationTime
    appName
    availableInstanceCount
    instanceCheckedIn, ops
    instanceCheckedOut, ops
    instanceCheckedOutFailed, ops
    instanceCount
    instanceCreated, ops
    instanceRemoved, ops
    instanceReused, ops
    refInstanceRecycled, ops
    stateActivated, ops
    statePassivated, ops
    unrefInstanceRecycled, ops
    ServerName
    com.bap.model.
    am.RootAMLocal:
    DS-D4BED9BA99D0
    DefaultServer:
    7101
    active, threads
    0
    count, ops
    2
    count, ops
    875
    197
    197
    47
    count, ops
    875
    63
    63
    48
    40
    87
    87
    46
    DefaultServer
    avg, msecs
    10.48
    value
    BAP
    maxValue, count
    10
    maxValue, count
    10
    completed, ops
    63
    minValue, count
    0
    minValue, count
    0
    maxActive, threads
    1
    value, count
    0
    value, count
    0
    maxTime, msecs
    603
    minTime, msecs
    0
    time, msecs
    660
    and in my bc4j.xcfg file i have below congifuration
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
       <AppModuleConfigBag ApplicationName="com.bap.model.am.bapAM">
          <AppModuleConfig jbo.project="com.bap.model.Model" DeployPlatform="LOCAL" name="bapAMLocal" ApplicationName="com.bap.model.am.bapAM" jbo.txn.disconnect_level="1">
             <AM-Pooling jbo.ampool.maxinactiveage="900000" jbo.ampool.initpoolsize="38" jbo.recyclethreshold="30" jbo.ampool.timetolive="-1" jbo.doconnectionpooling="true" jbo.ampool.minavailablesize="0"/>
             <Database jbo.locking.mode="optimistic"/>
             <Security AppModuleJndiName="com.bap.model.am.bapAM"/>
             <Custom oracle.jdbc.implicitStatementCacheSize="5" oracle.jdbc.maxCachedBufferSize="19" JDBCDataSource="jdbc/bap2AppDS"/>
          </AppModuleConfig>
          <AppModuleConfig DeployPlatform="LOCAL" jbo.project="com.bap.model.Model" name="bapAMShared" ApplicationName="com.bap.model.am.bapAM">
             <AM-Pooling jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1" jbo.ampool.resetnontransactionalstate="false"/>
             <Database jbo.TypeMapEntries="OracleApps" jbo.locking.mode="optimistic"/>
             <Security AppModuleJndiName="com.bap.model.am.bapAM"/>
             <Custom JDBCDataSource="jdbc/bap2AppDS"/>
          </AppModuleConfig>
       </AppModuleConfigBag>
    </BC4JConfig>
    i am getting below error:
    java.lang.NullPointerException
    at oracle.jbo.server.DBSerializer.release(DBSerializer.java:71)
    at oracle.jbo.server.DBSerializer.activateRootAM(DBSerializer.java:345)
    at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6340)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:217)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1631)
    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
    at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2743)
    at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2791)
    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1473)
    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4444)
    at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
    at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1634)
    at oracle.adf.model.binding.DCIteratorBinding.getNavigatableRowIterator(DCIteratorBinding.java:1949)
    at oracle.adf.model.binding.DCIteratorBinding.processFormToken(DCIteratorBinding.java:4281)
    at oracle.adf.model.binding.DCBindingContainerState.validateIterator(DCBindingContainerState.java:350)
    at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:539)
    at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:504)
    at oracle.adf.model.binding.DCBindingContainerState.validateToken(DCBindingContainerState.java:684)
    at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:5098)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:120)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:392)
    at oracle.adf.controller.v2.lifecycle.PageController.prepareModel(PageController.java:31)
    at com.seds.view.lifecycle.SedsPageController.prepareModel(SedsPageController.java:51)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:149)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
    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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    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:139)
    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)
    and after going through couple of suggestions from this forum i have changed the below two parameters Djbo.passivationstore=file, -Djbo.tmpdir=/opt/rehost/adf_tmp
    and i am receiving the below exeception in logs.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
      at oracle.jbo.server.Serializer.activate(Serializer.java:319)
      at oracle.jbo.server.FileSerializer.activateRootAM(FileSerializer.java:256)
      at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6340)
      at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:217)
      at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
      at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
      at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
      at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
      at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1631)
      at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
      at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
      at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
      at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
      at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
      at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2743)
      at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2791)
      at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
      at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
      at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1473)
      at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
      at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
      at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
      at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2571)
      at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2219)
      at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3279)
      at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
      at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:284)
      at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:134)
      at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3237)
      at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
      at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3228)
      at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
      at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:392)
      at oracle.adf.controller.v2.lifecycle.PageController.prepareModel(PageController.java:31)
      at com.seds.view.lifecycle.SedsPageController.prepareModel(SedsPageController.java:51)
      at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:149)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      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:139)
      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: java.lang.NullPointerException
      at oracle.jbo.server.Serializer.activateTxn(Serializer.java:591)
      at oracle.jbo.server.Serializer.activate(Serializer.java:300)
      ... 90 more
    ## Detail 0 ##
    java.lang.NullPointerException
      at oracle.jbo.server.Serializer.activateTxn(Serializer.java:591)
      at oracle.jbo.server.Serializer.activate(Serializer.java:300)
      at oracle.jbo.server.FileSerializer.activateRootAM(FileSerializer.java:256)
      at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6340)
      at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:217)
      at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
      at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
      at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
      at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
      at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1631)
      at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
      at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
      at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
      at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
      at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
      at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2743)
      at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2791)
      at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
      at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
      at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1473)
      at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
      at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
      at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
      at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2571)
      at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2219)
      at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3279)
      at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
      at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:284)
      at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:134)
      at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3237)
      at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
      at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3228)
      at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
      at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:392)
      at oracle.adf.controller.v2.lifecycle.PageController.prepareModel(PageController.java:31)
      at com.seds.view.lifecycle.SedsPageController.prepareModel(SedsPageController.java:51)
      at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:149)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      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:139)
      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)
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
      at oracle.jbo.server.Serializer.activate(Serializer.java:319)
      at oracle.jbo.server.FileSerializer.activateRootAM(FileSerializer.java:256)
      at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6340)
      at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:217)
      at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
      at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
      at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
      at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
      at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1631)
      at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
      at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
      at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
      at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
      at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
      at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2743)
      at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2791)
      at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
      at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
      at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1473)
      at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
      at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
      at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
      at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4444)
      at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
      at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1634)
      at oracle.adf.model.binding.DCIteratorBinding.getNavigatableRowIterator(DCIteratorBinding.java:1949)
      at oracle.adf.model.binding.DCIteratorBinding.processFormToken(DCIteratorBinding.java:4281)
      at oracle.adf.model.binding.DCBindingContainerState.validateIterator(DCBindingContainerState.java:350)
      at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:539)
      at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:504)
      at oracle.adf.model.binding.DCBindingContainerState.validateToken(DCBindingContainerState.java:684)
      at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:5098)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:120)
      at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:392)
      at oracle.adf.controller.v2.lifecycle.PageController.prepareModel(PageController.java:31)
      at com.seds.view.lifecycle.SedsPageController.prepareModel(SedsPageController.java:51)
      at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:149)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      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:139)
      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: java.lang.NullPointerException
      at oracle.jbo.server.Serializer.activateTxn(Serializer.java:591)
      at oracle.jbo.server.Serializer.activate(Serializer.java:300)
      ... 90 more

    Nested AMs do not have their own DB connection and a transaction object but they use (i.e. share) the connection and the transaction object of the root AM. When you commit/rollback a nested AM instance, you in fact commit/rollback the root AM together with all its nested AM instances.
    If you want to commit the regions separately, you must not use nested AMs (in one and same root AM) but separate root AMs instead.
    Dimitar

  • OSB cluster setup with SSL

    Hi,
    Could any one help me here..
    Cluster setup for OSB with SSL enable
    1) Admin and 2 Managed server are running on same host
    2) cluster domain created in development mode
    2) While starting second managed server getting below error..
    <Oct 4, 2010 8:04:58 AM PDT> <Error> <ClusterTimer> <BEA-000000> <Cannot contact Admin server. Therefore constructing the Cluster Authority Current time with
    the time skew 0
    java.rmi.RemoteException: ClusterTimerAuthority error; nested exception is:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://hostname:SSLport: Destination unreachable; nest
    ed exception is:
            java.io.IOException: Stream closed.; No available router to destination]
    at com.bea.wli.sb.init.RemoteClusterTimerAuthority.getClusterTimerAuthorityCurrentTime(RemoteClusterTimerAuthority.java:38)
    at com.bea.wli.timer.ClusterTimerService.clusterTimeAuthorityCurrentTimeMillis(ClusterTimerService.java:177)
    at com.bea.wli.timer.ClusterTimerService.initialize(ClusterTimerService.java:88)
    at com.bea.wli.sb.init.FrameworkStarter._preStart(FrameworkStarter.java:221)
    at com.bea.wli.sb.init.FrameworkStarter.access$000(FrameworkStarter.java:79)
    Truncated. see log file for complete stacktrace
    Thanks,
    Sushma.

    Even I faced the same issue..but eventually the problem got resolved with below resolution:
    Resolution: The managed server was not able to connect to t3s://hostname:sslport. The SSL configuration on Adminserver was wrong. After correcting SSL setting on Adminserver..i was able to resolve this error.

  • PPTP VPN on Mac OS X Sever 10.3.9 - Unable to Authenticate Users

    When attemping to connect to a VPN that I've set up on an Xserve running OS X server 10.3.9, Internet Connect shows 'Contating Server' -> 'Negotiating' -> 'Disconnecting' and then reports that authentication failed.
    After much reading on these and other forums I believe I've figured why I'm having this issue and that would be that none of the users on the xserve have 'Open Directory' type passwords. So what I'm hoping is that someone here can help with how in fact I could add a user and set their password to OD type.
    I've read on these boards that you can have a user with an OD password type without having the server be an 'Open Directory Master/Replica'. Is this true? And in any case, is anyone able to tell me the simplest way of setting up a user with an Open Directory password?
    Powerbook G4 12" 1Ghz   Mac OS X (10.4.6)  

    Thanks for that, using root with NeST did the trick, it gave root an OD password and enabled me to set other users' passwords to that type also.
    As I'm new at setting up VPN's, I have a further question, but to briely explain my setup: I have an Xserve (static ip: 192.168.1.100), which is the server that is running the vpn and is connected to an Airport Basestation (192.168.1.1), and also a web server (static ip: 192.168.1.240). So my question is how do I enable access to the webserver over the VPN? Currently when I connect to the vpn I can't access the webserver, not can I ping its ip (nor any other ip on the remote network for that matter).
    In the 'Client Information' tab of the VPN service 'DNS servers' is set to: 192.168.1.1, 'Search Domains' is blank, and there are no routing definitions.
    Powerbook G4 12" 1Ghz   Mac OS X (10.4.6)  

  • EJB Exception occurred during invocation from home or business:

    Friends,
    I have ejb application deployed in weblogic 10.3 with cluster environment. I have configured the following ejb-jar.xml
    <session>
    <ejb-name>PartSL</ejb-name>
    <home>com.gm.tm.ejb.session.part.PartSLHome</home>
    <remote>com.gm.tm.ejb.session.part.PartSL</remote>
    <ejb-class>com.gm.tm.ejb.session.part.PartSLBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-ref>
    <ejb-ref-name>ejb/PartBM</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <home>com.gm.tm.ejb.entity.partbm.PartHome</home>
    <remote>com.gm.tm.ejb.entity.partbm.Part</remote>
    <ejb-link>PartBM</ejb-link>
    </ejb-ref>
    <resource-ref>
    <description></description>
    <res-ref-name>jdbc/ToolMoveDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    Sometimes when user doing some manupulation, this object getting disapper and getting the error as EJB Exception occurred during invocation from home or business: com.gm.tm.ejb.session.part.PartSL_ex1s88_HomeImpl@175f214 threw exception: javax.ejb.EJBException: nested exception is: javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'PartBM'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'PartBM'. Resolved '']; remaining name 'PartBM']; Link Remaining Name: 'PartBM'>
    JNDI tree is clusterable but is incompatible. Make sure all the servers in the cluster use the identical copy of object.
    Pls let me know if anyone know the root cause and i am new to EJB too. So pls help if anyone know better solution for this

    Yes exactly..Let me explain clearly. assume its deployed now and user started using that particular module. It works fine. Later point time like after few days or after few simultenous navigation of that particular ejb jndi object from the application, this exception comes. So for the short time fix, i restart the server and it will work fine and then after few hours/days , this exception comes and i need to restart again. So i need a permanent solution to avoid this issue.

  • Dynamic Header row for table not aligned properly on 2nd Page

    Hello Friends,
    The problem is like this :
    We have a table with dynamic number of columns and few of them are being hidden at runtime based on a configuration table.
    Now problem while printing is that first page is printing the header row, but same is not being repeated on subsequent pages.
    Please see the layout
    Header row is warped in 2 subforms both are flowed - western text so that they will get squeezed if column is hidden
    Here are the properties for subforms
    1) overflowLeader => Flow top-bottom
    2) OF_SF => Flowed , western text
    On 2nd page all the columns are getting aligned to left hand side whereas printing fine on first page.
    Thanks,
    Nitin

    Hi Nitin,
    in this case, you must use more nested wrapper subforms and set the root subform layout from "flow" to "positioned". I cannot give advice on how the wrapper subforms are organized, since it depends on your logic, just try it out.
    Cheers,
    Tao

  • Rebuild dynamic header row in table after page break

    Hi,
    I have a table with dynamic columns. So in the initialize event of the table, I'm build up the header row (add columns with addInstance etc.). The same I'm doing with the table rows. It works fine, so I see correct header row and also several body rows with the right content.
    My issue is now the page break. When I tick the checkbox "Include headerow in subsequent pages", it will show a heade row, but not my dynamic build one. So how can I make sure, that my dynamic creation of the header row will also take place on each page? Is there any event, where I can placed the code it, so the header row is being created on each page freshly?
    I was thinking about to create another header row, for which one I ONLY tick the checkbox "Include headerow in subsequent pages", but this was working neither.
    Do you have any ideas here?
    Thank you & best regards,
    Arne

    Hi Nitin,
    in this case, you must use more nested wrapper subforms and set the root subform layout from "flow" to "positioned". I cannot give advice on how the wrapper subforms are organized, since it depends on your logic, just try it out.
    Cheers,
    Tao

  • Single session for all Application Modules

    Hello,
    I've got an application that has several Application Modules. All these modules need some data that are set from time to time. I've written some code that calls getSession().getUserData().put("myData",myData). After this method was called in another Application Module i want to retrieve myData with getSession().getUserData().get("myData"). But the result depends if I use 2-tier or 3-tier. In 2-tie I get myData while in 3-tier I get null. My question is:
    Is there a Session object or any other data instance that could be accessed from all Application Modules for on application instance.
    E.g. I've got two user (A,B) who start my application. Through using my app several instance of Application Modules are created. All Application Modules that are created for the instance of User A should be able to share his user name and some other dynamic data while the Application Modules created for B should have no access to that data.
    Doe anybody know if static data of an Application Module are a possible solution?
    regards
    Joerg

    Hi Joerg,
    I am not 100% sure what you are trying to achieve, and with which version of JDeveloper/ ADF, technologies (JSP, Swing), etc, but I can tell you that I have been experimenting with single session accounts myself within a rich-client Swing environment, as I have experienced Oracle DBA guys who want to control user authentication via Oracle accounts (I have achieved this via the JCLoginDialog mechanism, and a bit of a hack)... Frank Nemphius (sp?) posted something about a white paper coming out on a related subject but I don't know where he is with that.
    Anyway, I managed to do it in a prototype by nesting several application modules within a Root Application Module that was essentially simply a Container for the other application modules. Using this mechanism I was able to bind my root application module to any panel I wanted and it would inherit the roots Session.
    ie. I used many application modules and it only used one Oracle Session.
    However, my reservations -
    1) This solution was not tested robustly!
    2) I doubt this would be ideal for a distributed app with thousands of users - My solution is for a very complex app, with a limited number of users.
    Finally, I cannot confirm this is a great solution - I can only tell you it worked in my prototype, and I am currently awaiting the ADF source - when my company and Oracle can decide what level of support we currently have and need!?!? - what exactly does being an "Oracle partner" mean??? Its all very boring and un-interesting to a Java person like me... ;-)
    Once I have the source I will look at how it actually works and perhaps be able to answer questions like this more definitively. Hmm - I wonder if I could get the Oracle JDBC driver source too?? .... Is it written in C or C++?? I know them too... ;-)
    Cheers........Dean

  • Oracle DataSource configuration on  JBoss3.x

    Hello,
    Can any1 plz help me in configuring Oracle 9i DataSource with JBoss 3.x?? I know JBoss 3.x comes with Hypersonic DB as a default DataBase.
    I downloaded ejb examples from http://www.titan-books.com. This site contain examples from O'Reilly's Enterprise JavaBeans, Third Edition by Richard Monson-Haefel's book.Examples are server specific and its available for few application servers (e.g Weblogic, WebSphere,JBoss etc).I am able to deploy and run the example EJBs. It automatically creates tables in the DB. Its using default DB ie Hypersonic DataBase.
    Now I want to see the database and different tables within that DB.How can i do that.Like i can see different tables in Oracle DB using SQLPlus and they can be quried too. I want something very similar for Hypersonic DataBase too. How can i do that?????
    Well my second prob is, I want to configure oracle datasource and pool in JBoss 3.x Application server. How do i do that?? Lemme tell u what all I have done so far. I have copied oracle-service.xml file in D:\Jboss-3.0.3\server\default\deploy directory. changed the file according to my database's SID and pswd. Following is the oracle-service.xml file after modification. I restarted my application server.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- ===================================================================== -->
    <!-- -->
    <!-- JBoss Server Configuration -->
    <!-- -->
    <!-- ===================================================================== -->
    <server>
    <!-- ==================================================================== -->
    <!-- ConnectionManager setup for Oracle dbs -->
    <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
    <!-- Thanks to Steven Coy -->
    <!-- ==================================================================== -->
    <mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" name="jboss.jca:service=LocalTxCM,name=OracleDS">
    <!-- Include a login module configuration named OracleDbRealm.
    Update your login-conf.xml, here is an example for a
    ConfiguredIdentityLoginModule:
    <application-policy name = "OracleDbRealm">
    <authentication>
    <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
    <module-option name = "principal">yourprincipal</module-option>
    <module-option name = "userName">yourusername</module-option>
    <module-option name = "password">yourpassword</module-option>
    <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=OracleDS</module-option>
    </login-module>
    </authentication>
    </application-policy>
    NOTE: the application-policy name attribute must match SecurityDomainJndiName, and the
    module-option name = "managedConnectionFactoryName"
    must match the object name of the ConnectionManager you are configuring here.
    -->
    <!--uncomment out this line if you are using the OracleDbRealm above
    <attribute name="SecurityDomainJndiName">OracleDbRealm</attribute>
    -->
    <depends optional-attribute-name="ManagedConnectionFactoryName">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=LocalTxDS,name=OracleDS">
    <attribute name="JndiName">OracleDS</attribute>
    <attribute name="ManagedConnectionFactoryProperties">
    <properties>
    <config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin:@localhost:1521:jam</config-property>
    <config-property name="DriverClass" type="java.lang.String">oracle.jdbc.driver.OracleDriver</config-property>
    <!--set these only if you want only default logins, not through JAAS -->
    <config-property name="UserName" type="java.lang.String"></config-property>
    <config-property name="Password" type="java.lang.String"></config-property>
    </properties>
    </attribute>
    <!--Below here are advanced properties -->
    <!--hack-->
    <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper</depends>
    </mbean>
    </depends>
    <depends optional-attribute-name="ManagedConnectionPool">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" name="jboss.jca:service=LocalTxPool,name=OracleDS">
    <attribute name="MinSize">0</attribute>
    <attribute name="MaxSize">50</attribute>
    <attribute name="BlockingTimeoutMillis">5000</attribute>
    <attribute name="IdleTimeoutMinutes">15</attribute>
    <!--criteria indicates if Subject (from security domain) or app supplied
    parameters (such as from getConnection(user, pw)) are used to distinguish
    connections in the pool. Choices are
    ByContainerAndApplication (use both),
    ByContainer (use Subject),
    ByApplication (use app supplied params only),
    ByNothing (all connections are equivalent, usually if adapter supports
    reauthentication)-->
    <attribute name="Criteria">ByContainer</attribute>
    </mbean>
    </depends>
    <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
    <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
    <attribute name="TransactionManager">java:/TransactionManager</attribute>
    <!--make the rar deploy! hack till better deployment-->
    <depends>jboss.jca:service=RARDeployer</depends>
    </mbean>
    </server>
    Even after restarting my server i m getting errors like....
    15:14:40,537 WARN [ServiceController] Problem starting service jboss.j2ee:jndiN
    ame=CustomerHomeRemote,service=EJB
    org.jboss.deployment.DeploymentException: Error: can't find data source: java:/O
    racleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not b
    ound)
    at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEnt
    ityBridge.java:99)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBC
    StoreManager.java:397)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage
    r.java:339)
    at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag
    er.java:198)
    at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
    at org.jboss.ejb.Container.invoke(Container.java:756)
    at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:976)
    at $Proxy5.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy25.start(Unknown Source)
    at org.jboss.ejb.EjbModule.startService(EjbModule.java:430)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
    64)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:976)
    at $Proxy5.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy11.start(Unknown Source)
    at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:394)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy4.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
    tScanner.java:427)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:553)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    doScan(AbstractDeploymentScanner.java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    loop(AbstractDeploymentScanner.java:225)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    run(AbstractDeploymentScanner.java:202)
    Caused by: javax.naming.NameNotFoundException: OracleDS not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:456)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:440)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEnt
    ityBridge.java:96)
    ... 51 more
    15:14:41,398 INFO [EjbModule] Started
    15:14:41,408 INFO [MainDeployer] Deployed package: file:/D:/Softwares/Jboss-3.0
    .3/server/default/deploy/titan.jar
    15:14:41,428 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
    ration 'checkIncompleteDeployments()'
    Cause: Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    [org.jboss.deployment.DeploymentInfo@4e8000b0 { url=file:/D:/Softwares/Jboss-3.0
    .3/server/default/deploy/oracle-service.xml }
    deployer: org.jboss.deployment.SARDeployer@482923
    status: Deployment FAILED reason: Trying to install an already registered mbea
    n: jboss.jca:service=LocalTxCM,name=OracleDS
    state: FAILED
    watch: file:/D:/Softwares/Jboss-3.0.3/server/default/deploy/oracle-service.xml
    lastDeployed: 1044524015691
    lastModified: 1044524016000
    mbeans:
    ]MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=CustomerHomeRemote,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
    source: java:/OracleDS; - nested throwable: (javax.naming.NameNotFoundException
    : OracleDS not bound)]
    16:44:04,450 INFO [EJBDeployer] Creating
    16:44:04,490 INFO [EJBDeployer] Created
    16:47:16,767 INFO [jbossweb] Registered jboss.web:Jetty=0,HttpContext=0,context
    =/
    16:47:17,227 INFO [jbossweb] Started HttpContext[]
    Can any one tell me what else i need to do to make it running. Do i need to make some other changes in some file??
    Tx in advance
    Jameel

    I have done all of the above suggested, however, i still getting an error, not sure where the problem lies now.
    Could anyone help please.
    The following is just part of what's being printed hwen starting using run.sh.
    at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:389)
    at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:368)
    at org.jboss.naming.Util.rebind(Util.java:108)
    at org.jboss.naming.Util.rebind(Util.java:95)
    at org.jboss.proxy.ejb.ProxyFactory.rebindHomeProxy(ProxyFactory.java:350)
    at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:337)
    at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:187)
    at org.jboss.ejb.StatelessSessionContainer.start(StatelessSessionContainer.java:206)
    at org.jboss.ejb.Container.invoke(Container.java:756)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy4.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy16.start(Unknown Source)
    at org.jboss.ejb.EjbModule.startService(EjbModule.java:430)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy4.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy10.start(Unknown Source)
    at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy3.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
    ploymentScanner.java:656)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:507)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
    bstractDeploymentScanner.java:261)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy2.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:230)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
    at org.jboss.Main.boot(Main.java:148)
    at org.jboss.Main$1.run(Main.java:381)
    at java.lang.Thread.run(Thread.java:484)
    17:52:02,911 INFO [EjbModule] Started
    17:52:02,911 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-ejb-adaptor.jar
    17:52:02,911 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/
    17:52:03,001 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@10832e
    17:52:03,001 INFO [JBossWebApplicationContext] setDistributableSessionManager org.mortbay.j2ee.session.Manager@5e538e
    17:52:03,252 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=1,context=/jmx-console
    17:52:04,323 INFO [jbossweb] Started WebApplicationContext[jmx-console,file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/]
    17:52:04,394 INFO [jbossweb] successfully deployed file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/ to /jmx-console
    17:52:04,394 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/
    17:52:04,404 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
    Cause: Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jb
    oss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested ex
    ception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested excep
    tion is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:s
    ervice=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    17:52:04,424 INFO [URLDeploymentScanner] Started
    17:52:04,424 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/s
    erver/default/conf/jboss-service.xml
    17:52:04,424 ERROR [Server] start failed
    Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested exception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jb
    oss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
    is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
    jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1134)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
    at org.jboss.Main.boot(Main.java:148)
    at org.jboss.Main$1.run(Main.java:381)
    at java.lang.Thread.run(Thread.java:484)
    17:52:04,444 ERROR [STDERR] Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested exception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.checkIncomp
    leteDeployments(MainDeployer.java:1134)
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
    Deployer.java:594)
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
    Deployer.java:575)
    17:52:04,444 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
    17:52:04,444 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
    her.invoke(ReflectedMBeanDispatcher.java:284)
    17:52:04,444 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
    eanServerImpl.java:517)
    17:52:04,444 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(Se
    rverImpl.java:325)
    17:52:04,444 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(Serv
    erImpl.java:222)
    17:52:04,444 ERROR [STDERR] at org.jboss.Main.boot(Main.java:148)
    17:52:04,454 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:381)
    17:52:04,454 ERROR [STDERR] at java.lang.Thread.run(Thread.java:484)

  • Connect to the BPEL PM from another server

    Hi,
    i try to connect to the bpel PM from another oc4j server (i tried also tomcat with the same result) ..
    i have almost the same code as in samples\tutorials\102.InvokingProcesses\rmi :
    Properties props = new java.util.Properties();
    ClassLoader loader = this.getClass().getClassLoader();
    java.io.InputStream is = loader.getResourceAsStream("context.properties");
    props.load(is);
    Locator locator = new Locator( "tv", "tv", props);
    context.properties:
    orabpel.platform=oc4j_10g
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=ormi://192.168.4.211:23791/orabpel
    java.naming.security.principal=admin
    java.naming.security.credentials=welcome
    dedicated.connection=true
    i always get the following error:
    Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NamingException: Lookup error: java.io.EOFException; nested exception is: java.io.EOFException [Root exception is java.io.EOFException] at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:183) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:218) at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83) at com.oracle.bpel.client.Locator.(Locator.java:126) at com.oracle.bpel.client.Locator.(Locator.java:97) at com.unient.opas.action.InitAction.execute(InitAction.java:64) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:61) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:672) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:378) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:272) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:36) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:206) at oracle.oc4j.security.OC4JAccessController.doPrivilegedWithException(OC4JAccessController.java:186) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:85) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:316) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:61) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at com.unient.provisioning.userdb.support.HibernateViewFilter.doFilter(HibernateViewFilter.java:52) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.unient.provisioning.userdb.support.acf.ACF.doFilter(ACF.java:89) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:670) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:378) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:869) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:288) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:120) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:294) at java.lang.Thread.run(Thread.java:534) Caused by: java.io.EOFException at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:800) at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:114) at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:250) at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:154) ... 44 more
    i have Oracle BPEL Server version 2.2 and i try to connect from 10g oc4j.
    Does anyone know what to do?
    Thanks, Tomas

    You can either install SQL Server management Studio or SQLCMD and then work with Windows Internal Database
    Both of these are freely downloadable from microsoft website.
    Please find the links for SQL 2014
    Management Studio
    http://www.microsoft.com/en-gb/download/details.aspx?id=42299
    You can download one of these based on 32/64bit
    MgmtStudio 32BIT\SQLManagementStudio_x86_ENU.exe
    MgmtStudio 64BIT\SQLManagementStudio_x64_ENU.exe
    SQLCMD
    http://www.microsoft.com/en-gb/download/details.aspx?id=29065
    Check the section  Microsoft® SQL Server® 2012 Command Line Utilities
    HTH
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • AM pools vs Bounded Task Flows

    I'm hoping somebody can give some guidance please? A question around AM pools with the new Bounded Task Flow (BTF) features in JDev 11gPS1, utilising ADF Business Components.
    To describe the issue at hand I need to re-assert some ADF facts:
    1) Under ADF BC each root AMs can share connection pools by specifying same JDBC URL/JNDI - desired behaviour to best utilise resources of app server and db
    2) Each root AMs have separate AM pools. ie. 4 root AMs = 4 AM pools. Nested AMs share the AM pool of their root AM. ie. 1 root AM + 3 nested AMs = 1 AM pool.
    3) In previous versions of JDev separate root AMs provided separate transactional capabilities. This is less important now as BTFs can start their own isolated transaction regardless if they use the same root AM.
    4) Separate AM pools mean if you have an EO at design time shared among AMs, the EO cache benefit will be ignored if the dependent VOs are used in different AMs.
    With these facts in hand, as a separate point we're leaning towards an application architecture with one master app workspace, and every BTF in their own workspace. Our goal is reusability, such that the BTF workspaces can be reused by multiple master apps. In turn each BTF is self contained, including all it's own ADF BC components, including it's own root AM (with the exception EOs will be loaded from a common library).
    My question is this. At runtime when the master app makes use of the separate BTF workspaces, each BTF will spawn it's own AM pool. It would seem reasonable that this wasn't the case, that you wouldn't want all these wasted AM pools, but rather somehow nest the BTF AMs.
    In talking to two other ACEDs (names will remain anonymous to protect the innocent, unless they decide to follow up this post ;-), the first said via their stress testing that having multiple root AMs didn't prove to be an issue. The assumption being AM pools are lightweight.
    The second hinted that maybe the solution is to create at design time a root AM in the master app, then import the BTF business components, and set the BTF AMs as nested AMs of the master app root AM. The assumption being when the master app calls the BTF, and the BTF AM is spawned, as it is spawned through the master app, the master app will nest the BTF AM in the master app root AM (phew, try and say that with a mouth full of crackers).
    Any opinions appreciated.
    Cheers,
    CM.

    In thinking about the problem at hand, it does get more complicated if we can't nest the BTF AMs with the master app AM. As stated in the original post:
    1) Under ADF BC each root AMs can share connection pools by specifying same JDBC URL/JNDI- desired behaviour to best utilise resources of app server and db
    To emphasize, this point is only possible if the root AMs specify the same JDBC URL/JNDI. If the JDBC URL/JNDI names differ, this results is different connection pools for the root AMs - which is undesired. So it's important with separate root AMs to specify the same JDBC URL/JNDI, or alternatively, in the opposite case use nested AMs within a root AM, where the nested AMs through the root AM use the root AMs JDBC URL/JNDI name - and therefore 1 connection pool - the desired behaviour.
    (breath)
    Now couple these facts with if we have separate master applications, we'd potentially want them to connect to different database schema accounts, which is a reasonable requirement. The idea being you would have your main database schema account which has the schema db objects, then separate "application" accounts, 1 per master app, that are given privs onto the main database schema. In this way you can grant/revoke the exact privs in the db that the "application" account requires, not a blanket access to the main db schema.
    So....
    (big breath)
    The problem we hit is as the separate workspace BTF root AMs have no knowledge of who they will be used by (ie. which master app), and therefore no idea of what "application" db account they will connect to (as that's defined by the master app), they're very unlikely to have the same JDBC URL/JNDI name, which implies separate connections pools.
    ..and then...
    (another big breath)
    ...it becomes essential to nest the BTF AMs in the master app AM so they're forced to use the parent's JDBC URL/JNDI name - and therefore create one connection pool - the desired behaviour.
    (phewwwwwwwwwww)
    I hope all that makes sense. It's hard to articulate this succinctly, and from the previous responses, I can see if I skip over some of the details it's already creating confusion. However I think my question (with some back up from other ACEs) is valid and important for large scale reusable application architecture (some how that sentence makes me sound all arrogant and morally superior - not my intention - just trying to sort out our 11g builds before it's too late).
    I can think of a few solutions non ADF centric, of which one is to only have a single db "application" account with privs for all master applications, and we can use the db feature to turn on/off dynamic roles per master application to turn on/off privs per application connection (ignoring the fact this is probably slow). Yet I think it's still valid to want a solution in the ADF space, not supported by the db's features.
    Any thoughts & opinions appreciated.
    Regards,
    CM.

  • From table hard coded in query

    (1)The below query i have encounterd in the code for which i m handling CR.
    kindly help me in understanding what does it means FROM TABLE inthe below
    query..
    select distinct transport_mode, orgp_id_2
    into p_transport_mode, p_consignee_id
    from packing_lists
    where org_id = p_org_id
    and id in(select * from table(pacc19.inlist(p_pal_ids)));
    (2) In the below function i couldnt understand
    typevar50 &
    v_data.extend;
    What could they be.?
    FUNCTION inlist(
    p_string IN VARCHAR2)
    RETURN typevar50
    IS
    v_string LONG DEFAULT p_string || ',';
    v_data typevar50 := typevar50();
    v_position NUMBER;
    BEGIN
    LOOP
    EXIT WHEN v_string IS NULL;
    v_position := INSTR(v_string, ',');
    v_data.extend;
    v_data(v_data.COUNT) := LTRIM(RTRIM(SUBSTR(v_string, 1, v_position - 1)));
    v_string := SUBSTR(v_string, v_position + 1);
    END LOOP;
    RETURN v_data;
    END;
    FUNCTION inlist(
    p_string IN VARCHAR2,
    p_delimeter IN VARCHAR2)
    RETURN typevar50
    IS
    v_string LONG DEFAULT p_string || '~';
    v_data typevar50 := typevar50();
    v_position NUMBER;
    BEGIN
    LOOP
    EXIT WHEN v_string IS NULL;
    v_position := INSTR(v_string, '~');
    v_data.extend;
    v_data(v_data.COUNT) := LTRIM(RTRIM(SUBSTR(v_string, 1, v_position - 1)));
    v_string := SUBSTR(v_string, v_position + 1);
    END LOOP;
    RETURN v_data;
    END;
    Kindly help
    Reg.
    AAK
    Message was edited by:
    460425

    typevar50 is a Nested Table Type. The TABLE operator is used to treat this Nested Table Type as a regular table
    SQL> create type nt as table of varchar2(10)
      2  /
    Type created.
    SQL> declare
      2      n nt;
      3  begin
      4     n := nt();
      5     n.extend(3);
      6     n(1) := 'Test1';
      7     n(2) := 'Test2';
      8     n(3) := 'Test3';
      9     --
    10     for rec in (select *
    11                   from table (cast (n as nt))
    12                )
    13     loop
    14        dbms_output.put_line (rec.column_value);
    15     end loop;
    16  end;
    17  /
    Test1
    Test2
    Test3
    PL/SQL procedure successfully completed.There's more information on Nested Tables here:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_82a.htm#2064937
    Message was edited by:
    Alex Nuijten, changed the name of the nested table type

  • Keyword problems in 3.3...

    Trying to move a keyword from a nested catagory to the root in the Keyword HUD. In previous versions of Aperture, when you dragged the keyword outside of the list of keywords, but still inside of the HUD itself, a white rectangle would appear around all of the keywords indicating that if you release the mouse, the keyword would be moved to the root.
    Now in 3.3 this no longer works. If the keyword list is short, and you have empty space at the bottom of the HUD, it works, but if your list is long, then it does not.
    Anyone else having this issue?
    Also, someone told me that with some plugin-ins/apps, if you make a roundtrip out of Aperture and back in again, that keywords which are in nested groups will get duplicated and put at the root of the list. I have not noticed this behaviour and wonder if anyone else has seen it and if so, which plug-ins/apps cause this to happen.
    Thank you !

    Just solved my problem !!!
    Thanks to a tip in the now defunct Bagelturf website (available thru the Wayback Machine here: http://bit.ly/KzMBEv)  the solution is simple and elegent:
    Simply type the term in the search box at the top of the HUD. This will shorten the lenght of the list, allowing you to drag the keyword down and have the white highlight appear around the entire list.
    Still curious if anyone has an issue with nested keywords being place at the root....

Maybe you are looking for