Deploying Multiple beans from a single JAR

Hi,
Incase we need to deploy more than one bean packed inside the same JAR -
If each of the bean has a weblogic-cmp-rdbms.jar file, how do we combine them
into one while deploying the JAR file ?? There is also a reference to this, from
the welogic-ejb-jar.xml. Is any changes required in this file also ??
Do let me know .
Regards,
Sundari.S

Don't use the name "weblogic-cmp-rdbms.jar". It's not a hard-coded name.
It's ref'd from another file.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Sundari" <[email protected]> wrote in message
news:3c626adf$[email protected]..
>
Hi,
Incase we need to deploy more than one bean packed inside the same JAR -
If each of the bean has a weblogic-cmp-rdbms.jar file, how do we combinethem
into one while deploying the JAR file ?? There is also a reference tothis, from
the welogic-ejb-jar.xml. Is any changes required in this file also ??
Do let me know .
Regards,
Sundari.S

Similar Messages

  • How do I insert multiple rows from a single form ...

    How do I insert multiple rows from a single form?
    This form is organised by a table. (just as in an excel format)
    I have 20 items on a form each row item has five field
    +++++++++++ FORM AREA+++++++++++++++++++++++++++++++++++++++++++++++++++++
    +Product| qty In | Qty Out | Balance | Date +
    +------------------------------------------------------------------------+
    +Item1 | textbox1 | textbox2 | textbox3 | date +
    + |value = $qty_in1|value= &qty_out1|value=$balance1|value=$date1 +
    +------------------------------------------------------------------------+
    +Item 2 | textbox1 | textbox2 | textbox4 | date +
    + |value = $qty_in2|value= $qty_out1|value=$balance2|value=$date2 +
    +------------------------------------------------------------------------+
    + Item3 | textbox1 | textbox2 | textbox3 | date +
    +------------------------------------------------------------------------+
    + contd | | | +
    +------------------------------------------------------------------------+
    + item20| | | | +
    +------------------------------------------------------------------------+
    + + + SUBMIT + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Database Structure
    +++++++++++++++++
    + Stock_tabe +
    +---------------+
    + refid +
    +---------------+
    + item +
    +---------------+
    + Qty In +
    +---------------+
    + Qty Out +
    +---------------+
    + Balance +
    +---------------+
    + Date +
    +++++++++++++++++
    Let's say for example user have to the use the form to enter all 10 items or few like 5 on their stock form into 4 different textbox field each lines of your form, however these items go into a "Stock_table" under Single insert transaction query when submit button is pressed.
    Please anyone help me out, on how to get this concept started.

    Hello,
    I have a way to do this, but it would take some hand coding on your part. If you feel comfortable hand writing php code and doing manual database calls, specificaly database INSERT calls you should be fine.
    Create a custom form using the ADDT Custom Form Wizard that has all the rows and fields you need. This may take a bit if you are adding the ability for up to 20 rows, as per your diagram of the form area. The nice thing about using ADDT to create the form is that you can setup the form validation at the same time. Leave the last step in the Custom Form Wizard blank. You can add a custom database call here, but I would leave it blank.
    Next, under ADDT's Forms Server Behaviors, select Custom Trigger. At the Basic tab, you enter your custom php code that will be executed. Here you are going to want to put your code that will check if a value has been entered in the form and then do a database INSERT operation on the Stock_table with that row. The advanced tab lets you set the order of operations and the name of the Custom Trigger. By default, it is set to AFTER. This means that the Custom Trigger will get executed AFTER the form data is processed by the Custom Form Transaction.
    I usually just enter TEST into the "Basic" tab of the Custom Trigger. Then set my order of operations in the "Advanced" tab and close the Custom Trigger. Then I go to the code view for that page in Dreamweaver and find the Custom Trigger function and edit the code manually. It's much easier this way because the Custom Trigger wizard does not show you formatting on the code, and you don't have to keep opening the Wizard to edit and test your code.
    Your going to have to have the Custom Trigger fuction do a test on the submitted form data. If data is present, then INSERT into database. Here's a basic example of what you need to do:
    In your code view, the Custom Trigger will look something like this:
    function Trigger_Custom(&$tNG) {
    if($tNG->getColumnValue("Item_1")) {
    $item1 = $tNG->getColumnValue("Item_1");
    $textbox1_1 = $tNG->getColumnValue("Textbox_1");
    $textbox1_2 = $tNG->getColumnValue("Textbox_2");
    $textbox1_3 = $tNG->getColumnValue("Textbox_3");
    $date1 = $tNG->getColumnValue("Textbox_3");
    $queryAdd = "INSERT INTO Stock_table
    (item, Qty_In, Qty_Out, Balance, Date) VALUES($item1, $textbox1_1, $textbox1_2, $textbox1_3, $date1)"
    $result = mysql_query($queryAdd) or die(mysql_error());
    This code checks to see if the form input field named Item_1 is set. If so, then get the rest of the values for the first item and insert them into the database. You would need to do this for each row in your form. So the if you let the customer add 20 rows, you would need to check 20 times to see if the data is there or write the code so that it stops once it encounters an empty Item field. To exit a Custom Trigger, you can return NULL; and it will jump out of the function. You can also throw custom error message out of triggers, but this post is already way to long to get into that.
    $tNG->getColumnValue("Item_1") is used to retrieve the value that was set by the form input field named Item_1. This field is named by the Custom Form Wizard when you create your form. You can see what all the input filed names are by looking in the code view for something like:
    // Add columns
    $customTransaction->addColumn("Item_1", "STRING_TYPE", "POST", "Item_1");
    There will be one for each field you created with the Custom Form Wizard.
    Unfortunately, I don't have an easy way to do what you need. Maybe there is a way, but since none of the experts have responded, I thought I would point you in a direction. You should read all you can about Custom Triggers in the ADDT documentation/help pdf to give you more detailed information about how Custom Triggers work.
    Hope this helps.
    Shane

  • Merge statement - update multiple columns from a single sub-select

    Is it possible to write in 10gR2, a MERGE statement, with UPDATE for multiple columns from a single sub_select?
    like this:
    MERGE INTO tableA
    using ( select * from temp) tmp
    on( tableA. col1 = tmp.col1)
    when matched then
    update set  ( tableA.col5,
                       tableA.col6,
                       tableA.col7) = ( select sum(col2), sum(col3), sum(col5)
                                                                                 from tableX
                                                                                where tableX.col1 = tableA.col1...)

    Hi,
    The USING clause is not a sub-query, so it can't reference columns from tables that are not in it.
    Include tableA in the USING clause if you really need to refer to it there. (It's not obvious that you do.)
    As always, it helps if you post:
    (1) The version of Oracle (and any other relevant software) you're using
    (2) A little sample data (just enough to show what the problem is) from all the relevant tables
    (3) The results you want from that data (In the case of a DML statement, such as MERGE, this will be the state of the tables when everything is finished.)
    (4) Your best attempt so far (formatted)
    (5) The full error message (if any), including line number
    Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
    If you can present your problem using commonly available tables (for example, tables in scott schema, or views in the data dictionary), then you can omit (2).
    Formatted tabular output is okay for (3).

  • Error:  Current provider does not support returning multiple recordsets from a single execution

    Hello,
    The following piece of code which has been working for the
    past five years suddenly started giving me the following error:
    Current provider does not support returning multiple recordsets
    from a single execution
    We have recenlty moved this site to a new server. Could this
    error be related to their CFAdmin settings? Eveything else on the
    site seems to be working fine. Or am I using an outdated tag or
    something?
    Any light in this direction is appreciated, thanks.
    Here's the code:

    There doesn't seem to be anything that seems wrong with the
    code. It might have something to do with the Max Pooled Statements
    or Number of Connections settings in the CF Administrator, but it
    could just as easily have something to do with a setting on the
    database. I would check with your provider.

  • Deploying multiple beans & support classes, related questions

    I have an application that I'm trying to deploy to the latest JServer with Oracle 8i 8.1.6 on Windows 2000. We used JDeveloper to write the code and to deploy the EJBs. I have some questions and it'd be great if someone can answer them.
    All documentation seem to indicate that beans must be deployed one at a time. Is this the case? If not, how?
    If so, what is the "correct" way to deploy helper classes which are used by more than one bean?
    Is there always only one instance of a class in the database, even though I might deploy the same helper class with different beans? If not, is there any mechanism to ensure consistency?
    Can I just update a helper class in the database?
    How do I see what classes are in the database? How do I manipulate them (e.g. delete, change, add, view size) ?
    Is there an easy way to "clean out" the database of all classes, so as to start anew?
    null

    The Java-related documentation was that I was reading. I have a followup question. Is it possible for me to simply deploy some beans without regard for all the helper classes, then at a later point do a load java on all classes that I expect to use, and have it all work?
    Thanks. You've been great help.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDev Team (Laura):
    Hi Gerald,
    I will take a stab at answering your questions:
    1. Are you talking about the JDeveloper doc, or the Oracle8i EJB doc?
    2. When you create the Deployment Profile in JDeveloper using the Deployment Profile wizard, any classes your EJB depends on should get included in the deployment archive by the dependency analyzer. You can see the contents of what will be deployed by selecting the Preview button on the Sources page of the wizard.
    If you want to explictly EXCLUDE a helper class because it has already been deployed with another bean, you can choose the Advanced button. Select one of the Library, archive, class pages on the Advanced dialog, and add the class to the Exclude list. Select OK, then check the Preview button again to make sure it was excluded.
    If you are deploying a number of beans that user the same helper classes, the helper classes will get deployed with the first bean, and on subsequent deployments, the process will detect that the helper class has already been deployed and will check to see if it has changed since the last deployment. I believe it uses a timestamp comparison for this, but I'm not positive. If it detects the source and target are the same, it won't redeploy the class.
    If you just want to update a helper class for the EJB, you can use the Java Stored Procedure deployment in the Deployment Profile Wizard, include the helper class in the deployment archive, and do not publish anything.
    You can use the Database Browser in JDeveloper to see what deployed Java Classes, and EJBs are stored in your database. Double-click on the IIOP connection you used to deploy the EJBs (under the Connections node in the Navigator). This will display the Database Browser. Expand the appropriate nodes to view the deployed objects.
    To see deployed Java Classes, double-click on a JDBC connection and expand the Schema node and then the Deployed Java Classes node.
    Many operations are available from the context menus in the Database Browser, including Drop. Others you will have to perform from SQL*Plus or the command line. See the Oracle8i Java Developer's Guide for more information on SQL commands and command line syntax for altering Java objects in the database. This doc, and the EJB and CORBA Developer's Guide are available online from OTN on the Doc pages.
    You can use dropjava to drop all classes that were deployed in a given deployment archive by specifying the name of the jar file used during deployment. Again, see the Java Developer's Guide for the syntax.<HR></BLOCKQUOTE>
    null

  • Query Design Strategies - servicing multiple reports from a single query

    I was wondering if anyone knew of any good web resrouces (articles and such) to assist with Query Design Strategies. What I am specifically looking to do is replace multiple reports from the previous system with just views of a single query. So I was looking at grouping the existing reports that we are replacing into queries and creating views for each report.
    The catch is that we will only be utilizing web reporting for report distribution, so we need to:
    1. Use views as DataProviders to web templates
    2. Broadcast views to users as links where they can see that particular view
    Is this possible and does anyone have some info on how to do this?

    Lets say that 10 broadcasted reports all could use the same query but each in a different navigational state.
    1. Can you navigate the query and save as a view and then set up a brodacast rule for that view?
    2. Can a DataProvider in a web template be a view?
    3. Can the BI Launcher iView take a view name in place of a query?
    <prt_protcl>://<prt_server>/<bi_launcher>?TEMPLATE=TEST1&QUERY=TEST2

  • Multiple deliveries from a single sales order

    Hi all,
    Can any body explain how to Configure the process to create multiple deliveries for one sales order and one invoice for these multiple deliveries.
    Thanks and regards,
    Dinesh Kumar

    Hi,
    In customer master in shipping screen of sales area data we have a field for partial deliveries. SAP allows 9 maximum deliveries for a single sales order. The partial deliveries should be allowed otherwise the system will not allow you to create multiple deliveries for the same order.
    Create a sales order in VA01, save it. Go to VL01N and as per your requirement change the delivery qty. For example the order qty is 50. For the first time when i go to VL01N, in the delivery qty field i will change it from 50 to say 10, accordingly i will pick 10 pc only and I will do PGI. The next time i go to VL01N the system will show me 40 in delivery qty field. I will change it from 40 to 10 and do the picking & PGI. Similarly i do the same thing 3 more times. Now my sales order qty is 50 and i have 5 deliveries for this sales order.
    <b>Creating single invoice:</b>
    Go to VF01 and enter all the 5 different delivery numbers there and press  enter. Click on execute or press "F8" the system will take you to a screen where it will show you 5 line items of the same material with 10 quantities each. Save the invoice. Thus you created a single invoice for multiple deliveries of a single sales order.
    <b>Invoice split:</b>
    Suppose when the delivery of the items is being done for different shipping addresses then the SH is different. Now the invoice will split - means after you enter the 5 delivery numbers and press "F8" the system will show you a button for "Split Analysis" If you click on this the system will show you the criteria because of which the split is taking place. The followig are important for invoice split:
    1. Ship to party,
    2. Incoterms,
    3. Billing date,
    4. Reference number
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • How do I copy multiple events from a single calendar to another calendar?

    I have multiple events from my "Family" calendar that I want to move. I would like to create a new calendar and move only specific events from my "Family" calendar to this new calendar. I have tried to select each event, then export, but this doesn't seem to work. It seems to export all events in the "Family" calendar, not just the ones that have been selected. Is there any way to do this aside from exporting each event one at a time and reimporting to a new calendar?

    Drag them there. The volume they’re put onto needs to be formatted as Mac OS Extended.
    (111592)

  • Extract Multiple Rows from a Single Table into a Single Row in a New Table

    I have a table in a database that contains contact data like name, address, phone number, etc.
    The folks who designed the database and wrote the application wrote it so that all contact records are placed in that table, regardless of contact type. In fact, the contacts table does not even have a column for "type" even though there are many
    different types of contacts present in that table.
    I am trying to write a mail merge style report in SRSS, that gets sent to a specific type of contact, based on criteria provided that must be obtained from another table, and that data is then used to get back to a specific set of contacts from the contacts
    table.
    The attached file directly below describes my problem and all related information in an extremely detailed way.
    SRSSMailMergeIssue.pdf
    Unless there is a way to make a SRSS Tablix point to two different data sets in SRSS, it looks like I have to combine multiple rows from the same table into a new table.
    If anyone can review the details in the attached pdf file and possibly point me in the direction I need to run to solve this probelm, I would greatly appreciate it.
    I also included a document (below) that shows the tables I reference in the probelm description.
    dbtables.pdf

    I found a solution.... and posted it below
    select
    dk.ucm_docketnumber [UCM DocketNumber],
    dk.ucm_docketid [UCM DocketID],
    vc.FirstName [Victim FirstName],
    vc.MiddleName [Victim MiddleName],
    vc.LastName [Victim LastName],
    vc.Suffix [Victim Suffix],
    vc.Address1_Line1 [Victim AddressLine1],
    vc.Address1_Line2 [Victim AddressLine2],
    vc.Address1_Line3 [Victim AddressLine3],
    vc.Address1_City [Victim City],
    vc.Address1_StateOrProvince [Victim StateProvince],
    vc.Address1_PostalCode [Victim Postalcode],
    oc.FirstName [Offender FirstName],
    oc.MiddleName [Offender MiddleName],
    oc.LastName [Offender LastName],
    oc.Suffix [Offender Suffix],
    oc.Address1_Line1 [Offender AddressLine1],
    oc.Address1_Line2 [Offender AddressLine2],
    oc.Address1_Line3 [Offender AddressLine3],
    oc.Address1_City [Offender City],
    oc.Address1_StateOrProvince [Offender StateProvince],
    oc.Address1_PostalCode [Offender Postalcode],
    pc.FirstName [Arresting Officer FirstName],
    pc.MiddleName [Arresting Officer MiddleName],
    pc.LastName [Arresting Officer LastName],
    pc.Address1_Line1 [Arresting Officer AddressLine1],
    pc.Address1_Line2 [Arresting Officer AddressLine2],
    pc.Address1_Line3 [Arresting Officer AddressLine3],
    pc.Address1_City [Arresting Officer City],
    pc.Address1_StateOrProvince [Arresting Officer StateProvince],
    pc.Address1_PostalCode [Arresting Officer Postalcode]
    FROM ucm_docket dk
    left outer join ucm_victim v on dk.ucm_docketid = v.ucm_docketnumber
    left outer join contact vc on vc.contactid = v.ucm_victimlookup
    left outer join ucm_offender o on o.ucm_offenderid = dk.ucm_offenderlookup
    left outer join contact oc on oc.contactid = o.ucm_individualid
    left outer join contact pc on pc.contactid = dk.ucm_ArrestingOfficerLookup
    WHERE (dk.ucm_docketnumber = @DocketNUM)

  • Deploying multiple applications to a single collection quickly

    Hi,
    I've been looking for a way to quickly deploy multiple applications to a collection in the SCCM 2012 console. Is there any way to select a group of applications and deploy them all to be available to a collection? I can do them one by one, but I have a ton
    of applications to test and this is going to be very time consuming. If there is a powershell method, I would be open to that as well. Unfortunately, I couldn't find any topics on this on the forums or on the internet.
    Thanks!

    You also might consider to create an super application, and the set all other applications as dependencies to it (but NOT in the same group, only as separate groups). The super application will only modify a registry key or a file as a flag for detection.
    In that case you need to deploy only the super application. But I afraid it's against the best practices. I'm going that for a multi-component application to install all support components.

  • Invoking multiple servlets from a single request

    Hi. I'm wondering if it's possible to execute multiple servlets within a single request and context. I have a servlet defined in web.xml which says:
    <servlet>
    <servlet-name>firstServlet</servlet-name>
    <servlet-class>mypackage.First</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>firstServlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    (clearly this one gets invoked upon every request in the context)
    But I also have another servlet which gets invoked when another condition applies:
    <servlet>
    <servlet-name>secondServlet</servlet-name>
    <servlet-class>mypackage.Second</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>secondServlet</servlet-name>
    <url-pattern>*.ftl</url-pattern>
    </servlet-mapping>
    So if the url was http://localhost:8080/mycontext/page.ftl, I want both servlets to get executed. Is there anyway I can do this? I've tried the above code and it doesn't work. How would I do this (or can I even do it)?
    Thanks,
    Dylan

    depending on what your servlets do, you might also think of using filters. say you have a first servlet that compresses the respone you would be better off to implement this as a filter. than you might have a second serlvet that does request logging stuff. this might also be better than in a filter, so you chain first and second filter. the business logic is put in servlet three i.e.

  • Cannot find deployed Remote Bean from external client

    I have a very simple Stateless Session bean running in the SAS PE 9, which from what I can see has been successfully deployed. The application is listed as enabled in the Admin Console. Likewise, when I look at the JNDI tree, I can see the following entries at the top:
    com.intecbilling.svConnectorHarness.TestRunnerRemote
    This is the name of the Remote Interface, that I have defined for the ejb TestRunnerBean. It does very little:
    package com.intecbilling.svConnectorHarness;
    import javax.ejb.Stateless;
    @Stateless
    public class TestRunnerBean implements TestRunnerRemote, TestRunnerLocal {
        public void runTest() {
            System.out.println("Running test!");
    }and the Remote Interface is
    package com.intecbilling.svConnectorHarness;
    import java.rmi.RemoteException;
    import javax.ejb.Remote;
    @Remote
    public interface TestRunnerRemote {
        void runTest() throws RemoteException;
    }Now, I'm trying to call this runTest() method from an external client. The client code looks like
        public void connectUsingJNDI(String paramName) throws NamingException {
            Properties env = new Properties();
            env.put("java.naming.factory.initial", initialFactory);
            env.put("java.naming.provider.url", providerUrl);
            String myJndi = jndiName;
            if (paramName != null) {
                myJndi = paramName;
            Context ctx = new InitialContext(env);
            System.out.println("looking for " + myJndi);
            Object returnedObject = ctx.lookup(myJndi);
            System.out.println("returnedObject=" + returnedObject);
        }I am using:
    - com.sun.jndi.cosnaming.CNCtxFactory as the initial factory
    - iiop://<machineName>:3700 as the url. I'm using 3700 because that is the port against which my appServer's orb-listener-1 is using
    I've tried to look for the JNDI name of
    com.intecbilling.svConnectoryHarness.TestRunnerRemote
    because that is what is displayed in the JNDI View. When I do this, I get the following error:
    /svjca-src> runMe.sh com.intecbilling.svConnectorHarness.TestRunnerRemote
    looking for com.intecbilling.svConnectorHarness.TestRunnerRemote
    javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
         at com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.java:44)
         at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:484)
         at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:523)
         at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:501)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at com.intecbilling.svConnectorHarness.TestRunnerClient.connectUsingJNDI(TestRunnerClient.java:42)
         at com.intecbilling.svConnectorHarness.TestRunnerClient.main(TestRunnerClient.java:57)
    Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
         at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
         at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:406)
         at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:470)
         ... 5 more
    Now, no matter what I do, I get this. Running with the AS jars in the classpath or not. Running with the following system variables
    -Dorg.omg.CORBA.ORBClass=com.sun.corba.ee.impl.orb.ORBImpl -Dorg.omg.CORBA.ORBSingletonClass=com.sun.corba.ee.impl.orb.ORBSingleton -Djavax.rmi.CORBA.UtilClass=com.sun.corba.ee.impl.javax.rmi.CORBA.Util
    Also provide me no joy. I've also tried using the JNDI format with the corbaname embedded in it (looks like corbaname:iiop:machinename:3700#com.intecbilling.svConnectorHarness.TestRunnerRemote) and I get the exact same exception.
    From what I'm seeing, I'm finding the remote NamingContext, but it doesn't like the JNDI name. I've tried fully-qualified names (as it is displayed in the JNDI tree) and unqualified names with the exact same results. From all of the posts I've read, I've tried all the various combinations that I can see to no avail. Is there a security issue going on here? I haven't enabled any security at all. I'm running out of ideas, and if I can't get any joy, I'll probably have to use a different app server to play with.
    Thanks for any help,
    Ed

    Hi Ed,
    We have an EJB FAQ entry that describes how to access Remote EJBs from a stand-alone (non Java EE) client. In a nutshell, put appserv-rt.jar in your classpath and instantiate the 0-arg InitialContext constructor. You can find more details here :
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html

  • How to develop and deploy multiple worker roles in single azure cloud services?

    I am Manikandan, From Myeasydocs.com.
    We have developed our application as web projects.  Now we are going to move to azure cloud services, i have successfully migrated our application in cloud services and it worked fine. I am having difficulties with back ground task. i have nearly 12
    schedule tasks in our applications. I need assist on creating multiple worker role creation and deployment.
    Is there is any site on explaining the worker role process in details?
    Thanks in advance .. !!

    Hi,
    In Worker role, Applications hosted within worker roles can run asynchronous, long-running or perpetual tasks independent of user interaction or input. It is a service component that is useful for generalized development, and may perform background processing
    for a web role. A worker role is frequently used for long-running tasks that are non-interactive, but you can host any type of workload.
    I suggest you to follow the below article which explains about Creating and Deploying of Web Roles and Worker Roles in Azure Cloud Service using Visual Studio.
    https://msdn.microsoft.com/en-us/magazine/jj618299.aspx
    Hope this helps !
    Regards,
    Sowmya

  • Generating multiple details from a single input row

    Post Author: dhay
    CA Forum: General
    I'm using Crystal Reports Developer XI.
    Each input row from the database contains a starting serial number and the number of serial numbers to be generated. The detail section of my report consists of a form containing the serial number. I want to create a form for each serial number that is to be generated. For example, if the database supplies a starting serial number of 11, and the number of serial numbers to be generated is equal to 3, my report would create three forms, the first containing serial number '11', the second form contains serial number '12', and the third, '13'. The next input row would then be read, and multiple forms would be created for that input row. And so on.
    So, I want each input row to create as many instances of my report's detail section as is specified by the input field 'number of serial numbers to be generated'.
    In my prior experience, each input row generates a single detail section instance on the report. Can I do what I described above in Crystal? Alternatively, is there a way to do this using SQL (possibly generating an intermediate table or view) so that the Crystal Report would receive one input row per serial number (and would thus work in the normal manner)?
    Thanks in advance,
    Don

    assume you have a check box at column no 1. and print button
    create a hidden item on page zero
    create a PL?SQL page process on submit - after computations and validation with condition when button press is print
    and put this code
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
    if i = 1 then
    :p0_invoice_selected := APEX_APPLICATION.G_F01(i);
    else
    :p0_invoice_selected := ::p0_invoice_selected ||','||APEX_APPLICATION.G_F01(i);
    end if;
    END LOOP;
    create page branching to zero page and call the report on the request field
    PRINT_REPORT=print_invoice and condition when button press is print
    in your invoice print query put the condition
    where invoice_id in (:p0_invoice_selected)
    in your report template insert a group with invoice_id at the top and select page break.
    Now about your page no select the section-page no not the normal page no.
    but you have invoice-id as a character then i would suggest you create a type
    CREATE OR REPLACE type list_table as table
    of varchar2 (500);
    add a function
    function in_list_table( p_string in varchar2 ) return list_table
    as
    l_string long default p_string || ',';
    l_data list_table := list_table();
    l_instr number;
    begin
    loop
    exit when l_string is null;
    l_instr := instr( l_string, ',' );
    l_data.extend;
    l_data(l_data.count) :=
    ltrim( rtrim( substr( l_string, 1, l_instr-1 ) ) );
    l_string := substr( l_string, l_instr+1 );
    end loop;
    return l_data;
    end;
    and call the function in your sql query
    invoice_id IN
    (SELECT list.COLUMN_VALUE
    FROM table(CAST (
    in_list_table(:p0_invoice_selected) AS list_table
    )) list))
    hope this will solve your problem.

