5 Replies Latest reply on Oct 16, 2007 8:12 PM by Kuppan Chinna

    Jbossws.1.2.1.GA... JNDI Bind Failed:JAXR

    marco ciatti Newbie

      I've just installed Jbossws.1.2.1.GA on my jboss 4.0.5, following the installation instruction and during the AS restart I've noticed the following error indication; nevertheless the http://localhost:8080/jbossws seems "alive"...

      Does anybody know which is the root cause of this error indication ?


      2007-05-13 17:31:16,250 ERROR [org.jboss.jaxr.juddi.JUDDIService] JNDI Bind Failed:JAXR
      2007-05-13 17:31:16,250 ERROR [STDERR] javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
      2007-05-13 17:31:16,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1317)
      2007-05-13 17:31:16,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1446)
      2007-05-13 17:31:16,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:484)
      2007-05-13 17:31:16,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:477)
      2007-05-13 17:31:16,250 ERROR [STDERR] at javax.naming.InitialContext.rebind(InitialContext.java:367)
      2007-05-13 17:31:16,250 ERROR [STDERR] at org.jboss.jaxr.juddi.JUDDIService.bindJAXRConnectionFactory(JUDDIService.java:383)
      2007-05-13 17:31:16,250 ERROR [STDERR] at org.jboss.jaxr.juddi.JUDDIService.setBindJaxr(JUDDIService.java:320)
      2007-05-13 17:31:16,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-05-13 17:31:16,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-05-13 17:31:16,250 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-05-13 17:31:16,250 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-05-13 17:31:16,250 ERROR [STDERR] at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:136)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:103)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:694)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
      2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceController.install(ServiceController.java:226)
      2007-05-13 17:31:16,265 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-05-13 17:31:16,265 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-05-13 17:31:16,265 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-05-13 17:31:16,265 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2007-05-13 17:31:16,281 ERROR [STDERR] at $Proxy4.install(Unknown Source)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
      2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      2007-05-13 17:31:16,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-05-13 17:31:16,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-05-13 17:31:16,281 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-05-13 17:31:16,281 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2007-05-13 17:31:16,296 ERROR [STDERR] at $Proxy7.deploy(Unknown Source)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-05-13 17:31:16,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      2007-05-13 17:31:16,312 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-05-13 17:31:16,328 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2007-05-13 17:31:16,328 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      2007-05-13 17:31:16,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-05-13 17:31:16,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-05-13 17:31:16,328 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-05-13 17:31:16,343 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2007-05-13 17:31:16,343 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
      2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
      2007-05-13 17:31:16,343 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      2007-05-13 17:31:16,359 ERROR [STDERR] Caused by: java.net.SocketTimeoutException: Receive timed out
      2007-05-13 17:31:16,359 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive0(Native Method)
      2007-05-13 17:31:16,359 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
      2007-05-13 17:31:16,359 ERROR [STDERR] at java.net.DatagramSocket.receive(DatagramSocket.java:712)
      2007-05-13 17:31:16,359 ERROR [STDERR] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1287)
      2007-05-13 17:31:16,359 ERROR [STDERR] ... 105 more

        • 1. Re: Jbossws.1.2.1.GA... JNDI Bind Failed:JAXR
          marco ciatti Newbie

          The problem was due to a wrong ServiceBindingManager configuration...

          • 2. Re: Jbossws.1.2.1.GA... JNDI Bind Failed:JAXR
            khelenek Newbie

            Hi, can you or anyone else elaborate more on what causes this or where to look to fix this? Getting it with same configuration as original poster.

            • 3. Re: Jbossws.1.2.1.GA... JNDI Bind Failed:JAXR
              Guillermo Turk Newbie

              HI, I have the same problem and I have not been able to figure out how to solve it.

              • 4. Re: Jbossws.1.2.1.GA... JNDI Bind Failed:JAXR
                marco ciatti Newbie

                If you are using JBoss 4.0.5 I suggest you to install it with the last versione of jems installer

                java -jar jems-installer-1.2.0.GA.jar

                I'm currently useing EJB3 profile with Jbossws.1.2.1.GA without any problem; instead I've noticed that the problem appear with former version
                of jems installer (e.g. 1.2.0.BETA)...

                • 5. Re: Jbossws.1.2.1.GA... JNDI Bind Failed:JAXR
                  Kuppan Chinna Newbie

                  Hi,

                  The [JUDDIService] JNDI Bind Failed:JAXR error comes when BindJaxr in
                  "jboss-4.0.4.GA/server/default//deploy/juddi-service.sar/meta-inf/jboss-service.xml" is not set correctly

                  <?xml version="1.0" encoding="UTF-8"?>
                  <!DOCTYPE server>


                  <!-- The juddi service configration -->

                  <!-- Whether we want to run the db initialization scripts -->
                  <!-- Should all tables be created on Start-->
                  false
                  <!-- Should all tables be dropped on Stop-->
                  true
                  <!-- Should all tables be dropped on Start-->
                  false
                  <!-- Datasource to Database-->
                  java:/DefaultDS
                  <!-- Alias to the registry-->
                  RegistryOperator
                  <!-- Should I bind a Context to which JaxrConnectionFactory bound-->
                  true
                  <!-- Context to which JaxrConnectionFactory to bind to.
                  If you have remote clients, please bind it to the global
                  namespace(default behavior). To just cater to clients running
                  on the same VM as JBoss, change to java:/JAXR -->
                  java:/JAXR
                  false
                  jboss.jca:service=DataSourceBinding,name=DefaultDS



                  If you have both the web service consumer and producer in the same VM

                  BindJaxr should be

                  java:/JAXR

                  If web service consumer and producer are in different VM

                  BindJaxr should be

                  JAXR

                  If BindJaxr is not set properly as per the above condition JNDI bind for JAXR would fail

                  thanks,
                  Nirmala