Problem in working with imported EJBs

Hi all,
I have created a ejb module in studio enterprise and want to import it to
creator. EJB module compose with CMP entity beans from MySQL DB and
stateess sesssion bean. Then i imported the module and worked with business methods. But they are not working.
Can anybody plase tell me how to configure JSC to use those EJBs from MySQL.
Also i successfully add the datasource from MySQL in JSC.
thanks,
Kaushalya

Hi There,
Take a look at this How to Article, it has instructions on importing EJB's into Creator
Importing Enterprise JavaBean Components into Your Web Application
http://developers.sun.com/prodtech/javatools/jscreator/reference/fi/2/ejb-import.html
also the articles under the section "EJB Components" in the link below will be of help to you.
http://developers.sun.com/prodtech/javatools/jscreator/reference/index.jsp
Hope it helps
Thanks
K

Similar Messages

  • Problem in working with Video

    I have problem in working with Opening and editing video
    When I tried to open :
    Could not complete your request , because it is not right kind of document [ for every format of video ]
    When I import as video :
    it creates as many layers as there are frames in the video
    Please help
    Thank you

    Video is like Image formats, but on steroids. Also, many formats, such as AVI can have 100's of different CODEC's inside them. It is almost like having a JPEG, that contains a TGA, or a TIFF, or a PCX, or any number of what we see as other formats. It can be daunting, but let's start at the beginning.
    For a discussion on formats, such as AVI, MOV, WMV, etc., see this article: http://forums.adobe.com/thread/440037?tstart=0
    As CODEC's are the "building blocks" of AV files, this article is good too: http://forums.adobe.com/thread/546811?tstart=0
    As you see from that first link, the format is just a "wrapper," and can contain all sorts of "stuff." That FAQ Entry will tell you how to "peek inside" the wrapper. That is what we need, as Mylenium asks. If you can let us know all about the faulting files, maybe someone can help you.
    Also, PS has somewhat limited Video support, both on Decode and Encode, so, and depending on what you have, you might have to convert that/those file(s).
    Good luck,
    Hunt

  • Problem in working with Japanese data

    Hello,
    We have an application, which should work for both English and Japanese languages. Our application is working fine for English data but in case of Japanese, we are facing problems. In the application, there is a language setting, where the user can select either English or Japanese. This changes the language of the labels to English or Japanese. We are handling this thru' ResourceBundles. But the data that is entered can be independent of this. In English setting also, the data entered or diplayed could be Japanese. Now we are facing problems at vaious places -
    1. When we enter Japanese data and save it, it gets copied into the bean and if there is any error in the saving, the same data from bean comes back on the screen. This data doesn't appear properly in Japanese.
    2. When we try to retrieve the already saved data from database, it doesn't show poperly in Japanese.
    We are using our own 'toUnicode' function, which converts the data to Unicode before saving the data to database. Similarly, we have tried different encodings like SJIS / Shift_JIS / ISO-2022-JP at various places i.e. in 'Page' directive or in HTML Meta tag or various combinations of these two. Nothing is working reliably. Sometimes for some combination, data retained in the first case is correct but it can't be saved. Sometimes it works with Unicode, sometimes without Unicode. Some combination affects the Japanese labels as well. Otherwise the labels at least are displayed properly.
    The same code with just Shift_JIS setting in 'page' directive, worked well in IIS Server for both English and Japanese.
    What could be the problem in WebLogic? Does it matter if WL is installed on English or Japanese machine?
    Kindly answer ASAP, since the project is getting delayed.
    Thanking in anticipation...
    -Medha

    Hi,
    is there a difference in handling Japanese and Chinese chars? If not I
    might be able to give you some hints.
    Daniel
    -----Original Message-----
    From: JSB [mailto:[email protected]]
    Posted At: Monday, February 12, 2001 6:22 PM
    Posted To: internationalization
    Conversation: Problem in working with Japanese data
    Subject: Re: Problem in working with Japanese data
    Have u solved this yet, and how ?
    Medha <[email protected]> wrote in message
    news:[email protected]...
    >
    Hello,
    We have an application, which should work for both English andJapanese
    languages. Our application is working fine for English data but in case
    of
    Japanese, we are facing problems. In the application, there is a
    language
    setting, where the user can select either English or Japanese. This
    changes
    the language of the labels to English or Japanese. We are handling this
    thru' ResourceBundles. But the data that is entered can be independent
    of
    this. In English setting also, the data entered or diplayed could be
    Japanese. Now we are facing problems at vaious places -
    1. When we enter Japanese data and save it, it gets copied into thebean
    and if there is any error in the saving, the same data from bean comes
    back
    on the screen. This data doesn't appear properly in Japanese.
    2. When we try to retrieve the already saved data from database, itdoesn't show poperly in Japanese.
    We are using our own 'toUnicode' function, which converts the datato
    Unicode before saving the data to database. Similarly, we have tried
    different encodings like SJIS / Shift_JIS / ISO-2022-JP at various
    places
    i.e. in 'Page' directive or in HTML Meta tag or various combinations of
    these two. Nothing is working reliably. Sometimes for some combination,
    data
    retained in the first case is correct but it can't be saved. Sometimes
    it
    works with Unicode, sometimes without Unicode. Some combination affects
    the
    Japanese labels as well. Otherwise the labels at least are displayed
    properly.
    The same code with just Shift_JIS setting in 'page' directive,worked
    well in IIS Server for both English and Japanese.
    What could be the problem in WebLogic? Does it matter if WL isinstalled on English or Japanese machine?
    Kindly answer ASAP, since the project is getting delayed.
    Thanking in anticipation...
    -Medha

  • Problem when working with package???Please, help me!!!

    I got 3 .java files from one Java tutorial as follow:
    Server.java (in package mygame.server)
    Utilities.java (in package mygame.shared)
    Client.java (in package mygame.client)
    All the above files are placed in "E:\Java Programmes\source"
    After compiling, i got correspponding .class files:
    Server.class (placed in "E:\Java Programmes\class\mygame\server")
    Utilities.class (placed in "E:\Java Programmes\class\mygam\shared")
    Clients.class (placed in "E:\Java Programmes\class\mygame\client")
    But when i run Server.class which contains main method, i got error as follow:
    E:\Java Programmes>java class\mygame\server\Server
    Exception in thread "main" java.lang.NoClassDefFoundError: class\mygame\server\S
    erver (wrong name: mygame/server/Server)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    That was very puzzled for me. I cannot find out what wrong with my files. Please., any boby, help me!!! I always got this problem when working with package and managing files. Thanls a lot.

    java -cp "E:\Java Programmes\class" mygame.server.Server

  • Nexus 1000V. problem when working with the console VMWare

    I have a problem when working with the console VMWare.
    Sometimes it is impossible to connect any of the hypervisor to the guest OS managed by them.
    I get the message: "Unable connect to the MKS: Host address lookup for server <name of the hypervisor> failed: No such host is known."
    This message always appears in conjunction with the reconfiguration of virtual switch: "Reconfigure vNetwork Distributed Switch .... Initiated by Cisco_Nexus_1000V_ ....."
    Upon completion of the reconfiguration, Communication console, with guest OS is restored, or on its own or after a reboot srv-vc.
    In this time, I do not see any message in Nexus 1000v log.
    What is this?
    Thanks in advance.

    Smells of a DNS issue.  Are you sure your ESX hosts are reachable from your client via DNS hostname?  Try pinging them from a command prompt/terminal.  You may have DNS server issues.
    As a temp fix, edit your [windowspath]/system32/etc/drivers/hosts file and manually add the ESX host name and IP, then re-test.
    Regards,
    Robert

  • Working with imported Word documents

    I've noticed that Pages (for iOS) gets very slow and laggy -- especially the on--screen keyboard -- when working with imported Word documents. Is there a method to convert imported files to native Pages documents, and thereby maybe speed up the app?

    Turns out, it's not just Word-imports that are slow. Pages in general is just slow, and seems to have become this way after the iOS 5 upgrade.

  • Problems While Working With CLOB fields

    HI Friends,
    I am facing one big problem while working with CLOB fields. I work in crystal reports in my project and My team is works in BMC Remedy tool. As per database configuration by default the date fields are stored in numbers. There is a field named Work Log which stores the complete history information of a ticket or a call.
    While generating reports I convert the date fields from numbers into date values by using to_date function. But I am not able to change the dates mentioned in the worklog which is a CLOB field. As a result when I am generating reports text part of the work log is comming fine but the date fields are comming in numbers.
    Please refer the below example:-
    *1291012455anilkumarptesting*
    Full Name:
    PRG Name - EUC-APP PKGN1291012585anilkumarptesting
    Full Name:
    PRG Name - EUC-APP PKGN1291012631anilkumarptest
    Full Name:
    PRG Name - EUC-APP PKGN1291207510anilkumarpfd
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops1291207535anilkumarpf
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops
    Assignment notification disabled for this transaction1291212517kapilbasd
    Full Name: Anil Kumar Pantangi
    PRG Name - Prod_Ops
    See the first line of the worklog "1291012455anilkumarptesting", 1291012455 is referring a date value, but due to database configuration it's comming in number. All the other numbers in the above text are dates only which need's to be converted. These dates are captured in remedy tool when someone updates that ticket.
    I am not able to decide how to change this numbers into dates. As it is containing lot's of numbers i am really confused how to come with a solution.
    Can I expect a solution from you, atleast a way how to proceed resolving this problem. Should I have to write a procedure for this??
    Please help..........
    Kindly let me know if you need any more input.
    Regards,
    Arijit

    937670 wrote:
    1291012455 represents a date value,What date value does it represent? Since it's not obvious to us what date you want that converted into, it's obviously hard for us to help. For example, perhaps you want that to be Jan 29, 2010 with "12455" representing a time component in some non-obvious format. Perhaps you want that to be December 1991 at 1:24:55. Perhaps you want to convert it to a completely different date. You're going to need to tell us in words how to convert your numeric data into a date.
    My question is how can I convert all the numbers into date in the CLOB field and present it in a proper manner.Given your sample data, what do you expect the output to be? Do you expect many rows of data, one for every date in the CLOB? Do you expect a comma-separated list? Something else?
    Justin

  • Having problems compiling *.java with import javax.servlet.jsp......

    I've been trying to do the tutorials in a book titled Apache Jakarta-Tomcat as part of my introduction to JSP. I'm new to Java but do know the basics. I have on my machine Java 1.3, Java 1.4, Java FrameWorks 2.1 and Jython 2.1 on Win2000 Pro. So enough about my configuration. I have never worked with packages also.
    I downloaded the files from the books site due to the fact I make a lot of typos when hand coding Java (I've become a pretty good debugger of my own code). But everytime I go to compile the *.java I get error messages. So below you will find HelloTag.java and beneath that the error messages that are thrown when I try and compile it. I tested other bits of *.java and have had no problem compiling them. Is there a JSP module I'm missing?
    Am I doing something wrong or am I missing something from my configuration.
    Marijan Madunic
    package chapter2;
    import javax.servlet.jsp.JspException;
    import javax.servlet.jsp.JspTagException;
    import javax.servlet.jsp.tagext.TagSupport;
    public class HelloTag extends TagSupport
    public void HelloTag() {
    // Method called when the closing hello tag is encountered
    public int doEndTag() throws JspException {
    try {
    // We use the pageContext to get a Writer
    // We then print the text string Hello
    pageContext.getOut().print("Hello");
    catch (Exception e) {
    throw new JspTagException(e.getMessage());
    // We want to return SKIP_BODY because this Tag does not support
    // a Tag Body
    return SKIP_BODY;
    public void release() {
    // Call the parent's release to release any resources
    // used by the parent tag.
    // This is just good practice for when you start creating
    // hierarchies of tags.
    super.release();
    D:\Java\JDK 1.3\bin>javac HelloTag.java
    HelloTag.java:3: cannot resolve symbol
    symbol : class JspException
    location: package jsp
    import javax.servlet.jsp.JspException;
    ^
    HelloTag.java:4: cannot resolve symbol
    symbol : class JspTagException
    location: package jsp
    import javax.servlet.jsp.JspTagException;
    ^
    HelloTag.java:5: cannot resolve symbol
    symbol : class TagSupport
    location: package tagext
    import javax.servlet.jsp.tagext.TagSupport;
    ^
    HelloTag.java:7: cannot resolve symbol
    symbol : class TagSupport
    location: class chapter2.HelloTag
    public class HelloTag extends TagSupport
    ^
    HelloTag.java:14: cannot resolve symbol
    symbol : class JspException
    location: class chapter2.HelloTag
    public int doEndTag() throws JspException {
    ^
    HelloTag.java:20: cannot resolve symbol
    symbol : variable pageContext
    location: class chapter2.HelloTag
    pageContext.getOut().print("Hello");
    ^
    HelloTag.java:24: cannot resolve symbol
    symbol : class JspTagException
    location: class chapter2.HelloTag
    throw new JspTagException(e.getMessage());
    ^
    HelloTag.java:28: cannot resolve symbol
    symbol : variable SKIP_BODY
    location: class chapter2.HelloTag
    return SKIP_BODY;
    ^
    HelloTag.java:37: cannot resolve symbol
    symbol : variable super
    location: class chapter2.HelloTag
    super.release();
    ^
    9 errors

    Well, it looks like you've not got the servlet development kit JAR on your classpath. I think it'll probably be called servlet.jar on your system. Add that to the classpath if it's not already there.
    Incidentally, you've bumped into one of the areas Java's slightly lenient - declaring a method that looks like a constructor:
    public HelloTag() { }
    public void HelloTag() { }The first is a constructor, the second is a normal method. I'm assuming you intended to have the former instead of the latter.
    Anyway, hope this helps.

  • Problem while working with packages?

    hi,
    I am new to java.while running the program which is using package i am getting the following error
    *Exception in thread "main" java.lang.NoClassDefFoundError: HelloServlet2 (wrongname: coreservlets/HelloServlet2)
    at java.lang.ClassLoader.defineClass1(Nativ... Method)
    at java.lang.ClassLoader.defineClass(Unknow... Source)
    at java.security.SecureClassLoader.defineCl... Source)
    at java.net.URLClassLoader.defineClass(Unkn... Source)
    at java.net.URLClassLoader.access$100(Unkno... Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivile... method)
    at java.net.URLClassLoader.findClass(Unknow... Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadCla... Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(... Source).*iam using windows xp and iam working with jdk1.5 version.plz any one help me to solv this problem.
    thanks in advance.

    This is the program iam trying to run
    package coreservlets;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    /** Simple servlet for testing the use of packages.
    * <P>
    * Taken from Core Servlets and JavaServer Pages 2nd Edition
    * from Prentice Hall and Sun Microsystems Press,
    * http://www.coreservlets.com/.
    public class HelloServlet2 extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String docType =
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
    "Transitional//EN\">\n";
    out.println(docType +
    "<HTML>\n" +
    "<HEAD><TITLE>Hello (2)</TITLE></HEAD>\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1>Hello (2)</H1>\n" +
    "</BODY></HTML>");
    I have installed jre1.5 version.and i have specified my class name has coreservlet.HelloServlet in my web.xml.after sending the request sever giving the exception like
    javax.servlet.ServletException: Wrapper cannot find servlet class coreservlet.HelloServlet2 or a class it depends on
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         java.lang.Thread.run(Unknown Source)
    iam using Tomcat 5.5 web server for my web appln.After compiling the above program the coreservlets subdirectory must be created in development directory right,but it is not doing that. plz help me.

  • Problem while working with function module RFC_READ_TABLE

    Dear Experts,
                     I am facing a problem while working on the FM RFC_READ_TABLE, in which there is a tables parameter options which is of table type, to which I am passing the condition of selection.  In the debugg mode I found the select quiry in the source code of function module is not executing the condition passed in the options parameter.
    My actual requirement is to fetch all the custom programs in a remote server, the code I have written is below.
    TYPES :
             BEGIN OF ty_tadir,
               pgmid  TYPE pgmid,
               object TYPE  trobjtype,
               obj_name  TYPE  sobj_name,
             END OF ty_tadir.
    DATA : it_tadir TYPE STANDARD TABLE OF ty_tadir,
            wa_tadir TYPE ty_tadir.
      data: stmp_dokhl  like TAB512       occurs 100000 with header line.
      data: options1    like rfc_db_opt occurs     10 with header line.
    data: wa_options1 like line of options1.
      data: nametab1    like rfc_db_fld  occurs     10 with header line.
    START-OF-SELECTION.
    DATA : W_VALUE(5)  TYPE C,
           W_VALUE1(20) TYPE C.
    W_VALUE1 =  'OBJ_NAME like'.
    W_VALUE = 'z*'.
    CONCATENATE 'OBJ_NAME LIKE' ' ''' W_VALUE '''' INTO OPTIONS1-TEXT.
    CONCATENATE W_VALUE1 W_VALUE INTO wa_OPTIONS1-TEXT SEPARATED BY SPACE.
    APPEND wa_OPTIONS1 to OPTIONS1.
    CLEAR wa_OPTIONS1.
        call function 'RFC_READ_TABLE'
             destination                'zard'
             exporting
                  query_table          = 'TADIR' "'ZBANK_GUARANTEE'
             tables
                  options              = options1
                  fields               = nametab1
                  data                 = stmp_dokhl
             exceptions
                  table_not_available  = 1
                  table_without_data   = 2
                  option_not_valid     = 3
                  field_not_valid      = 4
                  not_authorized       = 5
                  data_buffer_exceeded = 6
                  others               = 7 .
    Please give me some inputs on this,
    With warm regards,
    Murthy.
    Edited by: pr murthy on Sep 18, 2008 1:49 PM
    Edited by: pr murthy on Sep 18, 2008 2:14 PM

    Hi
    I have tried this and with small change this is working fine.
    TYPES :
    BEGIN OF ty_tadir,
    pgmid TYPE pgmid,
    object TYPE trobjtype,
    obj_name TYPE sobj_name,
    END OF ty_tadir.
    DATA : it_tadir TYPE STANDARD TABLE OF ty_tadir,
    wa_tadir TYPE ty_tadir.
    data: stmp_dokhl like TAB512 occurs 100000 with header line.
    data: options1 like rfc_db_opt occurs 10 with header line.
    data: wa_options1 like line of options1.
    data: nametab1 like rfc_db_fld occurs 10 with header line.
    START-OF-SELECTION.
    DATA : W_VALUE(5) TYPE C,
    W_VALUE1(20) TYPE C.
    W_VALUE1 = 'OBJ_NAME LIKE ''Z%'''.
    wa_options1-text = w_value1.
    APPEND wa_OPTIONS1 to OPTIONS1.
    CLEAR wa_OPTIONS1.
    call function 'RFC_READ_TABLE'
    *destination 'zard'
    exporting
    query_table = 'TADIR' "'ZBANK_GUARANTEE'
    tables
    options = options1
    fields = nametab1
    data = stmp_dokhl
    exceptions
    table_not_available = 1
    table_without_data = 2
    option_not_valid = 3
    field_not_valid = 4
    not_authorized = 5
    data_buffer_exceeded = 6
    others = 7 .

  • Problem when working with multiple sequences

    Dears,
    In order to make life easier (I am currently working on a rather long project), I work with multiple sequences, one per chapter.
    My problem: I named one sequence "assembly sequences" in order to add the various sequences. I dropped the sequence no 1, then no 2. All works fine, beside that when playing the sequence no 2, I see two black lines on top and bottom of the screen for the all length of the sequence. Which is not the case when I click on the sequence itself and play it independently.
    Any idea how to solve this ?
    Thanks
    Nic

    Thanks, what happened is that :
    1st sequence is like this : Frame size 720x576 pixels, video rate 25fps, Compressor DV-Pal. And I think it is the one appropriate for me and my country.
    2nd sequence is like this : Frame size 720x480 pixels,
    video rate 29.97 fps, Compressor DV-DVPRO-NTSC.
    I think I should change the second sequence setting, but can I do it after all the work I have done, and continue making a 3rd, 4th and so on ?
    Tx for your precious help,
    Nicolas

  • Problem in working with Interactive Scrip Editor?

    Hi,
    I have logged in as interaction center manager and working with interactive script editor, the problem that i am facing is that when i click on create new option with script as subgroup nothing is showing up,just one tab script chapter.
    On the other hand if i am selecting any script from the repository on the right hand side its showing all the tabs script properties,script profiles,script chapters,script transport.
    also i am able to drag and drop questions in the same but at the time of creating a new script none of things is happening.
    what might be reason or m i missing out something???

    Video is like Image formats, but on steroids. Also, many formats, such as AVI can have 100's of different CODEC's inside them. It is almost like having a JPEG, that contains a TGA, or a TIFF, or a PCX, or any number of what we see as other formats. It can be daunting, but let's start at the beginning.
    For a discussion on formats, such as AVI, MOV, WMV, etc., see this article: http://forums.adobe.com/thread/440037?tstart=0
    As CODEC's are the "building blocks" of AV files, this article is good too: http://forums.adobe.com/thread/546811?tstart=0
    As you see from that first link, the format is just a "wrapper," and can contain all sorts of "stuff." That FAQ Entry will tell you how to "peek inside" the wrapper. That is what we need, as Mylenium asks. If you can let us know all about the faulting files, maybe someone can help you.
    Also, PS has somewhat limited Video support, both on Decode and Encode, so, and depending on what you have, you might have to convert that/those file(s).
    Good luck,
    Hunt

  • Problem when Working With Combo

    Dear all,
    I am having a problem when i am working with Combobox.At the time of modification of any existing record i am retrieving the value and description of a Combo and doing accordingly.But sometimes it is showing error that Object Reference is not set.
    If i click that combo(one time) then i am not getting any of error.
    Error comming from the line like : strDesac=oCombobox.Selected.Description
    The thing is that this is not selected item ,it it comming automatically.
    How to handle this types of error.
    Waiting for as reply soon.
    Regards
    Sanjay

    But, this is the question! I dont know how to initialize the combobox' first option. Help me, please! I am using the addItem method as follow:
    MakeJCombo ( JComboBox ComboObj) {
    ComboObj.addItem ("option1");
    ComboObj.addItem ("option2");
    ComboObj.addItem ("option3");
    then:
    public void itemStateChange(ItemEvent ie) ...
    Object origem = ie.getSource()...
    if (origem == ComboObj) ...

  • Problem while working with shuttle lists in APEX 3.2

    Hi all,
    My requirement is to populate a table whose SQL DDL is:
    CREATE TABLE "C_BIA_MOD_PROD_LINE_VER_REL"
    (     "PRODUCT_LINE_VERSION" VARCHAR2(100) NOT NULL ENABLE,
         "MODULE_CODE" VARCHAR2(100) NOT NULL ENABLE,
         CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_PK" PRIMARY KEY ("PRODUCT_LINE_VERSION", "MODULE_CODE") ENABLE
    ALTER TABLE "C_BIA_MOD_PROD_LINE_VER_REL" ADD CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_FK1" FOREIGN KEY ("MODULE_CODE")
         REFERENCES "C_BIA_MODULE" ("MODULE_CODE") ENABLE;
    ALTER TABLE "C_BIA_MOD_PROD_LINE_VER_REL" ADD CONSTRAINT "C_BIA_MOD_PROD_LINE_VER_R_FK2" FOREIGN KEY ("PRODUCT_LINE_VERSION")
         REFERENCES "C_PRODUCT_LINE_VERSION" ("PRODUCT_LINE_VERSION") ENABLE;
    Now in the CREATE form of C_BIA_MODULE, I have added a region and an item, of "Shuttle list type" for PRODUCT_LINE_VERSION. For the button CREATE, I have prepared the PL/SQL as:
    DECLARE
    prodlinever_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
         prodlinever_selected := APEX_UTIL.STRING_TO_TABLE(:P4_PRODUCT_LINE_VERSION);
         FOR i IN 1..prodlinever_selected.count
         LOOP
              INSERT INTO C_BIA_MOD_PROD_LINE_VER_REL (MODULE_CODE, PRODUCT_LINE_VERSION)
                   VALUES (:P4_MODULE_CODE, prodlinever_selected(i));
         END LOOP;
    return true;
    END;
    The question is where to use this PL/SQL? The "Conditions" column under "Edit Page Buttons" SHOULD not have this. Also, the "database action" options are not sufficient to populate by selections in a table other(C_BIA_MOD_PROD_LINE_VER_REL) than the current table page (C_BIA_MODULE) . Any other approach? Please help. Insufficient info given in user guide.
    Thanks
    -Bhavesh
    Edited by: Bhavesh Agarwal on Jul 14, 2009 12:26 AM
    Edited by: Bhavesh Agarwal on Jul 22, 2009 10:08 PM

    Thanks Varad it worked, with the debug output is:
    0.00: A C C E P T: Request="CREATE"
    0.00: Metadata: Fetch application definition and shortcuts
    0.01: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -05:00
    0.02: Fetch session state from database
    0.03: ...Check session 3821879497713545 owner
    0.03: ...Check for session expiration:
    0.03: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 19562, page 21
    0.03: ...Validate item page affinity.
    0.03: ...Validate hidden_protected items.
    0.04: ...Check authorization security schemes
    0.04: Session State: Save form items and p_arg_values
    0.04: ...Session State: Saved Item "P21_MODULE_CODE" New Value="bhavesh"
    0.04: ...Session State: Saved Item "P21_MODULE_NAME" New Value="bhavesh test"
    0.04: ...Session State: Save "P21_MODULE_DESCR" - saving same value: ""
    0.04: ...Session State: Save "P21_INSTALLED_FLAG" - saving same value: ""
    0.04: ...Session State: Save "P21_CREATED_BY" - saving same value: ""
    0.04: ...Session State: Save "P21_CREATION_DATE" - saving same value: ""
    0.04: ...Session State: Save "P21_LAST_UPDATED_BY" - saving same value: ""
    0.04: ...Session State: Save "P21_LAST_UPDATE_DATE" - saving same value: ""
    0.05: ...Session State: Save "P21_LAST_UPDATE_LOGIN" - saving same value: ""
    0.05: ...Session State: Saved Item "P21_PRODUCT_LINE_VERSION_CODE" New Value="SBL80:SBL811"
    0.05: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.05: Branch point: BEFORE_COMPUTATION
    0.05: Computation point: AFTER_SUBMIT
    0.05: Tabs: Perform Branching for Tab Requests
    0.05: Branch point: BEFORE_VALIDATION
    0.05: Perform validations:
    0.05: Branch point: BEFORE_PROCESSING
    0.05: Processing point: AFTER_SUBMIT
    0.05: ...Process "Process Row of C_BIA_MODULE": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:C_BIA_MODULE:P21_MODULE_CODE:MODULE_CODE|IUD
    0.05: ...Do not run process "reset page", process point=AFTER_SUBMIT, condition type=, when button pressed=DELETE
    0.05: ...Process "Process Shuttle of C_BIA_MODULE": PLSQL (AFTER_SUBMIT) DECLARE prodlinever_selected APEX_APPLICATION_GLOBAL.VC_ARR2; BEGIN prodlinever_selected := APEX_UTIL.STRING_TO_TABLE(:P21_PRODUCT_LINE_VERSION_CODE); wwv_flow.debug('Count=' || prodlinever_selected.count); --DELETE FROM C_BIA_MOD_PROD_LINE_VER_REL w
    0.05: Count=2
    0.05: Adding..SBL80
    0.05: Adding..SBL811
    0.05: Branch point: AFTER_PROCESSING
    0.06: ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: (No Button Pressed) branch: (Unconditional)
    0.06: ...Unconditional branch taken
    0.01:
    0.01: S H O W: application="19562" page="20" workspace="" request="" session="3821879497713545"
    0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.03: ...Setting session time_zone to -05:00
    0.03: NLS: Language=en-us
    0.03: Application 19562, Authentication: CUSTOM2, Page Template: 839820919892290442
    0.03: ...Session ID 3821879497713545 can be used
    0.03: ...Application session: 3821879497713545, user=BHAVESH
    0.03: ...Determine if user "BHAVESH" workspace "711335503583907939" can develop application "19562" in workspace "711335503583907939"
    0.03: ...Check for session expiration:
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 19562, page 20
    0.03: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.04: Fetch application meta data
    0.04: Computation point: BEFORE_HEADER
    0.04: Processing point: BEFORE_HEADER
    0.04: Show page template header
    0.04: Computation point: AFTER_HEADER
    0.04: Processing point: AFTER_HEADER
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Report on C_BIA_MODULE
    0.04: using existing session report settings
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Report on C_BIA_MODULE
    0.04: using existing session report settings
              Rows                    
    * Select Columns
    * Filter
    * Sort
    * Control Break
    * Highlight
    * Compute
    * Aggregate
    * Chart
    * Flashback
    * Save Report
    * Reset
    * Help
    * Download
         Create      
    Edit
    select
    null as apxws_row_pk,
    "MODULE_CODE",
    "MODULE_NAME",
    "MODULE_DESCR",
    "INSTALLED_FLAG",
    "LAST_UPDATED_BY",
    "LAST_UPDATE_DATE",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    select "MODULE_CODE",
    "MODULE_NAME",
    "MODULE_DESCR",
    "INSTALLED_FLAG",
    "CREATED_BY",
    "CREATION_DATE",
    "LAST_UPDATED_BY",
    "LAST_UPDATE_DATE",
    "LAST_UPDATE_LOGIN"
    from "#OWNER#"."C_BIA_MODULE"
    ) r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    0.05: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="10000"
    0.06: Printing rows. Row window: 16-30. Rows found: 15
    0.06: Computation point: AFTER_BOX_BODY
    0.06: Processing point: AFTER_BOX_BODY
    0.06: Computation point: BEFORE_FOOTER
    0.06: Processing point: BEFORE_FOOTER
    0.06: Show page tempate footer
    0.06: Computation point: AFTER_FOOTER
    0.06: Processing point: AFTER_FOOTER
    0.06: Log Activity:
    0.07: Execute Count=88
    0.07: End Show:
    Can you please tell me what is wwv_flow.debug ???
    Also, now when this is done, I want to come to my second doubt i.e.
    when I click EDIT on the C_BIA_MODULE report, I would like to show my right side of shuttle being populated from the associated PRODUCT LINE VERSIONS (info present in C_BIA_MOD_PROD_LINE_VER_REL), how can I do that, I have tried writing a process for fetching the rows under Page Rendering section, but it didn't work. As C_BIA_MOD_PROD_LINE_VER_REL has two columns MODULE_CODE, PLV_CODE both Foreign keys, so combination of them is a PK here, so while creating a process, I input these two columns in primary and secondary key column values. On the right side of shuttle, it shows me the values I associated last time on this page (so have to delete this cache element also)
    Thanks Varad

  • Problem when working with adobe forms

    hi friends,
    i am new to interactive adobe forms
    i am following the tutorials for learning adobe forms
    when i am working with adobe forms error was occured.
    cannot find PDL type for output device local
    Device type unsuitable for ADS documents
    and i am searching for related documents in sdn
    i had found no. of documents related to this issue but i can't find the proper solution
    i have already installed Adobe Life Cycle Designer.
    can anyone explain me clearly about the issue.
    thanks in advance.
    Regards,
    karunakar

    Check this link (and don't forget to search the forums next time...!)
    Re: Adobe document service error: SOAP Runtime Exception
    Regards,
    Trond

Maybe you are looking for

  • Background job in shell script?

    I run these three commands on the command line to start my Linux gnome session. But when I embed them in a script, as follows, it is as if control is never returned from starting the first command in the background. Obviously I am ignorant of some ba

  • Table Maintaince ..issue to see all fields at once ??

    Dear All, I am working on a table maintaince. The problem I am facing is that, I have about 10 fields, I am unable to see all of them. I have to scroll left and right to see all fields. Is there any setting to see all at once. Thank you. Regards Madh

  • I have a full version of Adobe Acrobat 8.0, but it is seeing it as an upgrade!

    Why is my software being identified as an upgrade?  I bought a ull version of 8.0 Professional!

  • Not able to Download Apps anymore.....

    Can't Download Apps anymore.... For about three weeks now, I have not been able to download apps from the market or any other site. I am able to scroll through the apps or scan the code, but when I click the install, I get this following message ever

  • Crash to desktop when loading embedded swf

    I have a swf that loads two other embedded swfs. The need for an air native extension came up so I've wrapped this swf inside of an AIR app. I install my app as a native installer. (on Windows 7) My app has a main menu screen and two buttons that wil