JMX MBeanServerDelegate listener registration

I'm trying to register a listener with the MBeanServerDelegate in SAP
Netweaver. I'm always getting back a NPE when I call addNotificationListener
on the connection:
java.lang.NullPointerException
        at
com.sap.engine.services.jmx.MBeanServerConnectionImpl.addNotificationListene
r(MBeanServerConnectionImpl.java:730)
        at
com.intersperse.agent.sapconnector.TestMBeanServerDelegate.main(TestMBeanSer
verDelegate.java:50)
It seems to apply to any MBean that I try as well, not just
MBeanServerDelegate. I have a very simple test:
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"com.sap.engine.services.jndi.InitialContextFactoryImpl");
env.setProperty(Context.SECURITY_PRINCIPAL, "Administrator");
env.setProperty(Context.SECURITY_CREDENTIALS, "control");
env.setProperty(Context.PROVIDER_URL, "10.70.20.136:50004");
MBeanServerConnection serverConnection =
JmxConnectionFactory.getMBeanServerConnection(JmxConnectionFactory.PROTOCOL_
ENGINE_P4, env);
serverConnection.addNotificationListener(new
ObjectName("JMImplementation:type=MBeanServerDelegate"),
        new NotificationListener() {
                public void handleNotification(Notification notification,
Object handback) {
                        System.out.println("handle note: " + notification);
        }, null, null);
Anyone know what could be causing this?

Hi Andrew,
We are using JManage open soure and enhancing it to support SAP WAS.
Thanks,
Siva

Similar Messages

  • Static listener registration 11gr2 RAC Primary and standalone Standby

    Hi Guys,
    I have to build up a single instance Physical Standby(Dataguard) for a primary RAC (11.2.0.1).The concern or rather confusion we have three SCAN LISTENERS across 2 node cluster,in order for me to have static registration for duplication of database for standby i need to have it put in the listener.ora .
    Do i have to create the static listeners for default listener as well as the scan listeners?

    My understanding is No.
    The Oracle instance would automatically register the local listener to SCAN listeners, so I believe just the default needs this.
    This document has Scan listener example and none of them use a _DGMGRL
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
    Best Regards
    mseberg
    This document seems to support my statement :
    11.2 Scan and Node TNS Listener Setup Examples [ID 1070607.1]
    Edited by: mseberg on Aug 5, 2011 2:02 PM
    Also of interest :
    11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained [ID 887522.1]

  • Database listener registration

    All,
    How do you get a database to register itself with the listener?
    rgds
    Alan

    Hi,
    Oracle 10gR2 - Technically, a DB registers itself automatically with the Listener, at DB creation time.
    But, I have found that I need to update my listener.ora and tnsnames.ora file manually, and restart the listener.
    Hope that works.
    vick.

  • Listener Registration Problem.

    Hi
    I have installed 11G on Windows XP and when i try to connect from SQL Developer i get the error.
    ORA-12514, TNS:Listener does not currently know any services.
    C:\Documents and Settings\chandur>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 21-MAY-2008 13:20:52
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
    Start Date 21-MAY-2008 12:54:19
    Uptime 0 days 0 hr. 26 min. 36 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\chandur\product\11.1.0\db_1\network\admin\listener.ora
    Listener Log File d:\app\chandur\diag\tnslsnr\s0634\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    I have the TNSNAMES and listener and sql.ora files like this.
    # tnsnames.ora Network Configuration File: d:\app\chandur\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.mydomain.com)
    Linstener.ora
    # listener.ora Network Configuration File: d:\app\chandur\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SQLnet.ora
    # sqlnet.ora Network Configuration File: d:\app\chandur\product\11.1.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    if some one has faced the same problem please let me know.
    I have searched for such problems but the solutions didn't help me.

    I have used the OUI and selected the default install and it reported that it created the listener and when i see the status from lsnrctl it gives the
    C:\Documents and Settings\chandur>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-MAY-2008 09:18:00
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
    Start Date 22-MAY-2008 08:48:17
    Uptime 0 days 0 hr. 29 min. 45 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\chandur\product\11.1.0\db_1\network\admin\listener.ora
    Listener Log File d:\app\chandur\diag\tnslsnr\s0634\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    The listener supports no services
    The command completed successfully

  • Listener registration

    Hello,
    I'm using Sun's Application Server. Go Sun!
    I declared a ServletContextListener in the deployment descriptor. When I GET requested the servlet, the server responded w/ a 404. Did I miss something?

    ...by the way, the servlet is found when no listeners are declared.

  • Listener Static Registration

    I am trying to do a static listener registration but getting error when trying to connect-
    export ORACLE_SID= tests
    SQL> conn sys/advantage
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    -----------This is the status of Listener--------------------
    Alias                
    LISTENER
    Version              
    TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date           
    11-MAR-2015 08:42:30
    Uptime               
    32 days 15 hr. 27 min. 18 sec
    Trace Level          
    off
    Security             
    ON: Local OS Authentication
    SNMP                 
    OFF
    Listener Parameter File   /db/oracle11/app/oracle11/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File    
    /db/oracle11/app/oracle11/diag/tnslsnr/lindbv13/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=lindbv13.ams.com)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Services Summary...
    Service "adbv13O1" has 1 instance(s).
      Instance "adbv13O1", status READY, has 1 handler(s) for this service...
    Service "adbv13O1XDB" has 1 instance(s).
      Instance "adbv13O1", status READY, has 1 handler(s) for this service...
    Service "tests" has 1 instance(s).
      Instance "tests", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    ---Content of Listener.ora file---------------
    # listener.ora Network Configuration File: /db/oracle11/app/oracle11/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = lindbv13.ams.com)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = tests)
          (ORACLE_HOME = /db/oracle11/app/oracle11/product/11.2.0/dbhome_1)
          (SID_NAME = tests)
    ADR_BASE_LISTENER = /db/oracle11/app/oracle11

    can anyone please help me on this

  • Mbean that listen for jms queue messages

    Hi to all,
              I must use a Jmx notification listener architecture to trap when a new message arrives (i must also handle the message content) in a weblogic jms queue.
              Do you know which mbean could help me to observe the new ariving message?
              In the javadocs i cant' find any useful mbean to do that..
              Thanks

    Hi to all,
              I must use a Jmx notification listener architecture to trap when a new message arrives (i must also handle the message content) in a weblogic jms queue.
              Do you know which mbean could help me to observe the new ariving message?
              In the javadocs i cant' find any useful mbean to do that..
              Thanks

  • Listener Removal Strategy

    May be dumb - but I create a lot of objects in an application
    written in 3.0. When they are done doing what they do, I would love
    to be able to call a utility routine that shimply looped through
    the listeners that are registered for all objects and remove them
    where is .target is the object I am done with. I don't know if this
    is possible but it would significantly simplify my code and I
    suspect the internals of listener registration, removal and cycling
    does the .target check anyways......
    Am I barking up the wrong tree, is this something someone had
    done or is the mere thought of it stupid from the start......
    bob

    Kglad - no, just the listeners. I would like something like
    for each(listener in the listener stack) {
    if listener.subscribed_to_target = mytarget
    remove listener
    In my coding - any listeners set up in an object are dealt
    with by that object when done - typical remove_listeners funtion
    removing listeners set-up, typically on instantiation of the
    object. Listners that subscribe to the object events from other
    objects deal with removal separately.
    It would clean things up tremendously to simply walk the
    listener stack and where the target is the object that is no longer
    needed, I could have some iteration to remove all listeners that
    have that object as a target.....
    Hope this makes sense....
    ccoonen - I fear the use of "weak reference" but do so as is
    suggested in some texts. If I could confirm that the listener was
    removed and collected as of a certain point I would follow your
    strategy, but I always hesitate to rely on something I can not
    test.

  • Writing a jmx monitor for a message driven bean

    I've been reading about using jmx to monitor some jms resources I have deployed to my
    WL server. This monitor would monitor "some" MBean to watch for some Stuck Threads which
    cause a disconnect to the jms queue to which I listen.
    The problem is I'm not sure which, I'm not exactly sure which MBean I need to monitor. My
    JMS Listener is an MDB which listens to a queue on a remote weblogic server. What happens is
    something on the remote end causes a connection reset. About 10 mins later, I get a stack trace
    dump and after that happens I'm no longer able to pull messages off my jms queue. I see logged
    events where it says I'm successfully reconnected to my queue, but no amount of wishing will
    let the MDB pull a message off the queue.
    When the monitor detects a Stuck Thread, I'd like to force an application restart/redeployment, whichever
    will accomplish a reconnection to the queue to which I'm listening. The other day, I went in through
    the console, did a Lock/Edit and simply updated the already deployed application. Monitoring the log
    file, I saw the mdb successfully reastablish connection to my remote end.
    However, with 600+ MBeans, I'm kinda stuck on where I should start! Since I see the
    stack trace in the AdminServer.log file, I'm thinking I should monitor some LoggingMBean.
    But, it is JMS related, so there exists some confusion on my part.
    If anyone with JMX experience could point me in the right direction, I'd appreciate
    it. I'm just learning jmx, so pls be patient.
    Thanks,
    John

    You have a couple of options here. You could monitor the WorkManagerRuntimeMBean's StuckThreadCount using a JMX Counter monitor, and trigger the action when that goes above 0.
    You could also use WLDF to configure a Log watch to look for the Stuck thread log message, or use a Collected Metrics watch on the WM attribute, and assign it a JMX Notification. You could then write a JMX Notification listener to capture this event and perform the necessary corrective actions.

  • Coherence Mbeans doesnt support weblogic standard

    Hi,
    According to weblogic standard, the mbeans should be called:
    domain:Name=name,Type=type[,Location=serverName][,TypeOfParentMBean=NameOfParentMBean][,TypeOfParentMBean1=NameOfParentMBean1]...
    The Mbeans I looked at use the type attribute instead of Type.
    The code I use queries the server using "Type" and therefore I dont get as a result any of the coherence mbeans, just the weblogic ones.
    What can I do about it? (the code is already deployed on mulitple customer sites)
    Also, when I use the connection to query all mbeans for example:
    mbeanServerConnection.queryNames(null, null);
    I dont get back the coherence mbeans. is that because of the same problem?

    Hi,
    Have you tried using an MBean Notification Listener? You can register for MBean events on MBeans that provide notifications. In this case we want to know when a Coherence MBean is regaitered so we can access it so you can listen to events on the JVM's own JMImplementation:type=MBeanServerDelegate MBean. Among other things, this MBean fires an event each time an MBean is registered.
    Here is an example
    final MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
    NotificationFilter filter = new NotificationFilter() {
        @Override
        public boolean isNotificationEnabled(Notification notification) {
            return "JMX.mbean.registered".equals(notification.getType());
    NotificationListener listener = new NotificationListener() {
        @Override
        public void handleNotification(Notification notification, Object handback) {
            try {
                ObjectName mBeanName = ((MBeanServerNotification) notification).getMBeanName();
                if ("Node".equals(mBeanName.getKeyProperty("type"))) {
                    System.out.println("Node MBean registered " + mBeanName);
                    Integer member = (Integer) mBeanServer.getAttribute(mBeanName, "Id");
                    System.out.println("Node Member ID = " + member);
            } catch (Exception e) {
                e.printStackTrace();
    mBeanServer.addNotificationListener(new ObjectName("JMImplementation:type=MBeanServerDelegate"), listener, filter, null);In the code above we create a NotificationFilter that will only pass MBean registration events. We create a listener that looks for MBean registrations where the "type" attribute of the MBean's ObjectName is "Node", i.e. we have a Coherence Node MBean registration. The listener then gets the Nodes member Id and prints it. You should be able to figure out from that how to do other things.
    JK

  • JMXConnector connect fails but JConsole connects

    I have been using JMXConnectorFactory.connect for several months with no problem on different servers until I tested it on a new server. The remote server is 1.5 and this statement:
    connector = JMXConnectorFactory.connect(address,env);
    produces this error:
    Oct 23, 2007 10:43:26 AM com.sun.corba.se.impl.orb.ORBImpl checkShutdownState
    WARNING: "IOP01210228: (BAD_OPERATION) This ORB instance has been destroyed, so no operations can be performed on it"
    org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 228 completed: No
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.orbDestroyed(Unknown Source)
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.orbDestroyed(Unknown Source)
    at com.sun.corba.se.impl.orb.ORBImpl.checkShutdownState(Unknown Source)
    at com.sun.corba.se.impl.orb.ORBImpl.create_any(Unknown Source)
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.writeAny(Unknown Source)
    at javax.rmi.CORBA.Util.writeAny(Unknown Source)
    at org.omg.stub.javax.management.remote.rmi._RMIServer_Stub.newClient(Unknown Source)
    at javax.management.remote.rmi.RMIConnector.getConnection(Unknown Source)
    at javax.management.remote.rmi.RMIConnector.connect(Unknown Source)
    at javax.management.remote.JMXConnectorFactory.connect(Unknown Source)
    at MyJMXServer.listenSocket(MyJMXServer.java:199)
    at MyJMXServer.main(MyJMXServer.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
    at java.lang.Thread.run(Unknown Source)
    [ERROR] Error connecting to JMXConnector : CORBA BAD_OPERATION 1398079716 No; nested exception is:
    org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 228 completed: No
    However using JConsole (jdk1.5.0_11) I do get a connection. I did a trace for JConsole with
    javax.management.level=FINEST
    javax.management.remote.level=FINEST
    but could not see if it was calling com.sun.corba.se.impl.orb.ORBImpl.checkShutdownState which is where I think the problem is.
    I could not find anything related to IOP01210228 or CORBA BAD_OPERATION 1398079716.
    I also tested the connect without the env parameter:
    connector = JMXConnectorFactory.connect(address); hoping to get an authentication error but I still received the same error described above.

    This is the jconsole trace output set to FINEST during the connect. I just copied enough to show that it connects.
    Oct 29, 2007 12:30:02 PM RMIConnector connect
    FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
    ///jndi/iiop://D6-DMS-001:8489/dms] connecting...
    Oct 29, 2007 12:30:02 PM RMIConnector connect
    FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
    ///jndi/iiop://D6-DMS-001:8489/dms] finding stub...
    Oct 29, 2007 12:30:03 PM RMIConnector connect
    FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
    ///jndi/iiop://D6-DMS-001:8489/dms] connecting stub...
    Oct 29, 2007 12:30:03 PM RMIConnector connect
    FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
    ///jndi/iiop://D6-DMS-001:8489/dms] getting connection...
    Oct 29, 2007 12:30:03 PM RMIConnector connect
    FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
    ///jndi/iiop://D6-DMS-001:8489/dms] getting class loader...
    Oct 29, 2007 12:30:03 PM RMIConnector connect
    FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
    ///jndi/iiop://D6-DMS-001:8489/dms] done...
    Oct 29, 2007 12:30:04 PM RMIConnector queryNames
    FINEST: name=java.lang:*, query=null
    Oct 29, 2007 12:30:04 PM RMIConnector isInstanceOf
    FINEST: name=java.lang:type=Runtime, className=java.lang.management.RuntimeMXBea
    n
    Oct 29, 2007 12:30:04 PM RMIConnector addNotificationListener(ObjectName,Notific
    ationListener,NotificationFilter,Object)
    FINEST: name=JMImplementation:type=MBeanServerDelegate, listener=sun.tools.jcons
    ole.MBeansTab[,2,25,887x655,invalid,hidden,layout=sun.tools.jconsole.VariableGri
    dLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777225,maximumSize=,minimu
    mSize=,preferredSize=], filter=null, handback=null
    Oct 29, 2007 12:30:04 PM RMIConnector addListenerWithSubject

  • How do you add an ActionLister to a JTabbedPane???

    I have an application that utilises a JTabbedPane. All of the tabbed panes that I add to it are declared in separate classes. Added to the main Frame is also a JMenu and a JToolbar. I can detect which pane is enabled when a button is selected using for example,
    if(jtpFantasyLeague.getSelectedComponent() == FLI).
    What I would like to do however, is enable and disable the relevant menu and toolbar items as each tabbed pane is selected.
    The problem is I don't know how to implement it. I started trying ActionListeners with no success, but a book a have talks vaguely about ModelListener and an EventListener???
    Any help, or a link to a relevant tutorial would be great.
    Also I would like to know, can I monitor which Pane is selected from the main class where the JTAbbedPane is instantiated or do I need to do it separately in each class that I have added as a tabbed pane??
    Thanks in advance for any help,
    Kris

    Have your main class implement ComponentListener to check on show/hide events. If your main class needs to know about these events, there are a few ways I know of to do so:
    a) Inside your main class: FLI.addComponentListener(this);
    b) If the panes themselves need to control listener registration, register the main class with a callback. I assume you have a class extending JPanel that represents the contents of each pane. Declare a constructor that requires a reference to an object of type MainClass (or whatever it is). In the constructor, set an attribute (declared as final MainClass owner; in the attribute section) to that arguments value. Whenever the pane needs to add a listener registered to the main class, have it call addComponentListener(owner).
    c) This is somewhat sketchy, but...I'll write it anyway. Declare a static variable (active, for example) in MainClass of type MainClass. In your MainClass constructor, code MainClass.active = this;. In your pane's code, instead of addComponentListener(owner), code addComponentListener(MainClass.active).
    That oughta do it.
    Good Luck, and happy coding!
    -Tim
    Links:
    ComponentListener: http://java.sun.com/j2se/1.4.1/docs/api/java/awt/event/ComponentListener.html

  • Why I can,t login???

    Hi guys.I'am starting with Oracle db 10g.I just had installed db on windows xp, and it works vell.
    When I tried connect to SQL Plus form start menu, I just can't do it, this is what I get "listener doesn't currently know of servise requested in connect descriptor "????
    When I login from CMD, I can log as "sqlplus /nolog" , and "sqlplus hr/pass", but I can't login as SYSDBA, SYS.
    What to do?
    Thx

    Hi,
    In 10g you have to edit listener.ora file and add sid parameter.
    One reason is default listener registration is DYNAMIC you have to change DYNAMIC to STATIC.
    edit your listener.ora file like below
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = orcl)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_1) )
    C:\>LSNRCTL stop
    C:\>REM WAIT FEW SECONDS
    C:\>LSNRCTL starthttp://dbataj.blogspot.com/2007/02/ora-12514.html
    Next time please before posting format your post.
    Regards
    Taj

  • MDB Deployment Problem in JBoss 4.0.3SP1

    Hi All,
    I am upgrading my App Server from JBoss 323 to JBoss 403.
    I had some MDBs, that are running successfully in JBoss 323.
    But when I tried to redeploy them(after recompiling with jdk1.5), I am facing few issues with them.
    First of all, I have a MDB whose destination was in some other Jboss server instance. That means I am trying to connect my destination "Queue" as remotely. At that time it is thorowing exception like as follows at my server startup time.......
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter:                     java:/Server1JMSProvider
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter:                     org.jboss.jms.jndi.JNDIProviderAdapter@20dcb7
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using factory:                     org.jboss.mq.SpyXAConnectionFactory@1ebe8ec
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Created connection:                     Connection@10751758[token=ConnectionToken:null/b3e21fe26fd3b44f4a0c5bb69995e669                     rcvstate=STOPPED]
    2006-04-17 07:17:15,472 DEBUG [org.jboss.mq.referenceable.SpyDestinationObjectFactory]                     SpyDestinationObjectFactory->getObjectInstance()
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using Queue: QUEUE.DLQ
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Created DLQHandler
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] context: javax.naming.InitialContext@106989e
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] jndiSuffix: [u]xxxQueue[/u]
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Got destination type Queue for LifecycleMDB
    2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using connection factory:                                         org.jboss.mq.SpyXAConnectionFactory@1ebe8ec
    2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using username/password: null/null
    2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] created XAQueueConnection:                                         Connection@13605872[token=ConnectionToken:null/ea8d256e12a297e358803b37d7bfee4d                               rcvstate=STOPPED]
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Using client id: null
    2006-04-17 07:17:15,488 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not find the queue                                         destination-jndi-name=queue/[u]xxxQueue[/u]
    2006-04-17 07:17:15,488 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: queue/[u]xxxQueue[/u]                               reason: javax.naming.NameNotFoundException: [u]xxxQueue[/u] not bound
    2006-04-17 07:17:15,488 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination:                               queue/[u]xxxQueue[/u]
    2006-04-17 07:17:15,488 DEBUG [org.jboss.mq.server.jmx.DestinationManager] Attempting to create destination:                                    jboss.mq.destination:service=Queue,name=xxxQueue; type=org.jboss.mq.server.jmx.Queue
    2006-04-17 07:17:15,488 INFO  [org.jboss.mq.server.jmx.Queue.xxxQueue] Registration is not done -> stop
    2006-04-17 07:17:15,488 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected:
    org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.management.MBeanException)
         at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)My jboss.xml was
    <jboss>
       <enterprise-beans>
          <message-driven>
             <ejb-name>LifecycleMDB</ejb-name>
             <destination-jndi-name>queue/xxxQueue</destination-jndi-name>
             <invoker-bindings>
               <invoker>
                 <invoker-proxy-binding-name>server1-message-driven-bean</invoker-proxy-binding-name>
               </invoker>
             </invoker-bindings>
             <resource-ref>
                <res-ref-name>jms/QueueFactory</res-ref-name>
                <jndi-name>UIL2XAConnectionFactory</jndi-name>
             </resource-ref>
          </message-driven>
       </enterprise-beans>
       <invoker-proxy-bindings>
           <invoker-proxy-binding>
             <name>server1-message-driven-bean</name>
             <invoker-mbean>default</invoker-mbean>
             <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
             <proxy-factory-config>
             <JMSProviderAdapterJNDI>Server1JMSProvider</JMSProviderAdapterJNDI>
             <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
             <CreateJBossMQDestination>true</CreateJBossMQDestination>
                <MaximumSize>15</MaximumSize>
                <MaxMessages>1</MaxMessages>
                <MDBConfig>
                   <ReconnectIntervalSec>10</ReconnectIntervalSec>
                   <DLQConfig>
                      <DestinationQueue>queue/DLQ</DestinationQueue>
                      <MaxTimesRedelivered>10</MaxTimesRedelivered>
                      <TimeToLive>0</TimeToLive>
                   </DLQConfig>
                </MDBConfig>
             </proxy-factory-config>
          </invoker-proxy-binding>
      </invoker-proxy-bindings>
    </jboss>and my deployment file consist of the following code
    <server>
    <!-- The JMS provider loader -->
      <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
          name="jboss.mq:service=JMSProviderLoader,name=Server1MQProvider">
        <attribute name="ProviderName">Server1JMSProvider</attribute>
        <attribute name="ProviderAdapterClass">
          org.jboss.jms.jndi.JNDIProviderAdapter
        </attribute>
        <!-- The combined connection factory -->
        <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
        <!-- The queue connection factory -->
        <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
        <!-- The topic factory -->
        <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
        <!-- Uncomment to use HAJNDI to access JMS-->
        <attribute name="Properties">
           java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
           java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
           java.naming.provider.url=jnp://SERVER:1499
        </attribute>
      </mbean> 
    </server>

    Did you find a solution to this problem?

  • Active-Passive Failover cluster in Windows Server 2008 R2

    Hi,
    As per the client requirements, I build an active-passive Oracle 11g R2 database cluster in Windows Server 2008 R2.
    (Used Microsoft cluster as Client don't have Fail Safe licence)
    As per the configuration, I follow the below mentioned steps:
    a)OS vendor configured Active-Passive Windows Cluster
    b)Installed Oracle 11g R2 on both the nodes with same ORACLE_HOME name
    c)Create Listener and configured it with cluster IP in Node1
    d)Create Database from Node1. Physical files location are all in Storage
    e)Create Oracle Service with the same name in the 2nd node and copy all the files like spfile,tnsnames.ora,listener.ora,password file to Node2
    f)Configure Listener with the same Oracle SID.
    g)Test database failover from Node2 with Listener registration
    h)Open the Windows Failover Manager to configure the Oracle Database and Listener Service in the Cluster Group
    Now I am facing problem by moving Cluster Group movement. Whenever trying to moving the group, Listerner service is not getting up by Cluster Manager as quorum is not included in the group and that quorum disk is not moving in the failover node with the Oracle Cluster Group. As per my understanding Quorum having information of Cluster IP which has been configured with Listener.
    But when I am shutdown one node, then in the other node all the resources successfully moving and cluster able to online all the resources. I guess at that time Quorum is also moving and thus cluster can able to make Listener online.
    Please suggest how to resolve this issue. Means how can I make Listener up instead having any dependencies with Quorum in the fail over node?
    Thanks a lot for your help.

    hello
    I was going through your post and i am also doing the same thing here at our organisation for Oracle 10g R2
    Can you pls send me any docs u r having for configuration of Oracle in windows clusters .
    And, can you pls elaborate on this point
    e)Create Oracle Service with the same name in the 2nd node and copy all the files like spfile,tnsnames.ora,listener.ora,password file to Node2.
    Pls send me the details at [email protected] or you can contact me at 08054641476.
    Thanks in advance.

Maybe you are looking for

  • How can I change an Apple ID to an iCloud email?

    I set up an apple ID years ago and have used it to buy a lot of stuff. I know you can't merge apple IDs, but it occurred to me that my current problem (having to do with getting family sharing set up) could be solved if I could CHANGE my old apple ID

  • Merging multiple ObservableList notifications

    I have an MVC architecture implemented using JavaFX for querying a medical database. I have two ListViews, one for a database filter, and one for the database fields to be returned. When a user adds a value to the ListView<Filter> an item is usually

  • Draw lines in AdvancedDataGrid header

    Hi all,               I want to draw a vertical line in AdvancedDataGrid column header.               Can any one bring me in to that way. Thanks in advance

  • WHY IPHONE DOESNT ALOW US TO USE LTE IN IPHONE 5 IN PAKISTAN

    WHY IPHONE DOESNT ALOW US TO USE LTE IN IPHONE 5 IN PAKISTAN

  • Reg available qty

    Dear all, we are using MBC1 for determining the batches of component materials in a process, the issue is although  for a  batch required qty of the component is not available but still it is getting determined during the batch determination in MBC1