Do multiple EJB servers coordinate?

At the moment, we are using Apache with Jakarta on the web server, which invokes EJBs on Oracle on a different box. Only the Oracle box thus has an EJB server and container, and at the moment all our EJBs are for database access only. Now, if we want to introduce some non-database EJBs on the web server, what implications does this have? First, we need to locate an EJB server to put on Apache+Jakarta. Is there one currently available? Second, how do the two EJB servers coordinate with each other to control a distributed transaction?

At the moment, we are using Apache with Jakarta on the web server, which invokes EJBs on Oracle on a different box. Only the Oracle box thus has an EJB server and container, and at the moment all our EJBs are for database access only. Now, if we want to introduce some non-database EJBs on the web server, what implications does this have? First, we need to locate an EJB server to put on Apache+Jakarta. Is there one currently available? Second, how do the two EJB servers coordinate with each other to control a distributed transaction?

Similar Messages

  • Lookup on multiple ejb instances accross servers using servicelocator

    Hi all,
    i have a weird problem. I have to hit multiple ejbs hosted in diffrent server.
    The problem is with the lookup and accessing..
    some server's components have username and passwords and other server donot have.
    So though i create a new Initial context instance with diffrent parameters.. it
    is getting messed up inside. ie it is passing server A username and password to
    server B's method call as for B i donot set username and password there is no
    need of username and password.
    the service locator will server for only one server's objects lookup. but here
    we have multiple components in diffrent so different provider_URL INITIAL_CONTEXT_FACTORY,
    SECURITY_PRINCIPAL, SECURITY_CREDENTIALS
    and the for each i have a seperate sericelocator.. like each one for componet
    A, B, C etc. in diffrent servers
    and they inturn have InitialContext instance of their own. .. and these are initilized
    with the factory, url, username and credentials...
    this can be set as the system property also using -D option. thatz why .. when
    i create for one component.... the already created Initial context factory is
    getting affected with the new values. ;(((
    one solution is every time create the Initial context... do not hold the reference
    of contexts and donot hold reference of home handles..
    but i need to cache atleast the home handles, if i am not caching.. the performance
    is really bad.
    on the cached handle if i call method i get a java.rmi.AccessException: Security
    violation: insufficient permission to access method, though it worked for first
    time,
    and on the servers it which does not need passwords, method call is throwing java.lang.SecurityException:
    Authentication for user ServerAUser denied in realm wl_realm
    but the serverAUser belongs to server A, i get this error when i call a componets
    method on Server B.
    Is this a bug, or the Initial Context working it self is this way, the behind
    the scence provider class is messing up. bea guys please reply if u know to solve
    this problem, it will be of real help.
    reagrds,
    Arun.N

    Problem resolved as this is an stateless session bean issues.

  • Creating multiple http servers on one machine

    I created multiple http servers on one machine.
    I did this in the following way:
    Created a http service as nt service with the following command:
    apache -i -n Testservice -f d:\oracle\isuites\apache\apache\conf\httpd2.conf.
    When I start the service, I always get an error:
    Didn't return an error. Cannot start service.
    Can someone help me.
    I need two httpd services as nt service. Because, I want to use oracle fail safe. So I need a service.
    Alternative : I can create batch files. But I want to start these batch files as nt service. Is there a possibility on
    Windows nt to do this, or an available tool.
    Thanks in advance,
    Iloon

              "Jason Rosenberg" <[email protected]> wrote:
              >Hello,
              >
              >I am wondering about having multiple servers on one machine.
              >I take it, each server will require a unique ip address, which can
              >be done either by using multiple NIC's or using multi-homing.
              If you want to have multiplie servers in the same machine and you want to cluster them then you need ip for each instance.
              If you want multiple instances without clustering, then you can have them run on the same ip but each one should have a different port.
              >
              >I am asking because I am wondering whether it will always be valid
              >for me in servlet code to identify my current server instance by
              >ip address (InetAddress). Or is there a better way to do this?
              If you are accessing the ejb/services on the same server using a servlet. You can get the context, simply using the default getInitialContext(). This should return the context to the local machine. This shoudnt require any ip information.
              >
              >Jason
              >
              >
              

  • How do you span a jta usertransaction across multiple jms servers?

    I have an ejb that connects to multiple jms servers (non-clustered) and
              retrieves messages. Those messages are concatenated together and placed on
              another jms queue. Is it possible to do all of this inside of one
              transaction? I am having trouble pulling this off.
              

    Sure, you can do this. Assuming you're using WLS JMS, you have to make sure that for all the JMS servers you're talking to, you use a connection factory with the "XA Connection Factory Enabled" flag set. You also need to make sure that you use JTA to start a transaction before retrieving the first message, and commit it after you're done with the final send.

  • How to configure one TREX host with multiple index servers ?

    Hi All,
    Does anyone know how to configure TREX on the one host,
    with multiple index servers ?
    Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
    our KM content for portal users.
    I am using TREX 7 and have not been able to do this,
    despite reading the Single and Distributed install
    documentation.
    Any help would be appreciated.
    Regards,
    Andres

    Hi Andres,
    To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
    Proceed like this:
    1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
    2. In TREXdeamon.ini go to
    [daemon]
    references sections below
    programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
    and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
    3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
    Go to the last two columns and move the indexes (move master here/secondary mouse click)
    If you don't distribute the indexes the new index server process will be regarded when an new index is created.
    Hope this helps!
    cheers
    Bettina

  • How to configure multiple RAS servers?

    Hi
    'Crystal Reports Server Embedded XI R2 - Sizing and Configuration Guide'
    It mentions that we can get more license and add the servers in ClientSDKOptions.xml.
    <ServerInfos version="2" xsi:type="CrystalReports.ServerInfos" id="1">
      <ServerInfo version="2" xsi:type="CrystalReports.ServerInfo" id="2">
        <Server>SERVER1:1566</Server>
        <Adapter>TCPIP</Adapter>
      </ServerInfo>
    </ServerInfos>
    <ServerInfos version="2" xsi:type="CrystalReports.ServerInfos" id="1">
      <ServerInfo version="2" xsi:type="CrystalReports.ServerInfo" id="2">
        <Server>SERVER2:1566</Server>
        <Adapter>TCPIP</Adapter>
      </ServerInfo>
    </ServerInfos>
    I tried this and added ClientSDKOptions.xml file in the web application lib directory
    Added that to PATH
    Our application uses (Crystal-2008 / rasapp.jar /rascore.jar)
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument
    When i commented out rcd.setReportAppServer(sn); it is not picking up from the XML file.
    I am getting the below error
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
    at com.crd.report.crystal.CrystalFile.makeRcd(CrystalFile.java:65)
    at com.crd.report.crystal.CrystalReportUtil.makeRcd(CrystalReportUtil.java:892)
    Please help me how to set up multiple RAS servers.
    Thanks
    Sumathi

    You are running an internal DNS server presumably but don't have these hostnames (A-NAME or C-NAME records) set on external DNS servers.
    If you run a whois on your domain you can find our who hosts the DNS for the domain if you don't already know. Often DNS hosting companies will have web based tools for you to edit the DNS entries yourself or alternatively you may need to email them and ask them to create the records.
    It sounds like you would like to point the addresses ubuntu.domain.com and win.domain.com to the IP address 92.62.26.10 as well. To do this you will have to make sure the services running on each box use a different port to one another. (I.e. You cannot have something running on port 80 on both servers).
    Depending on your router also you may only be able to do basic forwarding (I.e. Port 80 forwards to Mac.domain.com; port 443 forwards to ubuntu.domain.com; port 25 forwards to win.domain.com).
    If you need more flexibility you may need to get more external IP addresses.

  • How to configure single web server instance to multiple application servers..

    Hi all,
    we are running single instance of IWS6.0 SP2 on solaris, we want to comfigure this single instance to multiple application servers(JRun). Can any one advise me whether it is possible to do.
    Thanks
    Raj

    Hi Raj,
    "how to configure single web server instance to multiple application servers.."
    It's not possible for setting up multiple applicataion servers for Single iWS instance.
    Thanks,
    Dakshin.

  • How to configure multiple smtp servers per domain

    Hi,
    how do we configure multiple smtp servers per domain/corporate in iplanet messaging server 5.2. i wanted to do this so that i can configure some domains with virus scanning and some domains without antivirus.

    Hi Martin,
    Well we are trying to run a report without exactly specifying the name of reports server anywhere, e.g. in database or in form or anywhere else. Now if I do not supply a reports server name using RUN_REPORT_OBJECT, the error it displays is FRM-41211: Integration Error : SSL failure ... However if I specify the reports server name in the form, the reports run perfect. Also the name of reports server is specified in rwservlet.properties.
    Now the question goes as follows:
    Can I run my report from Form without specifying the name of the Reports server anywhere at all. This is so because either an in-process reports server should be picked or the one which is entered in rwservlet.properties should be pickec up by default. Please correct us if we are wrong. once we are through with it, we have to move to Oracle 10gR2 concept of reports server.
    Thanks in anticipation,
    Ruchi/Saurabh

  • How to configure multiple report servers in Oracle 10 G R2?

    I want to configure multiple report servers with my application deployed on Oracle 10G R2. Since R2 does not support report server clustering, how can this be achieved without any change in the application?
    Currently, the application is running with single report server.

    Hi Martin,
    Well we are trying to run a report without exactly specifying the name of reports server anywhere, e.g. in database or in form or anywhere else. Now if I do not supply a reports server name using RUN_REPORT_OBJECT, the error it displays is FRM-41211: Integration Error : SSL failure ... However if I specify the reports server name in the form, the reports run perfect. Also the name of reports server is specified in rwservlet.properties.
    Now the question goes as follows:
    Can I run my report from Form without specifying the name of the Reports server anywhere at all. This is so because either an in-process reports server should be picked or the one which is entered in rwservlet.properties should be pickec up by default. Please correct us if we are wrong. once we are through with it, we have to move to Oracle 10gR2 concept of reports server.
    Thanks in anticipation,
    Ruchi/Saurabh

  • Multiple LDAP servers on single  System

    hi,
    Would like to know if its a good idea to have multiple LDAP servers running on a single System (Hardware) ..
    100,000 user base
    We would like to run the old and new LDAP databases on the same server till we phase out the old LDAP database after migrating all applications..
    System:
    2 x V880 4CPU 8GB RAM --multi-master configuration
    4 x V420R 4CPU 8GB RAM -- read only replicas

    Shouldnt be an issue - thats not a particularly large user base and thats some heft y HW. Keep in mind though that they will be on different ports so any software you migrate may eventually need tweaking to the default port when the new takes over.

  • Multiple Database Servers Question

    Hi,
    Please forgive this ignorant question, but can someone tell
    me how one would go about using multiple database servers?
    Just as there comes a time where one would need more than
    one web server and would need to use a load balancing
    solution, what happens when one would need more than one
    Database Server?
    How does one go about implementing that solution?
    Is there some way to have two database servers carrying the
    same information with some kind of load balancing solution
    in front of it(?) or does one place some tables on one
    Database
    server, and other tables on the other database server?
    (I have no clue as to how things would work.)
    Thanks in advance,
    Joe

    Microsoft SQL allows for clustering of SQL databases, so for
    instance two servers connected to a fileshare and a virtual address
    shared across the two physical boxes. Database connections are made
    to the virtual addres which will then be handled by the active
    node. Becuase a database is ultimately a file(s) on a disk it can
    only be attached to one node at a time so you end up with an
    active/inactive cluster.

  • LDAP Authentication Scheme - Multiple LDAP Servers?

    How to set up ldap authentication so that multiple ldap servers are available? Scenario: ldap service is replicated through several servers, but does not sit behind a common dns/reverse proxy connection, so applications would list each ldap server and attempt to contact each in order if one or more ldap servers is unreachable.

    How to set up ldap authentication so that multiple ldap servers are available? Scenario: ldap service is replicated through several servers, but does not sit behind a common dns/reverse proxy connection, so applications would list each ldap server and attempt to contact each in order if one or more ldap servers is unreachable.

  • Can I setup multiple SMTP servers / emails with one IMAP servers on the iPh

    All my email arrives at one place, on one IMAP server. However I have 2 email addresses, and need to use a different SMTP server for each one. How to setup this on the iPhone? This is what I considered so far:
    1. I don't see how to enter multiple addresses for the same account, and map each address to a SMTP server.
    2. If I create multiple accounts, I have to enter multiple IMAP server, and the iPhone doesn't let me enter the same IMAP server information for different accounts.
    3. I could create a second account with a dummy IMAP/POP server, and a real SMTP server. But then most likely if I respond to mails that arrive on my IMAP server (1st account), Mail will always use my 1st email address when responding. Instead I'd like it to automatically pick as From the To address of the mail I am responding to (as the desktop Mail.app does).
    Alex

    If you have multiple SMTP servers available, you can select from one of the available SMTP servers for a particular account.
    After you've entered the SMTP server for the first account when creating the 1st account and you've entered the SMTP server for a 2nd account when creating the 2nd account, you'll have both SMTP servers available to use with either or both accounts.

  • How to mirror between the production server and the multiple local servers.

    I am currently looking for the best way to correspond between our production server and the multiple local servers. Because the production server is the only server that holds the latest updating applications, and our local servers are located for each developer’s local machines where the all modifications and creations are done. So when the developer locally makes changes for assets or files, he creates a patch archive first, then accesses to the production side Administration console screen and imports them from Application Management screen.
    We tried to find a way to see the imported date before (so we know which one has been imported as new.), but there is no show in the Administration console Application Management screen. There is Creation date but it’s set as we initially imported the full archive files, but not patch files. Since between applications have some types of the dependencies (like fragments or image files), what is the best way to keep mirroring between the production server and local servers? Or we should simply not use patch file for updating server?
    Thanks,

    Check out this utility : http://blogs.adobe.com/livecycle/2013/03/adobe-livecycle-configuration-migration-utility.h tml
    Thanks,
    Wasil

  • ISE Not Identifying AD Group Attributes when using Multiple ISE Servers

    So we have multiple ISE Servers with differing personas. I was having an issue with our new ISE setup not identifying AD Group Attributes when using them in Authorization rules.
    We have 2- 3395 appliances running Admin and Monitoring/Troubleshooting Personas and 2- 3395 appliances running as Policy server personas. We are running  v1.1.1.268 with the latest two patches.
    I was unable to pull Active Directory Group Attributes in any of my Authorization rules. After Resyncing all the boxes with the Primary Administration box I was able to do this. There is no bug listings for this occurance nor do we have Smartnet to call support for other reasons. I thought this might be useful to someone who is having the same issue and is unable to figure it out with TAC
    -CC

    Absolutely. All units said in-sync after setting their personas.
    Here is our layout:
    ISE-ADM-01  Admin-Primary, Monitoring-Secondary
    ISE-ADM-02  Admin-Secondary, Monitoring-Primary
    ISE-PDP-01  Policy Only
    ISE-PDP-02  Policy Only
    I synced one at a time starting with ADM-02. After completing the other two boxes. Active Directory Attribs were pulled down when using them in the Ext Group within my Authz rules.
    -CC

Maybe you are looking for

  • Conditon value not updating in CONDITION tab for Sales Order

    Hi Experts, Can anyone tell me about this ? I have created a Z condition type for VA01 and need to place some value (based on some logic  taken from conditon records). I am not able to do this. Steps already taken care of. !) In VOFM >formula section

  • Mac mini server error start postgres "CANNOT_START_SERVICE_TIMEOUT_ERR"

    Hello, I bought mac mini server this week and I started to configure. I can't start postgres with command "serveradmin start postgres", I have this error: "CANNOT_START_SERVICE_TIMEOUT_ERR" In this discussion Wiki: "error reading settings", Postgres

  • Directions on how to make a podcast?

    I looked at the following website at yahoo, but its not working for me. Does the subscribe link need to include the path and the name of the xml file or does it need to just point to the folder the xml file resides in/ thanks if you know. http://podc

  • How to connect to database using jdeveloper

    Please send some info how to connect to the oracle database using jdeveloper

  • Skip a record at Infopackage level

    Hi all I need to skip a record at infopackage level due to a problem in processchains and we dont wont this to be repeated again, could someone help me with the code for this Will  definetely assign points Chris