Problem definition foreign JNDI provider

Hello

I get an error "the JNDI name is already bound by another object" when I define a foreign JNDI provider. I have following configuration:

1 domain with two groups: Group A and Group B.

1 queue in Group A with the JNDI jms/myTestQueue = name

1 foreign JNDI provider in cluster B pointing to the cluster has. There is a link with the name JNDI Local jms/myTestQueue and remote JNDI jms/myTestQueue = name =

If I use jms/local /myTestQueue for the Local JNDI Name it works. Is this expected behavior? I am not allowed to use the same name for the local JNDI and the distance JNDI?

Best regards, Nicolas

I think it's because the cluster and B belong to the same domain, and you cannot have duplicates of JNDI names in a single domain

Tags: Fusion Middleware

Similar Questions

  • OSB 12 c: Business Service can not reference foreign JNDI

    Hello everyone

    I have two machines. First machine running Weblogic 12 c with some deployed EJB´s and second machine running Weblogic 12 c with Oracle Service Bus 12 c.

    For various reasons, I must have the possibility of invoking the EBJ (first machine) by the (second) Bus Service

    My first step was to create an EJB HelloWorldService, and deploy it to the first machine. Is the remote interface of console weblogic JNDI name. It can be invoked java application and works very well

    EJB. HelloWorldBean #es.enrique.ejb.HelloWorldBeanRemote


    I then created a foreign JNDI provider in the second machine (OSB one), using the Weblogic console


    jndi_config_1.JPG

    I also have a JNDI connection to that called foreign JNDI provider


    ForeignJNDILink-0


    Now, I want to configure a business service with access to the foreign JNDI provider. When I put the URI of my business abroad JNDI, I just created, access it complaints by saying:


    The JNDI ForeignJNDILink-0 there is no provider


    jndi_not_exist.JPG

    Can someone please explain to me what I am doing wrong?


    My understanding is that the OSB should see the JNDI foreing supplier because they are both in the same machine (the other)


    Thanks in advance


    Ok. I thought about it.

    Instead of working from the web browser, I tried JDeveloper.

    From there, you can create a "JNDI prodiver", specify EJB machine URL, user and password.

    At this point, you can create a Business Service and set the URI: "jejb: [name of the JNDI provider]: [full EJB JNDI]."

  • Problem with rollback transaction with foreign JMS provider

    Hello

    I created a small test to validate this transaction rollback works correctly with a foreign Jms provider (Sonic). My results seem to show that this isn't, but I have my installation is perhaps incorrect so any help appreciated...

    In the example below, I have an MDB that uses the movements of containers managed (Transaction required) and packaging. It receives a message & then sends another message.

    I've explicitly forced a rollback and wait for message received and sent message are ignored. However, on my Sonic queues, I see the number of messages on the output queue (where the message is sent) regularly every restitution time is more tempted, implying the sent message is not be restored.

    This is my EJB code: -.
    @MessageDriven(description = "sample mdb using weblogic resource wrappers", name = "WLPooledSonicJmsTransactionRequiredMessageDrivenBean")
    @TransactionManagement(value = TransactionManagementType.CONTAINER)
    @Resources( {
              @Resource(name = "connectionFactoryReference", mappedName = "localconnFactoryXA", type = javax.jms.ConnectionFactory.class),
              @Resource(name = "sendDestinationRef", mappedName = "local.out.queue1", type = javax.jms.Queue.class) })
    public class WLPooledSonicJmsTransactionRequiredMessageDrivenBean implements
              MessageListener {
    
         private ConnectionFactory sendingConnectionFactory;
    
         private Queue sendDestination;
    
         @Resource
         private MessageDrivenContext mdctx;
    
         @TransactionAttribute(value = TransactionAttributeType.REQUIRED)
         public void onMessage(Message message) {
              System.out
                        .println("on message called on WLPooledSonicJmsTransactionRequiredMessageDrivenBean!!");
    
              Connection jmsConnection = null;
    
              try {
                   String deliveryCount = message
                             .getStringProperty("JMSXDeliveryCount");
                   
                   System.out.println("JMSXDeliveryCount value is: " + deliveryCount);
    
                   if (sendingConnectionFactory == null)
                        System.out.println("sendingConnectionFactory was null!!");
                   sendingConnectionFactory = (ConnectionFactory) mdctx
                             .lookup("connectionFactoryReference");
    
                   if (sendDestination == null)
                        System.out.println("sendDestination was null!!");
                   sendDestination = (javax.jms.Queue) mdctx
                             .lookup("sendDestinationRef");
    
                   jmsConnection = sendingConnectionFactory.createConnection("xxx",
                             "xxx");
                   System.out.println("Sonic version = "
                             + jmsConnection.getMetaData().getProviderVersion());
    
                   Session s = jmsConnection.createSession(false,
                             Session.AUTO_ACKNOWLEDGE);
                   System.out.println("Transaction is: "
                             + weblogic.transaction.TransactionHelper
                                       .getTransactionHelper().getTransaction());
    
    
                   MessageProducer producer = s.createProducer(null);
    
                   Message response = s.createTextMessage("My Reply");
    
                   producer.send(sendDestination, response);
                   System.out
                             .println("message sent from WLPooledSonicJmsTransactionRequiredMessageDrivenBean!");
    
                      // force a rollback for testing purposes
                   mdctx.setRollbackOnly();
    
    
              } catch (JMSException e) {
                   e.printStackTrace();
                   // reset our jndi objects
                   sendDestination = null;
                   sendingConnectionFactory = null;
                   throw new EJBException(e);
              } finally {
    
                   // Return JMS resources to the resource reference pool for later
                   // re-use.
                   // Closing a connection automatically also closes its sessions, etc.
    
                   try {
                        if (jmsConnection != null)
                             jmsConnection.close();
                   } catch (JMSException e) {
                        // reset our jndi objects but no need to tell client
                        sendDestination = null;
                        sendingConnectionFactory = null;
                   }
    
              }
    
         }
    }
    Here are the weblogic-ejb-jar, which defines the destination of reception
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-ejb-jar xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd"
            xmlns="http://www.bea.com/ns/weblogic/90"
            xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <weblogic-enterprise-bean>
            <ejb-name>WLPooledSonicJmsTransactionRequiredMessageDrivenBean</ejb-name>
            <message-driven-descriptor>
                <pool>
                    <max-beans-in-free-pool>4</max-beans-in-free-pool>
                    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
                </pool>
                <destination-jndi-name>localmandytest</destination-jndi-name>
                <connection-factory-jndi-name>localconnFactoryXA</connection-factory-jndi-name>
                <jms-polling-interval-seconds>30</jms-polling-interval-seconds>
            </message-driven-descriptor>
        </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    and it has been part of the weblogic log output (this message is repeated that the container attempts to deliver the message)...
    on message called on WLPooledSonicJmsTransactionRequiredMessageDrivenBean!!
    Session transacted? = false
    message sent from WLPooledSonicJmsTransactionRequiredMessageDrivenBean!
    <07-Oct-2010 13:09:45 o'clock BST> <Info> <EJB> <BEA-010213> <Message-Driven EJB: WLPooledSonicJmsTransactionRequiredMessageDrivenBean's transaction was rolled back. The transaction details are: 
    ......
    Published by: MandyWarren on October 7, 2010 07:05 added weblogic-ejb-jar. XML

    Published by: MandyWarren on October 14, 2010 14:53 in order to take account of the last changes of the code

    Published by: MandyWarren on October 14, 2010 15:30 - code removed for only if rollback count == 1 because it does not work

    Published by: MandyWarren on October 21, 2010 22:36 deleted info specific environment

    Just a quick update...

    I raised this issue to the support of Oracle who confirmed that it was a bug see their response below...

    >
    I just got an update of JMS engineering.

    They Bug 81388508142162 is the best candidate: 8138850 is for WLS 9.2.x, while 8142162 is for WLS 10.0.x.
    The fix is included in 9.2.3 WLS and WLS 10.0.2
    >

    I upgraded to 10.0 MP2 as no new patches are now provided for 10.0 MP1 and the problem was solved.

    A big thank you to everyone for their help on this.

  • MDB cannot bind to the queue via foreign JNDI

    Hi all

    I have an MDB (configured with annotations) that I want to connect to a queue on a remote Instance of Weblogic. I made available to the local instance queue foreign using JNDI. I got this job in the previous configurations, but now I get the MDB error messages:

    javax.naming.NameNotFoundException: could not resolve ' weblogic.jms.backend.Messaging - Server "." Solved "weblogic.jms.backend"; another name "mail server".

    "Mail - server" here is the name of the JMS server on the remote instance and the name is not available in the remote instances JNDI tree, in the local (which should be correct imo).

    I had the installation works with the same server configurations when using the same MDB configured manually with set of deployment descriptors. I also had the version of the annotation of work when using local queues to JNDI. And I am able to send messages to the queue for foreign aid JNDI.

    The difference that I am aware of so far is with the annotated version, that I was not able to specify the ConnectionFactory JNDI name because I have not found an annotation for her and not examples. But if this is the problem why it works using local queues?

    Do I have to specify a foreign JNDI link bearing the name of the e-mail server so it can be accessed on-site? But, if so, why it works with the version without annotations?

    Here, the pointers are welcome because I really have no idea what I could check.

    Thanks, Chris

    Hi Christian,

    My guess is that the exception is due to an attempt to use a JMS connection that is connected in the local cluster to communicate with a destination in a WebLogic JMS remote cluster, which of course will not work.

    If the destination of the source for an MDB is on a foreign seller or another WebLogic cluster, you need to inject somehow a reference to the remote destination and the factory remote connections. Normally this is done via the following steps (1) set up a Server JMS 'strangers' with the URL/user/pass of the remote JNDI, (2) set up a foreign destination and the name of factory for foreign connections on the foreign JMS server that maps each remote JNDI name in a JNDI name local, installation (3) to the top of the MDB to reference the JNDI local connection factory and the remote JMS destination mappings.

    Once you have set up the foreign JMS server, see if it works:

    @MessageDriven(mappedName = "MyQ", activationConfig = {
    @ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue = "MyCF")})
    
    I'm not sure if it's necessary, but you might also want to try these:
    @ActivationConfigProperty(propertyName = "destinationName", propertyValue ="MyQ")
    @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
    

    I did not try it myself, but I think it'll do the trick.

    Tom

  • Problem definition complex join in the physical layer

    I have a problem with the definition of a complex join in the physical layer.

    I have the following two tables:

    DIM_ORG
    Id_Org
    DT_Start
    DT_End
    Nom_org

    FACT_REV
    Id_org
    Recipes

    The tabel DIM_ORG is type 2 SCD. The current/active nom_org can be identified in the table because DT_End will be empty.

    Using the expression builder to configure the physical join I have entered the following expression:

    DIM_ORG. Id_Org = FACT_REV. Id_Org AND DIM_ORG. DT_End is null

    The expression builder accepts the syntax, but when I want to close the physical foreign key window I get the message:

    [nQSError: 30001] Only the columns, designated operators and predicates are allowed.

    Any suggestions how to solve this problem? Am just missing something? All I want to do is set up a join to pick up the active nom_org of my size.

    Thanks for your help!

    Make a foreign key in the physical layer:
    DIM_ORG. Id_Org = FACT_REV. Id_Org

    In the MDB, set the logical table org dim source/content in tab/where a part:
    DIM_ORG. DT_End is null

    Concerning
    Goran
    http://108obiee.blogspot.com

  • Problem with the winsock provider catalog error wireless online?

    I have an aspireone by Acer with Windows XP Edition version 2002 service Pack 3 family. When I try to go on wireless internet with internet Explorer 7, I get the error 'problem with winsock provider catalog '. I did the reset thing and it still gets the same error. Anyone has a suggestion to get this pc online?

    I have an aspireone by Acer with Windows XP Edition version 2002 service Pack 3 family. When I try to go on wireless internet with internet Explorer 7, I get the error 'problem with winsock provider catalog '. I did the reset thing and it still gets the same error. Anyone has a suggestion to get this pc online?

    Note the devices installed in the machine.  Use this information to download the latest version of the drivers and software for the manufacturer's Web site features (on another machine and store on an external support, I suppose, would be the only way for you to do.)

    Uninstall the software/drivers for network devices.  Turn it back on.  Even if pilots are found/installed automatically, manually update the drivers & software using the files you downloaded earlier.

    Open a command prompt and run the commands following one at a time (after each ENTRY) without leaving the part through if somehting started working...  Note all errors and post them here.

    netsh winsock reset catalog
    ipconfig / renew
    ipconfig/flushdns
    ARP d *.
    nbtstat - RR

  • setClientId equivalent to the foreign JMS provider?

    Hello

    I use an MDB, a foreign JMS server and a durable subscription. I need something equivalent to setClientId(String clientID) to set the client for the connection id, preferably using deployment descriptors. All I could find was jms - login id that appears to set the id for the topic, not the connection. I don't see a way to set the ID of the customer on the foreign JMS server makes connections.

    Thank you.

    Strategy customer ID to subject WebLogic = restricted

    The strategy of customer ID does not apply unless you use WebLogic JMS provider. If you use WebLogic JMS, then I recommend using one of the new "one copy" by app modes.

    Is it possible to configure the subscription name or is controlled by the container as implied by the B-1 of the Table?

    I don't think that there is a way to define the subscription directly - name only indirectly, according to the B-1, where it can be the same as the customer id or the same as the ejb-name, depending on the use case...

  • Satellite M30X-102: problems with foreign settings

    I just bought the laptop M30X-102 of the Germany, but I am from Greece. So everything is in German (which I don't understand), the recovery disk, documentation... So I ask if I can find the revovery disk in English language. How can I re - configure my system with windows English? (I think format...) Thank you...

    Hello

    It is a shame. I know the problem, if you have lost a Toshiba Recovery CD, then you go to a Service partner and sign a solemn declaration (it is a restriction of M$) and you will get a new recovery CD.

    You could ask a Greek Service partner if it is possible to do?

    Hans Bye

  • Problem reports and solutions providing incorrect information because of Adobe.

    There seems to be a problem with Adobe Reader X generating a crash and an error when it is stopped. Windows "problem reports and solutions" said Adobe updates are available, but they are not and the version of the player is the last. This question is also on the Adobe forums.

    In reality, Adobe Reader seems to work OK so why it generates this error I do not know.

    This is the Windows error reporting,

    Signature of the problem
    Problem event name: APPCRASH
    Application name: AcroRd32.exe
    Application version: 10.1.1.33
    Application timestamp: 4e64e4e2
    Fault Module name: AcroRd32.dll
    Fault Module Version: 10.1.1.33
    Timestamp of Module error: 4e64f98b
    Exception code: c0000005
    Exception offset: 000218f8
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 2057
    Additional information 1: fd00
    More information 2: ea6f5fe8924aaa756324d57f87834160
    Additional information 3: fd00
    Additional information 4: ea6f5fe8924aaa756324d57f87834160

    See,
    http://forums.Adobe.com/message/4028803#4028803

    I run Vista and MSE only and tried Adobe Reader X on a clean install with the same error.

    Hello

    You can see this article which talks about known issues with drive X.
    http://kb2.Adobe.com/CPS/877/cpsid_87775.html

    See also:

    http://kb2.Adobe.com/CPS/860/cpsid_86063.html

    If the problem persists, contact support Adobe as mentioned above.

  • Problem definition fault policy at the level of the BPEL components

    Hello

    I have a composite with 2 BPELs. (BPEL1 and BPEL2). In my composite BPEL1 called BPEL2.
    My requirement is that when an error occurs in BPEL2, I want to throw 1 BPEL and BPEL1, I want to handle using fault strategies defined on MDS.

    < name = "oracle.composite.faultPolicyFile property" > oramds:/apps/faultpolicy/fault-policies.xml < / property >
    < name = "oracle.composite.faultBindingFile property" > oramds:/apps/faultpolicy/fault-bindings.xml < / property >

    The problem here is that when I use the lines above at the composite level, BPEL2 is contagious the fault using the policy of the fault. (I am pasting the above two properties just after the service tag).
    But if I want to use this manipulation in BPEL 1, I'm pastin lines above within the tag < element > 1 BPEL. In this case, BPEL2 is to launch the flaw, but BPEL1 is not able to do as the policy of the fault is not entered into force.

    Can someone paste a contents of composite.xml example to set the faultpolicy specific to a BPEL component, rather than the whole composite.xml?

    Any help on this is much appreciated.

    Thank you
    Prates T.

    Error binding allows to set policy for the required component fault.
    for example: -.



    xmlns = "http://schemas.oracle.com/bpel/faultpolicy."
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >


    BPEL1
    Medias2



    HelloWorld
    ShippingComponent
    AnotherComponent ".

    See section links fault in http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_faults.htm

  • problem with packages oralce provided and views

    Hi all


    How to manage packages suppiled oracle DBMS_SCHEDULER, DBMS_PIPE, dbms_application_info inTimesten.
    I procedures using packages of procedures thease and displays specific oracle v $ instance and v$ database etc.

    How do thease Timesten-compatible pL/SQL blocks


    Kindly help me

    Many of these things do not exist in TimesTen. In some cases, you may be able to work around this problem by implementing this functionality yourself, but in some cases, it is not negligible.

    I think it is worth noting at this point that TimesTen is in no way a technology to 'plug in' transparent. In general, do a work of existing Oracle application with TimesTen will involve significant code changes and will involve probably also some re-Pro-Design/re-architecture.

    In reality, in order to take advantage of the value of TimesTen must be "designed in" to the application from the beginning. This ex-post to an existing application installation is a generally a major undertaking.

    Chris

  • How to submit your comments about a problem in the schedule provided with iOS 9?

    The issue is about the Islamic calendar which is included in iOS 9, while it is a great addition, and I personally thank you for her, the possibility of adjusting the dates if it's departure, including East missing.

    The Islamic (Hijri) calendar is based on the observations of the Moon (Crescent), a few months ends / departures only by the sighting of the new moon (Crescent).

    Examples of such is this month (Lud-Hija), the grille is off (one day advance) and there is no option to resolve this difference, which makes the bad for the rest of the Islamic year, another important month based on the sighting of the new moon is the month of Ramadan, in which Muslims around the world start fasting, Ramadan begins and ends only on observation of Red Crescent.

    All programs of Islamic calendar in the store to know this question, and they include an option to adjust the dates in days of - 2 to + 2 days in advance.

    Please see this and add the option to set the date of the Hijra accordingly as soon as possible in the iOS updates.

    It's the feedback I want to submit to Apple, it must be submitted as soon as POSSIBLE, so it can fix.

    Where and to whom can I submit this feedback?

    Thank you.

    http://www.Apple.com/feedback/iPad.html

  • Firefox has the critical problem with foreign languages for example Russian in the address bar! How to solve this problem?

    When I put the address in the address in Russian bar I see Google instead of my site. I don't want to not Google.
    Help please.

    When there is a space in the URL, the address bar search can kick.

    Don't know if you've changed, it's used everywhere else. Another way to disable the address bar search is:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste the keywords and make a pause so that the list is filtered

    (3) double-click the keyword.enabled from true to false.

  • I'm trying to fix a little problem on Microsoft Hearts provided as part of the package of Windows Vista Home Basic

    Hearts now appears only in black and white, with a small width (so the cards appear too high, etc.), the statistical record is back to zero and base has vertical stripes.  I tried reinstall of Vista drive but cannot find an option to reinstall only the game of hearts - complete reinstallation of Vista seems too drastic!  Component of Vista games don't show up on the menu of the control panel remove program so can't try to fix.

    Try a new user accoount.
    Try the sfc scan. Click Start > type cmd > right click and run as admin > type sfc/scannow > press on enter > restart after it's over.

  • Configuring JMS Adpter for remote weblogic JMS

    Hello
    We have SOA and OSB installed on separate computers.
    We use SOA 11.1.1.6.
    I have a requirement to send a JMS weblogic installation message where SOA is installed for weblogic installation where the OSB is installed.
    I understand that I must create a foreign JNDI provider where I need to create the link with the SMC OSB that I created on weblogic SOA.

    Now, when I am configuring the JMS adapterit asks me to select the connection to the server app jdev which is the installation of SOA connection it shows all queues and topics
    present on the installation of weblogic SOA but I need to specify the name JNDI Local and remote JNDI name somewhere so the message should go the
    OSB JMS.
    Can you get it someone please let me know how to configure the adapter in this scenario?
    Any help/pointers in this regard are appreciated.

    With respect,
    Hard

    Not very clear on your condition. Here's what I understand:
    1. you have a JMS queue in the field of the SOA Suite and another line in the area of the OSB
    2. you want to send messages to the queue JMS SOA field to the field to OSB JMS queue

    First of all don't think that you need a separate queue in the field of the OSB, you can have your proxy service point to the queue JMS in SOA Suite. You can simply use the domain SOA listening address and JNDI names in the service OSB JMS as URI a Proxy endpoint it will read messages directly from field JMS queue to SOA.
    However, if you have messages to copy first to the local OSB JMS queue, I would suggest creating an agent FAS to messages before directly from queue JMS SOA to the queue of the JMS OSB, in this way you will not have to build a composite to forward the message.
    Finally, if you want to forward the messages from the queue JMS SOA to the queue JMS OSB via a composite then you need build two adapters JMS in your composite application.
    JMS adapter to read the messages in the queue JMS SOA domain. (Use a server app connection in jDev which points towards SOA domain admin server and provide the queue JMS JNDI names created in the field of SOA).
    Other JMS adapter to write messages of OSB field JMS queue. (Create another connection of server app in jDev which points to OSB domain admin server and provide the names of the JNDI queue created in the field of the OSB).
    Then you can just put a mediator to take first map JMS messages and send to the second map of JMS

Maybe you are looking for