[JBoss Cache Users] - Concurrency problems - cache puts lost
by a.kluge
Hi,
In running some concurrency tests, where multiple threads do simultaneous puts
against a cache, some of the puts appear to be lost. I run a set of 5 threads to do
puts, then run a set of five threads to do gets. Many times, all the keys that are put
into the cache are not present in the cache. I see this with 3.1.0, and also the newest
stable version, 3.2.1.
Running the contained code produces messages such as:
24 Nov 2009 14:44:50,135 ERROR [] com.m1.test.local.ConcurrencyTest Missing value for Key1.
The trace shows that the get was done, and that it returned null.
24 Nov 2009 14:44:50,134 TRACE [] org.jboss.cache.interceptors.InvocationContextInterceptor Invoked with command GetKeyValueCommand{fqn=/BigNode, key=Key1, sendNodeEvent=true} and InvocationContext [InvocationContext{transaction=null, globalTransaction=null, transactionContext=null, optionOverrides=Option{failSilently=false, cacheModeLocal=false, dataVersion=null, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravitation=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false, suppressPersistence=false, suppressEventNotification=false}, originLocal=true, bypassUnmarshalling=false}]
24 Nov 2009 14:44:50,134 TRACE [] org.jboss.cache.interceptors.CallInterceptor Executing command: GetKeyValueCommand{fqn=/BigNode, key=Key1, sendNodeEvent=true}.
24 Nov 2009 14:44:50,134 TRACE [] org.jboss.cache.commands.read.GetKeyValueCommand Found value null
However, earlier in the run I have put the Key into the cache.
24 Nov 2009 14:44:40,831 INFO [] com.m1.test.local.ConcurrencyTest Putting Key1
And the trace indicates that a value was put for the key:
24 Nov 2009 14:44:40,829 TRACE [] org.jboss.cache.interceptors.InvocationContextInterceptor Invoked with command PutKeyValueCommand{fqn=/BigNode, dataVersion=null, globalTransaction=null, key=Key1, value=This is a test.} and InvocationContext [InvocationContext{transaction=null, globalTransaction=null, transactionContext=null, optionOverrides=Option{failSilently=false, cacheModeLocal=false, dataVersion=null, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravitation=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false, suppressPersistence=false, suppressEventNotification=false}, originLocal=true, bypassUnmarshalling=false}]
These log records are all for the same run of the test code. Since the get happens after the put, I would expect for the corresponding value to be returned.
I have appended the test, which is a reasonably simple and self contained case.
Is there anything else, perhaps in terms of MVCC options I should try?
Thanks,
Alex
| package com.m1.test.local;
|
| import org.jboss.cache.Cache;
| import org.jboss.cache.config.Configuration;
| import java.util.concurrent.CyclicBarrier;
| import org.jboss.cache.DefaultCacheFactory;
| import org.jboss.cache.Fqn;
| import java.util.HashSet;
| import org.apache.commons.logging.Log;
| import org.apache.commons.logging.LogFactory;
|
| /**
| * This test will be used to put a specific number of enteries into the cache,
| * and measure the amount of memory taken by the cache.
| */
| public class ConcurrencyTest
| {
| private static final Fqn<String> FQN = Fqn.fromString("BigNode");
| private static final Log LOG = LogFactory.getLog(ConcurrencyTest.class);
| private static final int NTHREADS = 5;
| private static final String VALUE = "This is a test.";
|
| private final CyclicBarrier barrier = new CyclicBarrier(NTHREADS);
| private Thread[] threads = new Thread[NTHREADS];
|
|
| public ConcurrencyTest()
| throws Throwable
| {
| Cache<Object, Object> cache = createCache();
|
| for (int iteration=0; iteration<10; iteration++)
| {
| for(int j=0; j<NTHREADS; j++)
| {
| threads[j] = new WriteThread(cache, barrier, iteration, j);
| threads[j].start();
| }
|
| for(int j=0; j<NTHREADS; j++)
| {
| threads[j].join(500);
| }
| }
|
| for (int iteration=0; iteration<10; iteration++)
| {
| for(int j=0; j<NTHREADS; j++)
| {
| threads[j] = new ReadThread(cache, barrier, iteration, j);
| threads[j].start();
| }
|
| for(int j=0; j<NTHREADS; j++)
| {
| threads[j].join(500);
| }
| }
|
| while(true)
| {
| Thread.sleep(3600000);
| }
| }
|
| public Cache<Object, Object> createCache()
| throws Exception
| {
| Cache<Object, Object> cache = new DefaultCacheFactory().createCache();
| cache.create();
| cache.start();
| return cache;
| }
|
| private static class WriteThread extends Thread
| {
| private CyclicBarrier barrier;
| private Cache<Object, Object> cache;
| private int iteration;
| private int writer;
|
| public WriteThread(Cache<Object, Object> cache, CyclicBarrier barrier,
| int iteration, int writer)
| throws Throwable
| {
| this.cache = cache;
| this.barrier = barrier;
| this.iteration = iteration;
| this.writer = writer;
| }
|
| /**
| * Run a common set of tests in each thread.
| */
| public void run()
| {
| try
| {
| barrier.await();
|
| for (int id=1000*iteration + 100*writer; id<1000*iteration + 100*(writer+1); id++)
| {
| String key = "Key" + id;
| cache.put(FQN, key, VALUE);
| LOG.info("Putting " + key);
| }
| }
| catch (Exception exception)
| {
| LOG.error("Write thread failed.", exception);
| }
| }
| }
|
|
| private static class ReadThread extends Thread
| {
| private CyclicBarrier barrier;
| private Cache<Object, Object> cache;
| private int iteration;
| private int writer;
|
| public ReadThread(Cache<Object, Object> cache, CyclicBarrier barrier,
| int iteration, int writer)
| throws Throwable
| {
| this.cache = cache;
| this.barrier = barrier;
| this.iteration = iteration;
| this.writer = writer;
| }
|
| /**
| * Run a common set of tests in each thread.
| */
| public void run()
| {
| try
| {
| barrier.await();
|
| for (int id=1000*iteration + 100*writer; id<1000*iteration + 100*(writer+1); id++)
| {
| String key = "Key" + id;
| Object result = cache.get(FQN, key);
| if (result == null)
| {
| LOG.error("Missing value for " + key + ".");
| }
| }
| }
| catch (Exception exception)
| {
| LOG.error("ReadThread failed.", exception);
| }
| }
| }
|
| public static void main(String[] args)
| throws Throwable
| {
| ConcurrencyTest test = new ConcurrencyTest();
| }
| }
|
Some other details:
$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
$ uname -a
Linux aklugelnx 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:32 UTC 2009 x86_64 GNU/Linux
The only JVM option I use is -Xmx2g to ensure enough space in the cache.
I would welcome suggestions, and even requests for more details or some additional tests to further pin down why I don see what I expect. I be happy to find it to be a configuration option I missed.
Thanks,
Alex
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267408#4267408
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267408
14 years, 7 months
[jBPM Users] - How
by cmjhingeniero
Hi
I need to implement a process that has an automatic activity (java), to be repeated whenever a condition is not met. I have read on timer and on-event, but do not know if this applies to a task java. I also appreciate any guidance on what I need
| <process name="PruebaTimer" xmlns="http://jbpm.org/4.2/jpdl">
| <start g="19,50,48,48">
| <transition to="wait" />
| </start>
| <state name="espera" g="98,46,127,52">
| <on event="timeout">
| <timer duedate="20 minutes" repeat="10 seconds" />
| <event-listener class="com.prueba" method="notify" />
| </on>
| <transition to="fin" g="-16,-17"/>
| </state>
| <end name="fin" g="283,46,83,53"/>
| </process>
|
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267396#4267396
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267396
14 years, 7 months
[jBPM Users] - jBPM-4.2 process archive deployment broken?
by markroy
jBPM 4.2
JDK 1.5
Windows XP SP2
JBoss 5.0.0GA
Oracle 10g
In jBPM 4.1, I was sucessfully able to deploy '.bar' process archives. In jBPM 4.2 this no longer seems to work. I understand there were some changes made in this area in 4.2. The Developer Guide now states that process archives should have the extension .jdpl and be dropped in $JBOSS_HOME/server//deploy.
I've tried this, but the archive does not seem to be deployed (nothing inserted into JBPM4_DEPLOYMENT). In the server.log, I see
| 2009-11-24 14:26:06,399 DEBUG [org.jboss.system.server.profileservice.repository.AbstractAttachmentStore] (HDScanner) No persisted attachment found for deployment AbstractVFSDeployment(esp.jpdl) with relative path: esp.jpdl-f0c23428c1aae5a7f2d4569a05803cf9\
| 2009-11-24 14:26:06,479 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] (HDScanner) Add deployment: vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl
| 2009-11-24 14:26:06,479 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] (HDScanner) Scheduling deployment: vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl parent=null
| 2009-11-24 14:26:06,489 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] (HDScanner) Deploying vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl
| 2009-11-24 14:26:06,489 DEBUG [org.jboss.deployers.vfs.plugins.classloader.InMemoryClassesDeployer] (HDScanner) Dynamic class root for vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl is vfsmemory://5c4o4o5w-g1x6dk-g2f1h7r6-1-g2f24t5l-b6
| 2009-11-24 14:26:06,499 DEBUG [org.jboss.classloading.spi.dependency.Domain] (HDScanner) org.jboss.classloading.spi.dependency.Domain@185ad79{DefaultDomain} add module VFSDeploymentClassLoaderPolicyModule esp.jpdl:0.0.0
| 2009-11-24 14:26:06,499 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) Created BaseClassLoader@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl} with policy VFSClassLoaderPolicy@cf3d8e{name=vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl domain=null roots=[MemoryContextHandler@30554662[path= context=vfsmemory://5c4o4o5w-g1x6dk-g2f1h7r6-1-g2f24t5l-b6 real=vfsmemory://5c4o4o5w-g1x6dk-g2f1h7r6-1-g2f24t5l-b6]] delegates=null exported=[] <IMPORT-ALL>NON_EMPTY}
| 2009-11-24 14:26:06,499 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@1071521{DefaultDomain} registerClassLoader BaseClassLoader@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl}
| 2009-11-24 14:26:06,499 DEBUG [org.jboss.aop.asintegration.jboss5.JBoss5ClassPoolFactory] (HDScanner) Created pool org.jboss.aop.asintegration.jboss5.JBoss5ClassPool@15189225 [class path: BaseClassLoader@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl};] - dcl:BaseClassLoader@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl} for loader BaseClassLoader@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl}
| 2009-11-24 14:26:06,499 DEBUG [org.jboss.aop.asintegration.jboss5.AOPClassLoaderDeployer] (HDScanner) Adding AspectManager attachment org.jboss.aop.AspectManager@1e193f2 for AbstractVFSDeploymentContext@3188663{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl}
| 2009-11-24 14:26:06,599 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] (HDScanner) Fully Deployed vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl
|
The Developer's Guide says I should see something like:
| 14:12:09,301 INFO [JBPMService] jBPM 4 - Integration JBoss 4
| 14:12:09,301 INFO [JBPMService] 4.0.0.Beta1
| 14:12:09,301 INFO [JBPMService] ProcessEngine bound to: java:/ProcessEngine
|
but instead I see:
| 2009-11-24 14:11:14,136 DEBUG [org.jbpm.jboss.internal.JbpmService] (main) JbpmService starting...
| 2009-11-24 14:11:17,881 DEBUG [org.jbpm.pvm.internal.cfg.ProcessEngineImpl] (main) jndi name java:/ProcessEngine is not bound
| 2009-11-24 14:11:17,881 DEBUG [org.jbpm.pvm.internal.wire.WireContext] (main) eagerly initializing org.jbpm.pvm.internal.id.DatabaseIdComposer
| 2009-11-24 14:11:17,932 DEBUG [org.jbpm.pvm.internal.wire.WireContext] (main) eagerly initializing org.jbpm.pvm.internal.jobexecutor.JobExecutor
| 2009-11-24 14:11:18,002 DEBUG [org.jbpm.pvm.internal.cfg.ProcessEngineImpl] (main) publishing jBPM ProcessEngine in jndi at java:/ProcessEngine
|
I'm using the default jbpm.cfg.xml and jbpm.hibernate.cfg.xml. I run the example JUnits sucessfully, so programmatic deployment appears to be working.
I'm guessing the jBPM Deployer is not getting invoked because it's not configured, but have no idea where to check.
Please help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267393#4267393
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267393
14 years, 7 months
[Spring Integration] - Re: How to access deployed bean reference from a different s
by ivanyuan
Hi Marius,
I also tried using the following spring bean context file
| <?xml version="1.0" encoding="UTF-8"?>
| <beans xmlns="http://www.springframework.org/schema/beans"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xmlns:jaxrs="http://cxf.apache.org/jaxrs"
| xmlns:aop="http://www.springframework.org/schema/aop"
| xmlns:jee="http://www.springframework.org/schema/jee"
| xsi:schemaLocation="http://www.springframework.org/schema/beans
| http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
| http://cxf.apache.org/jaxrs
| http://cxf.apache.org/schemas/jaxrs.xsd
| http://www.springframework.org/schema/aop
| http://www.springframework.org/schema/aop/spring-aop.xsd
| http://www.springframework.org/schema/jee
| http://www.springframework.org/schema/jee/spring-jee-2.0.xsd">
|
| <jee:jndi-lookup id="myBeanFactory" jndi-name="ProvisioningBillingFramework"/>
|
| <bean id="myTestBean" class="com.iseemedia.bean.test.TestBean">
| <property name="parentBeanFactory" ref="myBeanFactory"/>
| </bean>
|
| </beans>
|
But I got the following exception. My question is how to access the bean factory or the deployed bean from a spring context which is outside of the spring archive.
| java.lang.reflect.InvocationTargetException
|
| 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:585)
|
| at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
|
| at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
|
| at org.apache.commons.digester.Rule.end(Rule.java:230)
|
| at org.apache.commons.digester.Digester.endElement(Digester.java:1130)
|
| at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
|
| at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
|
| at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
|
| at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
|
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
|
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
|
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
|
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
|
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
|
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
|
| at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
|
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
|
| at org.apache.commons.digester.Digester.parse(Digester.java:1685)
|
| at org.mule.config.builders.AbstractDigesterConfiguration.process(AbstractDigesterConfiguration.java:101)
|
| at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:268)
|
| at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:221)
|
| at org.mule.ra.MuleResourceAdapter.start(MuleResourceAdapter.java:112)
|
| at org.jboss.resource.deployment.RARDeployment.startService(RARDeployment.java:109)
|
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
|
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
|
| at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:124)
|
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
|
| 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.GeneratedMethodAccessor10.invoke(Unknown Source)
|
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
| at java.lang.reflect.Method.invoke(Method.java:585)
|
| 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 $Proxy49.start(Unknown Source)
|
| at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:356)
|
| at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:127)
|
| 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.GeneratedMethodAccessor23.invoke(Unknown Source)
|
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
| at java.lang.reflect.Method.invoke(Method.java:585)
|
| 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 $Proxy9.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.GeneratedMethodAccessor4.invoke(Unknown Source)
|
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
| at java.lang.reflect.Method.invoke(Method.java:585)
|
| 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.GeneratedMethodAccessor10.invoke(Unknown Source)
|
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
| at java.lang.reflect.Method.invoke(Method.java:585)
|
| 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:585)
|
| 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:508)
|
| at java.lang.Thread.run(Thread.java:595)
|
| Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myBeanFactory': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: ProvisioningBillingFramework not bound
|
Could you please give an instruction on how to make deployed bean available in this scenario?
Thank you so much!
Ivan Yuan
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267386#4267386
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267386
14 years, 7 months