Maybe you are looking for

  • Windows recognizes ipod nano (1st generation) but itunes doesn't

    I'm a happy owner of ipod nano for about a year. My itunes and ipod nano was working perfectly until few days ago I encountered problems with both of them. I fixed my itunes (which kept showing an error message when I tried to uninstall/repair it) bu

  • Subquery in materialized view

    I have this subquery in a materialized view. (SELECT COUNT(*)     FROM product_statistics_units psu     INNER JOIN scenes_identity_fact sif     ON (trunc(sif.date_acquired) = trunc(psu.scene_date))     AND ((SELECT satellite_sensor_key         FROM l

  • OVMM 2.2 "Save as Template" Error messages

    Hi, does anyone can tell me where to find the log files from the procedure "Save as Template". I try to migrate a VM from an OVM 2 to OVM 3 and an metalink how to instruct me to save the VM as a template. The process start and after it finished the s

  • IDOC Adapter error"ATTRIBUTE_INV_SND_SERV'

    I am doing small example like Using HTTP Client to submit Order Response XML from my browser and Converting Order Response XML file to an order response IDOC of type ORDERS05 idoc.  I have developed  all the necessary objects in Integartion Repositor

  • Mac book pro slowing down by cinema display

    when using cinema display it is slowing down terribly my mac book pro! how can I restore the speed it had when I bought it 2 years ago?