[Remoting] - MulticastDetector could not be loaded because the NetworkReg
by modulo2
Dears,
I'm using JBoss remoting version 2.2.0.GA, currently winxp platfrom, target to deploy on AIX. I'm currently developing an application command line that should support failover between two instances on separate machines thats why I need detection feature supported by JBoss remoting. So, I think the best way for the application is to have it implementing server & client detector, so it can send and recieve NetowrkNotification.
I'm using socket multicast detector, but when I'm setting up the detector, I'm recieving two line warning when executing start method
| MBeanServer server = MBeanServerFactory.createMBeanServer();
| MulticastDetector detector = new MulticastDetector();
| server.registerMBean(detector, new ObjectName("remoting:type=MulticastDetector"));
| detector.start();
|
The warning is:
Detector: org.jboss.remoting.detection.multicast.MulticastDetector could not be loaded because the NetworkRegistry is not registered
This means that only the broadcasting of detection messages will be functional and will not be able to discover other servers.
I'm still begineer in JBoss remoting and using sample code just to achive my goal of detection. Can you please help or even suggest better way of achieving this goal.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082327#4082327
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082327
18 years, 7 months
[Installation, Configuration & DEPLOYMENT] - Exceptions while starting JBoss on Ubuntu 7.04 (Feisty Fawn)
by berliita
I tried to run JBoss on a Ubuntu 7.04 (Feisty Fawn). The run was unsuccessful: error messages were printed on the screen. Here's part of the output that was printed on the screen by the startup script. Starting with the instruction i typed at the command line, and stopping just after the first error encountered, i've included all the intervening output. There were more errors down the output; i'd be happy to provide a longer excerpt.
| $ sudo ./run.sh =========================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: /usr/local/jboss-4.0.5.GA
|
| JAVA: /usr/lib/jvm/java-6-sun/bin/java
|
| JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
|
| CLASSPATH: /usr/local/jboss-4.0.5.GA/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar
|
| =========================================================================
|
| 08:54:48,394 INFO [Server] Starting JBoss (MX MicroKernel)...
| 08:54:48,395 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
| 08:54:48,397 INFO [Server] Home Dir: /usr/local/jboss-4.0.5.GA
| 08:54:48,397 INFO [Server] Home URL: file:/usr/local/jboss-4.0.5.GA/
| 08:54:48,398 INFO [Server] Patch URL: null
| 08:54:48,423 INFO [Server] Server Name: default
| 08:54:48,423 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.5.GA/server/default
| 08:54:48,423 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.5.GA/server/default/
| 08:54:48,424 INFO [Server] Server Log Dir: /usr/local/jboss-4.0.5.GA/server/default/log
| 08:54:48,424 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.5.GA/server/default/tmp
| 08:54:48,424 INFO [Server] Root Deployment Filename: jboss-service.xml
| 08:54:49,136 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
| 08:54:49,136 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc.
| 08:54:49,136 INFO [ServerInfo] OS-System: Linux 2.6.20-16-generic,i386
| 08:54:50,130 INFO [Server] Core system initialized
| 08:54:59,098 INFO [WebService] Using RMI server codebase: http://ubuntu:8083/
| 08:54:59,142 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
| 08:55:04,089 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.1.1:3873/]
| 08:55:13,554 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
| 08:55:14,890 INFO [SnmpAgentService] SNMP agent going active
| 08:55:15,673 INFO [InterceptorChainFactory] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| class org.jboss.cache.interceptors.TxInterceptor
| class org.jboss.cache.interceptors.CacheMgmtInterceptor
| 08:55:16,088 ERROR [JChannel] exception: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface
| 08:55:16,091 WARN [ServiceController] Problem starting service jboss.cache:service=TomcatClusteringCache
| ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface
| at org.jgroups.JChannel.connect(JChannel.java:328)
| at org.jboss.cache.TreeCache.startService(TreeCache.java:1424)
| at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:619)
| 08:55:16,603 INFO [DefaultPartition] Initializing
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082325#4082325
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082325
18 years, 7 months