Fail to import metadata

Hi,
I am trying to import metadata from existing module, I have the DB link and I had imported several tables few months ago. Now after several months I try to import more tables, I click on the module and click import I get the import metadata wizard, I deselect everything except tables and on the object selection window I try to expand tables I get foll error message:
API2206: Connection to source failed.
ORA-02019: connection description for remote database not found.
I logged on to the database where the DB link is located and I tested the link by querying the tables and it works fine there but not in OWB.
Can anyone please advice me on this.
Thanks

Hello
I think the connection ie, DB link is not specified for the same.
You can check it by going to Properties of Source Module.
ie, right click on the source module>>Properties >> Connection
Specify the connection (DB link) and check whether the location is registered.
I think this should solve your problem
-Nikita.

Similar Messages

  • The connection has failed while importing metadata in RPD

    Hi All,
    Recently I start creating a repository (OBIEE 11g client version 11.1.1.3.0) in offline mode and I want to import metadata which failed by the error ‘The connection has failed’..
    Kind Regards,
    Mohan

    Hi Mohan,
    Solution:
    1.Copy the tnsnames.ora from Oracle Database home (ORACLE_HOME\NETWORK\ADMIN\) to the following locations.
    * \OracleBI1\network\admin (Example: C:\OBI\Oracle_BI1\network\admin)
    * \oracle_common\network\admin (Example: C:\OBI\oracle_common\network\admin)
    2.Set the TNS_ADMIN environment variable value with one of the copied locations in the step 1 in user.cmd or http://user.sh file depending on your OS.
    This file will be found under
    \instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup
    (Example : C:\OBI\instances\instance2\bifoundation\OracleBIApplication\coreapplication\setup)
    Thanks,
    -Amith.

  • Connection Failed While Importing Metadata

    Hi All,
    I have installed 11.1.1.6.2 Client on my machine and while i am trying to import metadata it throws an error saying "Connection Failed". Can some one help me how to resolve this ?
    Regards,
    Vishal BVR

    I did google it but all the responses were related to the Server versions but not client, none of them answered my question. And coming to your suggestion do you mean that we need to provide full TNS entry i.e.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.us.deloitte.com)
    or do you want me to mention just ORCL in the DSN name during the import metadata step from the RPD.

  • Import Metadata - connection failed

    Hi All,
    When I try to do "import metadata" by right clicking on my database I get connection failed error. In this the datasource name and user name are defined repository variables. Whereas, if I do "import metadata" from under the file menu and give datasource name and user name values I dont have any problems. So it almost seems like the problem is with repository variables but I dont have any problems in doing view data or this rpd is uploaded I dont have any other problems with it. Why doesn't it find the values for variables when I do import metadata?

    Yes. just in case try hostname:port/serviceName
    if not copy tns file into 11g both locations to just go by tns entry name
    \OracleBI1\network\admin (Example: C:\OBI\Oracle_BI1\network\admin)
    \oracle_common\network\admin (Example: C:\OBI\oracle_common\network\admin

  • On Import Metadata in Admin Tool get "Connection has failed" error

    Hello,
    I am attempting to import Metadata in Oracle BI Administration Tool v.11.1.1.5 and i get " "Connection has failed" error.
    What is the solution? Thank you in advance, Sonya

    Hi ,
    My server is on Linux 64bit and client is on windows xp
    i m facing the same error as connection has failed.
    below steps are done:
    1.Copy the tnsnames.ora from Oracle Database home (ORACLE_HOME\NETWORK\ADMIN\) to the following locations.
    \OracleBI1\network\admin (Example: C:\OBI\Oracle_BI1\network\admin)
    \oracle_common\network\admin (Example: C:\OBI\oracle_common\network\admin)
    2.Set the TNS_ADMIN environment variable value with one of the copied locations in the step 1 in user.cmd or user.sh file depending on your OS. This file will be found under \instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup (Example : C:\OBI\instances\instance2\bifoundation\OracleBIApplication\coreapplication\setup)
    Can u just me furthere steps for linux server.
    Thanks

  • Getting error while importing metadata using View Objects

    Hi All,
    I am trying to create a repository using View Object in OBIEE 11.1.5.1 but getting error while viewing the data, after importing the metadata in the repository "[nQSError: 77031] Error occurs while calling remote service ADFService11G. Details: Runtime error for service -- ADFService11G - oracle/apps/fnd/applcore/common/ApplSession".
    I am also getting error "žADFException-2015: The BI Server is incompatible with the BI-ADF Broker Servlet: BI Server protocol version = null, BI-ADF Broker Servlet protocol version = 1" during testing my sample which is deployed to Admin server. I followed BI Adminstrator help file guide in order to create the sample for creating repository using view object.
    Admin server log says
    [2011-09-27T02:59:03.646-05:00] [AdminServer] [NOTIFICATION] [] [oracle.bi.integration.adf] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: b260b57746aa92d3:-1f9ca26:1328fcfd3e6:-8000-0000000000006744,0] [APP: BIEEOrders] [[
    QUERY:
    <?xml version="1.0" encoding="UTF-8" ?><ADFQuery><Parameters></Parameters><Projection><Attribute><Name><![CDATA[Deptno]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute><Attribute><Name><![CDATA[Dname]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute><Attribute><Name><![CDATA[Loc]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute></Projection><JoinSpec><ViewObject><Name><![CDATA[AppModule.DeptViewObj1]]></Name></ViewObject></JoinSpec></ADFQuery>
    [2011-09-27T02:59:04.199-05:00] [AdminServer] [ERROR] [] [oracle.bi.integration.adf.v11g.obieebroker] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: b260b57746aa92d3:-1f9ca26:1328fcfd3e6:-8000-0000000000006744,0] [APP: BIEEOrders] java.lang.NoClassDefFoundError: oracle/apps/fnd/applcore/common/ApplSession[[
         at oracle.bi.integration.adf.ADFDataQuery.makeQueryBuilder(ADFDataQuery.java:81)
         at oracle.bi.integration.adf.ADFDataQuery.<init>(ADFDataQuery.java:70)
         at oracle.bi.integration.adf.ADFReadQuery.<init>(ADFReadQuery.java:15)
         at oracle.bi.integration.adf.ADFService.makeADFQuery(ADFService.java:227)
         at oracle.bi.integration.adf.ADFService.execute(ADFService.java:136)
         at oracle.bi.integration.adf.v11g.obieebroker.ADFServiceExecutor.execute(ADFServiceExecutor.java:185)
         at oracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker.doGet(OBIEEBroker.java:89)
         at oracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker.doPost(OBIEEBroker.java:106)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassNotFoundException: oracle.apps.fnd.applcore.common.ApplSession
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         ... 38 more
    Please suggest how to make it work.

    Hi,
    Thanks for providing the online help URL, i have already completed the steps mentioned in URL
    I am able to import metadata using view object but getting above error("[nQSError: 77031] Error occurs while calling remote service ADFService11G. Details: Runtime error for service -- ADFService11G - oracle/apps/fnd/applcore/common/ApplSession".") while validating the data.
    It fails at step 5 of "To import metadata from an ADF Business Component data source:" section of above URL.

  • Error in Importing Metadata in OBIEE 11G

    Hi
    1)I recently install obiee 11G, I get an error of ompnctl failed during installation.Does it affect my setup later.
    2) I start creating RPD in 11G , I first created an System DSN and check the database connection it result in sucess.
    Then i start creating RPD in offline mode when i click on import meatdata after that Import meatadata- select datasource screen i choose ODBC 3.5 and choose the
    same DSN which i check previously and give the same user id and password it is giving me error The connection has failed.I also tried using OCI 10g/11g and in data source name i give the full connection string and giv the user id and password but still the problem remain same.
    Can anyone please help me in debugging the issue.
    The Database is in the same machine in which i installed OBIEE 11G
    Thanks
    Bhavesh Khandelwal
    Edited by: 812531 on Nov 17, 2010 5:30 AM
    Edited by: 812531 on Nov 17, 2010 5:36 AM

    Hi everyone,
    A few days ago I installed the Administration and Clients OBIEE11g tools on my machine. To do so follow these steps:
    - Install Weblogic Server 10.3.3
    - Install OBIEE 11g using 'Software Only'.
    I selected this installation because BI Server is installed on a Linux server.
    In the machine on which I installed previously existed the following products:
    - Oracle Client 10.2
    - Oracle ODBC Driver 10.2.0.2
    When trying to import Metadata into the repository, using Administrative tool in OBI 11g the import fails with both, ODBC and OCI drivers. Always the same error appears: “The connection has failed.”
    I created the tnsnames.ora file (which points to the database) in the path [Middleware Home] \ OracleBI1 \ network \ admin.
    I tried to import metadata for replacing the DSN connection string. For this I have followed this syntax: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = [ip_address]) (PORT = 1521))) (CONNECT_DATA = (SID = [db_name ]))). But it does not import metadata. Always the same error appears: 'The connection has failed. "
    Can anyone help?
    Thanks in advance.

  • Problems when trying to import metadata from SQL server using OWB

    Hi,
    We are using Oracle 11.2 EE on AIX and OWB: 11.2. We are in the process testing Oracle Transparent gateway for SQL Server and have installed and configured it on a standalone windows server. We and have run the ORACLE_HOME\dg4msql\admin\dg4msql_cvw.sql on SQL Server side, in order to query the SQL-Server data dictionary. We have created a DB-link and can pull data correctly without any problems. When trying to import metadata in OWB Client on win xp, we have created a non-oracle SQL Server Module and are able to connect and start the import, but the displayed table names look strange and can not be imported. In front of every letter there is a square box, so instead of ADDRESS (the address table in the source system) , it reads "squarebox"A"squarebox"D"squarebox"D"squarebox"R"squarebox"E"squarebox"S"squarebox"S and subsequently the import fails with :API0413: Illegal name [<tablename>] Name with preceding and trailing spaces is not allowed.
    The gateway have been configured with the following parameters:
    HS_FDS_CONNECT_INFO=<connect string>
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
    Any ideas ?
    This topic has been posted in the Heterogenious Forum as well, but as the problem is within OWB, I also post it here.
    Thanks in advance!
    Henrik
    Edited by: he**** on Nov 15, 2011 1:29 PM

    Henrik,
    I've found other problems where OWB adds a space between all characters returned from SQL*Server which is what is happening in your case, although it is being displayed as a square box.
    In one of these cases the problem was fixed by using the 11.2.0.2 OWB so would it be possible for you to try with that version ?
    Also, as the problem is not with the gateway itself as you can select successfully using a database link then it would be better to follow up in the OWB forum -
    Forum: Warehouse Builder
    Warehouse Builder
    as they will be able to help with the OWB side of the problem.
    Regards,
    Mike

  • How to import metadata from hyperion essbase11.1.2.2 remote server

    Hi all experts ,
    I am trying to create a rpd into obiee 11.1.1.6 from a VMWARE based hyperion essbase machine,
    I am able access its console via url on my remote machine but not able to connect with essbase server via admin tools essbase connection to import metadata of essbase.
    The os are different, OBIEE on 64 bit win 7 ultimate and hyperion essbase 11.1.2.2 on windows server 2003 64 bit enterprise, inside vm ware.
    Thanks in advance

    thanks for the reply, but MY os is win 7 awhere I am not able to install hyperion essbase 11.1.2.2 client.
    both the ARBORPATH and ESSBASEPATH are not available with this release, as they are coming with 9.3.1 and 11.1.3
    the link http://www.oracle.com/webfolder/technetwork/tutorials/obe/hyp/OBIEE11g-Essbase/index.htm
    is about with OBIEE 11.1.1.5 and Hyperion 11.1.2.1,
    MY versions are different as OBIEE 11.1.1.6 adn Hyperion 11.1.2.2 .
    so in this case if any user who want to access essbase 11.1.2.2 database on OBIEE 11.1.1.6 with WIN 7 or XP platform will not able to do this,
    I tried to run the install essbse client tool using hyperion 11.1.2.2 install tool cmd . but it fails with prerequisited,
    can you please suggest me any other with get connected or to install essbase client 11.1.2.2.
    Many thanks

  • Import metadata error.

    Hi, everyone.
    I have a task.
    I need to develop ADF Business Component using only WEB-services and integrate this app into BI Repository.
    So, I developed this app, and completed all steps here -> [http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e20836/adf.htm#CHDDAFAG] .
    Metadata was imported but when I try to view data this exception appears:
    "An error occurs while calling remote service ADFService11G"
    In details it can't query data from table, because table doesn't exist.
    In ADF BC: I've created a programmatic view object. Here it's listing:
    package sit.model;
    import java.sql.ResultSet;
    import java.util.ArrayList;
    import java.util.List;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.jbo.server.ViewRowImpl;
    import oracle.jbo.server.ViewRowSetImpl;
    import sit.tsds.TSServiceViewObjectImpl;
    import ts.service.stub.FilterBean;
    import ts.service.stub.TaskBean;
    public class v_baseTaskImpl extends TSServiceViewObjectImpl {
    * This is the default constructor (do not remove).
    public v_baseTaskImpl(){
    super();
    public v_baseTaskImpl(String newFilterName){
    this.filterName = newFilterName;
    private String filterName = "Все задачи";
    protected String rootTaskNumber = "1";
    protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams) {
    super.executeQueryForCollection(qc, params, noUserParams);
    * hasNextForCollection - overridden for custom java data source support.
    protected boolean hasNextForCollection(Object qc) {
    boolean bRet = super.hasNextForCollection(qc);
    return bRet;
    * createRowFromResultSet - overridden for custom java data source support.
    protected v_baseTaskRowImpl createRowFromResultSet(Object qc, ResultSet resultSet) {
    v_baseTaskRowImpl btr = (v_baseTaskRowImpl)super.createRowFromResultSet(qc, resultSet);
    Long a = 12321L;
    populateAttributeForRow(btr,0,"1");
    populateAttributeForRow(btr,1,"shortName");
    populateAttributeForRow(btr,2,"name");
    populateAttributeForRow(btr,3,a);
    populateAttributeForRow(btr,4,a);
    populateAttributeForRow(btr,5,a);
    populateAttributeForRow(btr,6,"Desc");
    populateAttributeForRow(btr,7,a);
    populateAttributeForRow(btr,8,a);
    populateAttributeForRow(btr,9,a);
    populateAttributeForRow(btr,10,"categ");
    populateAttributeForRow(btr,11,"stat");
    populateAttributeForRow(btr,12,"resol");
    populateAttributeForRow(btr,13,"prior");
    populateAttributeForRow(btr,14,"subm");
    populateAttributeForRow(btr,15,"handl");
    populateAttributeForRow(btr,16,"2");
    populateAttributeForRow(btr,17,"00001");
    return btr;
    * getQueryHitCount - overridden for custom java data source support.
    public long getQueryHitCount(ViewRowSetImpl viewRowSet) {
    long value = super.getQueryHitCount(viewRowSet);
    return value;
    here's code for TSServiceViewObjectImpl:
    package sit.tsds;
    import java.util.ArrayList;
    import java.util.List;
    import oracle.jbo.server.ViewDefImpl;
    import oracle.jbo.server.ViewObjectImpl;
    import sit.model.AppModuleImpl;
    import ts.service.filter.Filter;
    import ts.service.filter.FilterService;
    import ts.service.find.Find;
    import ts.service.find.FindService;
    import ts.service.message.Message;
    import ts.service.message.MessageService;
    import ts.service.stub.CategoryBean;
    import ts.service.stub.FilterBean;
    import ts.service.stub.MessageBean;
    import ts.service.stub.MstatusBean;
    import ts.service.stub.StatusBean;
    import ts.service.stub.TaskBean;
    import ts.service.stub.TaskSliderBean;
    import ts.service.stub.UserBean;
    import ts.service.task.Task;
    import ts.service.task.TaskService;
    import ts.service.user.User;
    import ts.service.user.UserService;
    public class TSServiceViewObjectImpl extends ViewObjectImpl {
    public TSServiceViewObjectImpl(String string, ViewDefImpl viewDefImpl) throws Exception {
    super(string, viewDefImpl);
    public TSServiceViewObjectImpl() {
    super();
    public List<TaskBean> getTaskListForFilter(String taskId, String filterId, boolean withUdf, List<String> order )
    throws Exception {
    String sessionID = getSessionID();
    System.out.println(String.format("getTaskListForFilter('%s', '%s')", sessionID, taskId));
    Task task = getTaskService();
    List<TaskBean> result = new ArrayList<TaskBean>();
    TaskSliderBean slider = task.getTaskListForFilter(sessionID, taskId, filterId, withUdf, 1, order);
    for(int i = 1; i <= slider.getPagesCount(); i++) {
    slider = task.getTaskListForFilter(sessionID, taskId, filterId, withUdf, i, order);
    result.addAll(slider.getTasks());
    System.out.println(String.format("getTaskByNumber('%s', '%s') return %d tasks", sessionID, taskId, result.size()));
    return result;
    public TaskBean getTaskByNumber(String taskNumb)
    throws Exception{
    String sessionID = getSessionID();
    System.out.println(String.format("getTaskByNumber('%s', '%s')", sessionID, taskNumb));
    Task task = getTaskService();
    TaskBean result = task.findTaskByNumber(sessionID, taskNumb);
    System.out.println(String.format("getTaskByNumber('%s', '%s') return '%s'", sessionID, taskNumb, result.getName()));
    return result;
    public List<MessageBean> getMessageList(String taskId)
    throws Exception {
    String sessionID = getSessionID();
    System.out.println(String.format("getMessageList('%s', '%s')", sessionID, taskId));
    Message message = getMessageService();
    List<MessageBean> result = message.getMessageList(sessionID, taskId);
    System.out.println(String.format("getMessageList('%s', '%s') return %d messages", sessionID, taskId, result.size()));
    return result;
    public FilterBean getFilterByTask(String taskID, String filterName)
    throws Exception {
    String sessionID = getSessionID();
    System.out.println(String.format("getFilterByTask('%s', '%s', '%s')", sessionID, taskID, filterName));
    FilterBean result = null;
    Filter filter = getFilterService();
    List<FilterBean> filterList = filter.getTaskFilterList(sessionID, taskID);
    System.out.println(String.format("getFilterByTask('%s', '%s', '%s') find %d filters", sessionID, taskID, filterName, filterList.size()));
    for(FilterBean item : filterList)
    if(item.getName().equals(filterName)) {
    result = item;
    break;
    System.out.println(String.format("getFilterByTask('%s', '%s', '%s') return '%s'", sessionID, taskID, filterName, result.getName()));
    return result;
    public CategoryBean findCategoryById(String categoryId)
    throws Exception {
    String sessionID = getSessionID();
    System.out.println(String.format("findCategoryById('%s', '%s')", sessionID, categoryId));
    Find findService = getFindService();
    CategoryBean result = findService.findCategoryById(sessionID, categoryId);
    System.out.println(String.format("findCategoryById('%s', '%s') return '%s'", sessionID, categoryId, result.getName()));
    return result;
    public StatusBean findStatusById(String statusId)
    throws Exception {
    String sessionID = getSessionID();
    System.out.println(String.format("findStatusById('%s', '%s')", sessionID, statusId));
    Find findService = getFindService();
    StatusBean result = findService.findStatusById(sessionID, statusId);
    System.out.println(String.format("findStatusById('%s', '%s') return '%s'", sessionID, statusId, result.getName()));
    return result;
    public MstatusBean findMstatusById(String statusId)
    throws Exception {
    String sessionID = getSessionID();
    System.out.println(String.format("findMstatusById('%s', '%s')", sessionID, statusId));
    Find findService = getFindService();
    MstatusBean result = findService.findMstatusById(sessionID, statusId);
    System.out.println(String.format("findMstatusById('%s', '%s') return '%s'", sessionID, statusId, result.getName()));
    return result;
    public UserBean findUserById(String userId)
    throws Exception {
    String sessionID = getSessionID();
    System.out.println(String.format("findUserById('%s', '%s')", sessionID, userId));
    Find findService = getFindService();
    UserBean result = findService.findUserById(sessionID, userId);
    System.out.println(String.format("findUserById('%s', '%s') return '%s'", sessionID, userId, result.getName()));
    return result;
    public List<UserBean> getUserAndChildrenList(String userId)
    throws Exception{
    String sessionID = getSessionID();
    List<UserBean> users;
    User user = getUserService();
    users = user.getUserAndChildrenList(sessionID, userId);
    return users;
    public String getUserId()
    throws Exception{
    String sessionID = getSessionID();
    User user = getUserService();
    return user.getUserId(sessionID);
    protected User getUserService() {
    return new UserService().getUserPort();
    protected Task getTaskService() {
    return new TaskService().getTaskPort();
    protected Message getMessageService() {
    return new MessageService().getMessagePort();
    protected Filter getFilterService() {
    return new FilterService().getFilterPort();
    protected Find getFindService() {
    return new FindService().getFindPort();
    private String getSessionID() {
    AppModuleImpl app = (AppModuleImpl)getRootApplicationModule();
    String sessionID = app.getSessionID();
    return sessionID;
    in v_baseTaskImpl I've just tried to put some test values.
    So, there is my question:
    Is problem with ADF BC or in BI? And was file v_baseTaskImpl edited correctly? If no, please, give me some advice about creating programmatic view objects.
    I'll be very grateful for any answers.
    thanks, and best regards, Eugene.
    Edited by: 951006 on 07.08.2012 4:46

    Hi,
    I registered the location in control center, but I yet can not import the metadata. Once I try to import the metadata with Import Metadata Wizard, "import service failed" error poped up.
    I have no idea.
    Just following the normal steps: 1. Create a module and identify the type as source.
    2. During the process of creating the module, should enable a location relate to this module.
    3. Make sure the location works well with the corrected database connection.
    4. Certainly, should register the location through control center.
    Hari, do I get the right steps? Any problem please let me know.
    Thanks a lot.

  • Import metadata from BI Admin tool -OBIEE 11g

    Hi,
    I am trying to import metadata from BI Admin tool 11g (offile- did not start BI services) but it always showing "Connection has failed". I tried ODBC 2.0, ODBC 3.5, OCI11g/10g with different schemas .. But still no luck... I checked all those from Toad and DSN Tests.. then all are successfulll... But in BI Admin Tool only I can not connect to those Datasources.. Where Iam wrong..? any workarounds would be appreciated...
    Thanks and Regards,
    Sri.
    (OBIEE 11.1.1.5, Oracle 11g R2 EE Database, MS Windows XP Professional Edition SP2)

    ORACLE FOLDER
    C:\Oracle\product\11.2.0\client_1\network\admin\sample
    We have tnsnames.ora file in this oracle folder coppy that and save it in
    C:\Oracle\product\11.2.0\client_1\network\admin
    Tnsnames.ora
    This tnsname.ora file should contain the details of
    Data Source name – ORCL
    Host name – xxxx.xxxxxx.com
    Portno - 1531 (This port no is default port in oracle)
    Service Name – ORCL
    OBIEE FOLDER
    C:\OBIEE\oraclebi\orainst\config\OracleBIServerComponent\coreapplication
    Tnsname.ora (need to have this file in the above path which is same in ORACLE FOLDER)
    GOTO – Start – Control panel – Administrative Tool – Data Source(ODBC) in this
    1.     Goto System DSN tab
    2.     Select Add at right side
    3.     A new pop-up window opens – ‘Create New Data Source’
    4.     Select from the list – Oracle in OraClient11g_Home
    5.     A pop-up window opens –‘Oracle ODBC Driver Configaration’ in that
    6.     Data Source name – Mandatory (You can give any name) e.g –ORACLE DSN
    7.     Description – Optional (you can give r leave it blank).
    8.     TNS Service Name – HOST:PORT/Data Source Name e.g –xxxx.xxxxxxx.com:1531/ORCL (xxxx.xxxxxx.com may be IP Address also)
    9.     User ID – Give Database USERID (If you are going to take data from SERVER you have to give Server Data Base USER ID / If you are going to take data from Local Machine use your Local machine database User id ) e.g –USER id – ‘system’ where password is – ‘Manager’

  • Not able to import metadata using BI Admin tool

    Hi folks,
    I've installed OBIEE 11g server(Version 11.1.1.6.0) in my local machine which is lying on Windows 7 environment. Tried importing metadata(Oracle Database) using BI Admin tool, it throws "The Connection has failed" error.
    I've copied TNSNAMES.ora file to the path D:\Oracle\Middleware\Oracle_BI1\network\admin and D:\Oracle\Middleware\oracle_common\network\admin(In D:\Oracle\Middleware\oracle_common\network, admin was not there, I've created a new folder with name admin and placed the TNSNAMES.ora file over there).
    Have modified the user.cmd and bi_init.cmd files in the below path D:\Oracle\Middleware\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup
    Any help would be appreciated
    Regards,
    Arun

    Hi,
    The problem was your tnsnames.ora file your not please in the right path.
    Check this steps:
    Copy the tnsnames.ora from Oracle Database home (ORACLE_HOME\NETWORK\ADMIN\) to the following locations.
    Step 1 - <obiee11g_home>\OracleBI1\network\admin
    Step 2 - <obiee11g_home>\oracle_common\network\admin
    Set the TNS_ADMIN environment variable value with one of the copied locations in the step 1 in user.cmd or user.sh file depending on your OS.
    This file will be found under <obiee11g_home>\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup
    Solution:
    Copy the tnsnames.ora from Oracle Database home (ORACLE_HOME\NETWORK\ADMIN\) to the following locations.
    Step 1 - <obiee11g_home>\OracleBI1\network\admin
    Set the TNS_ADMIN environment variable value with one of the copied locations in the step 1 in user.cmd or user.sh file depending on your OS.
    This file will be found under <obiee11g_home>\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup
    Run User.cmd or User.sh
    Recheck below steps also.
    ORACLE FOLDER
    C:\Oracle\product\11.2.0\client_1\network\admin\sample
    We have tnsnames.ora file in this oracle folder coppy that and save it in
    C:\Oracle\product\11.2.0\client_1\network\admin
    Tnsnames.ora
    This tnsname.ora file should contain the details of
    Data Source name – ORCL
    Host name – xxxx.xxxxxx.com
    Portno - 1531 (This port no is default port in oracle)
    Service Name – ORCL
    OBIEE FOLDER
    C:\OBIEE\oraclebi\orainst\config\OracleBIServerComponent\coreapplication
    Tnsname.ora (need to have this file in the above path which is same in ORACLE FOLDER)
    GOTO – Start – Control panel – Administrative Tool – Data Source(ODBC) in this
    1. Goto System DSN tab
    2. Select Add at right side
    3. A new pop-up window opens – ‘Create New Data Source’
    4. Select from the list – Oracle in OraClient11g_Home
    5. A pop-up window opens –‘Oracle ODBC Driver Configaration’ in that
    6. Data Source name – Mandatory (You can give any name) e.g –ORACLE DSN
    7. Description – Optional (you can give r leave it blank).
    8. TNS Service Name – HOST:PORT/Data Source Name e.g –xxxx.xxxxxxx.com:1531/ORCL (xxxx.xxxxxx.com may be IP Address also)
    9. User ID – Give Database USERID (If you are going to take data from SERVER you have to give Server Data Base USER ID / If you are going to take data from Local Machine use your Local machine database User id ) e.g –USER id – ‘system’ where password is – ‘Manager’
    Note: If still not yer resloved Please read below threds.
    Re: Error in Importing Metadata in OBIEE 11G
    [46028] Unable to get the DLL path for the CLI xx from the NQSConfig.ini
    Award points it is useful.
    Thanks,
    satya

  • OWB Import Metadata Wizard

    Hi all,
    Got 2 little problems - looking for help!
    1) When I log into OWB as a user with table Select rights (NOT the table owner), I can't import this table using the Import Metadata Wizard - the list of tables appears blank. Do I have to be table owner to import?
    2) If I change the location password and re-deploy, the process fails with the error "Invalid Username/Password". I've confirmed the username and passwords are correct, but it doesn't seem to acknowledge my password change.
    Any thoughts or suggestions would be helpful!
    Many thanks,
    Ally

    Regarding 1) OWB will only import objects that you own. If you want to be able to import the metadata as that other user what you need to do is to create a private synonym for the table, and then it will show up in the table list as long as you have the "Use a synonym to look up objects" checkbox (lower left) checked on the screen that allows you to select which object types to import.
    e.g.)
    As user1
    SQL>create table ttest (a number, b number);
    SQL>grant select on ttest to user2;
    then, as user2
    SQL>create synonym ttest for user1.ttest
    then log into OWB as user2 and you should be able to import ttest via your private synonym
    Note that OWB will NOT import from public synonyms.
    Regarding 2) I never hard-code passwords in my defined locations, so I can't help you with this one. Worst case - drop and recreate the location I guess. Have you tried from the "test connect" box on the Coneection Manager object where you changed the password to see if it is properly input?
    Cheers,
    Mike

  • Changing the language of imported metadata in Indesign

    Hello,
    I hope someone can help me with my issue...
    I am running InDesign CS5 Middle Eastern edition on a Mac and would like to import metadata from bridge - the issue is: when I import the info, which includes numbers, it uses Arabic intead of English language. I have already trashed my Indesign preferences and recreated them all set to English. Is there a metadata setting somewhere where you can set the langauge?

    I'm assuming that you're importing an image or a graphic with metadata.
    You'd need to edit the metadata in Adobe Bridge. Select the graphic in InDesign. Control/right-click and choose Graphics > Reveal in Bridge. In Bridge, view the Metadata panel. Likely, the metadata is in the IPTC Core section so open that section. Editable fields are marked with a pencil icon.

  • Error while importing : /metadata/iam-features-ldap-sync/LDAPUser.xml

    Hi,
    I am unable to import modified Oracle Identity Manager metadata. I am using OIM 11.1.1.5 on Windows Server 2007 EE.
    I am trying to use the import/export functionality via EM.
    I am able to export the LDAPUser.xml file from */metadata/iam-features-ldap-sync/LDAPUser.xml,* have made changes to it but when I am importing it back I am getting the error :
    Error occurred while executing operation.
    MDS-00001: exception in Metadata Services layer
    MDS-01059: document with the name /metadata/iam-features-ldap-sync/LDAPUser.xml missing in the source metadata store
    The values of the parameters in the import MDS operations are :
    fromLocation : E:/MDS/import/ +(On the physical server hosting the OIM)+
    docs : */metadata/iam-features-ldap-sync/LDAPUser.xml*
    restrictCustTo:               
    excludeAllCust: false
    excludeBaseDocsan : false     
    excludeExtendedMetadata : false
    cancelOnException : true
    I have tried using the command line script as well, It runs without a hitch but when I try and import back, it gives me the same old unedited document.
    Has anyone been successful with this approach ?
    Regards,

    Yes, I have. But still the same issue. It seem to run fine using the weblogicImportmetadata.bat fine but when I export and check the updated file, I still get back the original.
    Here's what I get on runnung the weblogicImportmetadata.bat file
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Starting import metadata script ....
    Please enter your username :weblogic
    Please enter your password :
    +Please enter your server URL [t3://localhost:7001] :t3://localhost:7001+
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'OIM
    +1'.+
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBea
    n as the root.
    For more help, use help(domainRuntime)
    Disconnected from weblogic server: AdminServer
    End of importing metadata script ...
    Exiting WebLogic Scripting Tool.
    C:\Oracle\Middleware1\Oracle_IDAM\server\bin>
    Edited by: 810367 on Aug 21, 2012 6:45 PM

Maybe you are looking for

  • How do you change the tempo of a drum loop?

    Forgive my ignorance but I am still familiarizing myself with all the features of the program. How do you change the tempo of a drum loop? I see in the help file where it tells you how to change the projects overall tempo but not where to change the

  • TO_NUMBER and ORA-01722 invalid number pls delete

    I cannot see where to delete a post I made. I found out my problem. It was in my NLS settings. Decimals were set to be commas instead of periods. please disregard this post, and delete if you are a moderator I recently tried to bring in lat/long coor

  • How do i up date my apps? i have 8 updates for apps but its still giving me my old username and wants my old password

    How do i up date my apps? i have 8 updates for apps but its still giving me my old username and wants my old password when i go to update. i have restored and everything works except when i go to update the apps. ican access all other info with new u

  • No audio for .mts in PE9 Organizer

    New to the product and just downloaded the trial of v9.  The organizer was able to play video from my AVCHD files but not the audio.  No other programs on my PC have had this issue, so I believe the files to be ok.  They are from a Canon Vixia line. 

  • Missing Library in Encore CS5

    Sorry peoples, this has prolly been asked lots of times, but I am going myopic with looking. I had a trial version of the master collection which expired. Encore didn't really want to play in the trial version in any case. I have now registered with