Cluster network name resource 'Cluster Name' failed registration of one or more associated DNS name(s) for the following reason: The handle is invalid.

I'm stuck here trying to figure this error out.  
2003 domain, 2012 hyper v core 3 nodes.  (I have two of these hyper V groups, hvclust2012 is the problem group, hvclust2008 is okay)
In Failover Cluster Manager I see these errors, "Cluster network name resource 'Cluster Name' failed registration of one or more associated DNS name(s) for the following reason:  The handle is invalid."
I restarted the host node that was listed in having the error then another node starts showing the errors.
I tried to follow this site:  http://blog.subvertallmedia.com/2012/12/06/repairing-a-failover-cluster-in-windows-server-2012-live-migration-fails-dns-cluster-name-errors/
Then this error shows up when doing the repair:  there was an error repairing the active directory object for 'Cluster Name'
I looked at our domain controller and noticed I don't have access to local users and groups.  I can access our other hvclust2008 (both clusters are same version 2012).
<image here>
I came upon this thread:  http://social.technet.microsoft.com/Forums/en-US/85fc2ad5-b0c0-41f0-900e-df1db8625445/windows-2012-cluster-resource-name-fails-dns-registration-evt-1196?forum=winserverClustering
Now, I'm stuck on adding a managed service account (mas).  I'm not sure if I'm way off track to fix this.  Any advice?  Thanks in advance!
<image here>

Thanks Elton,
I restarted 3 hosts after applying the hotfix.  Then I did the steps below and got stuck on step 5.  That is when I get the error (image above).  There
was an error repairing the active directory object for 'Cluster Name'.  For more data, see 'Information Details'.
To reset the password on the affected name resource, perform the following steps:
From Failover Cluster Manager, locate the name resource.
Right-click on the resource, and click Properties.
On the Policies tab, select If resource fails, do not restart, and then click OK.
Right-click on the resource, click More Actions, and then click Simulate Failure.
When the name resource shows "Failed," right-click on the resource, click More Actions, and then click Repair.
After the name resource is online, right-click on the resource, and then click Properties.
On the Policies tab, select If resource fails, attempt restart on current node, and then click OK.
Thanks

