Akshat Saxena [http://community.jboss.org/people/akshatsaxena] created the discussion
"Unable to run Jboss Cache demo" To view the discussion, visit: http://community.jboss.org/message/541467#541467 -------------------------------------------------------------- Hi, I have downloaded the Jboss Cache demo from the link provided in http://jbosscache.blogspot.com/2008/01/gui-demo-for-jboss-cache.html http://jbosscache.blogspot.com/2008/01/gui-demo-for-jboss-cache.html. First of all I didn't find anything to run demo on windows so I created run.bat based on run.sh. Below is my run.bat: *************************************************************************************************************************************************************** set classpath=./lib/asm.jar;./lib/asm-commons.jar;./lib/asm-tree.jar;./lib/c3p0.jar;./lib/commons-logging.jar;./lib/forms.jar;./lib/forms_rt.jar;./lib/jbosscache-core.jar;./lib/jboss-common-core.jar;./lib/jboss-common-logging-spi.jar;./lib/jboss-javaee.jar;./lib/jcip-annotations.jar;./lib/jdbm.jar;./lib/jdom.jar;./lib/je.jar;./lib/jgroups.jar;./lib/log4j.jar; set classpath=%classpath%;jbosscache-demo.jar; set JVM_PARAMS="-Dbind.address=172.18.67.59 -Djava.net.preferIPv4Stack=true -Dlog4j.configuration=./etc/log4j.xml" java -cp %classpath% %JVM_PARAMS% org.jboss.cache.demo.JBossCacheDemo ************************************************************************************************************************************************************** Using this I can start the Demo but when I click on "Start Cache" button, I am getting exception below: ************************************************************************************************************************************************************* 2010-05-06 12:56:21,198 WARN [GenericTransactionManagerLookup] (pool-1-thread-1) Falling back to DummyTransactionManager from JBossCache 2010-05-06 12:56:27,558 FATAL [UDP] (pool-1-thread-1) failed getting bind_addr java.net.UnknownHostException: 172.18.67.59 -Djava.net.preferIPv4Stack=true -Dlog4j.configuration=./etc/log4j.xml at java.net.InetAddress.getAllByName0(InetAddress.java:1133) at java.net.InetAddress.getAllByName0(InetAddress.java:1098) at java.net.InetAddress.getAllByName(InetAddress.java:1061) at java.net.InetAddress.getByName(InetAddress.java:958) at org.jgroups.util.Util.getBindAddress(Util.java:2065) at org.jgroups.protocols.TP.setProperties(TP.java:619) at org.jgroups.protocols.UDP.setProperties(UDP.java:147) at org.jgroups.stack.Protocol.setPropertiesInternal(Protocol.java:95) at org.jgroups.stack.Configurator$ProtocolConfiguration.createLayer(Configurator.java:699) at org.jgroups.stack.Configurator$ProtocolConfiguration.access$000(Configurator.java:595) at org.jgroups.stack.Configurator.createProtocols(Configurator.java:375) at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:58) at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:205) at org.jgroups.JChannel.init(JChannel.java:1400) at org.jgroups.JChannel.<init>(JChannel.java:248) at org.jgroups.JChannel.<init>(JChannel.java:231) at org.jboss.cache.CacheImpl.initialiseChannelAndRpcDispatcher(CacheImpl.java:2899) at org.jboss.cache.CacheImpl.internalStart(CacheImpl.java:606) at org.jboss.cache.CacheImpl.start(CacheImpl.java:544) at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:277) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:96) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:68) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:61) at org.jboss.cache.demo.JBossCacheDemo$14.run(JBossCacheDemo.java:524) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) org.jgroups.ChannelException: unable to setup the protocol stack at org.jgroups.JChannel.init(JChannel.java:1403) at org.jgroups.JChannel.<init>(JChannel.java:248) at org.jgroups.JChannel.<init>(JChannel.java:231) at org.jboss.cache.CacheImpl.initialiseChannelAndRpcDispatcher(CacheImpl.java:2899) at org.jboss.cache.CacheImpl.internalStart(CacheImpl.java:606) at org.jboss.cache.CacheImpl.start(CacheImpl.java:544) at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:277) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:96) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:68) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:61) at org.jboss.cache.demo.JBossCacheDemo$14.run(JBossCacheDemo.java:524) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.IllegalArgumentException: the following properties in UDP are not recognized: {oob_thread_pool.enabled=true, thread_pool.enabled=true, loopback=false, thread_pool.rejection_policy=Run, max_bundle_timeout=30, thread_pool.queue_ 10, oob_thread_pool.min_threads=1, oob_thread_pool.keep_alive_time=10000, oob_thread_pool.rejection_policy=Run, thread_naming_pattern=pl, thread_pool.queue_enabled=true, max_bundle_size=64000, enable_bundling=false, thread_pool.max_threads=25, use _packet_handler=true, thread_pool.keep_alive_time=30000, oob_thread_pool.queue_max_size=10, use_concurrent_stack=true, discard_incompatible_packets=true, enable_diagnostics=true, oob_thread_pool.max_threads=4, thread_pool.min_threads=1, oob_thread ue_enabled=true} at org.jgroups.stack.Configurator$ProtocolConfiguration.createLayer(Configurator.java:700) at org.jgroups.stack.Configurator$ProtocolConfiguration.access$000(Configurator.java:595) at org.jgroups.stack.Configurator.createProtocols(Configurator.java:375) at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:58) at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:205) at org.jgroups.JChannel.init(JChannel.java:1400) ... 13 more Exception in thread "pool-1-thread-1" java.lang.NullPointerException at org.jboss.cache.CacheImpl.initialiseChannelAndRpcDispatcher(CacheImpl.java:2911) at org.jboss.cache.CacheImpl.internalStart(CacheImpl.java:606) at org.jboss.cache.CacheImpl.start(CacheImpl.java:544) at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:277) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:96) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:68) at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:61) at org.jboss.cache.demo.JBossCacheDemo$14.run(JBossCacheDemo.java:524) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) ************************************************************************************************************************************************************* Please suggest. Regards, Akshat -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/541467#541467] Start a new discussion in JBoss Cache at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
