How to make Clsuter aware EJB

          Platform: Weblogic 6.0sp2 in WINNT
          Hai,
          I have made IP loadbalancing ( The DNS Host entry swaps IP in intervals) as per
          the documentation. By Using the clsuter IP i have created a cluster entey in the
          wl 6.0 console and added two servers in the Cluster. Now i don't know how to make
          my EJB Cluster aware?. what parameters should i change in teh XML file and compilation
          option to make it cluster aware.
          Also i would like to know whether Will it be enough if i put teh same copies of
          JSP and servlets in both machine to make that too cluster aware. Will there be
          any probelm in session ?
          Regards,
          srini
          

          Hi Kumar , Lynch , Penfriend,
          Thanx for ur Quick replies .. That helped me a lot.. I am going through the examples.
          I would like to know changes that i have to make on JSP & servlets to make it
          cluster aware. I am using the IP Load balancing ( host name refers to two different
          IP at intervals ).
          Thanx.
          regards,
          srini
          Pen Friend <[email protected]> wrote:
          >Srinivasan,
          >
          >We ship a cluster example in .\samples\examples\cluster\ejb. You could
          >take a look at the deployment descriptors and try running it.
          >
          >
          >
          >Kumar Allamraju wrote:
          >
          >> By default ejb's are compiled with clustering options ON.
          >> So ejbc generates cluster aware stubs anyway. You don't need
          >> to do anything to deploy them in a cluster environment.
          >>
          >> --
          >> Kumar
          >>
          >> Srinivasan wrote:
          >>
          >>> Sir,
          >>>
          >>> (1) What option of the weblogic ejbc is required in my case. is
          >>> -clusterable
          >>> option suffice. Sir, Could you please mention which document are you
          >>> refering
          >>> too. ( I have only the cluster.pdf from BEA )
          >>>
          >>> (2) The Host name is already load balanced by teh WLBS Software.If
          >>> the host is
          >>> load balanced then will placing the same JSP and servlet in both the
          >>> servers in
          >>> cluster suffice.
          >>>
          >>> Thanks for the Help sir.
          >>>
          >>> regards,
          >>> srini
          >>>
          >>> "Lynch" <[email protected]> wrote:
          >>> >Hi,
          >>> >
          >>> >1. You need to use weblogic's ejbc to compile your ejb jar file to
          >>> generate
          >>> > the stub classes.
          >>> >2. Web cluster demands load balancing and fail-over. You need to
          >do
          >>> lots
          >>> > of work yet. Maybe you could start with the docs.
          >>> >
          >>> >Hope this helps,
          >>> >Lynch
          >>> >
          >>> >
          >>> >"Srinivasan" <[email protected]> ¼¶¼g©ó¶l¥ó
          >>> >news:[email protected]...
          >>> >>
          >>> >> Platform: Weblogic 6.0sp2 in WINNT
          >>> >>
          >>> >> Hai,
          >>> >>
          >>> >> I have made IP loadbalancing ( The DNS Host entry swaps IP in
          >>> intervals)
          >>> >as per
          >>> >> the documentation. By Using the clsuter IP i have created a
          >>> cluster
          >>> >entey
          >>> >in the
          >>> >> wl 6.0 console and added two servers in the Cluster. Now i don't
          >>> know
          >>> >how
          >>> >to make
          >>> >> my EJB Cluster aware?. what parameters should i change in teh XML
          >>> file
          >>> >and
          >>> >compilation
          >>> >> option to make it cluster aware.
          >>> >>
          >>> >> Also i would like to know whether Will it be enough if i put teh
          >>> same
          >>> >copies of
          >>> >> JSP and servlets in both machine to make that too cluster aware.
          >>> Will
          >>> >there be
          >>> >> any probelm in session ?
          >>> >>
          >>> >>
          >>> >> Regards,
          >>> >> srini
          >>> >
          >>> >
          >>
          >
          

