Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4582

Chatroom example doesn't work on IBM java

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.1
    • EAP_EWP 5.1.0_CR1
    • Seam
    • Release Notes
    • Workaround Exists
    • Hide

      Copy http://repository.jboss.org/maven2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar into jboss-as/server/<profile>/lib and restart the server.

      Show
      Copy http://repository.jboss.org/maven2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar into jboss-as/server/<profile>/lib and restart the server.
    • Hide
      The IBM JVM v1.6 was not handling annotations that were UNKNOWN during runtime. The issue is resolved on IBM JVM version 1.6.0 (SR9 FP1). To make the chatroom example work with IBM JVM versions prior to 1.6.0 (SR9 FP1), copy http://repository.jboss.org/maven2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar into JBOSS_HOME/server/PROFILE/lib. Restart the server after adding the specified file.
      Show
      The IBM JVM v1.6 was not handling annotations that were UNKNOWN during runtime. The issue is resolved on IBM JVM version 1.6.0 (SR9 FP1). To make the chatroom example work with IBM JVM versions prior to 1.6.0 (SR9 FP1), copy http://repository.jboss.org/maven2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar into JBOSS_HOME/server/PROFILE/lib. Restart the server after adding the specified file.
    • Documented as Resolved Issue
    • ASSIGNED

    Description

      It is possible to deploy the example but I cannot connect after I enter nickname and click on "Connect" button - simply nothing happens. There isn't any output on JBossAS console.

      When I undeploy the example, the following error exception is thrown at console:

      12:41:29,145 ERROR [ExceptionUtil] Topic[/topic/chatroomTopic] stopService
      java.lang.NullPointerException
      at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.getQueuesForCondition(MessagingPostOffice.java:613)
      at org.jboss.jms.server.destination.TopicService.stopService(TopicService.java:180)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:405)
      at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:281)
      at org.jboss.mq.server.jmx.Topic.stop(Topic.java:286)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:600)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:193)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
      at $Proxy38.stop(Unknown Source)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:56)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:37)
      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79)
      at org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
      at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
      at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
      at org.jboss.system.ServiceController.stop(ServiceController.java:510)
      at org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:170)
      at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:150)
      at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:46)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:69)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:117)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:204)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1484)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1391)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1384)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1346)
      at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
      at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:702)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:676)
      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
      at org.jboss.system.server.profileservice.repository.ProfileDeployAction.uninstall(ProfileDeployAction.java:95)
      at org.jboss.system.server.profileservice.repository.AbstractProfileAction.uninstall(AbstractProfileAction.java:70)
      at org.jboss.system.server.profileservice.repository.AbstractProfileService.uninstall(AbstractProfileService.java:417)
      at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
      at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685)
      at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
      at org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(AbstractProfileService.java:448)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deactivateProfiles(ProfileServiceBootstrap.java:381)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:339)
      at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:571)
      at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:909)

      Attachments

        Issue Links

          Activity

            People

              mnovotny@redhat.com Marek Novotny
              mgencur Martin Gencur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: