Issues when we try to lookup for EJB using T3 protocol

Hi,
We have EJB's deployed in Weblogic server and we are trying to invoke them using T3 protocol.
We are facing problem as its giving the following exception
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://170.0.10.45:7685: Bootstrap to dev2.test.zone/170.0.10.45:7685 failed. It is likely that the remote side declared peer gone on this JVM];
We tried to enable HttpTunneling in Weblogic server but it did not work.
Could anyone suggest solution for this at the earliest. Not sure whether this is a cluster issue .

We are trying to connect to service and EJB from our local weblogic portal
Client Server Info
Weblogic version 9.2
jdk1.5
Server Info
Weblogic version 9.2
jdk1.5
In properties file we have delcared the EJB client URL : t3://IP:7685
code
private static final String CLIENT_EJB_KEY_PREFIX = "ejbclient.";
private static final String CLIENT_EJB_JNDI_NAME_SUFFIX = ".remoteJndiName";
try {
String className = cls.getName();
String key = CLIENT_EJB_KEY_PREFIX + className + CLIENT_EJB_JNDI_NAME_SUFFIX;
LOG.debug("Looked up key of {} for className: {}", key, className);
String jndiName = cfg.getString(key);
System.out.println("Inside getHome Method : Jndi Name"+jndiName);
if (StringUtils.isEmpty(jndiName)) {
System.out.println("Inside if");
throw new ServiceNotAvailableException("Unable to locate JNDI key of %s for class %s", key, className);
Hashtable<String, String> env = new Hashtable<String, String>();
env.putAll(context.connectionEnv());
Context ctx = new InitialContext(env);
EJBHome home = (EJBHome) ctx.lookup(jndiName);
return home;
} catch (NamingException cause) {
throw new ServiceNotAvailableException(cause);
The call to EJB is failing because it is not able to communicate using T3 protocol.

Similar Messages

  • How to write the jndi lookup for ejb using oc4j server in jdeveloper

    Hi All,
    i am new to the JDeveloper. i want to develop the session bean in JDeveloper using the OC4J server. how to write the jndi lookup in cllient. what are the xml files need to deploy the application. where can i mention the JNDI name in xml file. so please provide the information as soon as possible.
    regards
    ram

    There is quite in-depth information in the Enterprise JavaBeans Developer's Guide.
    Section 2 (Understanding EJB Application Development) explains the xml files needed and Section 29 (Accessing an EJB from a Client) explains how to do a JNDI lookup.
    Hope this helps.

  • Firefox crashes when I try to search for something using the Google or MSN search engines, but not with other search engines. What causes this and how can i fix this?

    I type something into the Google or MSN search engine and as soon as I hit search, Firefox crashes. Hotmail still works fine, as do every other website I have tried, including other search engines. What is the problem?

    I got the same issue to and crashes in the same exact manner. Been using IE in the mean time, thought it was just me. I tried reinstalling Firefox and everything, even rolled back windows.

  • I'm getting the below issue when I try to deploy a report with Dynamic parameters, when I deploy it with static parameters I'm not getting this issue.

    I’m getting the below issue when I try to deploy a crystal report with Dynamic parameters in BI Launch Pad, when I deploy the same report with static parameters I can deploy and run it. I have Restarted the BI server, still the issue exitno use. kindly help me on this issue.
    “This error occurred: Adding Crystal Report "CrystalReport1.rpt" failed. The server with kind rptappserver returned an error result. Failed to copy the report file to the report object. Refreshing the report object properties might have failed. Failed to read data from report file CrystalReport1. Reason: Failed to read parameter object”.

    BO does not run dynamic params through the report as would happen without BusinessObjects (BO) or Crystal Reports Server (CRS).  When you publish a report with dynamic parameters to BO/CRS, the prompt is published to the repository so that it can be accessed through the Business View Manager (which can be installed as part of the client tools).  In order for this to work a couple of things need to happen:
    1.  You need to be sure that you check the "Update Repository" box on the Save As screen the first time you publish the report.
    2.  Your BO/CRS user needs to have "view" access to the Crystal2013ReportApplicationServer in the Servers section in the CMC - in fact, the Everyone group should be given view access to the server in order for dynamic prompts to work correctly.
    3.  In the Business View Manager, the Administrator user needs to give your user, or, even better, a Crystal Developers group full control access to the "Dynamic Cascading Prompts" folder.
    Best practice for dynamic prompts in a BO/CRS environment is to actually create the prompts in the Business View Manager.  This will allow you to create a single data connection that can be reused and also create lists of values such that the same list or prompt can be reused by multiple reports.  If you just create the prompts in Crystal, you will end up with multiple data connections to the same database, the prompts will use the whole query for the reports to get the dynamic values instead of just a focused query to the lookup table that contains the values, and there ends up being lots of duplication and chaos.
    -Dell

  • HT4913 How do I resolve this issue when I try to download iTunes. I receive this error message " iTunes64Setup.exe is corrupt or invalid"

    How do I resolve this issue when I try to download iTunes on my laptop?  It fails because of this error message " iTunes64Setup.exe is corrupt or invalid"

    That suggests that the installer is getting damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • When I try and Save for Web in Photoshop CC I receive an error message saying 'The operation cannot be completed. The requested operation cannot be perfomed on a file with a user-mapped selection open'.

    When I try and Save for Web in Photoshop CC I receive an error message saying 'The operation cannot be completed. The requested operation cannot be performed on a file with a user-mapped selection open'. This happens with any of my files not just one in particular...
    Can anyone help solve this please?

    ELEMENTS 12 AND ELEMENTS 13
    Upgraded to 13 Thinking might resolve the issue.
    Was working fine up until we had "Tech" come in the office and "up grade some stuff"
    then all of a sudden i started getting this message, something happened but i don't have a clue what.

  • TS1424 How do you fix a R6025 pure virtual function call error?  When I try to search for music, iTunes freezes & returns this message.

    How do you fix a R6025 pure virtual function call error?  When I try to search for music, iTunes freezes & returns this message.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Having issue when we try to print more than 300 container labels

    Hi Gurus,
    We are having issue when we try to print more than 300 container labels. Once it reaches 300 it starts to jump the sequence and we are not able to complete all the tickets if itu2019s more than 300.
    Regards
    Rajib Pathak

    dear friend,
    first, i recommend to analyse the spool request and discuss it with your basis/technical guys (use SP01)
    second,
    you would try to run t-code SPAD for your output device and check out the checkbox "Process requests sequentially" (ON)
    regards,

  • Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.

    Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.

    1) The best way to relocate the iTunes library folder is to move the entire iTunes folder with all subfolders to the new path, then press and hold down shift as start iTunes and keep holding until prompted to choose a library, then browse to the relocated folder and open the file iTunes Library.itl inside it.
    If you've done something different then provide some more details about what is where and I should be able to help.
    2) Purchases on the device should automatically transfer to a Purchased on <DeviceName> playlist, but it my depend a bit on whether automatic iCloud downloads are enabled. If there is a cloudy link then the transfer might not happen. You can use File > Devices > Transfer Purchases. In iTunes you should also check out iTunes Store > Quick Links > Purchased > Music > Not on this computer.
    3) Backup the device, then immediately restore it. In some cases you need to add a restore as new device into that equation. Obbviously not to be attempted until you're sure all your media is in your library. See Recover your iTunes library from your iPod or iOS device should it be needed.
    4) I believe there is complimentary 1 incident 90-day support with hardware purchases, but no free software support for iTunes itself. AppleCare gets you a different level of support.
    tt2

  • When I try to purchase an app using my iphone it asks me for a password for the wrong email address. How do I reset my iphone to show the correct email address/apple ID

    when I try to purchase an app using my iphone it asks me for a password for the wrong email address. How do I reset my iphone to show the correct email address/apple ID

    Thanks for your reply. Having read through relevant topics it suggests that if I sync my iphone with the correct account on my pc it should use that one thereafter. i will try both.

  • I forgot my apple id password and i already deleted my yahoo account for that apple id. When i try resetting it for security question, my birthday verification says invalid. How can i retrieve my password for a swleted yahoo account?

    I forgot my apple id password and i already deleted my yahoo account for that apple id. When i try resetting it for security question, my birthday verification says invalid. How can i retrieve my password for a swleted yahoo account?

    http://support.apple.com/kb/ht5312
    Note: The option to send an email to reset your security questions and answers will not be available if a rescue email address is not provided. You will need to contact iTunes Store support in order to do so. 

  • When I try to sync my ipad using itunes I get the following message. This iPad cannot be synced. You do not have enough access privileges for this operation. Any ideas how this can be resolved?

    When I try to sync my ipad using itunes I get the following message. This iPad cannot be synced. You do not have enough access privileges for this operation. Any ideas how this can be resolved?

    See if the user tip helps: https://discussions.apple.com/docs/DOC-6562

  • When i try to search for contact or create a new one the keybord does not come up

    when i try to search for contact or create a new one the keybord does not come up

    Try going to settings to General to reset to 'reset all settings'
    This should do the trick!
    Good luck

  • HT204266 I have a iPod touch 4 and updated the iOS 6 and always when I try to search for an app in the App Store it won't let me because it always exits the App Store. Why is this happening?

    I have a iPod touch 4 and updated the iOS 6 and always when I try to search for an app in the App Store it won't let me because it always exits the App Store. Why is this happening?

    Have you tried resetting and restoring your iPod?

  • When I try to register for AppleCare, it says my serial number is invalid.  What should I do?

    When I try to register for AppleCare, it says my serial number is invalid.  What should I do?

    Call 1-800-275-2273.
    They should be able to help you.
    Clinton

Maybe you are looking for

  • VIDEO_TS content into Final Cut Pro HD?

    Is there a way I can get content from a DVD's VIDEO_TS folder into Final Cut Pro HD? I gave some footage to a person for editing purposes and I'm not very satisfied with the results. The image quality isn't the greatest and I'd like to add some effec

  • Netscape Messaging Server & iPlanet Web Server question

    The netscape messaging server (v 4.1) is receiving emails which are html-only formatted. Through webmail, the body appears to be empty. When checking the message store, the message is not empty. When accessing through webmail, we are able to view the

  • Constant drop offs

    Hi Our internet drops off every 10 - 20 minutes. All the lights are on, but anything connected loses Internet. The colour of the lights never changes. We can either wait 10 minutes for it to reset itself or we reset it manually - neither are ideal. W

  • How do you make labels with a macbook?  I would like to use label sheet paper in my printer.

    Is there a free download that will allow me to make names on lables to print from my macbook pro?

  • Searching Huge data

    Hi, I have a table T1 with 5 key columns (c1,c2,c3,c4,c5) having Huge data (Datawarehouse) Each Incremental load is having 600 million records and stored in table T2 with same key columns (c1,c2,c3,c4,c5). I have to take every single record of T2 and