Weblogic server- some basic questions

Being new to Weblogic, I want to know the best practices for following:
I am dealing with WLP(weblogic Portal server) 10.3.2. I need expertise of guys on this forum.
1. I have setup a Dev server with WLP and am currently starting WLP with /domains/base_domain/startWebLogic.sh. How do I make it start automatically whenever the server starts?
2.What is the best practice for deploying an ear with zero downtime? (for instance: we have an ear MyAPP.ear and next time we have an updated version, we want to deploy this new one). Right now, in Dev, we are completing deleting the ear from Web console and deploying new ear from Deployingments --> install --> upload new ear.

Hi,
1. I have setup a Dev server with WLP and am currently starting WLP with /domains/base_domain/startWebLogic.sh. How do I make it start automatically whenever the server starts?
- We can make it as daemon process. Send me your email ID, I will give you document for configuring it.
2.What is the best practice for deploying an ear with zero downtime? (for instance: we have an ear MyAPP.ear and next time we have an updated version, we want to deploy this new one). Right now, in Dev, we are completing deleting the ear from Web console and deploying new ear from Deployingments --> install --> upload new ear.
- This can be achieved by doing versioning of applications.
Example:
1. You can deploy your application with a version, say "version91Beta"
java weblogic.Deployer -url t3://localhost:7001 -user weblogic -password weblogic1 -deploy -name Final -source D:\Mugdha\CurrentReplication\Final.ear -targets AdminServer -stage -appversion version91Beta
2. When it is modified and updated version is available, deploy it again by specifying the version, say "version91alpha"
java weblogic.Deployer -url t3://localhost:7001 -user weblogic -password weblogic1 -deploy -name Final -source D:\Mugdha\CurrentReplication\Final.ear -targets AdminServer -stage -appversion version91alpha
When "version91alpha" is deployed, previous version "version91Beta", will be set to retired.
This will help you achieve zero downtime.
For more information check the following links:
http://download.oracle.com/docs/cd/E13222_01/wls/docs90/programming/versioning.html#1021388
http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/redeploy.html#wp1023028
Hope this helps.
Regards,
Mugdha
Edited by: user10600609 on Oct 8, 2010 6:47 AM