Similar Messages

  • How to make JDev aware of the xmldb API

    Hi everybody,
    I am a real beginner in Jdev, and I have to develop a
    Java Application using Oracle Java developer, against
    an XML-native database called eXist. I'll have to use
    a java API called xmldb supported by eXist in order to
    interact with the database. Although I have basic
    knowloedge in Object-oriented programming, but I don't
    know where to begin, especially how to make JDev aware
    of the xmldb API, and how to create classical
    application components (Windows, buttons, etc).
    Could you help me with some orientations and
    interesting links?.
    Thanks a lot.
    Mounir.

    Hi,
    don't know this database, but the database vendor should be able to explain how his DB is accessed from Java. If this requires libraries, then the vendor will provide these in JAR files, which you then configure with JDeveloper (as a custom library Tools --> Manage Libraries) or in the Project
    If there is a JDB driver for it, even better. This however is not a deliverable of JDeveloper but the database vendor
    Frank

  • How to make Verizon aware of poor coverage area

    I live in a relatively densely populated suburban community and yet we have very POOR service coverage in our neighborhood.  I remember the days of frequently dropped calls.  But now I am accustomed to never dropping a call.  But lately, and it does seem like a recent phenomenon, I drop every call upon entering my neighborhood.  So, how can I make Verizon aware of this service frustration?  I am certain that others are equally frustrated with this experience and will be considering other carriers if something doesn't change. 

        Thanks for the details, @walanlove. I checked out the 28105 area and don't see any recent changes have been made or a slew of customers reporting trouble, but it is a fairly big zipcode. You mentioned this only happens when entering your neighborhood. What's a nearby cross street we can take a closer look at? I do see customers in the 28105 area have activated Network Extenders http://vz.to/IHRT6h to improve indoor coverage. This can help with dropped calls at your home.
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Can't figure out how to make direction aware mouse over?

    I don't have much coding skills at all so that is probably my main problem but does anyone know how to do this effect in Edge Animate? I'm very new to this program but over the last 2 weeks i've been trying to create this and epic failed. Any Advice? Thanks
    http://tympanus.net/codrops/2012/04/09/direction-aware-hover-effect-with-css3-and-jquery/

    Hi, Sekai-
    If you're trying to do this in Animate, I would throw most of the concept out and think of what the jQuery is actually trying to accomplish: it's trying to determine which direction the mouse is entering and leaving in order to determine what direction the overlay should run when you actually enter the object.  You can do the same thing by looking at the pageX and pageY of the mouseenter and mouseleave events and then doing some kind of comparison.
    Without coding it explicitly, this is how I would approach the problem:
    on every object's mouseleave (I'd use a symbol in this case, btw), try to determine the pageX and pageY and compare it to the content's dimensions in order to determine whether or not it leaves from top, right, left, or bottom.
    Based on this information, play from the symbol's timeline in the out direction (e.g. "outFromTop")
    on every object's mouseenter, try to determine the pageX and pageY and see which direction it comes from.  If I can tell, animate from that side.  If I can't, fall back to the last mouseleave's event in order to figure out where it should come from
    Based on this information, play from the symbol's timeline in a different location, from label (e.g. "inFromTop")
    Hope that helps you get going!
    Thanks,
    -Elaine

  • How to make Apple aware of this!

    I don’t know if I put this in the correct community, but if you have any idea of where I shall put it SPEAK NOW.
    So here’s the deal: I wanted to watch some movies on my mac and I searched for it on the web. I found a site called cineble.com. I thought it to be a legal alternative to online movie streaming. They advertised with 5 days of free movies, then there was to be a monthly pay. So I ended up with them emptying my mastercard and now my bank and soon my lawyer is involved.
    But that is not my point!
    Cineble.comis run by iMoviesLtd. And they have scams like cineble.com allover the web. These guys also operate under different names: cinamuse, cinemaden, filmlush, and flixaddict, among others, all have the same ip-address. Still, it is run by iMovies Ltd.
    Check out the reviews of the sites here: http://www.trustpilot.com/review/www.cineble.com
    So now I’m sitting here with having to pay 100 dollars and I’m really angry. So I thought to let Apple know that there are people exploiting Apples i-names for scams.They should be sued! Reported to the FBI! How do we stop these criminals from taking innocent people’s money? I really don’t know. But I think that it would help to have the world’s largest computer company backing me. After all, they exploit peoples trust in Apple and their i-products by naming themselves iMovies Ltd.

    You can always give Apple feedback at:
    http://www.apple.com/feedback
    and:
    http://www.apple.com/contact
    for more contact information.

  • How to make browser aware of new URL after JSP:forward

    When I use JSP:forward (or pageContext.forward() for that matter) to forward from a.jsp to b.jsp, the browser still seems to think he's at a.jsp. Assumably because the request for the new URL didn't originate with the browser. This causes problems when I try to use relative URL's in b.jsp (the forwarded URL) since the client kindly tries to resolve them for me using the wrong base URL.
    For example:
    I log in at <mysite>/Security/login.jsp.
    Here, I do some login magic and then forward to /Accounts/index.jsp.
    The state of the browser is now:
    a) the URL is <mysite>/Security/login.jsp
    b) the page displayed is <mysite>/Accounts/index.jsp
    Is there a better mechanism I can use to keep browser URL and displayed page synched up?
    BTW, in this simplified example I could use JavaScript history.go(-1) to let the browser do the forwarding itself. This won't work in my actual scenario because I actually forward to a page stored in the session several requests back.
    Any help would be very much appreciated!
    Andy

    Assumably because the request for the new URL didn't originate with >the browserThis is correct.
    One way for the browser to show the URL is by using a sendRedirect() after doing all the necessary processing. But you will loose all request attributes during a sendRedirect(). To overcome this, after you have done all processing and are ready to process the accounts jsp, you can put the required info in the session. The accounts jsp can get the info from the session instead of from the request, and then reset these in the session to prevent further use.

  • Howto Make BEX aware of SAPUILandscapeGlobal.xml

    Hello,
    I am working on the deployment of sapgui740 and want to use a central configuration file on a server using the SAPUIlandscapeGlobal.xml file.
    BEX and NWBC seem to be  unaware of this file, and the only workaround (not very elegant!) I  found for BEX yet is to create a dummy saplogon.ini file in the %appdata%/SAP/common directoryw ith the entries for the source systems,
    Does anyone know how to make BEX aware of the SAPUILAndscape.files and architecture ?
    NWBC 5 seems to be only aware of the local SAPUILandscapeGlobal file
    Thanks in advance for any advice.
    Paul Courtet.
    Mondelez International
    Technology CoE

    Hi
    as workaround put in the services the message Server.
    sapmsxx 36xx/tcp
    you can rollout over SAPGui-Installation-Server with Script. "On Installation Start" on Package BeX
    '================================
    ' Add Line for <SID> in "SERVICES"
    '================================
    NwEngine.Context.Log.Write "Event: Add Line for <SID> in SERVICES"
    strFile = NwEngine.Variables.ResolveString( "%WinSysDir%\drivers\etc\services" )
    Set objTextFile = CreateObject("NwSapSetupATLCommon.TextFileParser")
    If objTextFile.Parse( strFile ) Then
    NwEngine.Context.Log.Write "Event: Modify the file " & Chr(34) & strFile & Chr(34)
    If objTextFile.DoesStringExist( "sapms<SID> 36xx/tcp" ) Then
    objTextFile.ReplaceLineEx "sapms<SID> 36xx/tcp", "sapms<SID> 36xx/tcp"
    Else
    objTextFile.AppendLine "sapms<SID> 36xx/tcp"
    End If
    objTextFile.Save( strFile )
    Else
    NWEngine.Context.Log.WriteWarning "Event: Could not open the file " & Chr(34) & strSalFile & Chr(34)
    End If
    Harald

  • Info on how to make application cluster aware

    Hi All,
    Can somebody provide help/pointers on how to make (java or c++) application cluster aware ?
    In our application We are making cluster of two solaris m/cs
    for higher availability.The application which are running on
    the m/c are written in java and c++.
    TIA
    Regards
    Praveen

    Not a developer myself, but by chance do you have the API
    documentation? If not here is the SC 2.2 link for the API.
    http://docs.sun.com:80/ab2/coll.650.1/CLUSTAPIPG/@Ab2TocView?Ab2Lang=C&Ab2Enc=iso-8859-1
    and the 3.0 data services developer guide.
    http://docs.sun.com:80/ab2/coll.572.7/CLUSTAPIPG/@Ab2TocView?Ab2Lang=C&Ab2Enc=iso-8859-1
    Heath

  • How to make jar files availabe for deployed EJBs

    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
    classpath, but I think that shouldn't be the way. Is there somthing in the admin
    console to make jars available or do I have to insert it in the ear file? And
    if so, where do I hve to place it?
    Thanks
    Claudia

    Put the util.jar in the ear with your ejb jars - at the same level (i.e. in
    the root) - but do not include them in the manifest.xml.
    Also each ejb jar that refers to util.jar must have util.jar on its internal
    classpath in the manifest.
    "Claudia" <[email protected]> wrote in message
    news:3d537db5$[email protected]..
    >
    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
    classpath, but I think that shouldn't be the way. Is there somthing in theadmin
    console to make jars available or do I have to insert it in the ear file?And
    if so, where do I hve to place it?
    Thanks
    Claudia

  • I've got a G5, OS 10.5, and an IBook OS 10.4.  Both can reach the internet wirelesly.  How can I make them aware of each other, so they can exchange files

    I've got a G5, OS 10.5, and an IBook OS 10.4.  Both can reach the internet wirelesly. 
    How can I make them aware of each other, so they can exchange files?  Both have network
    icons in the systems peferences, but I can't see how to hook them up.

    That got me closer, but I'm not quite there yet.  On each ofthe two computers I've allowed all users File Sharing and Remote Management.  Each computer has an address 192.168.1.2 (or 4).  When I enter those addresses into "connect to server" the reponse is either 'drop box' or 'public folder'.  So it seems that only very basic sharing is allowed. I have'nt  set up a public folder on either one.

  • YES! How to make PRINT QUOTAS WORK with 10.4

    How to make PRINT QUOTAS WORK in 10.4
    After struggling for quite some time, I finally found a pretty simple way to make print quotas work.
    First, I’ll tell you our setup. We have 3 different computer centers with a variety of eMacs and new Intel iMacs, all clients are running 10.4.8, and each of those 3 centers has its own HP Laserjet 4200 printer. Our dual G5 server is running Server v.10.4.8. Client computers and printers have static IP addresses. All clients are bound to the server with the standard WorkGroup Manager/ LDAPv3 Directory Access scheme - such that all students login to the clients with their network username/password to mount their home directory on the client.
    Next, I’ll tell you what does not work. IF YOU WANT PRINT QUOTAS TO WORK, you cannot use Workgroup Manager to assign a printer to any managed user account, user group, or computer group. Why? Because when you go to a client, and Show Info on the printer that is being pushed by Workgroup Manager, you’ll see that the queue name is not the queue that you’ve setup in Server Admin. Instead, you’ll see the queue name is “MCX” or something along those lines. Even if you manually edit the Workgroup print preference file that is being pushed to clients, it still will not work.
    Drawbacks of my technique: In my case, students will see all 3 printers (1 from each lab) available to them no matter which lab they are in. Not the best, but for now I think it’ll be worth it to be able to control wasteful printing. Students may be able to move/delete the preference file (see below), but they’ll only be hurting themselves, as they won’t have any printers at all then.
    Okay, here’s how I did it:
    1. If you have setup any printers to be pushed out via Workgroup Manager’s preference enforcement to individual users, usergroups, or computer groups, turn those preferences off and leave them off.
    2. Delete any existing printers in your Printer Setup Utility and/or Server Admin. Add and setup a new printer queue using the Server Admin> Print service. I added the printer through the Server Admin application, not Printer Setup Utility (may not matter). However, I did go into that latter utility to set the model of the printer. Now, back in Server Admin, edit the printer queue to turn on these services IPP, LPR (bonjour off), and of course check off the enforce quotas box. (No student Windows clients, so I didn’t tinker with SMB print service). I went ahead and specified the standard cover sheet – it will be handy while troubleshooting.
    3. In Workgroup Manager, select the users that you want to enforce quotas upon, go to the Printer Quota tab (not the preference pane) and, in my case, I selected All Queues and specified a quota, and clicked Save.
    4. Delete all printers that appear in the Printer Setup Utility from each client computer (I know, UGH).
    5. For all network users, you need to edit a preference file and put it into each user’s home directory. That file is “com.apple.print.favorites.plist” and as you guessed, it needs to go into the Library> Preferences folder of every one of your network users’ home directories. Now, the content of that file is crucial… what it should show is the name of the queue(s) you created in Server Admin above, and be immediately followed by an “@” and the address of the server that is hosting that queue. For example, my queue’s name is TCStudentQ and the server’s address is student.mydomain.org… so my preference file has this entry: [email protected]. If you have more than one queue, you’ll have more entries. Be sure that the network user has at least Read level access under Group or Others. I’d recommend making the server System account the Owner of the file, and be sure to lock the file so the users can’t easily trash it. If you don’t know how to create this file in the first place, what you can do is go to a client computer, and log into the client with a dummy network account. Then open Printer Setup Utility, and you should see the queue you created in step 2. Add that printer, and then the file will be created in your dummy account’s home directory under Library> Preferences. Now you can use that file to distribute to other user’s folders… but don’t forget that each user needs Read level access.
    6. That’s it. Works for me. When they exceed the quota, all that spits out is the cover page. It’d be nice if there was a quota monitor utility on the client side so users can see how many pages they have remaining and when the quota will automatically reset. I plan to start the quota on a Monday morning and go on a weekly duration. Not sure what a good starting point is… perhaps 25 pages every school week.
    7. Hey Apple Computer, Inc. Server Developers & Project Managers, I truly hope you’re reading this and can explain why print quotas don’t function as you have documented and advertised. I don’t mean to toot my own horn, but I’ve spent way too much time discovering this workaround, and I know it will help thousands of others with the same problem. I can see where your Print Quota system breaks down, and I think you need to fix these issues or at least document them. Don’t forget to fix serious 10.4 Server bugs before leaving it behind for 10.5 Server – many of us will continue using 10.4 Server for at least another year or two.

    David,
    Your assumption that I didn't read the documentation is incorrect. I read that 10.4 documentation over and over - followed it to the letter to no avail. Perhaps it was updated in the last few weeks? So, do you have a fully operable printer quota system in conjunction with a managed computer or user group that has a managed printer pushed to the group via Workgroup Manager? I can push a managed printer to a managed group without a problem, but the quotas won't be enforced unless I use the workaround above and cut Workgroup Manager's managed/pushed printer out of the picture.
    I know this is a user-to-user forum - however, I'm also aware that Apple tech support often chime in here, so it doesn't hurt to post a message to them in the context of a larger posting about a 'known issue'. I have used the server feedback form... hasn't seemed to me to be very helpful in the past.

  • (261936172) Q general How can I access an EJB hosted on a remote server?

    Q<general> How can I access an EJB hosted on a remote server?
    A<general> The ability to add EJB control files enables you to access an EJB that
    is deployed to the server on which your web service is running. When you select
    "add EJB control" you need to supply the home and remote interfaces for the EJB
    as well as the JNDI name. This does not provide you with the capability for creating
    a control for a remotely hosted EJB. To use a EJB hosted on another server you
    will have to provide the appropriate code within your web service itself. You
    will have to programmatically gain to access the JNDI for the remote server, lookup
    up the home stub and use it to create the remote stub for the EJB. Of course,
    to make this work you must have the necessary client interfaces in you classpath
    (home and remote interfaces) which can easliy be achieved by adding the EJB client.jar
    file to the lib directory in the webservice WEB-INF folder.

    just define the different server path in the description xml file
    <jndi-name>jnp://serverA(B)/....</jndi-name>

  • I have a $10 gift card balance on my Apple ID but when I try to rent a movie it wants me to use my debit card. How can Make it use the iTunes credit?

    I have a $10 gift card balance on my Apple ID but when I try to rent a movie it wants me to use my debit card. How can Make it use the iTunes credit?

    Hi ...
    Select None for payment method > iTunes Store: Changing account information
    Be aware, an auto renewing subsciption by require a credit card.

  • How to make something similar in 3d? (tv graphics, no only compositing topic!))

    Hi, I am aware that this is community for After Effects, and also this example contains some objects probably maded in some 3D programs, but I want to hear opinion form an expert how exampes below are did:
    These are examples from one tv station i Europe:
    I am curious how it is made:
    http://www.youtube.com/watch?v=QBrQ7krzrVw (please watch only begin and the end of this video)
    http://www.youtube.com/watch?v=j9pU_XIJQqA (especially from very end of video clip-cubes)
    I want to know way how to make something similar and how to composite them like this way?
    Any links related to tutorials, links for similar techniques (c4d, max...?)
    What is your opinion about modeling this scene?
    Thank you!

    It will probably take some 3-D modeling.  Bringing it into AE, I will point you to Andrew Kramer's Element 3D plugin - http://www.videocopilot.net/ 
    He has one demo that is doing a very similar effect -- http://www.videocopilot.net/tutorials/element_animation_engine/

  • How to make a custom form, buttons etc... please...

    I mean, how to make a form (for example, JFrame) with arbitrary form (geometry, for ex, round, oval, star like etc). I think you understand what i mean.
    Of course, i think i can use winApi, but it's only for windows. It doesn't suit for Java in this problem solution.
    That question also about cusomizing form of buttons, fields.. etc..
    i think, everything.
    What can java allows to cusomize and what not.
    Thanx!!

    I am just a learner and so i can just suggest you a strategy to implement Customized forms in JAVA. However i am sure that in practice it will work as far as Windows OS are concerned. Here is it:-
    The basic IDEA is to declare a native function in JAVA that makes JNI calls which will be further processed by Win32API and processed output will result into an elliptic or any polygonal shaped forms.
    To achieve declare some function as follows:
    public native void createEllipticalForm(formName formRefrance);
    create a Win32 Compiled DLL that manages this function as follows:
    (Mindwell, i havent stated what you call as pure-code but just a pseudo-code to the actual implementation)
    public native void createEllipticalForm(formName formRefrance)
    /* Search for the below stated Functions in Win32 API and work on
    them. I see a ray of success if you work with these functions properly.
    Further-more I assume that you are aware with concept of HANDLES */
    createEllipticRegion(); //WINDOWS.H
    showWindow(handleToTheForm); //WINDOWS.H
    Search for "createEllipticRegion() or showWindow()" on the GOOGLE to get the pure win32 API Code for Creating Customized Forms.
    Reply me in case any of you people get a solution based on my idea.
    [by VISH]

Maybe you are looking for

  • Multiple idocs in Single Job behaves differently (RBDAPP01)

    Hi, How to debug the background Job for Program RBDAPP01 which already posted the Idocs in 53 status from 64. I wanted to analyze why multiple idocs in same job behave differently than the single idoc in a job. In case of multiple idocs in a single j

  • Give some refrence to learn Java Script with HTML5lo mates,

    Hello mates, Can anybody please prvodi me a good refrence to learn java script with HTML5. Yes, i am new to HTML5 and Java. Anybody have a good refrence. Please Share. Thanks

  • Order to Billing

    Hi All, while doing orderto billing error Document 80000361 does not contain any items with open quantities can plaese provide help hyderabad

  • How to obtain a good icon plug in

    Downloaded a trial version of Photoshop CC2014. My main objective is to convert  files to .ICO format. Tried downloading some free plug ins but they were rejected by Norton as containing virus. Is there a reliable source I could download, FREE or PAI

  • Having trouble converting lookout 4.5.1 database to lookout 6.1

    I am trying to import my Citadel 4? database (Lookout v4.5.1) to Citadel 5 so that I can use the historical data viewer in Lookout 6.1 to export some of the data to a spreadsheet.  When I tried to create a new database in MAX and chose "Convert Citad