Error in Blackberry application using Sybase Unwired Platform

Hi Experts,
I am developing a mobile application, in which I need to give authorization to all SAP users. For this I had created an RFC enabled Function Module in SAP R/3, which checks the input username and password. If the username and password satisfies the condition the output internal table may get filled, otherwise the output internal table will get refreshed.
Suppose for the first time when I am giving wrong username and password int he front application, Internal table will be empty. This is correct as per the logic. During the second time when I enter correct username and password, It will fetch all the needed values this is also correct. But during the third time when I enter correct username and wrong password and debug there is no value in the internal, but in the mobile front end it is showing the data.
Can anybody help me to solve this issue?
Thanks and regards,
Rinzy Deena Mathews.

Hi,
The problem in your case is, whenever you request data from your ERP backend this data is cached in SUP CDB tables. For eg. if you try to give a different userid and password for the fourth time, then you will see the data of both the first and the second user.
This is not a problem but a feature provided in SUP to cache data. This improves performance when you have huge number of devices. Your issue can be resolved by configuring the cache groups.
Try to look at the documentation : http://infocenter.sybase.com/help/topic/com.sybase.infocenter.scc.sup.1.5.2.configure.doc/doc/html/aba1251475340824.html
Regards,
Siva.

Similar Messages

  • Sybase Unwired Platform - Error in creating a Blackberry Application

    Hi Experts,
    I am working in the development of Blackberry application using Sybase Unwired Platform and SAP as the backend data source. As a part of this I had created a Remote enabled function module in SAP which returns an internal table as the output. In the Sybase Unwired Workspace I  had created an MBO with this function module and created the User Interface using Device Application Designer. When I test this application in the simulator BlackBerry Storm2 9550, It is showing an error which says
    Encountered error while synchronizing package <package_name> and synchronization group "default", see logs for details : com.Sybase.persistence.SynchronizeException: com.Sybase.persistence.ProtocolException: deivce's protocol version is incompatible with the server's protocol version. (1>0)
    I am using Sybase Unwired Platform 1.5.5 for this development and BlackBerry Storm2 9550 as simulator.
    Can anybody help me to solve this issue?
    Thanks and regards,
    Rinzy Deena Mathews.

    Hi pradeep,
          Application is connected with SUP because i tried a simple application using sampleDB.
            But when i used to connect SAP to Application, that error generated.
            I created SAP Connection successfully but its still show that "Could not initialize class com.sap.mw.jco.JCO in Sybase Control Center's Domain's log page.
            I am not able to understand why that error generate because i connected successfully with SAP in Sybase Workspace.
            I think that is the problem of 64 & 32 bit files problem.
    I used windows 7 64 bit.
    Please reply me.
    Thanks & Regards,
    Tapan

  • Sybase Unwired Platform - User Interface Validations

    Hi,
    Does the Sybase Unwired Platform have a mechanism that enables the developer to integrate User Interface Validations?
    Apple provides a standard way to validate user interfact items: http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/UIValidation/UIValidation.pdf
    Is there an inherent mechanism that is a part of the Sybase Unwired platform that triggers client-side validations to prevent unncessary round-trips for simple validations that can be processed by the client itself?
    Regards,
    Namrata

    Hi,
    For simple validations there is an in-built option in SUP. We can assign rule validations to edit box, this is well explained in [Sybase Infocenter|http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01284.0152/doc/html/vhu1232730866978.html]. Or else we can also do some custom coding and achieve user interface validations. This is also well explained in the [tutorial for blackerry application development using Device Application Designer|http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01210.0152/doc/html/vhu1272906484682.html].
    Regards,
    Rahul Muraleedharan.

  • How to write sync service in sybase unwired platform

    Hi
    How to write sync service in sybase unwired platform?
    Thanks in advance....

    Hi!
    A RESTful web service (also called a RESTful web API) is a simple web service implemented using HTTP and the principles of REST. It is a collection of resources, with three defined aspects:
    - the base URI for the web service, such as http://example.com/resources/
    - the Internet media type of the data supported by the web service. This is often JSON, XML or YAML but can be any other valid Internet media type.
    - the set of operations supported by the web service using HTTP methods (e.g., POST, GET, PUT or DELETE).
    On Sybase Unwired WorkSpace you can select, in Enterprise Explorer, REST Web Services connection defining a resource base URL and URI template, and then using this as MBO defining HTTP method and parameters.
    Try this:
    http://en.wikipedia.org/wiki/Representational_State_Transfer
    and this:
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre1261416769728.html
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre1261424660910.html

  • Is 'Sybase Unwired Platform' supports Android?

    Hi Experts:
    I am learning android develop , the SUP support blackberry and iphone , i want to konw if the 'Sybase unwired platform' support android , if support can you tell me some books and i can learn it.
    Thank you very much.
    Satish.

    hi
    Currently sybase supports Windows mobile ,iPhone ,blackberry Platforms  but soon it will support android also
    as android is growing very fast SYBASE will soon launch platform for android also.
    sybase site has all the relevant information on this though currently not for android but
    there is lot to learn in sybase you can go through this link
    Hope it may help you
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.pubs.docset-SUP-1.5.5/doc/html/title.html
    regards
    suresh joshi

  • New to Sybase Unwired Platform

    Hi Friends,
    I am new to Sybase Unwired Platform. Can  suggest anybody, How to start SUP, how to learn SUP  and send any links, sample demos, Configuration of SUP etc...
    Thanks in Advance
    Regards
    Sathya

    Hi Sathya,
                    I think a good place to start would be here.
                   You can use this doc to get to know the basics. This is a little old but i would suggest this to any newcomer.
                   If you are using iOS then here would be a good place to start.
    Best Regards,
    Sujith

  • Error while deploying application using enterprise manager website and dcmctl

    Hi,
    I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
    The deployment fails with the following error.
    Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
    We are able to deploy the same ear file using stand-alone container. We are planning for deployment in few days to go it live. Pls suggest what could be the problem.
    Hardware Used:-
    DellServer Intel P3 dual processor 1.2GHz
    1GB RAM
    2GB virtual memory,
    40GB free hard-drive.
    Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
    No other software is installed on the system
    Software:-
    Windows 2000 Server sp2
    Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
    Oracle 8i Database 8.1.6.0.0
    Size of application:-
    130 EJBs (107 CMP + remaining Session Beans)
    1700 JSPs
    3 servlets
    Packaged properly into jar,war,ear structure.
    the size of ear file is about 13MB.
    I tried using dcmctl but still got the following error.
    Oracle 8i database is running but noone is using it except that this application uses it.
    Pls help
    D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
    a myapp
    ADMN-300075
    D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:null; nested exception is:
    java.lang.OutOfMemoryError
    Nested exception
    Root Cause: null; nested exception is:
    java.lang.OutOfMemoryError
    java.rmi.RemoteException: null; nested exception is:
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Are there any mandatory patches to be applied after installing 9ias Rel2?
    Thanks
    Srinath

    Try to fragment the 'ear' in less than 64k blocks or don't transmit as long raw.
    Please let me know if this works.

  • Error while executing application using Oracle Business Process Workspace

    Hi all,
    I created a simple application to find the length of the message entered and then re direct it to other task depending on the size. but while i try to run the application using Oracle Business Process Workspace, a new popup window is opened and my pre-described fields are shown, i fill the fields with values and when i try to submit/claim the task, it is giving me the following error :
    Error Code: 502 Proxy Error. The request was rejected by the HTTP filter. Contact your ISA Server administrator. (12217)I contacted my server administrator as well for the same, but he didn't find any server side error.
    Kindly help me solve this issue asap as i have my seniors waiting for this.
    Thanks and Regards,
    Debarati

    Try to fragment the 'ear' in less than 64k blocks or don't transmit as long raw.
    Please let me know if this works.

  • Hide an error from the application using a servererror trigger?

    We have an application designed for an old oracle version which issues some sql which is no more supported in todays database version.
    We want to use the application unchanged with a new database server.
    Old Server Version: 7.3.4 (still in production...)
    New Server Version: 10.2 or 11.2
    The application issues an
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS ;
    which results in ORA-01986 and the application dies.
    We would like to hide the error 01986 from the application using a trigger:
    create or replace
    trigger catch01986
      after servererror
      on schema
      begin
        if (ora_is_servererror (1986)) then
          null; -- what to do here? we want clear the ora-01986 from the error stack
        end if;
      end catch01986;How to handle the error, so that the alter session set ... statement is just ignored and no error code is returned to the application?
    I asked already some days ago in Database-General Forum, but triggers belong to PL/SQL, so i repost here.
    Tnx for help in advance!

    Hi,
    hoek wrote:
    A totally weird and untested (and unable to test today) thought:
    http://technology.amis.nl/blog/447/how-to-drive-your-colleagues-nuts-dbms_advanced_rewrite-oracle-10g
    Very interesting for real dirty solution.
    Does not work for my problem, DBMS_ADVANCED_REWRITE works only for select statements.
    BEGIN
       SYS.DBMS_ADVANCED_REWRITE.DECLARE_REWRITE_EQUIVALENCE (
       'alter_session_equivalence',
       'ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS',
       'ALTER SESSION SET OPTIMIZER_MODE = RULE',
       FALSE);
    END;
    ORA-30389: the source statement is not compatible with the destination statement
    ORA-00903: invalid table name
    ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 29
    ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 185
    ORA-06512: at line 2
    30389. 00000 -  "the source statement is not compatible with the destination statement"
    *Cause:    The SELECT clause of the source statement is not compatible with
               the SELECT clause of the destination statement
    *Action:   Verify both SELECT clauses are compatible with each other such as
               numbers of SELECT list items are the same and the datatype for
               each SELECT list item is compatible
    hoek wrote:You already had some trigger code, catching the error and sending it to null, why didn't that work?The trigger is fired when the error occurs, but after completion of the trigger, the error code is still delivered to the client.
    I dont know how to handle the error within the trigger.
    Does the client read the error stack and does it die after reading an error from the stack?The client just checks the error code. On error it terminates.
    With the SERVERERROR TRIGGER i did the following tests:
    Test 1: trigger does nothing
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
          NULL;
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-01986: OPTIMIZER_GOAL is obsolete
    01986. 00000 -  "OPTIMIZER_GOAL is obsolete"
    *Cause:    An obsolete parameter, OPTIMIZER_GOAL, was referenced.
    *Action:   Use the OPTIMIZER_MODE parameter.
    -- Client Application reports errorcode 1986Test 2: Trigger raises NO_DATA_FOUND
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
          RAISE NO_DATA_FOUND;
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-04088: error during execution of trigger 'AH.CATCH01986'
    ORA-01403: no data found
    ORA-06512: at line 9
    ORA-01986: OPTIMIZER_GOAL is obsolete
    04088. 00000 -  "error during execution of trigger '%s.%s'"
    *Cause:    A runtime error occurred during execution of a trigger.
    *Action:   Check the triggers which were involved in the operation.
    -- Client Application reports errorcode 4088Test 3: Trigger raising an APPLICATION ERROR
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
            DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20999: this makes no sense
    ORA-06512: at line 10
    ORA-01986: OPTIMIZER_GOAL is obsolete
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.
    -- Client Application reports errorcode 604Test 4: Adding an EXCEPTION part to the trigger does not help, this will catch only exceptions raised while the trigger executes:
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
            DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
        END IF;
      EXCEPTION
        WHEN OTHERS THEN
          NULL;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-01986: OPTIMIZER_GOAL is obsolete
    01986. 00000 -  "OPTIMIZER_GOAL is obsolete"
    *Cause:    An obsolete parameter, OPTIMIZER_GOAL, was referenced.
    *Action:   Use the OPTIMIZER_MODE parameter.
    -- Client Application reports errorcode 1986So i do not know what to do inside the trigger to clean the error stack so that the client will receive no errorcode.

  • Error -2147352573 executing application using LV2012 and RGT 1.1.3

    Hi,
    I am currently trying to deploy an application using the LabVIEW Report Generation Toolkit (Version: 1.1.3) and I am facing a compatibility problem with Excel 2007 & 2010. I am aware that some internal ActiveX components have slightly changed between the two versions of Excel but I have a specific error on a particular VI. Here is the error message :
    "Error -2147352573 occurred at Membre introuvable dans NI_Excel.lvclass : Excel Set Cell Color and Border.vi."
    I have tried everything to solve this problem using all the posts in the Web that I could find but I still don’t have the answer.
    My developer computer configuration : LV2012, RGT 1.1.3, Office 2010.
    The target computer configuration : LV2012, RGT 1.1.3, Office 2007.
    I have development licences on both computers so I built my application on both system. The build made on the target computer (office 2007) works fine on my computer (office 2010 : retrocompatibility ok). The build made on my computer does not work on the target computer as I explained in the beginning of my question.
    By the way, I did not manage to find the user manual of the LabVIEW RGT 1.1.3 on the NI website.
    Thanks !

    When I try Deploying A WebCenter PS3 Portal Application using JDev 11.1.1.1.4 Integarted WebLogic Server I get the following error :
    [02:21:12 PM] Deploying Application...
    <29/03/2011 2:21:12 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1301368872572' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    I need some help to triage the issue and resolve the cause. any help in this context appreciated .
    Redg

  • Error deploying web application using JDev 11.1.1.1.4

    I am using JDev 11.1.1.14 and WebLogic 10.3.2
    Whne I try to run a application html page from Jdev I get the foll error :
    weblogic.application.ModuleException: Failed to load webapp: 'avitrust'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: /u01/JDevApps/system11.1.1.4.37.59.23/DefaultDomain/servers/DefaultServer/tmp/_WL_user/jersey-web-lib/7srmrf/WEB-INF/web.xml (Too many open files)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getInputStream(AbstractDescriptorLoader2.java:367)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:751)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
    Any clue on why this error is getting generated and how this can be resolved ?

    When I try Deploying A WebCenter PS3 Portal Application using JDev 11.1.1.1.4 Integarted WebLogic Server I get the following error :
    [02:21:12 PM] Deploying Application...
    <29/03/2011 2:21:12 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1301368872572' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    I need some help to triage the issue and resolve the cause. any help in this context appreciated .
    Redg

  • Sybase Unwired Platform for Blackberry

    Hi All,
    I could able to run RBS and MBS using SUP 2.0 on Simulator. When I try to do that in a device, I get communication error in SUP client log. Having said that,
    1) Does any one tried connecting SUP (2.0 or 1.5) to a Device. If yes, did you use BES or BIS?
    2) Can this communication happen only with BIS?
    As a side note, Emulator/Simulator is using a MDS simulator to connect SUP. Is BIS capable of providing needed services for SUP?
    Regards,
    Sreeram MC

    Hi Sreeram,
    I have tried it in the device using BES and as well as without BES also. But wehave configure our server in the relayserver.
    Please check the following link,
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01205.0155/doc/html/ldi1236111118480.html
    Regards,
    Ram

  • Sybase Unwired Platform 1.5.2 - gives JCO errors

    Hi,
    Please make sure the dll and jar files extracted from the zip fles have been copied to the right locations.
    Note : you should also update your version to 1.5.3 or 1.5.5 here -> http://downloads.sybase.com/swd/summary.do
    Regards,
    Pierre

    Hi Pierre,
    Thanks for your answer.
    I've placed the jar and dll files on the places described in your blog:
    So in librfc32.dll and sapjcorfc.dll into:
    1) C:\windows\system32
    2) sup install root\Servers\UnwiredServer\lib
    3) sup install root\JDK1.6.0_16\bin (here we have 2 JDK1.6.0_16 folders (one normal and one 64 bit) so i placed the files in  the both folders
    and sapjco.jar into :
    1)   SUP Installationroot\Unwired_workspace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sap.mw.jco_1.5.version\lib
    2) SUP Installationroot\Servers\UnwiredServer\lib\3rdparty
    Can this be a problem with the jco in 32- or 64-bit? Or is this SUP version 1.5.2 specific? in the installation documents they also refer to jco 1.2.8 but this one isn't supported by SAP anymore...
    Thanks in advance.
    Robin
    Edited by: Robin Panneels on Jan 26, 2011 11:41 AM

  • Getting class not found error running java application using OIM libraries

    Hi,
    I have created a java application in which I access OIM libraries to fetch user list and then assign user roles. As i run the application it generates exception and program crashes. However, I am using the same libraries in OIM adapters and it is working fine. Following is the exception message i am getting.
    Caused by: java.lang.NoClassDefFoundError: org/springframework/jndi/JndiTemplate
    at oracle.iam.platform.OIMClient.<init>(OIMClient.java:83)
    at RoleAssignment.RoleAssignment.getUserAndChangePassword(RoleAssignment.java:143)
    at RoleAssignment.RoleAssignment.execute(RoleAssignment.java:81)
    at RoleAssignment.RoleAssignment.main(RoleAssignment.java:36)
    ... 5 more
    Caused by: java.lang.ClassNotFoundException: org.springframework.jndi.JndiTemplate
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

    Hi,
    I resolved the problem by making spring.jar part of my executable jar file. I have added oimclient.jar, spring.jar, wlfullclient.jar, commons-logging.jar, and eclipselink.jar part of my executable jar. Now I am getting the error below. I googled it and it mentioned that i should add path of authwl.conf in my run configuration in eclipse. So i added the following line in " -Djava.security.auth.login.config=/u01/oracle/Middleware/Oracle_IDM1/server/CustomExec/authwl.conf " under the VM Arguments section of run configuration, but it continues to give the same error.
    java.lang.SecurityException: Unable to locate a login configuration
         at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:93)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at javax.security.auth.login.Configuration$3.run(Configuration.java:247)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:242)
         at javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.init(LoginContext.java:234)
         at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
         at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:58)
         at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
         at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
         at com.infotech.tra.organization.RoleAssignment.getUserAndChangePassword(RoleAssignment.java:213)
         at com.infotech.tra.organization.RoleAssignment.execute(RoleAssignment.java:149)
         at com.infotech.tra.organization.RoleAssignment.main(RoleAssignment.java:49)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
    Caused by: java.io.IOException: Unable to locate a login configuration
         at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:250)
         at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:91)
         ... 24 more

  • 11.1.1.4 - MDS-00068 Error for the Application using user customization

    Hi All,
    I would like to check on this forum before I submit a SR. We have upgraded our ADF APP from 11.1.1.3 to 11.1.1.4. Many bugs are fixed, however while deploying the application we get following warning on integrated WLS Logs and application deployed successfully. The same app is working ok in 11.1.1.3. Also, if I deploy this application on Standalone WLS server and try to go to Enterprise Manager MDS configuration page for this Application it gives me a message - "MDS configuration information is not found. This application does not use MDS repository or MDS repository may not have been configured properly".
    Any help would be appreciable.
    - Chetan
    <ADFConfigLifeCycleCallBack> <contextInitialized> Failed to create config mbean.
    oracle.mds.exception.MDSRuntimeException: MDS-00068: Unable to find a type definition for: namespace = http://xmlns.oracle.com/adf/config, local name = caching-rules, file location = /META-INF/adf-config.xml
         at oracle.mds.core.MOTxnState.getMElemBean(MOTxnState.java:207)
         at oracle.mds.core.UpdateableMOContent.getMElemBean(UpdateableMOContent.java:611)
         at oracle.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:2039)
         at oracle.mds.core.BeanMetadataObject.getBean(BeanMetadataObject.java:89)
         at oracle.adf.share.jndi.MDSBackingStore.getMOBean(MDSBackingStore.java:570)
         at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.init(RuntimeMXBeanImpl.java:169)
         at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:159)
         at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:151)
         at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:127)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.mds.exception.MDSRuntimeException: MDS-00068: Unable to find a type definition for: namespace = http://xmlns.oracle.com/adf/config, local name = caching-rules, file location = /META-INF/adf-config.xml
         at oracle.mds.internal.model.parse.MDSNodeParser.findMMElement(MDSNodeParser.java:322)
         at oracle.mds.internal.model.parse.MDSNodeParser.createModelNode(MDSNodeParser.java:603)
         at oracle.mds.internal.model.parse.MDSNodeParser.startElement(MDSNodeParser.java:240)
         at oracle.mds.internal.parsefwk.TreeBuilder$Handler.startElement(TreeBuilder.java:298)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1329)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
         at oracle.mds.internal.parsefwk.TreeBuilder.parse(TreeBuilder.java:143)
         at oracle.mds.internal.parsefwk.TreeBuilder.parse(TreeBuilder.java:105)
         at oracle.mds.internal.model.parse.SAXParserUtils.parse(SAXParserUtils.java:479)
         at oracle.mds.internal.model.parse.SAXParserUtils.parse(SAXParserUtils.java:419)
         at oracle.mds.internal.model.parse.SAXParserUtils.parseBaseDocument(SAXParserUtils.java:114)
         at oracle.mds.internal.model.BaseDocBuilder.executeInternal(BaseDocBuilder.java:336)
         at oracle.mds.internal.model.BaseDocBuilder.execute(BaseDocBuilder.java:172)
         at oracle.mds.internal.model.ContentModelPipeline.processPipeline(ContentModelPipeline.java:265)
         at oracle.mds.core.MOContent.fetchContent(MOContent.java:510)
         at oracle.mds.core.CachedMOContent.fetchContent(CachedMOContent.java:253)
         at oracle.mds.core.MOContent.getMElemBean(MOContent.java:688)
         at oracle.mds.core.UpdateableChainedMOContent.getPriorModelDocument(UpdateableChainedMOContent.java:322)
         at oracle.mds.core.UpdateableChainedMOContent.fetchContent(UpdateableChainedMOContent.java:266)
         at oracle.mds.core.MOContent.getMElemBean(MOContent.java:688)
         at oracle.mds.core.MOSharedState.getMElemBean(MOSharedState.java:124)
         at oracle.mds.core.MOTxnState.getMDocumentInternal(MOTxnState.java:384)
         at oracle.mds.core.MOTxnState.getMElemBean(MOTxnState.java:200)
         ... 45 more

    Hi Frank,
    I was able to solve the issue after isolating it to ADF faces caching filter. We are using ADF faces caching filter for our application and we have defined <caching-rules> tag in adf-config.xml file. I found that <caching-rules> was part of the schema definition of namespace "http://xmlns.oracle.com/adf/config" till 11.1.1.3 and now in 11.1.1.4 it is not anymore and that's why just specifying <caching-rules> tag was working in 11.1.1.3.
    To solve the error I changed caching-rules to read from http://xmlns.oracle.com/adf/faces/rich/acf namespace. Now my caching rule tag in adf-config.xml looks like given below.
    <caching-rules xmlns="http://xmlns.oracle.com/adf/faces/rich/acf">
    <caching-rule id="cache-js">
    <cache>true</cache>
    <compress>true</compress>
    <duration>99999</duration>
    <agent-caching>true</agent-caching>
    <cache-key-pattern>*.js</cache-key-pattern>
    </caching-rule>
    <caching-rule id="cache-png">
    <cache>true</cache>
    <compress>true</compress>
    <duration>99999</duration>
    <agent-caching>true</agent-caching>
    <cache-key-pattern>*.png</cache-key-pattern>
    </caching-rule>
    <caching-rule id="cache-css">
    <cache>true</cache>
    <compress>true</compress>
    <duration>99999</duration>
    <agent-caching>true</agent-caching>
    <cache-key-pattern>*.css</cache-key-pattern>
    </caching-rule>
    </caching-rules>
    - Chetan

Maybe you are looking for

  • Check amount vrs liability amount

    Hi, I need that the person who make the checks respect the liability amount so this person can`t change it in the check. ex. if the liability amount is US$10,000.00 the person that makes the check enter US$10,000.00 in the check. Right now this perso

  • Can renaming multiple times degrade a photo?

    Is there any chance that I might lose photo quality by renaming photos several different times (JPGs, NEFs or TIFFs) or by adding more keywords (using Bridge or any other browser) with either individual or batch renaming - without making any edits or

  • In messages send button stopped working

    send button has stopped working

  • Select Set of Book in Incentive Compensation Responsibility

    Hi there, I'm new to setting set of books, and I'd appreciate if you could give me some help on selecting it out of General Ledger. I'm using Oracle EBS R12. I've setup a new ledger with a new operating unit. I want to use it in another responsibilit

  • Help! Say the same thing app won't load anymore!

    Hi, I've really been enjoying the "Say the same thing" game app for ipod touch, but it started crashing and not loading to the point where now it doesn't load at all. Any help??