Skip to Content
author's profile photo Former Member
Former Member

How to initialize UME functionality

Hi,

Hi, I am trying to use [TicketVerifier|http://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/ticket/TicketVerifier.html] from a standalone JAVA Application.

This entails initializing UME functionality in a standalone scenario.

My Environment :

SAP Netweaver Portal 7.0 SP 18

RHEL 5.0

UME DataSource : IBM TDS 6.1

While, initializing it, I am getting the following exception:

An error occurred while initializing UME for standalone scenario.
java.lang.reflect.InvocationTargetException
Caused by: com.sap.security.core.persistence.datasource.PersistenceException: null
        ume.db.connection_pool_type=SAP/BC_UME
        ume.db.connection_pool.j2ee.xatransactions_used=false
        ume.db.connection_pool.j2ee.is_unicode=false
        ume.db.connection_pool.j2ee.oracle_native_driver_used=false: (No text available)
        at com.sap.security.core.persistence.datasource.imp.DataBasePersistence.init(DataBasePersistence.java:887)
        at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:445)
        at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
        at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
        at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
        at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
        at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:439)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at com.sap.security.api.UMFactory.initialize(UMFactory.java:472)
        at SSO.main(SSO.java:183)
-------- caused by --------
java.lang.reflect.InvocationTargetException
Caused by: java.lang.UnsupportedOperationException: SQL datasource lookup is not supported by DefaultPlatformTools.
        at com.sap.security.core.util.standalone.DefaultPlatformTools.getDBConnectionPool(DefaultPlatformTools.java:77)
        at com.sap.security.core.persistence.datasource.imp.J2EEConnectionPool.lookupDBPool(J2EEConnectionPool.java:87)
        at com.sap.security.core.persistence.datasource.imp.J2EEConnectionPool.<init>(J2EEConnectionPool.java:76)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:44)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:315)
        at com.sap.security.core.persistence.datasource.imp.DataBasePersistence.init(DataBasePersistence.java:875)
        at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:445)
        at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
        at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
        at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
        at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
        at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:439)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at com.sap.security.api.UMFactory.initialize(UMFactory.java:472)
        at SSO.main(SSO.java:183)
Exception in thread "main" com.sap.security.api.UMRuntimeException: An error occurred while initializing UME for standalone scenario.
        at com.sap.security.api.UMFactory.initialize(UMFactory.java:483)
        at SSO.main(SSO.java:183)

How do I go about resolving it.

Rgds,

Santosh Malavade

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2011 at 09:27 PM

    Hi

    is this UME is SAP Netweaver UME or IBM UME?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.