Why can't Ifind my DataSource through a cluster?

Hello!
I use Weblogic 8.1.6.
I have set up 1 adminserver at 127.0.0.1:7001.
I have set up 1 managedserver at 127.0.0.1:7011.
I have set up 1 managedserver at 127.0.0.1:7021.
I have set up a "Data Source". This data source is target on all servers. This datasource is pointing to a "Connection Pool" pointing to a oracle. The connection pool is target at all servers.
This runs fine when I throug a TestCase (JUnit) access the datasource like:
hashtable.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
          hashtable.put(Context.PROVIDER_URL, "t3://127.0.0.1:7011");
          context = new InitialContext(hashtable);
          javax.sql.DataSource dataSource = (javax.sql.DataSource) context.lookup( "my/jndi/name/DataSource");
Next step is to do the same in a cluster. Below is those params I think is of interesst of the cluster:
Cluster Address:127.0.0.1:7011,127.0.0.1:7021
Multicast Address:237.0.0.1
Multicast Port:7001
Frontend Host:127.0.0.1
Frontend HTTPPort:7040
Both the datasource and connection pool above now gets targeted at:
Part of the cluster at all nodes (7011,7021)
I have also tried to target the datasource and connection pool above as "All servers in the cluster"
But if I then run the code above with change of the port like
hashtable.put(Context.PROVIDER_URL, "t3://127.0.0.1:7040");
Then I get this error:
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://127.0.0.1:7040: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination]
If any one got any idea how to solve this please let me know! I would like to have just 1 port as front, perhaps this is not possible?
Best regards
Fredrik

Hello!
I think this is a suitable solution.
If I put the cluster address as the Context.PROVIDER_URL like:
hashtable.put(Context.PROVIDER_URL, "t3://127.0.0.1:7011,127.0.0.1:7021");
Then it worked fine!
Best regards
Fredrik

