Part 2 : can i create an instance of ArrayList ?

Hey thanks so much for the reply.
Let me tell you the exact scenario. I'm actually developing a struts-application. Hope I can get some help here too.
I have:
1. login.jsp-where user logs in.
-I have a userid and a password as default values for each unique user.
Where should i store these details -in HashMap??
-How can I display error messages if userId/passWord is invalid on login.jsp page ??
2. confirmation.jsp-on successful login, he's shown his details:
YOur first name: .........
Your last name: ........ etc.
-Here I can't use bean:write tag to read from form-bean.
- how do i display it here without using a scriptlet ?
3. LoginAction.java
-Here i will get userId and passWord from LoginFormBean.java setter
and getter methods.
-For all validations' results, should i call a boolean getUserDetails() method from form-bean, wherein i can map values(first name, last name etc ) to each key (userid) ?
i can use methods like:
if (isValidUserId && isValidPassWord )
LoginValidateUtil.getUserDetails();
return mapping.findForward("success");
But, can I assign many values to a single key using Map ?
4. LoginFormBean.java
-Here should I have to use set/getUserDetails() ?
-If so, how do I use Map there?
I want to have userId as the only key to which i can map values and not password.
5. LoginValidateUtil.java
-Here all validations are defined and boolean result is passed to LoginAction.java.
Hope you got what I meant.
Please tell me if i am right in this approach...
Thanks in advance,
sanlearns

1. login.jsp-where user logs in.
-I have a userid and a password as default values for each unique user.
Where should i store these details -in HashMap??
u can do that by using session
-How can I display error messages if userId/passWord is invalid on login.jsp page ??
if resultset have not a single row then goto for show the error message
2. confirmation.jsp-on successful login, he's shown his details:
YOur first name: .........
Your last name: ........ etc.
Retrive the value from session if u establish the session
-Here I can't use bean:write tag to read from form-bean.
if u use session then u need not to do that
- how do i display it here without using a scriptlet ?
3. LoginAction.java
-Here i will get userId and passWord from LoginFormBean.java setter
and getter methods.
-For all validations' results, should i call a boolean getUserDetails() method from form-bean, wherein i can map values(first name, last name etc ) to each key (userid) ?
i can use methods like:
if (isValidUserId && isValidPassWord )
LoginValidateUtil.getUserDetails();
return mapping.findForward("success");
But, can I assign many values to a single key using Map ?
4. LoginFormBean.java
-Here should I have to use set/getUserDetails() ?
-If so, how do I use Map there?
I want to have userId as the only key to which i can map values and not password.
5. LoginValidateUtil.java
-Here all validations are defined and boolean result is passed to LoginAction.java.
Hope you got what I meant.
Please tell me if i am right in this approach...

