6 Replies Latest reply on Jan 13, 2005 4:34 AM by Angelo Immediata

    Remote Topic.... Bug o wrong configuration?

    Angelo Immediata Newbie

      Hi all.... this is my scenario:
      i have a RemoteJMSProvider that sends some messages on a remote durable topic.
      Now i have tried your sample on this pc:
      Windows XP Home edition Service Pack2 ( this was my Remote JMS Provider ); on this pc there is: JBoss 3.2.5, jdk 1.4.2_06
      My client were:
      1) Windows 2000 professional with jdk 1.4.2_05 and jboss 3.2.6
      2) Windows 2000 professional with jdk 1.4.2_05 and jboss 3.2.5
      3) A pc HP Proliant DL 580 with Linux Red-Hat Advanced Server, JBoss 3.2.6 jdk 1.4.2.06

      In this case all works very fine. The client 1), 2), 3) are able to connect to my windows xp and recover all messages from the Topic.
      The problem has born when i have tried to use the HP Proliant DL 580 as provider (in fact this will be my provider); i have changed all the IP address and all the Name of pc; i have deployed the sample MDB i have built and on that pc all works; then i have started my jboss on my windows XP, of course after that i have changed my EAR file with the new with new IP address and the new configuration; well in this case i have this error:

      2005-01-04 12:25:14,254 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
      javax.management.Notification[source=jboss.j2ee:service=EARDeployer,type=org.jboss.deployment.SubDe
      ployer.start,sequenceNumber=5,timeStamp=1104837914254,message=null,userData=org.jboss.deployment.Dep
      loymentInfo@98951774 { url=file:/C:/jboss-3.2.5/server/mySever/deploy/TestRemoteMDB.ear }
      deployer: org.jboss.deployment.EARDeployer@c01e99
      status: Starting
      state: START_DEPLOYER
      watch: file:/C:/jboss-3.2.5/server/mySever/deploy/TestRemoteMDB.ear
      lastDeployed: 1104837913533
      lastModified: 1104837914000
      mbeans:
      ]
      2005-01-04 12:25:14,254 DEBUG [org.jboss.management.j2ee.J2EEDeployedObject] File: file:/C:/jboss-3.
      2.5/server/mySever/tmp/deploy/tmp38016TestRemoteMDB.ear, descriptor: META-INF/application.xml
      2005-01-04 12:25:14,254 DEBUG [org.jboss.management.j2ee.J2EEApplication] preDeregister(), parent: j
      boss.management.local:j2eeType=J2EEServer,name=Local
      2005-01-04 12:25:14,254 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,254 DEBUG [org.jboss.management.j2ee.J2EEApplication] postRegister(), parent: jb
      oss.management.local:j2eeType=J2EEServer,name=Local
      2005-01-04 12:25:14,254 DEBUG [org.jboss.management.j2ee.J2EEApplication] Created JSR-77 J2EEApplica
      tion: TestRemoteMDB.ear
      2005-01-04 12:25:14,254 DEBUG [org.jboss.management.j2ee.factory.EARModuleFactory] Created J2EEAppli
      cation: jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=TestRemoteMDB.ear
      2005-01-04 12:25:14,254 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:servi
      ce=EARDeployment,url='TestRemoteMDB.ear'
      2005-01-04 12:25:14,254 DEBUG [org.jboss.deployment.EARDeployment] Starting jboss.j2ee:service=EARDe
      ployment,url='TestRemoteMDB.ear'
      2005-01-04 12:25:14,254 DEBUG [org.jboss.deployment.EARDeployment] Started jboss.j2ee:service=EARDep
      loyment,url='TestRemoteMDB.ear'
      2005-01-04 12:25:14,254 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
      javax.management.Notification[source=jboss.system:service=ServiceController,type= org.jboss.system.
      ServiceMBean.start,sequenceNumber=197,timeStamp=1104837914254,message=null,userData=jboss.j2ee:servi
      ce=EARDeployment,url='TestRemoteMDB.ear']
      2005-01-04 12:25:14,254 DEBUG [org.jboss.system.ServiceController] Starting dependent components for
      : jboss.j2ee:service=EARDeployment,url='TestRemoteMDB.ear' dependent components: []
      2005-01-04 12:25:14,254 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/C:/
      jboss-3.2.5/server/mySever/deploy/TestRemoteMDB.ear
      2005-01-04 12:25:14,254 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: T
      estRemoteMDB.ear
      2005-01-04 12:25:14,254 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-3
      .2.5/server/mySever/deploy/TestRemoteMDB.ear
      2005-01-04 12:25:14,254 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: fil
      e:/C:/jboss-3.2.5/server/mySever/deploy/TestRemoteMDB.ear -> file:/C:/jboss-3.2.5/server/mySever/deploy/TestRemoteMDB.ear
      2005-01-04 12:25:14,264 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread]
      Notified that enabled: true
      2005-01-04 12:25:14,264 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.depl
      oyment:type=DeploymentScanner,flavor=URL
      2005-01-04 12:25:14,264 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
      javax.management.Notification[source=jboss.system:service=ServiceController,type= org.jboss.system.
      ServiceMBean.start,sequenceNumber=198,timeStamp=1104837914264,message=null,userData=jboss.deployment
      :type=DeploymentScanner,flavor=URL]
      2005-01-04 12:25:14,264 DEBUG [org.jboss.system.ServiceController] Starting dependent components for
      : jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
      2005-01-04 12:25:14,264 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
      javax.management.Notification[source=jboss.system:service=ServiceDeployer,type=org.jboss.deployment
      .SubDeployer.start,sequenceNumber=86,timeStamp=1104837914264,message=null,userData=org.jboss.deploym
      ent.DeploymentInfo@88b9037e { url=file:/C:/jboss-3.2.5/server/mySever/conf/jboss-service.xml }
      deployer: org.jboss.deployment.SARDeployer@19d0a1
      status: Starting
      state: START_DEPLOYER
      watch: file:/C:/jboss-3.2.5/server/mySever/conf/jboss-service.xml
      lastDeployed: 1104837901265
      lastModified: 1104837900000
      mbeans:
      jboss.management.local:j2eeType=J2EEDomain,name=Manager state: Started
      jboss.system:type=Log4jService,service=Logging state: Started
      jboss.rmi:type=RMIClassLoader (state not available)
      jboss:service=WebService state: Started
      jboss:service=Naming state: Started
      jboss:service=JNDIView state: Started
      jboss.security:service=SecurityConfig state: Started
      jboss.security:service=XMLLoginConfig state: Started
      jboss.security:service=JaasSecurityManager state: Started
      jboss:service=XidFactory (state not available)
      jboss:service=TransactionManager state: Started
      jboss:service=ClientUserTransaction state: Started
      jboss:service=proxyFactory,target=ClientUserTransactionFactory state: Started
      jboss:service=proxyFactory,target=ClientUserTransaction state: Started
      jboss:service=invoker,type=jrmp state: Started
      jboss:service=invoker,type=local state: Started
      jboss:service=invoker,type=pooled state: Started
      jboss.ejb:service=EJBDeployer state: Started
      jboss.j2ee:service=EARDeployer state: Started
      jboss.scripts:service=BSHDeployer state: Started
      jboss.deployment:type=DeploymentScanner,flavor=URL state: Started
      ]
      2005-01-04 12:25:14,264 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,264 DEBUG [org.jboss.management.j2ee.ServiceModule] postRegister(), parent: jbos
      s.management.local:j2eeType=J2EEServer,name=Local
      2005-01-04 12:25:14,264 DEBUG [org.jboss.management.j2ee.ServiceModule] Created JSR-77 ServiceModule
      , name: jboss-service.xml
      2005-01-04 12:25:14,264 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Created Servi
      ceModule: jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,264 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,264 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,274 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.management.local:j2eeType=J2EEDomain,name=Manager, SAR Module: jboss.management.local:J
      2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,324 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,324 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,324 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.system:type=Log4jService,service=Logging, SAR Module: jboss.management.local:J2EEServer
      =Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,334 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,334 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,334 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.rmi:type=RMIClassLoader, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=S
      erviceModule,name=jboss-service.xml
      2005-01-04 12:25:14,334 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,334 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,334 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=WebService, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=Servic
      eModule,name=jboss-service.xml
      2005-01-04 12:25:14,334 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,334 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,334 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=Naming, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=ServiceMod
      ule,name=jboss-service.xml
      2005-01-04 12:25:14,334 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,334 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,334 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=JNDIView, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=ServiceM
      odule,name=jboss-service.xml
      2005-01-04 12:25:14,344 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,344 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,344 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.security:service=SecurityConfig, SAR Module: jboss.management.local:J2EEServer=Local,j2
      eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,344 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,344 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,344 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.security:service=XMLLoginConfig, SAR Module: jboss.management.local:J2EEServer=Local,j2
      eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,344 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,344 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,344 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.security:service=JaasSecurityManager, SAR Module: jboss.management.local:J2EEServer=Loc
      al,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,344 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,364 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,364 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=XidFactory, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=Servic
      eModule,name=jboss-service.xml
      2005-01-04 12:25:14,364 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,364 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,364 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=TransactionManager, SAR Module: jboss.management.local:J2EEServer=Local,j2eeTyp
      e=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,374 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,374 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,374 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=ClientUserTransaction, SAR Module: jboss.management.local:J2EEServer=Local,j2ee
      Type=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,374 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,374 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,374 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=proxyFactory,target=ClientUserTransactionFactory, SAR Module: jboss.management.
      local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,374 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,374 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,374 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=proxyFactory,target=ClientUserTransaction, SAR Module: jboss.management.local:J
      2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,374 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,424 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,424 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=invoker,type=jrmp, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType
      =ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,424 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,424 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,424 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=invoker,type=local, SAR Module: jboss.management.local:J2EEServer=Local,j2eeTyp
      e=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,444 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,444 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,444 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss:service=invoker,type=pooled, SAR Module: jboss.management.local:J2EEServer=Local,j2eeTy
      pe=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,444 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,444 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,444 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.ejb:service=EJBDeployer, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=S
      erviceModule,name=jboss-service.xml
      2005-01-04 12:25:14,444 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,444 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,444 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.j2ee:service=EARDeployer, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=
      ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,454 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,454 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,454 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.scripts:service=BSHDeployer, SAR Module: jboss.management.local:J2EEServer=Local,j2eeTy
      pe=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,454 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager des
      criptor found, null persistence will be used
      2005-01-04 12:25:14,454 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), parent: jboss.manage
      ment.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,454 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean,
      name: jboss.deployment:type=DeploymentScanner,flavor=URL, SAR Module: jboss.management.local:J2EESe
      rver=Local,j2eeType=ServiceModule,name=jboss-service.xml
      2005-01-04 12:25:14,454 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: j
      boss-service.xml
      2005-01-04 12:25:14,454 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-3
      .2.5/server/mySever/conf/jboss-service.xml
      2005-01-04 12:25:14,454 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.5 (build:
      CVSTag=JBoss_3_2_5 date=200406251954)] Started in 15s:813ms
      2005-01-04 12:25:14,454 INFO [org.jboss.web.tomcat.tc5.Tomcat5] Saw org.jboss.system.server.started
      notification, starting connectors
      2005-01-04 12:25:14,534 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on
      http-0.0.0.0-8080
      2005-01-04 12:25:14,734 INFO [org.apache.jk.common.ChannelSocket] JK2: ajp13 listening on /0.0.0.0:
      8009
      2005-01-04 12:25:14,774 INFO [org.apache.jk.server.JkMain] Jk running ID=0 time=0/90 config=null
      2005-01-04 12:25:24,218 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroying DLQHandler
      2005-01-04 12:25:24,218 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroyed DLQHandler
      2005-01-04 12:25:24,218 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
      2005-01-04 12:25:24,218 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider ad
      apter: java:/RemoteJMSProvider
      2005-01-04 12:25:24,218 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.
      jboss.jms.jndi.JNDIProviderAdapter@44ffb2
      2005-01-04 12:25:24,218 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
      2005-01-04 12:25:24,298 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandle
      r
      javax.jms.JMSException: Error creating the dlq connection: null
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvo
      ker.java:1267)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
      2005-01-04 12:25:24,398 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS pro
      vider
      2005-01-04 12:25:24,398 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure d
      etected:
      javax.jms.JMSException: Error creating the dlq connection: null
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvo
      ker.java:1267)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
      2005-01-04 12:25:24,438 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to
      JMS provider
      2005-01-04 12:25:34,433 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroying DLQHandler
      2005-01-04 12:25:34,433 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroyed DLQHandler
      2005-01-04 12:25:34,433 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
      2005-01-04 12:25:34,433 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider ad
      apter: java:/RemoteJMSProvider
      2005-01-04 12:25:34,433 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.
      jboss.jms.jndi.JNDIProviderAdapter@44ffb2
      2005-01-04 12:25:34,433 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
      2005-01-04 12:25:34,453 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandle
      r
      javax.jms.JMSException: Error creating the dlq connection: null
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvo
      ker.java:1267)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
      2005-01-04 12:25:34,523 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS pro
      vider
      2005-01-04 12:25:34,523 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure d
      etected:
      javax.jms.JMSException: Error creating the dlq connection: null
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvo
      ker.java:1267)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
      2005-01-04 12:25:34,523 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to
      JMS provider
      2005-01-04 12:25:44,527 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroying DLQHandler
      2005-01-04 12:25:44,527 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroyed DLQHandler
      2005-01-04 12:25:44,527 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
      2005-01-04 12:25:44,527 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider ad
      apter: java:/RemoteJMSProvider
      2005-01-04 12:25:44,527 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.
      jboss.jms.jndi.JNDIProviderAdapter@44ffb2
      2005-01-04 12:25:44,527 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
      2005-01-04 12:25:44,547 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandle
      r
      javax.jms.JMSException: Error creating the dlq connection: null
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvo
      ker.java:1267)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
      2005-01-04 12:25:44,617 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS pro
      vider
      2005-01-04 12:25:44,617 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure d
      etected:
      javax.jms.JMSException: Error creating the dlq connection: null
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvo
      ker.java:1267)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
      2005-01-04 12:25:44,627 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to
      JMS provider
      2005-01-04 12:25:54,632 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroying DLQHandler
      2005-01-04 12:25:54,632 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroyed DLQHandler
      2005-01-04 12:25:54,632 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
      2005-01-04 12:25:54,632 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider ad
      apter: java:/RemoteJMSProvider
      2005-01-04 12:25:54,632 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.
      jboss.jms.jndi.JNDIProviderAdapter@44ffb2
      2005-01-04 12:25:54,632 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
      2005-01-04 12:25:54,652 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandle
      r
      javax.jms.JMSException: Error creating the dlq connection: null
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvo
      ker.java:1267)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
      2005-01-04 12:25:54,712 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS pro
      vider
      2005-01-04 12:25:54,712 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure d
      etected:
      javax.jms.JMSException: Error creating the dlq connection: null
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvo
      ker.java:1267)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)
      2005-01-04 12:25:54,722 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to
      JMS provider



      Then it always tries to reconnect to the PC Proliant DL 580 with Linux Red-Hat Advanced Server... i'm not able to understand why..... Am I wrong or is it a bug?
      I show my configurations and source file:

      I have created this service (this is the jboss-service.xml):

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server PUBLIC "-//JBoss//DTD MBean Service 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss-service_3_2.dtd">
      <server>
       <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.mq:service=JMSProviderLoader,name=RemoteJMSProvider,server=192.168.xx.yyy">
       <attribute name="ProviderName">RemoteJMSProvider</attribute>
       <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
       <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
       <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
       <attribute name="Properties">java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jnp.interfaces
      java.naming.provider.url=192.168.xx.yyy:1099</attribute>
       </mbean>
      </server>




      This is my topic:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server PUBLIC "-//JBoss//DTD MBean Service 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss-service_3_2.dtd">
      <server>
       <mbean code="org.jboss.mq.server.jmx.Topic" name="jboss.mq.destination:service=Topic,name=angeloRemoteTopic">
       <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
       <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
       </mbean>
      </server>




      This is my MDB source code:

      import javax.ejb.MessageDrivenBean;
      import javax.jms.MessageListener;
      import javax.ejb.MessageDrivenContext;
      import javax.jms.Message;
      import javax.jms.ObjectMessage;
      
      import pub.Msg;
      import javax.jms.JMSException;
      
      public class RemoteMDBBean implements MessageDrivenBean, MessageListener {
       MessageDrivenContext messageDrivenContext;
       public void ejbCreate() {
       }
      
       public void ejbRemove() {
       }
      
       public void onMessage(Message message) {
      
       try {
       Msg messaggio = ((Msg) ((ObjectMessage) (message)).getObject());
       System.out.println( "Ho avuto: "+ messaggio+ " \n Il nome è: "+ messaggio.getNome() );
       } catch (JMSException ex) {
      
       ex.printStackTrace();
       }
       }
      
       public void setMessageDrivenContext(MessageDrivenContext
       messageDrivenContext) {
       this.messageDrivenContext = messageDrivenContext;
       }
      }



      This is my ejb-jar.xml:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
      <ejb-jar>
       <display-name>RemoteMdb</display-name>
       <enterprise-beans>
       <message-driven>
       <ejb-name>RemoteMDB</ejb-name>
       <ejb-class>remotemdb.RemoteMDBBean</ejb-class>
       <transaction-type>Container</transaction-type>
       <message-driven-destination>
       <destination-type>javax.jms.Topic</destination-type>
       <subscription-durability>Durable</subscription-durability>
       </message-driven-destination>
       </message-driven>
       </enterprise-beans>
       <assembly-descriptor>
       <container-transaction>
       <method>
       <ejb-name>RemoteMDB</ejb-name>
       <method-name>*</method-name>
       </method>
       <trans-attribute>Required</trans-attribute>
       </container-transaction>
       </assembly-descriptor>
      </ejb-jar>



      This is my jboss.xml file:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
      <jboss>
       <enterprise-beans>
       <message-driven>
       <ejb-name>RemoteMDB</ejb-name>
       <destination-jndi-name>topic/angeloRemoteTopic</destination-jndi-name>
       <mdb-subscription-id>Test</mdb-subscription-id>
       <invoker-bindings>
       <invoker>
       <invoker-proxy-binding-name>InvokerMdb</invoker-proxy-binding-name>
       </invoker>
       </invoker-bindings>
       </message-driven>
       </enterprise-beans>
       <invoker-proxy-bindings>
       <invoker-proxy-binding>
       <name>InvokerMdb</name>
       <invoker-mbean>does-not-matter</invoker-mbean>
       <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
       <proxy-factory-config>
       <JMSProviderAdapterJNDI>RemoteJMSProvider</JMSProviderAdapterJNDI>
       <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
       <MinimumSize>1</MinimumSize>
       <MaximumSize>15</MaximumSize>
       <KeepAliveMillis>30000</KeepAliveMillis>
       <MaxMessages>1</MaxMessages>
       <MDBConfig>
       <ReconnectIntervalSec>10</ReconnectIntervalSec>
       <DeliveryActive>True</DeliveryActive>
       <DLQConfig>
       <DestinationQueue>queue/DLQ</DestinationQueue>
       <MaxTimesRedelivered>10</MaxTimesRedelivered>
       <TimeToLive>0</TimeToLive>
       </DLQConfig>
       </MDBConfig>
       </proxy-factory-config>
       </invoker-proxy-binding>
       </invoker-proxy-bindings>
      </jboss>




      As i told you... if i use my windows xp home edition as remote jms provider all works fine, but if i use the proliant pc with advanced server i have the error showed to you before.
      Have you, or anybody else, any idea about this error?

        • 1. Re: Remote Topic.... Bug o wrong configuration?
          Adrian Brock Master

          Bad configuration. The jndi lookup is failing. Unfortunatly the JMSExcepton that wraps
          the real exception doesn't show the full stacktrace.

          • 2. Re: Remote Topic.... Bug o wrong configuration?
            Angelo Immediata Newbie

            Hi adrian@jboss.org; first of all i want to thank you for your replay.
            I thought that this was a my configuration error even if i don't know where i am wrong.. in fact i have only changed the IP address.... before it worked and now it doesn't.... how can i do in order to wrap
            the real exception stacktrace? Must i configure the log4j.xml file? If so... how can i do? It' a little time i have passed on JBoss.... pardon me

            • 3. Re: Remote Topic.... Bug o wrong configuration?
              Angelo Immediata Newbie

              Hi all... sorry but i'm still blocked in this error from 7 days...Has anybody a tip?
              Thanks

              • 4. Re: Remote Topic.... Bug o wrong configuration?
                Angelo Immediata Newbie

                Hi all.... i have tried this simple client by using this code:

                package pub;
                
                import javax.jms.TopicConnectionFactory;
                import javax.jms.TopicSession;
                import javax.jms.Topic;
                import javax.naming.InitialContext;
                import javax.naming.Context;
                import javax.jms.TopicConnection;
                import javax.jms.ObjectMessage;
                import javax.naming.NamingException;
                import javax.jms.JMSException;
                import javax.jms.TopicPublisher;
                
                import java.util.Hashtable;
                import java.io.Serializable;
                
                public class Publisher {
                
                 private static final String MODULE = Publisher.class.getName();
                 //private static final Logger log = Logger.getLogger(MODULE);
                 public Publisher() {
                 }
                
                 public void createAndSendMsg(String ibName) {
                
                 try {
                 Serializable obj = new Msg("Angelo Immediata");
                 Context cont = getContext();
                 System.out.println( "Cerco connection factory" );
                 //TopicConnectionFactory factory = (TopicConnectionFactory) (cont.lookup("java:comp/env/jms/ConnectionFactory"));
                
                 TopicConnectionFactory factory = (TopicConnectionFactory) (cont.lookup("java:ConnectionFactory"));
                 System.out.println( "Ok" );
                 Topic coda = (Topic) cont.lookup("topic/angeloRemoteTopic");
                 System.out.println( "Ok anche la topic" );
                 TopicConnection connessione = factory.createTopicConnection();
                 TopicSession sessione = connessione.createTopicSession(true,
                 TopicSession.AUTO_ACKNOWLEDGE);
                 TopicPublisher sender = sessione.createPublisher(coda);
                 ObjectMessage msg = sessione.createObjectMessage();
                 msg.setObject(obj);
                 sender.publish(coda, msg);
                 sessione.commit();
                 sessione.close();
                 connessione.close();
                 } catch (NamingException ex) {
                
                 ex.printStackTrace();
                 } catch (JMSException ex) {
                
                 ex.printStackTrace();
                 }
                 }
                
                 private InitialContext getContext() throws NamingException {
                
                 Hashtable props = new Hashtable();
                 props.put(InitialContext.INITIAL_CONTEXT_FACTORY,
                 "org.jnp.interfaces.NamingContextFactory");
                 props.put(InitialContext.PROVIDER_URL, "jnp://192.168.11.224:1099");
                 System.out.println( "Coleghiamoci ok "+ props );
                
                 return new InitialContext(props);
                 }
                }


                well when i try this client i have this error:

                Coleghiamoci ok {java.naming.provider.url=jnp://192.168.11.224:1099, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory}
                Cerco connection factory
                javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:649)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
                at javax.naming.InitialContext.lookup(InitialContext.java:347)
                at pub.Publisher.createAndSendMsg(Publisher.java:35)
                at mai.Main.main(Main.java:7)
                Caused by: java.rmi.NoSuchObjectException: no such object in table
                at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
                at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
                at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
                at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
                ... 4 more


                I really don't understand where i'm wrong...... the only thing i have done is a change of IP address.... from 192.168.11.xxx to 192.168.11.yyy; if my Remote JMS provider was 192.168.11.xxx i have no problem.... if 192.168.11.yyy i have the problem i have talked about.... how is it possible?

                • 5. Re: Remote Topic.... Bug o wrong configuration?
                  Angelo Immediata Newbie

                  Hi again.... i have seen that the DLQHandler class doesn't show the error... so i have downloaded it from this site:
                  http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/ejb/plugins/jms/DLQHandler.java

                  I have added this:

                  catch (Exception e)
                   {
                   if (e instanceof JMSException){
                   log.error("Erroraccio nel creare il dlq.....", e);
                   throw e;
                   }
                   else
                   {
                   log.error( "Errore nel creare il dlq.....", e );
                   JMSException x = new JMSException("Error creating the dlq connection: " + e.getMessage());
                   x.setLinkedException(e);
                   throw x;
                   }
                   }
                   finally
                   {
                   ctx.close();
                   }


                  i have recompiled it and restarted my jboss after that i have substituited it in the jboss.jar file; well now i can see the error message; in my log file i have this:

                  2005-01-12 17:43:06,352,TRACE,[main],[org.jboss.ejb.plugins.jms.JMSContainerInvoker],Constructing
                  2005-01-12 17:43:06,392,DEBUG,[main],[org.jboss.ejb.plugins.jms.JMSContainerInvoker],Creating jboss.j2ee:binding=InvokerMdb,jndiName=local/RemoteMDB,plugin=invoker,service=EJB
                  2005-01-12 17:43:06,392,DEBUG,[main],[org.jboss.ejb.plugins.jms.JMSContainerInvoker],Created jboss.j2ee:binding=InvokerMdb,jndiName=local/RemoteMDB,plugin=invoker,service=EJB
                  2005-01-12 17:43:06,492,DEBUG,[main],[org.jboss.ejb.plugins.jms.JMSContainerInvoker],Starting jboss.j2ee:binding=InvokerMdb,jndiName=local/RemoteMDB,plugin=invoker,service=EJB
                  2005-01-12 17:43:06,492,DEBUG,[main],[org.jboss.ejb.plugins.jms.JMSContainerInvoker],Initializing
                  2005-01-12 17:43:06,492,DEBUG,[main],[org.jboss.ejb.plugins.jms.JMSContainerInvoker],Looking up provider adapter: java:/RemoteJMSProvider
                  2005-01-12 17:43:06,492,DEBUG,[main],[org.jboss.ejb.plugins.jms.JMSContainerInvoker],Provider adapter: org.jboss.jms.jndi.JNDIProviderAdapter@8321c8
                  2005-01-12 17:43:06,502,TRACE,[main],[org.jboss.ejb.plugins.jms.DLQHandler],Constructing
                  2005-01-12 17:43:06,502,DEBUG,[main],[org.jboss.ejb.plugins.jms.DLQHandler],Creating DLQHandler
                  2005-01-12 17:43:06,632,ERROR,[main],[org.jboss.ejb.plugins.jms.DLQHandler],Errore nel creare il dlq.....
                  javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
                  at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:649)
                  at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
                  at javax.naming.InitialContext.lookup(InitialContext.java:347)
                  at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:139)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
                  at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
                  at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
                  at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
                  at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)


                  It seems to me that in the hp-proliant pc an object is not present in the table.... but how can i solve this problem?... Why i have this error and wht is the missing object?
                  Thanks to all

                  • 6. Re: Remote Topic.... Bug o wrong configuration?
                    Angelo Immediata Newbie

                    Hi all.... i have at about fixed it... here it's what i have done.. i have setted in the HP proliant pc with linux red-hat in the file /etc/hosts this thing:

                    192.168.11.224 localhost mydomain.localhost


                    and i have commented this

                    127.0.0.1 localhost mydomain.localhost


                    So my windows xp client seems to establish the connection with my linux red-hat JMS provider... only that when i start JBoss it stops here:


                    2005-01-13 10:25:32,620 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Starting jboss.j2ee:binding=InvokerMdb,jndiName=local/RemoteMDB,plugin=invoker,service=EJB
                    2005-01-13 10:25:32,620 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
                    2005-01-13 10:25:32,620 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter: java:/RemoteJMSProvider
                    2005-01-13 10:25:32,620 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.jboss.jms.jndi.JNDIProviderAdapter@11ee017
                    2005-01-13 10:25:32,630 TRACE [org.jboss.ejb.plugins.jms.DLQHandler] Constructing
                    2005-01-13 10:25:32,630 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler


                    When it tries to create the DLQHandler it doesn't go; moreover if i try to shutdown JBoss on my "client" pc by using the shutdown.bat i have an error that says, correctly, that the server is not active; if i try by using [ctrl]+[c] it doesn't work... i must close the windows and confirm to window that i want to terimnate now this process.... how can i solve it?
                    Thanks