Similar Messages

  • Adf mobile - Deployment failed due to one or more errors returned by 'osascript'

    I had the mac jdeveoper deploying a mobile app in ios emulator file running fine.
    I had to update the xcode to xcode5 to get the certificate - now the deployment to emulator won't work.
    These are the error messages
    [02:34:41 PM] Command-line execution succeeded.
    [02:34:41 PM] Command-line executed: [osascript, -e, tell application "iPhone Simulator" to activate]
    [02:34:41 PM] Command-line execution failed (Return code: 1)
    [02:34:41 PM] Deployment cancelled.
    [02:34:41 PM] ----  Deployment incomplete  ----.
    [02:34:41 PM] Failed deploying to the iOS simulator.
    [02:34:41 PM] Deployment failed due to one or more errors returned by 'osascript'.  The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)

    I deleted xcode 5 and installed xcode 4.6.3. Simulator works ok for 6.1 simulator target version.
    In jdeveloper ios option only 6.1 shows up for simulator target version?
    How do I get the 7 to show up there please?
    If simulator will not show up - can I still deploy / test it in iphone with ios7?

  • I have just updated my iPad2 with iOS 6.3.1. and now I am unable to access my home network. The Wi-Fi icon in the status bar is not shown. Under settings, Wi-Fi it shows my network name and under the Wi- Fi menu, chose a Network it shows it is searching f

    I have just updated my iPad2 with iOS 6.3.1. and now I am unable to access my home network. The Wi-Fi icon in the status bar is not shown.
    Under settings, Wi-Fi it shows my network name and under the Wi- Fi menu, chose a Network it shows it is searching for my network by name and continues to run and run without finding the network.
    Prior to updating to iOs 6.3.1 my system worked perfectly.
    Can anybody help please.

    1. Turn off router for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • I had no problem connecting to my network and now all of a sudden I can't connect.  Instead of prompting me for a password it comes back and says unable to join the network ("name") and then the option is Dismiss.  Anyone else have that problem?

    I had no problem connecting to my network and now all of a sudden I can't connect my iPad.  Instead of prompting me for a password it comes back and says unable to join the network ("name") and then the option is Dismiss.  Anyone else have that problem?  I've gone thru all my settings and can't seem to find a way to log into my network.  Don't get the option to put in my password.  It just give me the name of my network and option of dismiss instead of password.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • What file name is for the driver of gpib-usb-b?and how to add the driver file to vb in win2000??thanks

    what file name is for the driver of gpib-usb-b?and how to add the driver file to vb in win2000??thanks

    Hi,
    Multiple files are required for the proer fnctioning of any of our GPIB products. Unfortunatly the installation is not as simple as copying a single file over. If you wish to make the installer silent, i believe this is entirely possible in a fashion similar to the details given at http://digital.ni.com/public.nsf/websearch/0730A66245E6808086256CA8006E2183?OpenDocument.
    Hope this helps out!
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • Data Collection Set 'Server Activity' Failure Waiting on a kernel object(s) failed. Inner Error ------------------ The handle is invalid.

    All of the system data collection sets have been running for 6+ months without any issues, couple of weeks ago the 'Server Activity' collection set failed to restart after a planned maintenance server reboot.
    When attempting to manually start the collection set it indicates "success", but after refreshing the collection set it showing as stopped. Viewing the logs for the Data Collection (Server Activity) I am getting the message:
    Waiting on a kernel object(s) failed. Inner Error ------------------>
    The handle is invalid.
    After some research into this really unhelpful message I came across one posting where this error has been found to occur in SP1. We are running SP2 which include the fix so this shouldn't be the problem (ref http://connect.microsoft.com/SQLServer/feedback/details/585210/sql-server-2008-data-collection-execmasterpackage-timeout).
    To see more detail on the root cause of the error I enabled the additional tracing for data collection (http://blogs.msdn.com/b/sqlagent/archive/2011/07/13/enabling-additional-tracing-for-data-collector.aspx). This provided an exception stack which indicated
    that the issue was thrown to what looks like an existing file, referring to a location (e:\) which doesn't exist in our system.
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::    wmain _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::    Command line: dcexec -c -s 2 -i "S160OLTP\OLTP" -m 0 -e 0x09C1635DD4C4C6478A145D679AFE718F_1_STOP
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Application::Init _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Console code page (m_codePage): 437
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::      Application::ParseCommandLine _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::      Application::ParseCommandLine _OUT:00000000
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Application::Init _OUT:00000000
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Application::Main _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Started continuous mode collection on thread 12036
    DCEXEC!26d0!2f04!2012/11/28!11:17:25::      StartCachedCollectionWrapper _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::      Waiting for collection to exit or stop event to be signaled
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::       StartCollection _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::       StartCollection(iSetId = 2, iCollectionMode = 0, pwszInstanceName = S160OLTP\OLTP)
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        CDataCollectorController::ExecuteCollectionSet _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        SQL Instance Name: OLTP
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::         CDataCollectorController::TryExecuteCollectionSetOnce _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::Initialize _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::Initialize _OUT:00000000
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::PopulateCollectorPackageParameters _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CacheWindow=1, CacheDirectory='I:\MSSQL10.OLTP\MSSQL\dccache'
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::PopulateCollectorPackageParameters _OUT:00000000
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::PopulateSetPackageParameters _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CollectionSetUID='{49268954-4FD4-4EB6-AA04-CD59D9BB5714}', ExecutionMode=0, IsSystem=-1, LoggingLevel=0, DaysUntilExpiration=14, ExitEventName=''
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::PopulateSetPackageParameters _OUT:00000000
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CreateControlEvents _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e        ERROR: Win32 Error: GetLastError=183, retCode=0x4, function CDataCollectorController::CreateControlEvents, line 470, file e:\sql10_katmai_t\sql\mpu\shared\dc\runtime\controller\src\datacollectorcontroller.cpp
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e        ERROR: Failed to create kernel event for collection set: {49268954-4FD4-4EB6-AA04-CD59D9BB5714}. Inner Error ------------------>
    Cannot create a file when that file already exists.
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CreateControlEvents _OUT:00000000
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e       ERROR: DC_FAILED: function CDataCollectorController::TryExecuteCollectionSetOnce, line 350, file e:\sql10_katmai_t\sql\mpu\shared\dc\runtime\controller\src\datacollectorcontroller.cpp
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::         CDataCollectorController::TryExecuteCollectionSetOnce _OUT:0x000004
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        Collection set execution failed, retrying in 5 seconds...
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        Waiting for exit event or retry timer failed.
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e      ERROR: Win32 Error: GetLastError=6, retCode=0x4, function CDataCollectorController::ExecuteCollectionSet, line 278, file e:\sql10_katmai_t\sql\mpu\shared\dc\runtime\controller\src\datacollectorcontroller.cpp
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e      ERROR: Waiting on a kernel object(s) failed. Inner Error ------------------>
    The handle is invalid.
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        CDataCollectorController::ExecuteCollectionSet _OUT:0x000004
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::       StartCollection _OUT:00000000
    DCEXEC!26d0!2f04!2012/11/28!11:17:25::      StartCachedCollectionWrapper _OUT:0x000004
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Collection thread returned (00000001)
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Waiting for collection thread to exit
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Collection thread signaled
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Application::Main _OUT
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::    wmain _OUT:0x000004
    I am now stumped as I haven't found anyone else experiencing this issue.
    Any ideas, please help??

    Thanks for the pointer Eileen, problem solved.
    Can't believe I missed it, but after reading the last section on system hangs it occurred to me that I hadn't checked that all dcexec.exe processes were killed when I disable the data collection service.
    For anyone else experiencing this issue I identified the dcexec.exe processes using the following in cmd line:
    TASKLIST /SVC /FI "IMAGENAME EQ DCEXEC.EXE"
    On the default setup of the data collection there should be two dcexec.exe processes constantly running, one for "Server Activity" and another for "Query Statistics". On our server there were five running with the data collection disabled.
    After killing all of the processes and restarting the data collection problem solved!!
    Still need to understand why the processes didn't shut down cleanly when the server was restarted, but at least I know where to look now.

  • Failed to start one or more trace sessions

    Hi,
    I just installed the analyser on a Win2012R2 Core server and can not get the analyser to start.
    ===========================================
    Failed to start one or more trace sessions due to the followinf errors:
    Error Details:
    Unable to start ETW session MMA-ETW-Livecapture-d28fac22-61bc-4e52-ac03-60fa79d2ec62
    Host Name: Localhost
    Error in the application.
    ===========================================
    This is with the provider:
    Microsoft-Windows-NDIS-PacketCapture
    I have this error on two core machines so I missing something?!
    BR
    Per

    This happens if you are not logged in as administrator, or perhaps if a session is already running. Does it change if you run Message Analyzer as administrator? What do you see when you type "Get-NetEventSession" form PowerShell?
    Paul

  • "The upload has failed. There was a problem running a virus scan for the file."  any ideas???

    "The upload has failed.
    There was a problem running a virus scan for the file. "
    This is the message i get when tryng to update
    any ideas?

    Error: "svr.VirusScanExecutionError"
    An intermittent problem with acrobat.com's underlying virus scan component causes this issue. This issue happens occasionally on a small number of server instances.
    The solution is to update the article again. Trying again typically routes you to a different host in the server array.

  • Oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "" specified for the View Attribute ""

    HI, I'm using JDEV 11.1.1.6.0
    I am encountering this error msg on one VO
    oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "CorrespondenceAddressFlag" specified for the View Attribute "AddressDetailsVO"
    I have searched for similar problems for others and have checked the relevant XML file and have seen that the entries are correct.
    If I delete this attribute and add it again, the error come up for the next attribute.
    Earlier the EO had a few attributes then according to further requirement changes, we add new attributes to the Table and Synchronized the EO's.
    Then added these Attributes to the VO. This application Runs fine when tested in AppModule but when dropped on page, it gives the above error.
    oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "CorrespondenceAddressFlag" specified for the View Attribute "AddressDetailsVO"
      at oracle.jbo.server.ViewDefImpl.doAddEntityAttribute(ViewDefImpl.java:7078)
      at oracle.jbo.server.ViewAttributeDefImpl.loadFromXML(ViewAttributeDefImpl.java:2099)
      at oracle.jbo.server.ViewDefImpl.loadAttributes(ViewDefImpl.java:6816)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4453)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
      at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
      at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
      at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
      at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
      at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
      at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
      at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
      at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
      at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
      at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
      at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
      at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
      at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
      at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
      at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:871)
      at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1640)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:566)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:316)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:296)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1833)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1927)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.internalGet(FacesCtrlActionBinding.java:369)
      at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
      at javax.el.MapELResolver.getValue(MapELResolver.java:164)
      at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
      at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
      at com.sun.el.parser.AstValue.getValue(Unknown Source)
      at com.sun.el.parser.AstNot.getValue(Unknown Source)
      at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
      at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:506)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.isDisabled(GoLinkRenderer.java:681)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.handleInaccessibility(GoLinkRenderer.java:584)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.encodeAll(GoLinkRenderer.java:131)
      at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.encodeAll(CommandLinkRenderer.java:159)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
      at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
      at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
      at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
      at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
      at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:267)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      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:57)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      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)
    <Jul 3, 2013 4:12:48 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@60954909[app:com.magma.application.model module:viewcontroller-context-root path:/viewcontroller-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "CorrespondenceAddressFlag" specified for the View Attribute "AddressDetailsVO"
      at oracle.jbo.server.ViewDefImpl.doAddEntityAttribute(ViewDefImpl.java:7078)
      at oracle.jbo.server.ViewAttributeDefImpl.loadFromXML(ViewAttributeDefImpl.java:2099)
      at oracle.jbo.server.ViewDefImpl.loadAttributes(ViewDefImpl.java:6816)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4453)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
      Truncated. see log file for complete stacktrace
    >
    <Jul 3, 2013 4:12:48 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Jul 3, 2013 4:12:48 PM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Jul 3, 2013 4:12:48 PM IST SERVER = DefaultServer MESSAGE = [ServletContext@60954909[app:model module:viewcontroller-context-root path:/viewcontroller-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "CorrespondenceAddressFlag" specified for the View Attribute "AddressDetailsVO"
      at oracle.jbo.server.ViewDefImpl.doAddEntityAttribute(ViewDefImpl.java:7078)
      at oracle.jbo.server.ViewAttributeDefImpl.loadFromXML(ViewAttributeDefImpl.java:2099)
      at oracle.jbo.server.ViewDefImpl.loadAttributes(ViewDefImpl.java:6816)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4453)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
      at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
      at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
      at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
      at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
      at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
      at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
      at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
      at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
      at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
      at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
      at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
      at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
      at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
      at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
      at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:871)
      at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1640)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:566)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:316)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:296)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1833)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1927)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.internalGet(FacesCtrlActionBinding.java:369)
      at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
      at javax.el.MapELResolver.getValue(MapELResolver.java:164)
      at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
      at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
      at com.sun.el.parser.AstValue.getValue(Unknown Source)
      at com.sun.el.parser.AstNot.getValue(Unknown Source)
      at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
      at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:506)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.isDisabled(GoLinkRenderer.java:681)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.handleInaccessibility(GoLinkRenderer.java:584)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.encodeAll(GoLinkRenderer.java:131)
      at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.encodeAll(CommandLinkRenderer.java:159)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
      at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
      at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
      at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
      at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
      at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:267)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      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:57)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      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)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = NRSAWANT-IN TXID =  CONTEXTID = 94d3e58da1320945:-18bd848a:13fa41f0152:-8000-000000000000001c TIMESTAMP = 1372848168531 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Jul 3, 2013 4:12:49 PM IST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in d:\jdev_home\system11.1.1.6.38.61.92\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_31 with a lockout minute period of 1.>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,804 during the configured idle timeout of 5 secs>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,803 during the configured idle timeout of 5 secs>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,800 during the configured idle timeout of 5 secs>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,802 during the configured idle timeout of 5 secs>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,801 during the configured idle timeout of 5 secs>

    Just to confirm that this is not a Library or deployment setup problem, Now, I changed the deployment scope to include business components in the ViewController to just to be sure it was being picked up in the ViewController too. I Created a separate AppModule in the ViewController and Added the VO to it, It Ran Properly including the Addition and Commit Control.

  • Imported source file name changed for the external table

    Hi,
    I have external table from flat file. Now the source file name is changed. I can change the file location to point to the new file name, but I can't update the source for the flat file property(as seen under flat file properties,structure tab. the column "Sampled From"). Is there way to have this update without having to import the file using the new file name again?

    In the Files section in the object navigator find the flat file you want to change the source of.
    Double click on the actual file, and on the General tab change the old file name to the new one.
    The fact that it has been sampled from a different file should not 'disturb' the working of the external table.
    However, if the structure of the new file is different I'd suggest to resample.
    Good luck, Patrick

  • Datacleanse name parsing for the English dictionary

    I am using the person_firm_en (English) dictionary for name parsing (Datacleanse for Data Services XI) for Canada data. There are many situations where the full name consists of 3 names and datacleanse parses the 2nd and the 3rd name into the 'family name' field. Thus, instead of parsing the 2nd name into the given_name2 field, it puts it with the last name into the family_name field. Some examples are:
    Example 1 - ROBERT GRAHAM LEITCH
    given_name1 - Robert
    family_name - Graham Leitch
    Example 2 - JEREMY HURON NEAL
    given_name1 - Jeremy
    family_name - Huron Neal
    SAP's response to this issue is that each entry which is not being parsed out as given_name2 needs to have the person_firm_en dictionary entry edited to add it as a given name. This can also impact its parsing if this name appears as a last name.
    Does anyone have any other suggestions or any rule/code that you have implemented to handle such situations?

    Shenaz,
    We have struggled quite a bit with the name parsing n the Data Cleanse (especially when using version 12.1.1). I wrote some custom functions that do name parsing and in many cases, especially for middle names, they seem to do a better job. Below is the code that returns Person1 Middle name from a passed in mixed name value. The functions CF_Name_Standardize_Replace_Chars and CF_Remove_Extra_Spaces contain find\replace tables and remove things like punctuation, MR, MRS, empty space, etc.
    1 Have 5 other functions, to pull out First, Middle, and Last names of persons 1 and 2. They look very similar, the only different part being the last section where the word pattern is analyzed and the decision is made as to which word is to be returned.
    I could get you code for the others if it would help.
    #prep
    $return_string = '';
    $word_1 = '';
    $word_2 = '';
    $word_3 = '';
    $word_4 = '';
    $word_5 = '';
    $word_6 = '';
    $word_7 = '';
    $word_count = 0;
    $working_string = ltrim_blanks ( rtrim_blanks( $input_string ) );
    $working_string = upper( $working_string );
    $working_string = CF_Name_Standardize_Replace_Chars( $working_string );
    if ( nvl ( index ( $working_string, ',', 1), 0 ) = 0)
    begin
      $has_comma = 'false';
    end
    else
    begin
      $has_comma = 'true';     
    end
    #assign the words to their variables
    if( $has_comma = 'true' )
    begin
      $split_index = index ( $working_string, ',', 1);
      $word_1 = ltrim_blanks(rtrim_blanks(substr( $working_string, 1, $split_index - 1 )));
      $word_1 = CF_Remove_Extra_Spaces( $word_1 );
      $word_1 = replace_substr( $word_1 , ' ', '-' ); #we will assume it is a last name and should be hyphenated
      $working_string = substr( $working_string, $split_index + 1, 255 );
      $working_string = ltrim_blanks( rtrim_blanks( replace_substr( $working_string , ',', ' ' ) ) );
      $working_string = CF_Remove_Extra_Spaces( $working_string );
      #these are now offset by one because we removed the first "word" before the comma.
      $word_2 = nvl( word( $working_string, 1 ), '');
      $word_3 = nvl( word( $working_string, 2 ), '');
      $word_4 = nvl( word( $working_string, 3 ), '');
      $word_5 = nvl( word( $working_string, 4 ), '');
      $word_6 = nvl( word( $working_string, 5 ), '');
      $word_7 = nvl( word( $working_string, 6 ), '');
    end
    else
    begin
      $working_string = CF_Remove_Extra_Spaces( $working_string );
      $word_1 = nvl( word( $working_string, 1 ), '');
      $word_2 = nvl( word( $working_string, 2 ), '');
      $word_3 = nvl( word( $working_string, 3 ), '');
      $word_4 = nvl( word( $working_string, 4 ), '');
      $word_5 = nvl( word( $working_string, 5 ), '');
      $word_6 = nvl( word( $working_string, 6 ), '');
      $word_7 = nvl( word( $working_string, 7 ), '');
    end
    #figure out what the word count is
    if ($word_1 != '')
    begin
      $word_count = 1;
    end
    if ($word_2 != '')
    begin
      $word_count = 2;
    end
    if ($word_3 != '')
    begin
      $word_count = 3;
    end
    if ($word_4 != '')
    begin
      $word_count = 4;
    end
    if ($word_5 != '')
    begin
      $word_count = 5;
    end
    if ($word_6 != '')
    begin
      $word_count = 6;
    end
    if ($word_7 != '')
    begin
      $word_count = 7;
    end
    #and finally, analyze the word pattern and make a decision where the desired word is
    if ($has_comma = 'true')
    begin
      if ($word_count = 6 AND $word_4 = '&')
      begin
        $return_string = $word_3;
      end
      if ($word_count = 5 AND $word_4 = '&')
      begin
        $return_string = $word_3;
      end
      if ($word_count = 4 AND $word_3 != '&')
      begin
        $return_string = $word_3 || '-' || $word_4; #assume a middle name that should be hyphenated in this case?? i.e. Smith, Damian John-Doe (From Smith, Damian John Doe) - (Return John-Doe)
      end
      if ($word_count = 3)
      begin
        $return_string = $word_3;
      end
    end
    else
    begin
      if ($word_count = 3 AND $word_2 != '&')
      begin
        $return_string = $word_2;
      end
      if ($word_count = 4 AND $word_2 != '&' AND $word_3 != '&' AND $word_4 != '&')
      begin
        $return_string = $word_2;
      end
      if ($word_count > 4 AND $word_3 = '&')
      begin
        #this stuff just in case we have a middle "initial" in the second position. In that case we will assume a middle name is there
        if (length( $word_2 ) = 1)
         begin
          $return_string = $word_2;
        end
        if (length( $word_2 ) = 2 AND index($word_2, '.', 1) = 2)
         begin
          $return_string = $word_2;
        end
        #end of middle "initial" search.
      end
      if ($word_count > 5 AND $word_4 = '&')
      begin
        $return_string = $word_2;
      end
    end
    Return init_cap( $return_string );

  • Why does my network name change to the Serial Number of my AExpress?

    After setting up a new network with my airport express, shortly thereafter the name seems to change to the serial number of the AE device (ie. Apple Network...). Anyone have any idea why that is happening? It seems to couple with decreased performance/connection to the device as well.
    Thanks

    so this is my screen when im trying to send myself an email for instance . red color is my mums name and green is my email. "Til" means "too" and "hjem" means "home". So when im trying to enter my own email, my mums name occur. (sorry for my bad english)

  • Purchased a new iPAD and wifi network name detected ,but the Next button is not enabled. Please help me

    HI
    Purchased a new ipad
    I am currently stuck with the installation of iPAD  and stays at Wifi Network and not able to highlight NEXT
    Please advice
    Regards
    YSivakumar

    Usually it's because you are not making internet connection via wifi.
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
     Cheers, Tom

  • How to provide Tab Name programatically for the new Tab created in Tabstrip

    Is it possible to customise the name of the tab for a newly created tab in the tabstrip?

    Yes, it is.
    Declare a global data with the same name as your tab, type c, with the same length (look at the tab attributes in the screen painter).
    Change that in your PBO.
    You're done.

  • Creating calendar-Month names shrink for no apparent reason?

    In the midst of creating a calendar and for no apparent reason, the Month Year title on every page shrinks to a barely legible size and cannot be repaired.  Has anyone else had this problem and found a solution?  This is the third time it has happened - most recently while reproducing on the calendar on which it last happened.

    No - But I believe that printing of iPhoto projects is no longer supported for iPhoto '08 - you may have to upgrade to iPhoto '09 or '11 to actually print the calendar
    LN