Similar Messages

  • Can i create an instance of ArrayList ?

    hi ,
    I need to store first name, last name etc in an ArrayList for a unique userid. And i have to do it for few userids. on successful login of the user ( with unique userid that matches with the one in the arraylist), i need to retrieve user details (first name, last name etc) from that arraylist and display in jsp file.
    Could u please tell me:
    1. how do i go about doing it?
    2 .Can i create an instance of ArrayList and use .add() method to add details ?
    3. can i write some java code in jsp without using scriptlets ?
    Thanks in advance,
    Sanlearns

    Hey thanks so much for the reply.
    Let me tell you the exact scenario. I'm actually developing a struts-application. Hope I can get some help here too.
    I have:
    1. login.jsp-where user logs in.
    -I have a userid and a password as default values for each unique user.
    Where should i store these details -in HashMap??
    -How can I display error messages if userId/passWord is invalid on login.jsp page ??
    2. confirmation.jsp-on successful login, he's shown his details:
    YOur first name: .........
    Your last name: ........ etc.
    -Here I can't use bean:write tag to read from form-bean.
    - how do i display it here without using a scriptlet ?
    3. LoginAction.java
    -Here i will get userId and passWord from LoginFormBean.java setter
    and getter methods.
    -For all validations' results, should i call a boolean getUserDetails() method from form-bean, wherein i can map values(first name, last name etc ) to each key (userid) ?
    i can use methods like:
    if (isValidUserId && isValidPassWord )
    LoginValidateUtil.getUserDetails();
    return mapping.findForward("success");
    But, can I assign many values to a single key using Map ?
    4. LoginFormBean.java
    -Here should I have to use set/getUserDetails() ?
    -If so, how do I use Map there?
    I want to have userId as the only key to which i can map values and not password.
    5. LoginValidateUtil.java
    -Here all validations are defined and boolean result is passed to LoginAction.java.
    Hope you got what I meant.
    Please tell me if i am right in this approach...
    Thanks in advance,
    sanlearns

  • Can I create multiple instances of  realplayer plug-in in one jsp page?

    I want to play meny video files in one jsp web page, these video files are to be played with the embeded plug-in of realplayer, each plug-in was linked(use its SRC property) a different video file. But, to my surprise, when I press the play button, every player played the same video file,not its specified file.
    I have no idea why it did so and what can I do?
    Whether can I create multiple instances of realplayer plug-in in one jsp page, that is to say, each instance is independent of others?
    thanks in advance!

    Generally speaking, Internet Explorer tries not to launch multiple versions of a plug-in. So what's happening is that you load the first video clip, and then before it has a chance to play, you load the second video clip into the same window. (It's like changing songs in WMA.)
    In some cases - this may not work for Real Player, but it's worth trying - if you spawn a new window through a hypertext link and then launch the plug-in in that window, IE will treat it separately. Otherwise, you could not, for example, run two Macromedia Flash applications from different web sites at the same time.
    Keep in mind that only one program can access the soundcard at a time, so Real Player may purposely "pause" or "cancel" other video streams until the active one finishes. If you were using the desktop version, selecting another video by any means aborts the currently running video (i.e., RP won't let you create a separate instance of it).
    The easiest solution is to create a wrapper JSP file that takes the name of the video clip, and plays it. Call that JSP and specify that it should be opened in a new window via the TARGET keyword in the anchor tag. Then hopefully RP itself won't block a second window from running.

  • Can i create an instance of a jar file?

    Actually,i'm creating a combobox component.For tht i've written a java class,in tht calss i read the javascript code and create an instance of the java class n render tht code.If i want to give this java file and javascript file i need to jar it.i have done tht also but i can't create the instance of tht java class from the jar .can u help me out?
    Thanks in advance.

    Hey thanks so much for the reply.
    Let me tell you the exact scenario. I'm actually developing a struts-application. Hope I can get some help here too.
    I have:
    1. login.jsp-where user logs in.
    -I have a userid and a password as default values for each unique user.
    Where should i store these details -in HashMap??
    -How can I display error messages if userId/passWord is invalid on login.jsp page ??
    2. confirmation.jsp-on successful login, he's shown his details:
    YOur first name: .........
    Your last name: ........ etc.
    -Here I can't use bean:write tag to read from form-bean.
    - how do i display it here without using a scriptlet ?
    3. LoginAction.java
    -Here i will get userId and passWord from LoginFormBean.java setter
    and getter methods.
    -For all validations' results, should i call a boolean getUserDetails() method from form-bean, wherein i can map values(first name, last name etc ) to each key (userid) ?
    i can use methods like:
    if (isValidUserId && isValidPassWord )
    LoginValidateUtil.getUserDetails();
    return mapping.findForward("success");
    But, can I assign many values to a single key using Map ?
    4. LoginFormBean.java
    -Here should I have to use set/getUserDetails() ?
    -If so, how do I use Map there?
    I want to have userId as the only key to which i can map values and not password.
    5. LoginValidateUtil.java
    -Here all validations are defined and boolean result is passed to LoginAction.java.
    Hope you got what I meant.
    Please tell me if i am right in this approach...
    Thanks in advance,
    sanlearns

  • Can we create Named instance without installing Default instance

    Hi experts,
    i'm new for sql dba,
    Can we create Named instance without installing Default instance
    Thanks in advance.
    Regards,
    Madhu

    Yes you can
    You can also have mutiliple instance in think max (16 instances) for différents versions of SQL server (2000, 2005, 2008 and 2012) in the same physical machine.

  • ?? can not create an instance of org.apache.axis.client.Service

    hi,
    firstly, i should introduce what i am doing now.
    I want to write a Jeanbean, which can invoke 2 web services.
    I found in tomcat, when I submitted the parameters from a web page form, there was Internal Server Error.
    The problem is I can not created an instance of org.apache.axis.client.Service, or an instance of org.apache.axis.client.AxisClient.
    But very stange, I tried to create an instance of org.apache.axis.client.Transport, which should exist in the same package with Service and AxisClien, there was no exceptions.
    can anyone give me some hints?

    Is it a "class not found" error? Have you tried viewing the jar file that you think org.apache.axis.client.Service is in to be sure that it's really in there?
    jar tvf <filename>

  • How many server nodes can you create per instance

    Hi,
    Very often the bottle neck in a java installation (NW04s) is the heap size. In order to increase the heap you simple create new server nodes.
    My question is:
    How many server nodes can you create per instance?
    Is there an upper limit before you have to create a new dialog instance (with a web dispatcher)?
    I can imagine that when you create a new server node you also have to increase the heap and max therad of the dispatcher. Is there any upper limit of the heap size of the dispatcher node ?

    Rasmus , I think you laid out a real good scenario for every one to contribute
    I may be very late but just updating this forum for benefit of everyone who visits this.
    In addition to all the points above one must also consider following things if one decides to add more server nodes to one dispatcher
    1.Garbage collection time
    2.Dispatcher would keep on sending request to node S2 if it is not completely bad and there by impacting all the servernode       so  you might end up restartiing the entire cluster.
    3,Debugging also becomes diffculy as you are not sure on which server node you are within the cluster.
    4.If you have something like F5 which does hear beat monitoring even one server node goes bad F5 will not report anything.
    So in my view one server node per dispatcher is an ideal configuration.
    Over All Dispatcher does not consume more resouces (Disk Space + CPU + memory ) at the same time it will give you maintenance flexibility.
    Nothing is right or wrong ,all these things are based on how your infrastructure set up is.
    Cheers !!
    Manish Jain

  • How can I create an instance of "java.util.prefs.WindowsPreferences"?

    Hi All,
    I was trying to find out a way to access the Windows Registry to add soome keys and and later add a string.
    I found WindowsPreferences might be useful in the above mentioned context.
    I was trying to create an instance of it, but when I import the class, it says it is invisible.
    Can anyone let me know how to instantiate this class.
    Note:- Under the same package "java.util.prefs" we have another class "Preferences", Iam able to import this one and use it in my code.
    Thank You.
    Regards,
    Suman.H

    It's true that Preferences uses the Registry on Windows systems, that does not mean you can use it as a Registry API. The only part of the Registry you can access are those branches that are set aside for java.util.prefs: HKLM\Software\JavaSoft\Prefs and HKCU\Software\JavaSoft\Prefs. IF you need to access other parts of the Registry, you'll need to use JNI or a separate Windows Registry library.

  • Can't create an instance of StringTemplate in WSAD 5.1.1

    I have just downloaded and installed WSAD 5.1.1 on my computer. I created a simple web application and added a Servlet. In my Servlet whenever I create an instance of a StringTemplate class (http://www.antlr.org/stringtemplate/index.tml) I get a java.lang.NoClassDefFoundError:
    [19-01-04 20:19:54:328 CET] 3c4c5142 WebContainer A SRVE0169I: Loading Web Module: Proj1.
    [19-01-04 20:19:54:453 CET] 3c4c5142 WebGroup I SRVE0180I: [Proj1] [Proj1] [Servlet.LOG]: JSP 1.2 Processor: init
    [19-01-04 20:19:54:484 CET] 3c4c5142 WebGroup I SRVE0180I: [Proj1] [Proj1] [Servlet.LOG]: SimpleFileServlet: init
    [19-01-04 20:19:54:516 CET] 3c4c5142 WebGroup I SRVE0180I: [Proj1] [Proj1] [Servlet.LOG]: InvokerServlet: init
    [19-01-04 20:19:54:547 CET] 3c4c5142 ApplicationMg A WSVR0221I: Application started: DefaultEAR
    [19-01-04 20:19:54:641 CET] 3c4c5142 HttpTransport A SRVE0171I: Transport http is listening on port 9.080.
    [19-01-04 20:19:56:922 CET] 3c4c5142 HttpTransport A SRVE0171I: Transport https is listening on port 9.443.
    [19-01-04 20:19:56:984 CET] 3c4c5142 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
    [19-01-04 20:19:57:109 CET] 3c4c5142 WsServer A WSVR0001I: Server server1 open for e-business
    [19-01-04 20:20:01:031 CET] 59ed1140 WebGroup I SRVE0180I: [Proj1] [Proj1] [Servlet.LOG]: HelloServlet2: init
    [19-01-04 20:20:01:469 CET] 59ed1140 WebGroup E SRVE0026E: [Servlet Error]-[antlr/RecognitionException]: java.lang.NoClassDefFoundError: antlr/RecognitionException
         at com.bigjrun.proj1.servlets.HelloServlet2.doGet(HelloServlet2.java:27)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    I added the StringTemplate.jar on Project -> Properties -> Java Build Path -> Libraries -> Add External JARs
    My code looks like this:
    package com.bigjrun.proj1.servlets;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.Servlet;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.antlr.stringtemplate.StringTemplate;
    public class HelloServlet2 extends HttpServlet implements Servlet {
         public void doGet(HttpServletRequest req, HttpServletResponse resp)
              throws ServletException, IOException {
              PrintWriter out = resp.getWriter();
              try {
                   StringTemplate query = new StringTemplate("SELECT $column$ FROM $table$;");
                   query.setAttribute("column","name");
                   query.setAttribute("column","email");
                   query.setAttribute("table", "users");
                   out.print(query);     
              } catch (Exception e) {
                   // TODO: handle exception
                   out.print("Exception " + e.getMessage());
    }What am I doing wrong?

    I have a project called 'Default EAR' in my workspace.
    But I can't add the JAR to the that project. These instructions are for WSAD 4, but I assume WSAD 5 is similar:
    Go to menu File and select Import. Choose "File System" to import from. Specify "Default EAR" as your folder and select the jar file from the directory/browse prompt.
    This is assuming your web app is connected to Default EAR and not some other EAR file. Also once you've done this, you will find that the jar file automatically becomes part of your build path. You didn't have to do anything extra to make that happen.

  • Why portal server can't create an instance of axis.Service class?

    Hi,gurus,
    We developed a uwl custom connector,The time out occured in that custom connector.After adding the time out value from 30s to 300s,the problem still existed.
    The code is like below:
    String endpoint = "http://172.16.127.4:8080/appframe-web/services/WorkItemService";
    Service service = new Service();    // time out code
    Call call = (Call) service.createCall();
    call.setTargetEndpointAddress(endpoint);
    call.setOperationName("wisForPortal");
    call.addParameter("userCode", org.apache.axis.encoding.XMLType.XSD_STRING, javax.xml.rpc.ParameterMode.IN);/
    call.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING);
    String temp = "36";
    Object result = call.invoke(new Object[]{temp});
    The time out occured when the portal server create an instance of Service class.Does that mean the server can't find the jars?
    But the object declaration like "Service service=null;" is all right.
    Any ideas?Thanks in advance.

    I have a project called 'Default EAR' in my workspace.
    But I can't add the JAR to the that project. These instructions are for WSAD 4, but I assume WSAD 5 is similar:
    Go to menu File and select Import. Choose "File System" to import from. Specify "Default EAR" as your folder and select the jar file from the directory/browse prompt.
    This is assuming your web app is connected to Default EAR and not some other EAR file. Also once you've done this, you will find that the jar file automatically becomes part of your build path. You didn't have to do anything extra to make that happen.

  • Can we create multiple instances of a Bean in a JSP file?

    Hi,
    I am new to JSP & Servlets programming.
    I need to write a servlet that connects to a database via JDBC ( using IBM DB2 dbms) , sets some Beans with the tuples in the relevant table.
    Then, I need to have a JSP "read" ( or "get") info from the Beans & display the contents to the client.
    ( At a time only 5 tuples must be visible in the UI , with Next & Prev links ...)
    I am using Tomcat 4.0 for this...
    Can any one please help me regarding HOW to go abt it ?
    Esp., should we create 1 instance of a Bean , ( say "DataBean") for EACH tuple , or is there a way to do it with only 1 instance...
    Please, guide me... ( if not possible, at least give me some hints to some GOOD resources ( books, sites,etc.), that deal with this kind of applications)
    Thanks,
    Raghu.

    Once again, thanx a lot for your detailed help -- evnafets !!
    I think I am gaining in my knowledge of JSP & Servlets thanks to your help...
    Now, I am tackling the issue of selecting the BEST way of "STORING" which "PAGE" no. I am displaying.
    Say, I have only 15 tuples(ROWS), & with 5 tuples displayed per page, I have to have 3 "pages", & I need to accomplish the handling of "Prev" & "Next" links using only 1 Servlet & 1 JSP ( apart from the Authorization servlet ).
    I am thinking of storing a "session-scoped" variable called "page-num". Do you think it's the best way?
    Or should I score it as an "application-scoped variable" ( i.e., in the ServletContext ...) ??
    Also, I have got no clues as to which of the following would be a better idea :
    (a) Fetch ALL the tuples in the table & set as many beans. And then display the corresponding 5 tuples in each page.
    Here, more bean instances are needed to hold the data which gets repeatedly passed around ( when Prev & Next links are clicked ).
    OR ..
    (b)Fetch only 5 tuples at a time . I think this may be done by creating a scrollable Resultset & then moving around to the appropriate ROW by saying
    resultSet.absolute( (page_num - 1)*5 + 1 ); & then fetching 5 tuples relative to this row.
    In this case I will need atmost 5 Bean objects per request.
    And YES, one more thing , WOULD you PLEASE try & give me some guidance towards some good references to JSP, Servlets & J2EE ? ( Links, Books, anything ! )
    Sorry for the TROUBLE I gave, but THANKS a lot for the TROUBLE u took ! ;-)
    Thanks & Regards,
    Raghu

  • I can't create an instance for BPF (BPC Netweaver 7.5)

    Hi experts:
    I am trying to create a Busines Process Flow. I am following steps according to the "how to" that explains the proccess. I firstly created the BPF template and, then, when I am creating an instance, identity dimensions are blank. Theorically, I have the template created as 'How To' explain and I can't figure out the reason why it is not working.
    Thanks in advance for your help
    Jose
    Edited by: JosManuel Bas on Sep 7, 2010 3:53 PM

    It was my mistake. I sometimes think as a SAP ERP consultant a I was trying to inform the blank field. I was not doing double-clicking in the dimension to choose a value. I am sorry if someone has wasted some time.
    Anyway, thanks to all.
      Jose

  • In Oracle 9 Application Server can we create multiple instances???

    Hi I need one help this is regarding to the oracle 9 application server in this can we create the multiple instances??
    my application was already developed and currently it is working with one instance for this i need to create the another one more instance which is same as existing and my application is web application developed in Forms6i and the db is oracle 9i my requirement is to create one more instance what are all the configuration files need to be modified and please give this info ASAP....

    It is still not very clear. What do you mean by creating "one more instance of the same application in the same application server"? By "application" do you mean another instance of OC4J in same Application Server Instance? If yes, you can do that. I mean you can create another OC4J component in same Application Server Instance without doing another installation. Refer this for details:
    http://download.oracle.com/docs/cd/A97329_03/core.902/a92171/config.htm#1010793
    If you are looking to create another Application Server Instance out of same installation/binaries (i.e. Oracle Home) than the answer is no. You can not create multiple Application Server Instances out of one Oracle Home. You will have to do another installation in a different Oracle Home and that's how you will get another Application Server Instance.
    Hope this helps.
    Thanks
    Shail

  • Can't create new instance

    I have database server 9i R2 on Windows 2000 (and an application server 9i R2, too). I tried to create another database instance through the Database Configuration assistant, but it doesn't start!! (the hourglass appears for half a second and then goes away).
    What could be wrong?
    Is there a SQL script I can manually run to create my instance?
    Thanx

    you should find buildall.sql and build_db.sql under
    %ORACLE_HOME%/RDBMS/ADMIN. I think these might be what the gui tool uses to generate its own scripts. Either way, you can edit a copy of those to build an instance. Make sure you create the directories specified before you run them. Also, have an init<ORACLE_SID>.ora in the dbs directory that matches up to your new instance and create the service first using ORADIM (or similar, I'm doing this from memory)
    Your going to have fun, I can tell.

  • Can't create Source Instance in Configuration manager (BI Apps 11.1.1.7.1)

    Hi
    While configuration i created one source instance for EBS R12.1.3 but I logged into to ODI client Studio and By mistake i deleted 'Data Server' from Topology which i created during Source Instance Creation/configuration on Configuration Manager(CM).
    It wasn't intentionally by mistake i deleted. Due to that reason i am not able to edit source instance. once i try to edit when i save it error pop-ups ""Error: ODI-10182: uncategorized exception during repository access. ORA-00001: unique constrain (DEV_BIA_ODIREPO.AK_CONNECT) violated" .
    Its was bug but after ODI 11.1.1.6.0 they fix it
    Metalink Note (
    1- Note 1545938.1: ODI-10182 and ORA-02292 Errors Signalled After Deleting Unnecessary Datastore in ODI 11g Integration Interface
    2- BUG
    https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=96427980024293&id=13916069&_afrWindowMode=0&_adf.ctrl-state=1536syzwe9_437
    However I tried following Cases:
    1- Tried to Edit Source Instance from Configuration manager (CM) but Gave me Error: "Error: ODI-10182: uncategorized exception during repository access. ORA-00001: unique constrain (DEV_BIA_ODIREPO.AK_CONNECT) violated".
    2- Tried to Create New Data Server by using Same Source Source Instance on Configuration manager (CM). Failed with error message:'Source system invalid '.
    3- Tried to re-create Same Data Server Name in ODI Studio with Same name. Failed due to error: "Alread Data Server exists"
    So no success so far. I am trying to edit source System Instance but no success so far.
    Versions:
    OBI Apps: 11.1.1.7.1
    OBIEE: 11.1.1.7.0
    ODI: 11.1.1.7.0
    Database: Oracle 11.2.0.3
    OS: Windows 2008 R2
    regards
    sher ullah baig

    I rise SR with oracle and they offered below solution,  i hope it will help someone. 
    How to delete a source system?
    The Configuration Manager user interface does not include a way to delete a source system. In the Define Business Intelligence Applications page you can only add or edit a source system.
    By manually removing the source system from Oracle Data Integrator and from the tables in the back-end database you can effectively delete a source system.
    To manually delete the source system:
    1. Connect to the application database through a utility such as SQL*Plus or SQL Developer, logged in as the same user configured in the WebLogic data source.
    2. Find the source system identifier number of the source system you want to delete by executing the following SQL and looking at the value of column DATASOURCE_NUM_ID:
    SELECT DATASOURCE_NAME, DATASOURCE_NUM_ID FROM C_DATA_SOURCE;
    3. Go to ODI Studio and delete the physical schema associated with the source system.
    4. In ODI Studio go to the respective logical schema:
    2.1. Go to flexfield tab
    2.2. Mark the checkbox for Data source num id flexfield to use default value.
    5. In SQL*Plus or SQL Developer execute the following statements where the bind variable, :Bind_DatasourceNumId, is set to the value of the source system identifier. These SQL statements may also be placed in a script, if needed for later use.
    DELETE FROM C_DATA_SERVER WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    DELETE FROM C_DATA_SOURCE_DISABLEDOFFR_REL WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    DELETE FROM C_EXECUTION_PLAN_FACTGROUP_REL WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    DELETE FROM C_LOAD_PLAN_GENERATION_STEP WHERE EXECUTION_PLAN_ID IN (SELECT EXECUTION_PLAN_ID FROM C_EXECUTION_PLAN WHERE EXECUTION_PLAN_ID NOT IN (SELECT EXECUTION_PLAN_ID FROM C_EXECUTION_PLAN_FACTGROUP_REL));
    DELETE FROM C_EXECUTION_PLAN WHERE EXECUTION_PLAN_ID NOT IN (SELECT EXECUTION_PLAN_ID FROM C_EXECUTION_PLAN_FACTGROUP_REL);
    DELETE FROM C_SRC_DOMAIN_MEMBER_TL WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    DELETE FROM C_SRC_DOMAIN_MEMBER WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    DELETE FROM C_DOMAIN_MEMBER_MAP WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    DELETE FROM C_PARAM_DW_VAL WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    DELETE FROM C_PARAM_DW_VAL_AUDIT WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    DELETE FROM C_DATA_SOURCE WHERE DATASOURCE_NUM_ID = :Bind_DatasourceNumId;
    COMMIT;
    =========================================
    Regards
    Sher ullah baig

Maybe you are looking for

  • HT2589 Can you have multiple apple id's linked to one library?

    I want my kids to have their own accounts, but as they are all linked to the same library, would they need their own library to have their own account? Don't want 4 versions of iTunes on my computer.

  • How can I make my imap email not take the emails off the server?

    How can I make my imap email not take the emails off the server when I delete them on my iPad? Can anyone help me whith this? I tried to use the pop account in gmail settings but that was downloading all my emails sice 2008 ( more than 300 deleted em

  • Flip video battery status

      I just got a new Ultra HD Flip camera and do not see a battery status indicator on the screen. I used to have an indicator on my Flip mino. Where is the battery status indicator on this device?

  • Best encoding settings for slides

    Hi, I'm doing a DVD that's made up of a few Keynote slides. I export to QT (Animation Codec) and bring in to Compressor. The resulting MPEG-2 seem a bit jaggy on the text. I have the bit-rate quite low as there's not a whole lot of movement. Anyone h

  • Does Time Machine back up other users?

    My wife and I share the same computer. We each have our own user accounts. Does Time Machine back up both accounts? It appears that the amount of disk space used on the computer is about equal to the amount on the external hard drive that I use for b