Similar Messages

  • Some basic questions on File Adapter

    Hello all,
    I have some basic questions on XI and File Adapter and hope you can help me. Any answer is appreciated.
    1. Can I use NFS transport protocol to poll a file from a machine in the network, which is not the XI? Or do I have to use FTP instead?
    2. If I understand it correctly - when using the FTP-File Adapter, XI has the role of a ftp client. I have to run a ftp server on my distant machine. XI connects to FTP-Server and polls the file.
    Can it also be configured the other way round? The scenario I think of would be: FTP client installed on distant machine, which connects to FTP-Server(XI) and loads up a file. So XI would act as FTP Server.
    I know this works, if I install a ftp Server on the computer my XI runs on, and use the NFS-File Adapter to observe the folder. But I want to know, if I need a second, independant ftp server for this.
    3. And last but not least: When do I need the active ftp mode instead of passive?
    Thanx a lot for your answers!
    Ilona

    > Hello all,
    > I have some basic questions on XI and File Adapter
    > and hope you can help me. Any answer is appreciated.
    >
    >
    > 1. Can I use NFS transport protocol to poll a file
    > from a machine in the network, which is not the XI?
    <b>yes</b>
    > Or do I have to use FTP instead?
    >
    <b>also you can do it</b>
    > 2. If I understand it correctly - when using the
    > FTP-File Adapter, XI has the role of a ftp client. I
    > have to run a ftp server on my distant machine. XI
    > connects to FTP-Server and polls the file.
    > Can it also be configured the other way round? The
    > scenario I think of would be: FTP client installed on
    > distant machine, which connects to FTP-Server(XI) and
    > loads up a file. So XI would act as FTP Server.
    > I know this works, if I install a ftp Server on the
    > computer my XI runs on, and use the NFS-File Adapter
    > to observe the folder. But I want to know, if I need
    > a second, independant ftp server for this.
    >
    <b>XI cannot act as FTP server, but it is always a client. When XI is reading (File sender adpater) when XIis writing than it is File Receiver adapter</b>
    > 3. And last but not least: When do I need the active
    > ftp mode instead of passive?
    >
    <b>It depends on your firewall configuration. The best and the fastests is active mode but not always available.</b>
    > Thanx a lot for your answers!
    > Ilona

  • Some basic questions on HANA

    Hi All,
    I have some basic questions on SAP HANA,
    I heard from one of my colligues that it is mandatory to learn SQL scripts for HANA, is it true?
    Or basic knowledge is enough for HANA???
    Is it added advantage while working on HANA or can we manage with basic knowledge of SQL???
    I tried to find answers for these questions in SCN, but I could not get proper answers, So could you please provide answers for above my questions.
    Thanks in advance,
    Venkat Kalla

    Hi Vladmir,
    SAP HANA is a platform and is more than just database. Which can serve both OLTP and OLAP.
    But since it is a database, Sp SQL skills helps you while modelling in SAP HANA. So When will it be helpful ? It is while addressing some complex requirements using SAP HANA.
    At the end of the day, when you want to work in HANA ( a super duper database ) and you still thinking of whether to learn SQL or not?
    Regards,
    Krishna Tangudu

  • Some basic question about SCM Installation

    Hi Folks,
    Could you please advice me about some basic questions about SCM and its installation -
    Q1. Do I need to have an R/3 System to be able to practice OR demo the SCM system?
    Q2. If, yes, which version of SCM is compatible with the ECC 5.0?
    Q3. What are the basic requirements to install SCM (version compatible with ECC 5.0) and ECC on a oracle db and windows OS?
    Q4. Does SCM have APO and BI as an inbuilt functionality OR does the user need to purchase these as an Add-On?
    I know these are some basic questions, but these will help me give me a direction.
    With best wishes,
    Krishna

    Hello Krishna -
    Q1. Do I need to have an R/3 System to be able to practice OR demo the SCM system?
    ---> There are various Modules in SCM Like APO (Sub Modules  DP (stand alone), SNP Needs Master data from R/3 and has to pass on transactional Data to R/3, PPDS same as SNP, GATP same as SNP), ICH needs Data from R/3 to work with. Core Interface (CIF) connects R/3 to APO for transferring data.
    Q2. If, yes, which version of SCM is compatible with the ECC 5.0?
    -->For thorough understanding explore the following links
    http://help.sap.com/saphelp_scm41/helpdata/en/9b/954d3baf755b67e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_scm50/helpdata/en/9b/954d3baf755b67e10000000a114084/frameset.htm
    Q3. What are the basic requirements to install SCM (version compatible with ECC 5.0) and ECC on a oracle db and windows OS?
    -->Refer Above
    Q4. Does SCM have APO and BI as an inbuilt functionality OR does the user need to purchase these as an Add-On?
    --> APO comes with a small BI inbuilt functionality. you can only perform certain functions using that BI.
    Hope this helps.
    Regards,
    Suresh Garg

  • Some basic questions on ESS and MSS

    Hi Experts,
    This is the first time I am going to deal with
    ESS and MSS.
    I have some basic questions about it and they are
    listed below:
    1. In an organization if they want to integrate
    ESS and MSS, how do they go about? What I mean
    is, will they install the packages in the R/3
    system and then use the to portal features to
    make iViews of ESS and MSS.
    2. Or is there a seperate package for the portal
    and the R/3 system
    3.What is the best way to customize ESS and MSS
    iViews? Is WebDynpro used to customize ESS and
    MSS applications, if yes how?
    4. Are these ESS and MSS packages different for
    ECC and the older version of R/3 systems? If yes what are the major differences?
    Please do let me know on these subjects and also
    if anyone of you have any links or documents
    associated with this scenario please do send me.
    Thank you
    Regards
    Luke

    Hi,
    here is what I know..
    1 & 2. Depending on the backend SAP version, the relevant ESS/MSS Business Packages have to be installed on the Portal. On the backend it will be via an Add-on.
    3. The webDynpro versions of ESS/MSS are available from mySAP ERP2004/2005 (ECC5/6). The best way to customize the iViews would be through the NetWeaver DevStudio.
    ent
    4. Yes, the ESS/MSS packages are differ depending on the backend SAP version.
    You can find all the  different packages & their info right here on SDN. From the home page click on the Portal Content Portfolio on the right hand side of the page>Browse Content Portfolio>Self Service for ESS & Line Manager for MSS.
    Regards,
    Suresh Datti

  • Some basic questions about DAC

    Hello
    I am just starting to use DAC now and I have some basic questions about DAC..
    1: How many different kinda image tables are there, what are they used for?
    2: In order to check which ETL mapping with in the same execution plan is taking a long time, what to do? I mean is there a table that stores such info?
    3: How to determine which ETL task to run after and which after?
    4: Is subject area always map to the Informatica workflow folder? Or what should subject area be?
    Please shed some lights on it, deeply appreciate!
    Thanks

    Hi,
    I have problems to understand you question but will do a try:
    From a logical point of view objects can be only serialized reasonabely when they have a state of it's own which can be reestablished at a later point in time and space without further dependencies.
    F.E. a "serialized file" would NOT make much sense cause it depends heavily on the state of the underlying file system.
    You can't expected that is can be deserialized at a later point of time (physical file refered may not longer exists) or on another machine, where the serialized object was transported to.
    Technical - at zero approach - it's more or less trivial. Simply implement Serializable and all non static, non transient fields of your object will be serialized automatically.
    But there is a couple of pitfalls, you should study documentations regarding this feature.
    Hope this helps
    Martin

  • Some basic questions about serialization

    Hi,
    I have some basic questions on serialization.
    1. What are the basic criteria to make an object serializable(except that it must implement serializable ?) I mean that objects of some class inherently cannot be serialized so any object must have some features which makes it serializable/non serializable.
    2. I know it makes no sense to serialize a socket because it is fixed only by specifying ip and port at both ends, and is valid only when the network connection remains valid. Still in the context of my previous question, I would like to know why a socket cannot be serialized.

    Hi,
    I have problems to understand you question but will do a try:
    From a logical point of view objects can be only serialized reasonabely when they have a state of it's own which can be reestablished at a later point in time and space without further dependencies.
    F.E. a "serialized file" would NOT make much sense cause it depends heavily on the state of the underlying file system.
    You can't expected that is can be deserialized at a later point of time (physical file refered may not longer exists) or on another machine, where the serialized object was transported to.
    Technical - at zero approach - it's more or less trivial. Simply implement Serializable and all non static, non transient fields of your object will be serialized automatically.
    But there is a couple of pitfalls, you should study documentations regarding this feature.
    Hope this helps
    Martin

  • Need answers for some basic question

    The Informatica server software usually runs on some server machine.The client tools usually run on those Windows PC with which developers to their work. That's a pretty much standard client/server architecture.On Windows servers you will often (not always) find the client tools as well, but that's by no means mandatory.Communication between PowerCenter clients and PowerCenter server usually takes place via TCP/IP; the protocol, as far as I know, has been developed by Informatica in-house app. in 1993-1995. The installation of the server software usually is the task of some server administration team. You will also need some DBA team because the Informatica software (almost) always stores its controlling, scheduling, and runtime information in some relational database system. Importing of relational structures (meaning table and view structures) usually is done on a client PC which connects to the respective source and/or target DBMS via ODBC.The server uses either native database client installations (for Oracle, IBM DB2, Microsoft SQL Server, and Sybase) or ODBC to communicate with the source / target databases. Best thing is that you download the documentation and start browsing the Installation and Configuration Guide; this PDF file explains quite a few concepts fairly well. Regards,Nico

    Hi, 1) a server installation is a server installation and nothing else. It also contains some clients (namely the command-line client tools), but definitely not the GUI clients (this is an extra installation always to be done on a Windows PC as of this time).2) That depends on your business processes. Sometimes files will be placed in some directory (e.g. /opt/transfer/inp) and then the respective workflow shall start, so it might read this file directly. If some business user can only deliver via email, then you will need an extra process which extracts the file(s) from the email and places them somewhere where the server processes can access them.3) Unix is a computer operating system. Windows is a computer operating system. They are just in use in different cases (at least often). Some basic Unix knowledge (about the most common system tools and a bit of shell scripting) is definitely useful / necessary if you want to work with Unix systems.4) A data warehouse stores information which usually is needed for enterprise-wide strategic business decisions. A server is a machine offering software services. One kind of servers are database servers, and data warehouses usually (not always) are stored in a databases. So some sort of server is the technical basis for a data warehouse.5) Usually these two terms are identical in meaning.6) Unix is an operating system. A shell is a program which enables you to interact with a Unix system. Shell scripting means that you automate moderately complex or highly complex tasks using a programming language which is provided by the shell. Different shells offer different scripting facilities and features. Writing a shell script is a matter of programming. Your questions are by no means stupid. They just show that you still have a lot to learn, but that's ok, we all should try to learn more as long as we live. Regards,Nico

  • Some basic questions from a mac newbie

    hi,
    i have been using linux and windows all this while, and recently began using an apple too. have some simple questions here that i hope to get some answers for.
    1. is there something similar to /etc/hosts in linux where i can add the IP address of a server? this is for me to use the 'ssh' command in the terminal
    2. when i open up an application, say safari or chrome, i want the window to fill the entire screen automatically, instead of having to drag the bottom right of the window to fill the screen. how to configure that?
    3. when i close an application by clicking on the 'x' at the top left, why is it that it still appears in the list when i press command+tab? to remove the application from the list, i have to right click on its icon on the dock, then click 'quit'. this is rather troublesome.
    appreciate any help!

    1. is there something similar to /etc/hosts in linux where i can add the IP address of a server? this is for me to use the 'ssh' command in the terminal
    The /etc/hosts file is there, but the /etc/ folder is hidden. You can use the Terminal (in /Applications/Utilities/) to access it via Unix, or could enter "open /etc" in the Terminal to open that folder in the Finder.
    However, I'm not sure how this relates to ssh... I have not needed to modify that file, yet I can ssh all I need to. Are you trying to connect to your new Mac via ssh, or connect to other machines from the Mac via ssh?
    2. when i open up an application, say safari or chrome, i want the window to fill the entire screen automatically, instead of having to drag the bottom right of the window to fill the screen. how to configure that?
    Just drag the window out to full-screen and the browser should remember and open new windows at that size in the future. There are also some utilities (one called "Right Zoom" IIRC?) that will make the zoom button (green + button) behave more like the Windows zoom button.
    3. when i close an application by clicking on the 'x' at the top left, why is it that it still appears in the list when i press command+tab?
    Applications shouldn't quit just because you close their last window, unless the application's entire user interface is contained within that window. That is the case with ALL Windows apps, since there's no global menu bar, but only in some Mac apps. This is something that always ticked me off big-time with Windows... there have been times when I carelessly closed a window I didn't need anymore, but wanted to keep using the app, and then had to wait for it to load again. That won't happen on the Mac.
    If this bothers you, just use the key combination command-Q to quit apps.

  • Mind answering some basic questions for a few bright HS students?

    I am a HS computer science teacher who seeks a professional mentor regarding JDBC. While I have successfully
    - installed a MySQL database,
    created, queried, updated the database,
    - read the Java Tutorial and:
    used Connect/J and written a main method to manipulate a
    database
    created very simple applets to query or update a database with
    their run methods.
    I have basic questions about how pieces fit together in web application development and how one can best take advantage of OOP when dealing with a database. My motivation are a few very bright post-AP students who have an excellent grasp of OOP and data structures; they are curious to see how Java is used in web applications.
    The sample code I have found on the Web has all been small main method examples. I would like to see and discuss a truly OOD application with JDBC, and to discuss how the pieces fit together.
    So, aware of our ignorance and of how dangerous a little knowledge can be, and not expecting to go live with an application anytime soon, we seek a very high level understanding of current professional practice (like: "Where does tomcat fit in here?") as well as some direction while we get our hands dirty. (I hope that makes sense.)
    If you have time to correspond with us via e-mail, answer some very basic questions, and perhaps take a look at some code as we work through it, we would love to hear from you off-line ([email protected]). We would also appreciate knowing where to look for a good OOD sample application. Thanks.

    Complete this tutorial and you will have a much better understanding.
    http://java.sun.com/javaee/5/docs/firstcup/doc/toc.html
    Also here is the tutorial for j2ee ( a little detailed but useful):
    http://java.sun.com/javaee/5/docs/tutorial/doc/

  • Some Basic Questions in ODI

    Hi,
    I am a fresher in ODI That's why I have some basic query On ODI:-
    *1)What are the importances of Physical and Logical Architecture in ODI(In Topology).Mainly what are the basic differences of the contents of these architecture so that we need both of them??*
    *2)What are the importances of the Master and Work Repository???And some basic information about their contents??*
    Please help;
    Thank You in advance
    Anindya
    Edited by: Anindya Chatterjee on Apr 25, 2012 3:50 AM

    >
    *1)What are the importances of Physical and Logical Architecture in ODI(In Topology).Mainly what are the basic differences of the contents of these architecture so that we need both of them??*
    Physical Architecture holds the real information to your dataserver .
    For example ,if your server address has changed then you need to modify the Physical Architecture so that it reflects the current/corrent address
    Logical Architecture connects to your Physical Architecture via context . Entire ODI code works on Logical Architecture .
    For example ,if your server address has changed then you need to modify the Physical Architecture so that it reflects the current/corrent address and there is no need to change any thing in your ODI code.
    *2)What are the importances of the Master and Work Repository???And some basic information about their contents??*
    These are the most important thing in ODI. Entire ODI application depends on these.
    Master repository holds all metadata stuff like information about topology , technology
    Work repository holds all design related info like interface, package etc.
    Thanks,
    Sutirtha

  • Some basic questions of WLS cluster services.

    Hi,
              I always get confused by WLS EJB failover policy.
              Here are some my understandings, please correct me if I'm wrong.
              1. All types (SLSB, SFSB, ROEB, RWEB) cluster-ware Home stub support both
              load balancing and failover.
              2. SLSB replica-aware Remote stub supports load balancing, but failover only
              if failing method is specified IDEMPOTENT (WLS is not smart enough to know
              failure at before, middle, after method execution).
              3. SFSB replica-aware remote stub is pinned in the primary server (no load
              balancing happens here), but will failover to secondary server even without
              knowing if failing method is IDEMPOTENT. How does WLS suddenly get smart
              this time???
              4.ROEB replica-aware remote stub supports load balancing.
              5. RWEB supports neither loading balancing nor failover.
              I've asked these to several people (some of them are claimed as WLS expert),
              none of them could give me the whole picture. I world appreciate if someone
              could enlighten me on this.
              Feng
              

    Feng,
              SLSB do not have failover per se. They are stateless, so the bean doesn't
              have to fail over. The execution may, but the execution unit is typically
              from the HTTP request on back, not the EJB invocation on back, so you don't
              have to worry about that with web clients.
              SFSB have failover with state in 6.1, but I suggest you avoid using SFSB in
              your design as long-term state holders, and thus I suggest avoiding using
              SFSB replication. (AFAIK it works fine, but why use something that may be
              performance-expensive that you don't need?)
              Entity beans have their state managed by the database, so an in flight
              transaction will simply roll back leaving them 'failed over' (loose
              definition) back to their previous state.
              The main concern as an app designer is making sure that your HTTP requests
              are idempotent. The EJB container takes care of itself by using
              transactions, but you need to make sure that your HTTP requests can (a) be
              repeated without harm and thus (b) can failover without concern.
              Peace,
              Cameron Purdy
              Tangosol Inc.
              << Tangosol Server: How Weblogic applications are customized >>
              << Download now from http://www.tangosol.com/download.jsp >>
              "Feng Hou" <[email protected]> wrote in message
              news:[email protected]...
              > Hi,
              >
              > I always get confused by WLS EJB failover policy.
              >
              > Here are some my understandings, please correct me if I'm wrong.
              >
              > 1. All types (SLSB, SFSB, ROEB, RWEB) cluster-ware Home stub support both
              > load balancing and failover.
              >
              > 2. SLSB replica-aware Remote stub supports load balancing, but failover
              only
              > if failing method is specified IDEMPOTENT (WLS is not smart enough to know
              > failure at before, middle, after method execution).
              >
              > 3. SFSB replica-aware remote stub is pinned in the primary server (no load
              > balancing happens here), but will failover to secondary server even
              without
              > knowing if failing method is IDEMPOTENT. How does WLS suddenly get smart
              > this time???
              >
              > 4.ROEB replica-aware remote stub supports load balancing.
              >
              > 5. RWEB supports neither loading balancing nor failover.
              >
              > I've asked these to several people (some of them are claimed as WLS
              expert),
              > none of them could give me the whole picture. I world appreciate if
              someone
              > could enlighten me on this.
              >
              > Feng
              >
              >
              >
              

  • Some basic questions about foriegn key , and relationships.

    Hi
    Thank you for reading my post
    I read some documents about foreugn key and tables relation ships.
    but i still can not understnad some stuff.
    1-when we have a foreign key , we have two tables that we want to relate them together
    in a way that one of ? table columns forced to be a value from ?? table column.
    what is name of those two tables , i saw , child-parent , ..... which confuse me.
    can some one please tell me correct name of those two tables ?
    2-some times we need some kind of master details relation like :
    one-to-many : i this case MANY table will have a column to point a record in ONE table , can this relation be a foreign key relation ?
    3-we can achieve many-to-many relation only by using a helper table to host both tables primary keys in a record to relate them together.
    can you point me to some resources that help me to find answers to this questions ?
    or explain them to me ?
    thank you for your time.

    These are critical database basics that you need to understand. I would seriously recommend getting some study in, because proper relational database design relies on the basic principle of data and relationships and a process called normalization.
    In reality, you only really need one gigantic table to host data. It would include everything you would want to know about something - let's take a sales order for example. You would have to record the customer's name, address, etc. along with every item they ordered, etc. You would have a HUGE table full of data that appeared over and over and over again. This is bad design for two basic reasons: it is difficult to query, and it is very easy to have minor mistakes like capitalization or alternate spellings that prevent things from matching up properly. For example, let's say Bob orders 40 widgets and 40 digits. In our hypothetical table, we could put it in as Bob - 40 widgets and Robert - 40 digits. See how confusing this can get even in a simple example? And let's say you wanted to correct all of Robert's orders to say Bob and you found out there were 40 orders from "Robert" How would you know which ones to change?
    The process of normalization helps to reduce the chance for these types of errors in addition to creating a good basis for indexes. You normalize the data by creating sets of parent/child tables with a "key" value to match them. In our hypothetical situation, you could create a table for orders and a table for customers. In the customers table you give all the detail for the customer in one place, and you assign each customer a unique number or ID. In the orders table we add the customer ID (NOT the name) and we ensure that we are getting the customer we want, in addition to saving a lot of space and eliminating redundancy. In our example, the customers table is the "parent" table and the orders table is the "child" table. The child table references the unique entries in the parent table via that id. That reference is referred to as a foreign key. The foreign key in the child table points back to the original and complete record in the parent table and eliminates the redundancy of keeping all that extra data for every order. Foreign keys in child tables always refer to a primary/unique key in the parent field.
    That help?

  • Crystal Reports - Some Basic Questions

    Hi I am a student from Germany and I need to try Crystal Reports for a couple of days for my diploma thesis.
    My first smal question is: Whats the basic programming language that CR is based on?
    As far as I can judge it - its VBA right?
    The focus of me thesis is the chart creation ....
    Question 2: Is there a better solution from SAP to create Charts ... the Chart-Assistent from Crystal Report is pretty nice to work with -  but imagine i dont want to create a report but just visualize some data in a chart for a quick overview of - lets say my market situation - is crystal reports the most edvanced way, that is also available in a trial version - to create charts.
    Please please help me and answer my questions.
    greetz
    till
    ps: please excuse my english, i may make some bad mistakes from time to time =)I)

    Hi
    About the charts: Depends on your requirements what exactly you want to implement.
    There are Xcelsius, Crystal Reports both that you can create charts with.
    I would sugest you to go through the docuemntations of Crystal Reports and Xcelsius first. So that you can be sure what all you can do using these tools.
    Please download the product documentations from help.sap.com
    Hope this helps!!
    Regards
    Sourashree

  • Some basic questions about rmi registry  context  "bind" and "lookup"

    We have more processing to do than can be accomplished with a single computer. To solve the problem I've implemented a distributed computing solution using RMI. (The first time I saw RMI was about 2 weeks ago, so please bear with me!)
    The implementation is a proof of concept not a fully fleshed out system. I have one "Workunit Distributor" computer and any number of "Data Processor" computers all on the same lan segment. "Workunit Distributor" and "Data Processor" computers are both RMI client and server to each other. The "Data Processor" computers are given the ip address and name of the "Data Distributor" on the commandline when they start. They communicate their willingness to receive and process a workunit to the ""Workunit Distributor" via a RMI call. Work units are sent to available "DataProcessors" and results are eventually returned to the "WorkunitDistributor" (minutes or hours later). The model program works quite well, and appears to be capable of doing the processing we need to get done.
    But now that it seems viable, I've been asked to make it a little more scalable, flexible and self configuring. In particular, instead of one "Workunit Distributor", any number of "Workunit Distributors" should be allowed to show up or disappear from the lan at any time and the system should continue to function. I've worked out a good scheme for how this can be done, but I have a couple of questions about the RMI registry (registries?). I'm trying to keep from implementing some functionality that may already be available as a library or subsystem.
    With my current model design, each computer binds to its own registry with a unique name. For instance:
    CRDataProcessorImpl crdpi = new CRDataProcessorImpl(svr);
    Context crDataProcessingContext = new InitialContext();
    crDataProcessingContext.bind("rmi:"+hostName, crdpi);
    Currently the "Data Processors" get the info they need for a Context lookup() of the one and only "Workunit Distributor" from the commandline. And the info the "Workunit Distributor" needs to do a Context lookup() of a "DataProcessor" is passed to it from each "DataProcessor" via a RMI call.
    But in the newer (yet to be implemented) scheme where any and all "Workunit Distributors" show up and disappear whenever they feel like, the naming bootstrapping scheme described above won't work.
    I can imagine a few ways of solving this problem. For instance, having "Workunit Distributors" multicast their contact information on the lan and have a worker thread on each "Data Processor" keep track of the naming information that was multicast. Another alternative (more organized, but more complex) might be to have a dedicated host with a "well known" address and port that "Workunit Distributors" and "Data Processors" could all go to, to register or look up at an application level. Sort of a "domain name service" for RMI. But both these schemes look like a lot of work to implement , debug and maintain.
    The BEST thing would be if there was one plain vanilla RMI registry that was usable by all RMI enabled computers instead of having each computer have its own local name registry. In volume 2 of the Core Java2 book it says that every registry must be local. I'm only hoping there's been progress since the book was published and now a central rmi registry is available.
    If you have any ideas about this I'd like to hear what you know.
    Thanks in advance for any advice.
    Lenny Wintfeld
    ps - I don't believe web services, as full featured as it is, is a useful alternative. I'm moving 100's (in the future possibly 1000's) of megabytes back an forth for processing.

    The local bind/rebind/unbind restriction is still there and it will always be there.
    I would look at
    (a) RMI/IIOP, where you use COSNaming as a registry, which doesn't have that registriction, and which also has location-independent object identifiers
    (b) Jini.

Maybe you are looking for

  • SAP Business One  8.8 Certification for Application associate

    Hi all, I wanted to know about SAP Business One 8.8. Certification for Application associate. 1 )What would be the fee 2)What are minimum requirements to get certification 3)How much useful is this certificate compared SAP R/3 certification Regards D

  • Error in saving billing document

    Hi, When the user is trying to create a billing document in using VF01 and save it getting a pop up message which as "ok" "amend" and "Cancel" button and pop up also has material no. and plant. it does not have any error message when the user clicks

  • Using BAPI_PO_CHANGE to update PO with item actegory B

    Hi Experts, I have a requirement to update the PO with item category B which is created by referring  PR having account assignment category N(.( So I have a PO with Acc assignment N now have to update the item category with B ). I am using BAPI_PO_CH

  • Authorization Variables with Optional Selection Variables

    Has anyone used authorization variables in addition to optional selection variables? I'm getting funny results and trying to figure out why.  Here's the scenario: InfoObject zcompany has 5 values A - E UserX is authorized to see all 5 values in his u

  • Motion menu help

    has anybody figuyred out how to fix the 4:29 limit on the menu? i've searched and found topics that had no resolution going back to PE9.