Maybe you are looking for

  • Editing Nikon D300s footage in Final Cut Pro

    Hello everyone, Here's my situation. I am editing D300s, 720p, 24fps video in Final Cut Pro 5.1.4. I am having dropped frames after about 10 seconds of playback. My easy setup is for HDV - 720p24. This gives me the correct aspect ratio and audio play

  • Customize -java-wsdl-mapping.xml with EJB3 web service

    Using OC4J 10.1.3, I have an EJB that I am exposing as a web service using JSR-181 annotations. Is it possible to customize the generated <ServiceName>-java-wsdl-mapping.xml file? I tried putting my own version in META-INF/ of my ejb jar, but it didn

  • I can't remove third party apps from my macbook pro.

    I have installed some third party apps and now want to delete them. The apps are: MorphVOX, YTD, and Paintbrush. I have tried to drag and drop but unable to do. Please help me. I have macbook pro OS X 10.9.4

  • AE CS5 Preference Settings Help!

    Hi Guys, I'm working with CS5 now. Can anyone help me configure the best settings in After Effects to get the most out of my PC and the software please? PC configuration listed below. I have listed the current settings I have now for AE. Please advis

  • Location of downloaded templates and other files

    As there is almost 4GBs of templates and related files that are downloaded for Premiere Elements 12, I would like to ensure these files are backed up. Therefore can someone please tell me where these files are stored, i.e., the fullpath name? Thanks.