Updating the GRANTS of a Container: error ORACLE.FDK.ServerError

Hi there,
Am trying to update the grants of a container and adding new Users with admin roles using SecurityManagers.addGrants() method. But when ever i excute the method i recieve the following error, ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError. Below is the code.
First am preparing the GRANTS, as follows.
private NamedValue[] prepareGrants() {
        NamedValue[] attributes = null;
        NamedValue[] roles1 = null;
        NamedValue[] roles2 = null;
        Item user1 = null;
        Item user2 = null;
        Item libAdminRole;
        Item quotaAdminRole;
        Item secAdminRole;
        try {
//            sm.keepAlive();
            user2 = um.getUser("karthik.rajashekar",null);
            user1 = um.getUser("test.user1",null);
            libAdminRole = secm.getRoleByName("WorkspaceAdministrator",null);
            quotaAdminRole = secm.getRoleByName("QuotaAdministrator",null);
            roles1 = newNamedValueArray(new Object[][]{
                {Attributes.GRANTEE,new Long(user1.getId())},
                {Attributes.ROLES,new Long[]{new Long(libAdminRole.getId()),new Long(quotaAdminRole.getId())}},
                {Attributes.PROPAGATING, new Boolean(true)},
                {Attributes.HAS_ADMIN_ROLES,new Boolean(true)}
            secAdminRole = secm.getRoleByName("SecurityAdministrator",null);
            roles2 = newNamedValueArray(new Object[][]{
                {Attributes.GRANTEE,new Long(user2.getId())},
                {Attributes.ROLES,new Long[]{new Long(secAdminRole.getId())}},
                {Attributes.PROPAGATING, new Boolean(true)},
                {Attributes.HAS_ADMIN_ROLES,new Boolean(true)}
            NamedValueSet[] secConfig = new NamedValueSet[]{newNamedValueSet(roles1),newNamedValueSet(roles2)};
            attributes = newNamedValueArray(new Object[][]{
                {Attributes.GRANTS,secConfig}
        } catch (RemoteException ex) {
            ex.printStackTrace();
            logout();
        return attributes;
    }Then am using calling addGrants() with the attributes i have prepared from the former function, Below is the code
public void addGrants(String path, NamedValue[] grants) {
        try {
            Item mycontainer = fm.resolvePath(path,null);
//            Long id = new Long(mycontainer.getId());
            secm.addGrants(mycontainer.getId(),grants,null);
        } catch (RemoteException ex) {
            ex.printStackTrace();
            logout();
        } catch (Exception ex) {
            ex.printStackTrace();
            logout();
    }Below using the log file entry, of OC4J_Content, related to the error,
07/09/19 20:32:12 content:  [oracle.ifs.fdk.http.HttpAuthManager] [85] 1273949 orcladmin INFO: HTTP Login: User = orcladmin;
IP = 192.9.200.7; UA = Axis/1.2
07/09/19 20:32:13 content:  [oracle.ifs.fdk.ExceptionLogger] [85] 1273949 orcladmin SEVERE: Exception ID: 9-1190214133370
ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
        at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:181)
        at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:74)
        at oracle.ifs.fdk.impl.SecurityManagerImpl.addGrants(SecurityManagerImpl.java:563)
        at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
        at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
        at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:103)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
        at oracle.ifs.fdk.http.AxisSecurityFilter.doFilter(AxisSecurityFilter.java:83)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
        at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassCastException
        at oracle.ifs.fdk.impl.Utils.createSecurityConfigurationDefinition(Utils.java:624)
        at oracle.ifs.fdk.impl.SecurityManagerImpl.addGrants(SecurityManagerImpl.java:524)
        ... 28 more
FdkException Details: oracle.ifs.fdk.FdkException: ErrorCode = ORACLE.FDK.UnexpectedError; DetailedErrorCode = ORACLE.FDK.Ser
verError; Cause = null; ServerStackTraceId = 9-1190214133370; Info = null; Entries = nullCan anyone help me out on this?

Hi there,
Am trying to update the grants of a container and adding new Users with admin roles using SecurityManagers.addGrants() method. But when ever i excute the method i recieve the following error, ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError. Below is the code.
First am preparing the GRANTS, as follows.
private NamedValue[] prepareGrants() {
        NamedValue[] attributes = null;
        NamedValue[] roles1 = null;
        NamedValue[] roles2 = null;
        Item user1 = null;
        Item user2 = null;
        Item libAdminRole;
        Item quotaAdminRole;
        Item secAdminRole;
        try {
//            sm.keepAlive();
            user2 = um.getUser("karthik.rajashekar",null);
            user1 = um.getUser("test.user1",null);
            libAdminRole = secm.getRoleByName("WorkspaceAdministrator",null);
            quotaAdminRole = secm.getRoleByName("QuotaAdministrator",null);
            roles1 = newNamedValueArray(new Object[][]{
                {Attributes.GRANTEE,new Long(user1.getId())},
                {Attributes.ROLES,new Long[]{new Long(libAdminRole.getId()),new Long(quotaAdminRole.getId())}},
                {Attributes.PROPAGATING, new Boolean(true)},
                {Attributes.HAS_ADMIN_ROLES,new Boolean(true)}
            secAdminRole = secm.getRoleByName("SecurityAdministrator",null);
            roles2 = newNamedValueArray(new Object[][]{
                {Attributes.GRANTEE,new Long(user2.getId())},
                {Attributes.ROLES,new Long[]{new Long(secAdminRole.getId())}},
                {Attributes.PROPAGATING, new Boolean(true)},
                {Attributes.HAS_ADMIN_ROLES,new Boolean(true)}
            NamedValueSet[] secConfig = new NamedValueSet[]{newNamedValueSet(roles1),newNamedValueSet(roles2)};
            attributes = newNamedValueArray(new Object[][]{
                {Attributes.GRANTS,secConfig}
        } catch (RemoteException ex) {
            ex.printStackTrace();
            logout();
        return attributes;
    }Then am using calling addGrants() with the attributes i have prepared from the former function, Below is the code
public void addGrants(String path, NamedValue[] grants) {
        try {
            Item mycontainer = fm.resolvePath(path,null);
//            Long id = new Long(mycontainer.getId());
            secm.addGrants(mycontainer.getId(),grants,null);
        } catch (RemoteException ex) {
            ex.printStackTrace();
            logout();
        } catch (Exception ex) {
            ex.printStackTrace();
            logout();
    }Below using the log file entry, of OC4J_Content, related to the error,
07/09/19 20:32:12 content:  [oracle.ifs.fdk.http.HttpAuthManager] [85] 1273949 orcladmin INFO: HTTP Login: User = orcladmin;
IP = 192.9.200.7; UA = Axis/1.2
07/09/19 20:32:13 content:  [oracle.ifs.fdk.ExceptionLogger] [85] 1273949 orcladmin SEVERE: Exception ID: 9-1190214133370
ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
        at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:181)
        at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:74)
        at oracle.ifs.fdk.impl.SecurityManagerImpl.addGrants(SecurityManagerImpl.java:563)
        at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
        at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
        at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:103)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
        at oracle.ifs.fdk.http.AxisSecurityFilter.doFilter(AxisSecurityFilter.java:83)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
        at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassCastException
        at oracle.ifs.fdk.impl.Utils.createSecurityConfigurationDefinition(Utils.java:624)
        at oracle.ifs.fdk.impl.SecurityManagerImpl.addGrants(SecurityManagerImpl.java:524)
        ... 28 more
FdkException Details: oracle.ifs.fdk.FdkException: ErrorCode = ORACLE.FDK.UnexpectedError; DetailedErrorCode = ORACLE.FDK.Ser
verError; Cause = null; ServerStackTraceId = 9-1190214133370; Info = null; Entries = nullCan anyone help me out on this?

Similar Messages

  • Can't we update the mesages after ceated messages in oracle apps 11i

    Hi All,
    i have created message and ran the concurent programme of generate message in 11i, after that i have called that message name into jdeveloper. message is displaying correctly. i am trying to update the message which i have created and again ran the concurent programme. but updated message is not reflected. its shwing old message.
    Can't we update the mesages after ceated messages in oracle apps 11i? if so what is the process.
    can any one know the process.
    Thanks and Regards,
    krishna

    Kindly check in AOL and confirm that the message is changed. Also make sure the Jdeveloper code refers to the message code and the language for which the message text is set correctly. Thereafter delete the myclasses file and run the code again. Updated message should be shown.
    Regards
    Sumit

  • Infopath cannot submit the form because it contains errors. Errors are marked with either a red asterik(required fields) or a red, dashed border (invalid values)

    Infopath cannot submit the form because it contains errors. Errors are marked with either a red asterik(required fields) or a red, dashed border (invalid values).
    Press Ctrl+Shift+O for next error or Press Ctrl+Shift+I for error details
    Please help me, Thank in advance.
    Sravan.

    Hi Sravan, this means that one or more of the fields are required to be filled in or have validation set up on them so that the information entered matches a certain criteria. Make sure what's entered matches what's required. If the form still can't be
    submitted, check the rules set in InfoPath and the list/library to see what's causing the error(s).
    cameron rautmann

  • ORACLE.FDK.ServerError while creating document and assigning category

    Hi,
    I try tro create a new Document in Content Services and assigning an existing category
    here is the code snippet:
    public static Item createDocumentWithCategory(Item parent, Item category)
    throws FdkException, RemoteException
    // get the Manager instances
    FileManager fm =s_WsCon.getFileManager();
    System.out.println("Ok document");
    RechercheCategorie categorie=RechercheCategorie();
    categorie.catValeur2();
    Item cat=categorie.getCat();
    Item workspace =fm.resolvePath("/solaria/E-TOP2", null);
    System.out.println("id dans create document:"+cat.getId()+"workspace name:=
    "+workspace.getName()+ "workspaceid:"+workspace.getId());
    // create Category definition for category instance
    NamedValue[] categoryDefs =WsUtility.newNamedValueArray(new Object[]=
    { Options.CATEGORY_ID, new Long(cat.getId()) }/*,
    { Options.CATEGORY_DEFINITION_ATTRIBUTES,
    WsUtility.newNamedValueArray(new Object[][] {
    { "CUSTOM_Attribute", "Value One" } }) }*/
    System.out.println("Ok document");
    // create document specifying category definition
    Item newDoc =fm.createDocument(
    WsUtility.newNamedValueArray(new Object[][] {
    { Attributes.NAME, "MyDoc41" },
    { Options.CATEGORY_DEFINITION, categoryDefs },
    { Options.DESTFOLDER, new Long(workspace.getId()) } }), null, null);
    System.out.println("Ok document2");
    return newDoc;
    It throws an Exception essage d'erreur:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:=
    faultString: ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
    faultActor:=
    faultNode:=
    faultDetail:=
         {http://xmlns.oracle.com/content/ws}fault:<detailedErrorCode xsi:type="x=
    sd:string">ORACLE.FDK.ServerError</detailedErrorCode><errorCode xsi:type=
    "xsd:string">ORACLE.FDK.UnexpectedError</errorCode><exceptionEntries xsi:ty=
    pe="ns1:ArrayOfFdkExceptionEntry" xsi:nil="true"/><info xsi:type="ns1=
    :ArrayOfNamedValue" xsi:nil="true"/><serverStackTraceId xsi:type="xsd:s=
    tring">139-1170838513360</serverStackTraceId>
    What is wrong with the code?
    Please advise
    Jo

    The stack trace is incomplete. Please post the complete exception stack trace.
    regards,
    -sancho

  • I'm having trouble updating the Creative Cloud desktop app (Error code: 62)

    I'm having trouble updating the desktop app. The application updater says its error code 62.
    Running on Mac OS X 10.9.5.

    Hi yongteck,
    Please refer to the help document and thread below where the issue has been resolved:
    1. Error "Failed to Install" Creative Cloud Desktop application
    2. Why do i keep on getting error 62?
    Regards,
    Sheena

  • Error "ORACLE.FDK.AggregateError:ORACLE.FDK.AggregateError"

    I get the following error when executing either checkoutDocuments or checkin against Content DB 10g:
    ORACLE.FDK.AggregateError:ORACLE.FDK.AggregateError
    Following are the exact commands I am executing:
    versionM.checkoutDocuments(new long[] { doc.getId() }, null, null,
    null, null);
    Item[] docs =
    versionM.checkin(new long[] { doc.getId() }, null, null,
    requestedAttributes);
    I used the Versioning.java example from Oracle Content DB 10.2 Java Developer Kit as my base.
    Any idea what the error means and what I can do to prevent it from occurring?

    Hi Adrian,
    Are you using the Web Services API in your JDeveloper application, making calls to a running Content DB server?
    If this is the case, you will find the additional error code and stack trace information you are looking for in the log file of the Content DB HTTP Node. Note that you may need to raise the logging level of the Content DB HTTP Node using the Enterprise Manager administration console.

  • I have updated the iPhone for and an error message 1611  has appeared and my phone no longer works. Any suggestions please?

    I have updated my iPhone 4  with itunes 10.5 and my phone has stopped working and it only comes up with an error message 1611 saying there is a hardware issue - yet all I did was plug it to my computer. Help would be good as I need my phone for work, personal etc and it is annoying that an update can stop my phone from working.

    Error 1611: This error may indicate a hardware issue with your device. Follow the steps in this article. Alsoattempt to restore while connected with a known-good 30-pin Dock Connector cable, computer, and network to isolate this issue to the device. The MAC address being missing or the IMEI being the default value (00 499901 064000 0) can also confirm a hardware issue. Out-of-date or incorrectly configured proxy or security software, such as FoxyProxy, can cause error 1611. To troubleshoot third-party security software, follow these steps.
    From here >  iOS: Resolving update and restore alert messages

  • SAP RM: How can I update the open record view container

    Hi,
    I add a custom method to import a document in to the record tree. Every thing works fine, but only the open record view is not updated. So I stll see the model node and not the instance node.
    I think I forgot a action after I replace the node with the instance. But I don't found a method for this.
    When I close the record and open it again. The view of the tree is correct.
    Regards
    Thomas Fanninger
    Code-Example:
    CALL METHOD ME->CREATE_INSTANCE_CHILD
        EXPORTING
          GID                    = gid
          ACTION                 = 'ADD'
          CHILD_SPSID            = 'Z_RM_PS_SPS_DOCUMENT_TEMPLATE'
        IMPORTING
          NEW_GID                = new_gid
        EXCEPTIONS
          NOT_FOUND              = 1
          CANCELLED              = 2
          CARDCHECK_FAILED       = 3
          NOT_ALLOWED            = 4
          INTERNAL_ERROR         = 5
          NOT_COMPATIBLE         = 6
          SUBTREE_NOT_COMPATIBLE = 7
          others                 = 8.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      doc_role_line = '*'.
      APPEND doc_role_line to doc_role_tab.
      CALL METHOD GLOB_INSTANCE_XMLDOM->REPLACE_ELEMENT_BY_GID
        EXPORTING
          ELEMENT_GID     = new_gid
          DESCRIPTION_TAB = doc_descr_tab
          AREA_POID_TAB   = tab_area_poid
          SRM_POID_TAB    = tab_srm_poid
          SP_POID_TAB     = tab_sp_poid
          SPSID           = str_sps_id
          ROLE_TAB        = doc_role_tab
          RELA_TAB        = doc_rela_tab
        EXCEPTIONS
          REPLACE_FAILED  = 1
          others          = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

    Hi Thomas,
    ViewContainer is used to hold the views which have to share the same
    screen area..
    That is, If you more than two vies and want to show one view to be visible
    for an operation you will use this ViewContainer.
    You can specify a view to be displayed, bu using Plugs.
    wdThis.wdFire<PlugtoView>();
    pls check these examples:
    Example :
    Updating fields
    swc_set_element wi_container 'ORDER_NO' rbselbest-ebeln.
    Modify container
    CALL FUNCTION 'SWW_WI_CONTAINER_MODIFY'
    EXPORTING
    wi_id = wi_id "Workitem ID
    do_commit = 'X'
    TABLES
    wi_container = wi_container. "New container merged with the workflow container.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    That's strange because If I try to update directly in the method it works !!
    swc_set_element wi_container 'ORDER_NO' '123132132'.
    This MF works in 4.6B but not in ECC6.0 ???
    Answer: There are lot of changes mainly with respect to SWW_WI* function modules when you move from 4.6 to ECC 6.0.
    Some of these SWW_WI* doesnt gurantee the correct behavioud and we did face this problem. Please change all your SWW_WI* function modules with SAP_WAPI* equivalents.
    I knew SWW_WI* are working fine in some scenario's in ECC but it doesnt gurantee the behaviour always and even if you raise a message to SAP, SAP came back saying from ECC onwards developers should use SAP_WAPI* and SWW_WI* may not be supported !!
    Better please replace your SWW_WI* FMs with equivalent SAP_WAPI. We have all equivalents. For SWW_WI_CONTAINER_MODIFY equiavalent is SAP_WAPI_WRITE_CONTAINER. Check for all SAP_WAPI in SE37 for a list of all SAP_WAPI FMs.
    hope this helps u.
    kindly reward if found helpful.
    cheers,
    Hema.

  • HT201210 i have a problem with my iphone 4s when i update the system its giving me error 36 ? and the phone docent want to open! any one please know who to solve this problem

    I cant open or upate my iphone 4s because its give me message erorr 36, please any one know what dose it mean erorr 36 and who i solve this problem.

    Hi mohamed00,
    Thanks for visiting Apple Support Communities.
    I recommend following the method below if you are not able to restore your iPhone and see an "error 36:"
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/TS3694
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Cheers,
    Jeremy

  • HT5678 When I try to update the OS I get an error message-- An error has occurred-The operation was cancelled.(3072)

    Is there anything I can do to update my OS? I have the Mountain Lion and I keep getting them- The operation was cancelled.(3072)- when I try.

    Often due to another User being logged in & having Safari open.
    log out from any other users, or at least close any open applications there.

  • Urgent :ORACLE.FDK.UnexpectedError --how to rectify this error

    Hello,
    I am getting the following error when I am running a standalone java program, where I am trying to list the folders in a container.
    ===========================
    log created on console
    ===========================
    FdkException:
    Error Code: ORACLE.FDK.UnexpectedError
    Detailed Error Code: ORACLE.FDK.ServerError
    Trace Id: 1-1194351196408
    info (NamedValue[]): null
    ======================
    Log created in <ocdbhome>\content\log\Content\<cdbinstance_node.log>
    ======================
    no log created when this error occurs.
    I am unable to understand, what is happening with the server.
    Could you shed somelight on this issue.
    thanks
    Siva.......

    Thanks to those who have viewed this thread.
    I have rectified this problem. The problem was occuring because I was creating more than one session in my code and infact while calling logout method also I was creating a new session. So the accumulation of session has created this error.
    I think, server should show proper error message instead of saying "UnexpectedError"
    Cheers
    ~Siva

  • Updating the table is taking long time

    I have one table Solution,
    in that in one java application P,
    1) i am inserting a new record by passing values to a oracle procedure A.
    2) And in the same application i am updating the same record by calling one oracle function B.
    Now in another java application Q,
    3) I am trying to update the same record using hibernate update, but i could not find the record which i updated initially.
    I am executing P first and then executing Q.
    Here insert and first update is happening (I am able to see the record with the first update after sometime), but 2nd update is not happening.
    If i wait for sometime in Q application, i am able to update the same record.
    Can anybody please help here, why it is happening?

    Can anybody please help here, why it is happening?Unless & until application P issues a COMMIT, application Q will NOT see the DML changes issued by P

  • Error Error oracle.iam.platform.context.ContextManager BEA-000000 IAM-0030007 org.xml.sax.SAXParseException: Line 1, Column 1 : XML-20108: (Fatal Error) Start of root element expected. error in oim logs

    Hi ,
    I am getting the below error at times in oim logs not able to find the reason please help.
    <Error> <oracle.iam.platform.context.ContextManager> <BEA-000000> <IAM-0030007
    org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
        at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
        at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:414)
        at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:355)
        at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBaseClient/bindToInstance encounter some problems: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
    oracle.iam.platform.utils.ServiceInitializationException: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
        at oracle.iam.platform.Platform.getService(Platform.java:265)
        at oracle.iam.platform.OIMInternalClient.getService(OIMInternalClient.java:188)
        at com.thortech.xl.dataaccess.tcDataBaseClient.bindToInstance(tcDataBaseClient.java:151)
        at com.thortech.xl.client.dataobj.tcDataBaseClient.recoverConnection(tcDataBaseClient.java:401)
        at com.thortech.xl.client.dataobj.tcDataBaseClient.getInterface(tcDataBaseClient.java:385)
        at com.thortech.xl.dataaccess.tcDataBaseClient.close(tcDataBaseClient.java:349)
        at com.thortech.xl.server.tcDataBaseClient.close(tcDataBaseClient.java:62)
        at com.thortech.xl.server.tcDataBaseClient.finalize(tcDataBaseClient.java:43
    Caused By: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at com.sun.naming.internal.VersionHelper12.loadClass(Ve
    <Class/Method: tcDataBaseClient/getInterface encounter some problems: RuntimeException encountered. Reconnecting!
    java.lang.NullPointerException
        at oracle.iam.platform.context.ContextManager.getCounter(ContextManager.java:697)
        at oracle.iam.platform.context.ContextManager.incrementCounter(ContextManager.java:684)
    <Error> <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBaseClient/close encounter some problems: Bean has been deleted.
    javax.ejb.NoSuchEJBException: Bean has been deleted.
    Thanks,
    Sahana

    hi Antara
    about "... Though I have imported the following JDK parsers in the code , the Oracle's SAX parser is taking other inside the application server ..."
    If you have used the SAXParserFactory.newSAXParser() method to get a parser, the documentation for this method says "Creates a new instance of a SAXParser using the currently configured factory parameters.".
    So you might get a different parser in a different environment.
    regards
    Jan Vervecken

  • F4M document contains errors - URL missing from Media tag

    I feel like I'm getting close to finally get a live stream to work correctly in 4.5
    I can see the streams being recorded in the following directories
         C:\FMSHOME\applications\livepkgr\streams\_definst_\liveevent1
         C:\FMSHOME\applications\livepkgr\streams\_definst_\liveevent2
         C:\FMSHOME\applications\livepkgr\streams\_definst_\liveevent3
    Each directory contains five files: bootstrap ,control, meta, f4f, and f4x.
    I have a single file called Event.xml in the directory: C:\FMSHOME\applications\livepkgr\events\_definst_\liveevent
    <Event><EventID>liveevent</EventID>
    <Recording>
    <FragmentDuration>4000</FragmentDuration>
    <SegmentDuration>16000</SegmentDuration>
    <DiskManagementDuration>3</DiskManagementDuration>
    </Recording>
    </Event>
    However the client player receives the exception F4M document contains errors - URL missing from Media tag.
    If this file is dynamically generated on the fly by the server what do I need to change to resolve this issue?
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##version=10,0,0,0"
                width="600"
                height="409">
                <param name="movie" value="StrobeMediaPlayback.swf"></param>
                <param name="FlashVars" value="src=http://myserver/hds-live/livepkgr/_definst_/liveevent.f4m"></param>
                <param name="allowFullScreen" value="true"></param>
                <param name="allowscriptaccess" value="always"></param>
                <embed src="StrobeMediaPlayback.swf"
                       type="application/x-shockwave-flash"
                       allowscriptaccess="always"
                       allowfullscreen="true"
                       width="600"
                       height="409"
                       FlashVars="src=http://myserver/hds-live/livepkgr/_definst_/liveevent.f4m">
                </embed>
    </object>
    Thanks Again!
    Dave

    I will suggest you to go through this doc for complete implementation details. It is pretty comprehendable and would help you understand http live streaming better.
    http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a33 8-8000.html#WSd391de4d9c7bd609a95b3f112a373a7115-7ff6.
    As per your questions -
    1. "I try to access the stream using the local player at http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m" - This should be http://localhost/hds-live/livepkgr/_definst_/liveevent/liveevent.f4m.
         The name of the f4m is the name of the event you are referring to. In your case, the live event - liveevent is associated with all your three livestreams- namely livestream1, livestream2. livestream3.
    2. "Do I need to create BOTH a 'manifest.xml' and a 'event.xml'? And do both of these files need to be in the event directory like below?" - Yes. If you are using mbr you need both these files at the exact place you mnetioned.
    For simple single bitrate streams, mainfest.xml file is optional.
    3. "If I need to manually create a manifest.xml file would this file and directory be correct?" - Yes, you are right on track. Create the file Manifest.xml and place it inside events directory at the place you mentioned.
    4. "Do I need to use a absolute url in the streamid field in manifest.xml to resolve the error msg 'The F4M document contains errors URL missing from Media tag'?" - No. This is not needed. StreamId is not the content path, that is taken care of by the url path in the output manifest. You streamIds will be - livestream1, livestream2, livestream3.
    After all this, I would suggest you to check one more thing. If you are publishing the way you mentioned above, there would be '.stream' files (For eg - 'MTYxMjAzMzAzMg=.stream' ) created in your events folder - "C:\FMSHOME\applications\livepkgr\events\_definst_\liveevent\". You should check that there are 3 and only three files formed. It somehow happens that when you publish and republish again without deleting these files, FMS creates multiple copies and tries to map each one to the actual content written at - C:\FMSHOME\applications\livepkgr\streams\_definst_\livestream1\ etc.. So there should be three files and each one should point to one of the streams directory. If there are more, please delete these files, delete your hds streaming content (if possible) and republish again the same way.
    This should solve your problem. If still you are facing some issues, do let us know.
    Thanks,
    Apoorva.

  • FRM-40509: ORACLE error : Unable to update the record.

    Hi,
    I am having the following code in delete button.
    declare
         v_button  NUMBER;
    begin
      IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
                   v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
                   IF ( v_button = alert_button1 )
                        THEN
                          message('before insert');
                          insert into chng_cntrl_job_dtls_log
                          select * from chng_cntrl_job_dtls
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before delete');
                          delete from CHNG_CNTRL_JOB_DTLS
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before commit');
                          silent_commit;
                          go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
                          P_DELETE_SET_PROPERTY;
                          clear_form;
                   ELSIF ( v_button = alert_button2 )
                        THEN
                          null;
                END IF;
         ELSE
                p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
      END IF;
         exception
              when others then
              message ('Exception in delete version button');
              end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
    i am getting message till before commit.
    i am not able to check the error message in help as it is diabled in our form builder.
    I have checked the privileges also. they are fine.
    Please advice.
    Edited by: Sudhir on Dec 7, 2010 12:26 PM

    This error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
    I see in the OP that this key is disabled. Change the on-error code then:
    begin
       message(dbms_error_code||'-'||dbms_error_text);
       raise form_trigger_failure;     
    end;     Edited by: InoL on Dec 7, 2010 8:50 AM

Maybe you are looking for