Similar Messages

  • Why can't I access Scrabble through Facebook on my IPOD Touch?

    Why can't I access Scrabble through Facebook on my IPOD Touch?

    See the other actions of:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Why can't I print remotely through Airport Extreme or Airport Express?

    I am currently on a WEP-protected network and can no longer print remotely. (The Airport Express worked fine on my last network which wasn't WEP protected). I can't even get the Airport Utility to find either my Airport Extreme base station or my Airport Express. I cannot remove the WEP protection from the network. I have tried plugging the printer into the Airport base station directly and still no printing. Why does the problem seem to be connected to WEP protection and what can I do about it?

    The WEP key has to entered onto the Airport Express through the Admin Utility. Find the key on your router, and then copy and paste the key into Express. If that doesn't work, try putting a $ in front of the WEP key on the Express.

  • Why can I not play music through my headphones while the power cord is plugged in?

    When my headphones and power cord are plugged in at the same time, audio will not play through the headphones, and the volume bar goes away. Why?

    What is the other end of the power cord plugged in to? If it isn't an Apple wall adapter the phone probably sees it as an audio device.

  • Why can i not send pictures through a message to anyone?  it shows it trying to send but always ends up in "failure",,,,

    I can't send pictures through a message to anyone~it shows it trying to send but always ends up in "failure",,,,,any clues as to what i am doing wrong??  My MMS is on,,,,,sometimes it will go through to one of my contacts but will never send to facebook.  I have to go into my facebook and then go into "upload photos",,,,,,
    Thanks in advance,

    What Meg said... also try looking here http://osxdaily.com/2012/01/28/use-iphone-4s-on-tmobile/
    But no guarantees it will work 100% on Tmobile..

  • Why can't I get get through to on-line chat?

    This is the second time today that I have tried to reach someone through the on-line chat.  I tried to go into the store and was told I had an hour and a half wait and there is no way to call customer service without being on hold almost that long, so I decide to try to figure out the issue myself.  The instructions are not clear and I just need a couple of questions answered. This is turning into a nightmare and Verizon's customer service standards are getting lower and lower.  The rates between Verizon and other companies is narrowing and I am starting to question why we are still being loyal to this company.  We've been customers for 15 years.  I don't normally express such negative feelings but I'm petty frustrated at this point. Will someone please help.

    Gabbybaker wrote:
    ... so I decide to try to figure out the issue myself.  The instructions are not clear and I just need a couple of questions answered. ... Will someone please help.
    What questions do you have?  Help us help you by giving us an idea of the issues you have...

  • Why can't I fast forward through music bought on itunes in my shuffle?

    it's so weird. I purchased the new Peeping Tom cd and a Jesu Ep and when I try to fast forward through the tracks on my ipod it simply skips to the next track. All my other imported music (all from cd's) will let me do this with no problem? Do itunes tracks always do this? I've imported several albums and singles over the past 2 years but I don't recall this problem. Is this due to the QT update they issued? every time i mess with itunes it seems something goes awry. "sigh."
    powermac 64, itunes 604.3, QT time update 7.1.1   Mac OS X (10.3.9)   itunes 604.3, QT time update 7.1.1

    No, not all ... just some of the purchased music tracks, and most of those concentrated in recent releases.
    Your options are to either work with ITMS Support to get your d/l tracks replaced (frequently they'll be okay on the second try, but not always), or can go through a complicated sequence of burning off to CD and then reimporting the track (which seems to almost always work).
    There are multiple threads about this very issue in this and other forums; a quick use of the Search window would have given you your answer before ever having to post.

  • Why can I not get JPEGs through IMAP email

    I was able to recieve JPEGs and view them and then one day nothing. I can recieve all other picture files, but not JPEGs through IMAP email. I have already contacted IMAP problem. Wanting to see if anyone else is having this issue.

    iCloud mail only works with @me.com, just like the message says. If you want to view mail in iCloud, you can make an @me.com address, then you can set up forwarding on your MSN account so emails will be forwarded from MSN mail to iCloud mail.

  • Why can't I update LR through CC

    Everytime I get a notice that there is an update for LR I look at the app in my CC destop window and it says up tp date. If I hit the update link it takes me to a web page were I have to do the update. If LR 5 is part of CC I want CC to tell me there is an update and update it fromn the CC window like I do with all the rest of CC apps. Why is this not happening?

    The CC system is farked.  If you update LR from within LR, you take it out of CC's cocoon and it doesn't recognize that LR is even installed.  I installed 5.3 as an update within LR.  LR disappeared from my installed apps in the CC list, and with 5.4 it showed up as an "install" option.  I did that instead of upgrading withing LR, and everything went well.  CC now lists LR as installed.

  • Why can't I make purchases through candy crush?

    Every time I try to purchase something from my iPhone 4 through Candy Crush. When I try to make a purchase, it says your iTunes purchased cannot be completed and it later refers me to this website. Not only that, it also charges my credit card that's on file!

    Click here and request assistance.
    (86757)

  • Why can't I access hotmail through safari?

    In the last two weeks, I can't access my hotmail account from safari on my desk top, anyone else having this problem?

    What exactly is it doing when you try to load the page?  Best thing I've found to troubleshoot safari is to follow this article:
    http://support.apple.com/kb/TS3230?viewlocale=en_US

  • Why can't I send mail through my mail app

    Can't send mail from either gmail or yahoo.  can receive mail on both, however

    You need to make sure the Out Going Mail Server information is correct in Mail>Preferences>Accounts. Contact your ISP for that info.

  • Why can't I send photos through Messages anymore?

    I just updated my software for the new iTunes and Safari this morning, but now I can't send photos on Messages. The recipient is someone I talk to everyday, he uses an iPhone, and I just successfully sent photos yesterday. Only after this update have I had any problems? I've tried completely closing the application and reopening it, I've tried different file types (JPEG, PNG, GIF) but no luck. I have a MacBook Pro 15" (2012), OS X Version 10.8.5.

    There should be a camera button that you press on.  It asks you if you want to use a picture already taken or to take one. Then you upload it on to the message and send.

  • HT3529 Why can't I send pictures through a text message?

    I have recently upgraded to an iPhone (first time iPhone user) and I am trying to send a picture that I recently took to an individual through a text message.  I have tried viewing the picture and pushing the button that brings up the option to send the picture through a message, but when I try to do that I always get a message telling me that the message has failed.  I'm not sure exactly what to do at this point.  Any help will be much appreciated.

    I am using AT&T and the individual I'm trying to send the message is also on AT&T service, but they have a different type of phone that is not an iPhone.

  • Why can't I access Facebook through Firefox? It says Account Temporarily Unavailable. It worked yesterday.

    I can't access Facebook with Firefox. It worked yesterday and has worked in the past several years. It won't even come up to the log in page. Just says Account Temporarily Unavailable. Try again in a few minutes. It has been that way for the last 4 hours. I know Facebook is not down as my husband can get in.

    What is the add-on that's keeping you from installing Firefox 14?
    A problem was noticed last week with certain ways of managing Facebook cookies. You can check these threads and see whether that issue is relevant to you:
    * [https://support.mozilla.org/en-US/questions/934784 Certain websites do not work properly in normal browsing mode but work in private browsing perfectly.]
    * [https://support.mozilla.org/en-US/questions/934791 facebook post area when clicked gives https://www.facebook.com/ajax/metacomposer/attachment/status/status.php?targetid=695296250&xhpc=composerTourStart]

Maybe you are looking for

  • PL/SQL agent is down on 11i

    I clone a TEST 11i instance (build by previous team and not use for a long time) on new TEST server, after that, start the apps tier, everything looks fine, but the PL/SQL agent is down ( I refresh the web component several times). everything else ar

  • Task FlowCustomization are not effective on deployment WebCenter 11.1.1.2.0

    I followed the the Oracle White Paper released March 2010 on WebCenter Task Flow Customization (11.1.1.2.0). All steps were followed exactly as per the white paper and the customization were deployed using WLST importMedadata command. http://www.orac

  • Report to bring CATS Time data changes

    Hi, I need a report to bring CATS Time data changes during a certain month. Is there any report that does this? And is there any idoc that is populated with this information and a report to create it? Or for example a function that returns this infor

  • 404 Page Not Found Error

    I am trying to redirect the user as per the process mention in the given below link if the page is not found http://www.spdeveloper.co.in/articles/pages/custom-page-not-found-page-sharepoint-2010.aspx It is working  fine as per desire in IE and Firef

  • Dynamic instances

    Hi, Is it possible to create n JTextFields with the component name stored in String name[].? That is if i have the String arry name with the following elements, name[] tf1 tf2 tf3 tf4 tf5 i want to create JTextField tf1 = new JTextField(20); JTextFie