[JBoss JIRA] Created: (JBCACHE-862) PojoCache tutorial broken
by Rajesh Rajasekaran (JIRA)
PojoCache tutorial broken
-------------------------
Key: JBCACHE-862
URL: http://jira.jboss.com/jira/browse/JBCACHE-862
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.ALPHA1
Reporter: Rajesh Rajasekaran
Assigned To: Manik Surtani
Fix For: 2.0.0.ALPHA1
bsh % sourceRelative("pojocache.bsh");
<org.jboss.cache.pojo.impl.PojoCacheImpl@893969>
<name=null, age=0, hobbies=, address=null, skills=null, languages=null>
<street=null, city=null, zip=0>
// Error: // Uncaught Exception: Method Invocation this.interpreter.source : at Line: 19 : in file: /bsh/commands/sourceRelative.bsh : this .interpreter .source ( path , this .caller .namespace )
Called from method: sourceRelative : at Line: 1 : in file: <unknown file> : sourceRelative ( "pojocache.bsh" )
Target exception: Sourced file: C:\Documents and Settings\rrajasekaran\Desktop\cache-release-2.0\JBossCache-pojo-2.0.0.ALPHA1\pojocache.bsh : Method Invocation cache.attach : at Line: 27 : in file: C:\Documents and Settings\rrajasekaran\Desktop\cache-release-2.0\JBossCache-pojo-2.0.0.ALPHA1\pojocache.bsh : cache .attach ( "pojo/joe" , joe )
Target exception: org.jboss.cache.pojo.PojoCacheException: PojoTreeCache: org.jboss.cache.ReplicationException: java.lang.Exception: Don't know how to marshall object of type class org.jboss.cache.pojo.test.Person
org.jboss.cache.pojo.PojoCacheException: PojoTreeCache: org.jboss.cache.ReplicationException: java.lang.Exception: Don't know how to marshall object of type class org.jboss.cache.pojo.test.Person
at org.jboss.cache.pojo.impl.PojoCacheImpl.org$jboss$cache$pojo$impl$PojoCacheImpl$attach$aop(PojoCacheImpl.java:122)
at org.jboss.cache.pojo.impl.PojoCacheImpl$PojoCacheImplAdvisor.attach3085019539260813833(PojoCacheImpl$PojoCacheImplAdvisor.java)
at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java)
at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:109)
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 bsh.Reflect.invokeMethod(Unknown Source)
at bsh.Reflect.invokeObjectMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.source(Unknown Source)
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 bsh.Reflect.invokeMethod(Unknown Source)
at bsh.Reflect.invokeObjectMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHReturnStatement.eval(Unknown Source)
at bsh.BSHBlock.evalBlock(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BshMethod.invokeImpl(Unknown Source)
at bsh.BshMetbsh % hod.invoke(Unknown Source)
at bsh.BshMethod.invoke(Unknown Source)
at bsh.Name.invokeLocalMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.Interpreter.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[JBoss JIRA] Created: (JBCACHE-863) Plain Cache tutorial broken
by Rajesh Rajasekaran (JIRA)
Plain Cache tutorial broken
---------------------------
Key: JBCACHE-863
URL: http://jira.jboss.com/jira/browse/JBCACHE-863
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.ALPHA1
Reporter: Rajesh Rajasekaran
Assigned To: Manik Surtani
Fix For: 2.0.0.ALPHA1
bsh % sourceRelative("plain.bsh");
<org.jboss.cache.transaction.DummyTransactionManager@82674b>
<{}>
<null>
<org.jboss.cache.transaction.DummyUserTransaction@9fdee>
<null>
bsh % tree.put(Fqn.fromString("/a/b/c/d"), "JBoss", "Open Source");
// Error: EvalError: Attempt to resolve method: put() on undefined variable or class name: tree : at Line: 1 : in file: <unknown file> : tree .put ( Fqn .fromString ( "/a/b/c/d" ) , "JBoss" , "Open Source" )
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[JBoss JIRA] Created: (JBCACHE-865) PojoCache passivation example broken
by Rajesh Rajasekaran (JIRA)
PojoCache passivation example broken
------------------------------------
Key: JBCACHE-865
URL: http://jira.jboss.com/jira/browse/JBCACHE-865
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.ALPHA1
Reporter: Rajesh Rajasekaran
Assigned To: Manik Surtani
Fix For: 2.0.0.ALPHA1
\examples\PojoCache\passivation>build.bat run.aopc.example
[java] nodePassivated: fqn - /org/jboss/test/data/students/54321
[java] nodePassivated: fqn - /__JBossInternal__/a3912-ef5il3-eun3xnak-1-eun3xnak-2
[java] java.lang.RuntimeException: java.io.IOException: The system cannot find the path specified
[java] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3811)
[java] at org.jboss.cache.TreeCache.evict(TreeCache.java:1626)
[java] at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34)
[java] at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210)
[java] at org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:91)
[java] at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:122)
[java] at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:99)
[java] at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:96)
[java] at java.util.TimerThread.mainLoop(Timer.java:512)
[java] at java.util.TimerThread.run(Timer.java:462)
[java] Caused by: java.io.IOException: The system cannot find the path specified
[java] at java.io.WinNTFileSystem.createFileExclusively(Native Method)
[java] at java.io.File.createNewFile(File.java:850)
[java] at org.jboss.cache.loader.FileCacheLoader.storeAttributes(FileCacheLoader.java:369)
[java] at org.jboss.cache.loader.FileCacheLoader.put(FileCacheLoader.java:177)
[java] at org.jboss.cache.loader.FileCacheLoader.put(FileCacheLoader.java:165)
[java] at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:69)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:189)
[java] at org.jboss.cache.interceptors.ActivationInterceptor.invoke(ActivationInterceptor.java:68)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:33)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:34)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:290)
[java] nodePassivated: fqn - /__JBossInternal__/a3912-ef5il3-eun3xnak-1-eun3xndl-4/7dd5
[java] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:128)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:163)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:61)
[java] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3803)
[java] ... 9 more
[java] nodePassivated: fqn - /__JBossInternal__/a3912-ef5il3-eun3xnak-1-eun3xnak-2/courses
[java] nodePassivated: fqn - /__JBossInternal__/a3912-ef5il3-eun3xnak-1-eun3xndl-4
[java] java.lang.RuntimeException: java.io.EOFException
[java] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3811)
[java] at org.jboss.cache.TreeCache.evict(TreeCache.java:1626)
[java] at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34)
[java] at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210)
[java] at org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:91)
[java] at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:122)
[java] at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:99)
[java] at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:96)
[java] at java.util.TimerThread.mainLoop(Timer.java:512)
[java] at java.util.TimerThread.run(Timer.java:462)
[java] Caused by: java.io.EOFException
[java] at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2232)
[java] at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
[java] at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
[java] at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
[java] at org.jboss.util.stream.MarshalledValueInputStream.<init>(MarshalledValueInputStream.java:45)
[java] at org.jboss.cache.loader.FileCacheLoader.loadAttributes(FileCacheLoader.java:352)
[java] at org.jboss.cache.loader.FileCacheLoader.put(FileCacheLoader.java:171)
[java] at org.jboss.cache.loader.FileCacheLoader.put(FileCacheLoader.java:165)
[java] at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:69)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:189)
[java] at org.jboss.cache.interceptors.ActivationInterceptor.invoke(ActivationInterceptor.java:68)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:33)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:34)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:290)
[java] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:128)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:163)
[java] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
[java] nodePassivated: fqn - /__JBossInternal__/a3912-ef5il3-eun3xnak-1-eun3xnak-2/address
[java] at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:61)
[java] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3803)
[java] ... 9 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[JBoss JIRA] Created: (JBJMX-101) failed to redeploy MBean dependent web module
by Maxim Gordienko (JIRA)
failed to redeploy MBean dependent web module
---------------------------------------------
Key: JBJMX-101
URL: http://jira.jboss.com/jira/browse/JBJMX-101
Project: JBoss JMX
Issue Type: Bug
Affects Versions: JBossAS-4.0.0
Environment: JBossAS 4.0.4.GA
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
Reporter: Maxim Gordienko
Environment: Sar module containing MBean
content of META-INF/jboss-service.xml
--- CUT ---
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="dot.com.DummyKPBossService" name="dot.com:service=DummyService">
</mbean>
</server>
--- END CUT ---
War module dependant on MBean from Sar
content of WEB-INF/jboss-web.xml
--- CUT ---
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<depends>dot.com:service=DummyService"</depends>
</jboss-web>
--- END CUT ---
upon redeployment Sar module JBoss tries to redeploy War module but fail with NPE:
java.lang.NullPointerException
at org.jboss.web.WebModule.startModule(WebModule.java:82)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.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)
.......
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months