Hi!

I have a session bean with a static field in it or type NotSerializable
(org.apache.log4j.Category)

I make a change to the bean, ejbjar it and redeploy it.

Then I receive an error in Passivation that my Category is not serializable.
That's fine, that's my problem

But then the server goes in a infinite loop, which is less fine.

That's absolutely not a big deal but well, ... this is to let you know.

Vincent.

Here is the trace (of the loop only, I have cut the trace of undeployment)


[Container factory]
Deploying:file:/E:/Projects/jbosscvs/jboss/dist/tmp/deploy/Default/PlanningU
nit.jar/
2001-03-01 16:29:54,741 ERROR Container factory - (Log4jService.java:103) -
java.lang.IllegalStateException: Attempt to put in the cache an object that
is already there
[Container factory] java.lang.IllegalStateException: Attempt to put in the
cache an object that is already there
2001-03-01 16:29:54,771 ERROR Container factory - (Log4jService.java:103) -
at org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:157)
[Container factory]     at
org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:157)
2001-03-01 16:29:54,781 ERROR Container factory - (Log4jService.java:103) -
at
org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.
java:677)
[Container factory]     at
org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.
java:677)
2001-03-01 16:29:54,791 ERROR Container factory - (Log4jService.java:103) -
at org.jboss.util.WorkerQueue$QueueLoop.flush(WorkerQueue.java:218)
[Container factory]     at
org.jboss.util.WorkerQueue$QueueLoop.flush(WorkerQueue.java:218)
2001-03-01 16:29:54,801 ERROR Container factory - (Log4jService.java:103) -
at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:194)
[Container factory]     at
org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:194)
2001-03-01 16:29:54,811 ERROR Container factory - (Log4jService.java:103) -
at java.lang.Thread.run(Thread.java:484)
[Container factory]     at java.lang.Thread.run(Thread.java:484)
2001-03-01 16:29:54,821 ERROR Container factory - (Log4jService.java:103) -
java.lang.IllegalStateException: Attempt to put in the cache an object that
is already there
[Container factory] java.lang.IllegalStateException: Attempt to put in the
cache an object that is already there

[Container factory]
Deploying:file:/E:/Projects/jbosscvs/jboss/dist/tmp/deploy/Default/PlanningU
nit.jar/
2001-03-01 16:29:54,741 ERROR Container factory - (Log4jService.java:103) -
java.lang.IllegalStateException: Attempt to put in the cache an object that
is already there
[Container factory] java.lang.IllegalStateException: Attempt to put in the
cache an object that is already there
2001-03-01 16:29:54,771 ERROR Container factory - (Log4jService.java:103) -
at org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:157)
[Container factory]     at
org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:157)
2001-03-01 16:29:54,781 ERROR Container factory - (Log4jService.java:103) -
at
org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.
java:677)
[Container factory]     at
org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.
java:677)
2001-03-01 16:29:54,791 ERROR Container factory - (Log4jService.java:103) -
at org.jboss.util.WorkerQueue$QueueLoop.flush(WorkerQueue.java:218)
[Container factory]     at
org.jboss.util.WorkerQueue$QueueLoop.flush(WorkerQueue.java:218)
2001-03-01 16:29:54,801 ERROR Container factory - (Log4jService.java:103) -
at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:194)
[Container factory]     at
org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:194)
2001-03-01 16:29:54,811 ERROR Container factory - (Log4jService.java:103) -
at java.lang.Thread.run(Thread.java:484)
[Container factory]     at java.lang.Thread.run(Thread.java:484)
2001-03-01 16:29:54,821 ERROR Container factory - (Log4jService.java:103) -
java.lang.IllegalStateException: Attempt to put in the cache an object that
is already there
[Container factory] java.lang.IllegalStateException: Attempt to put in the
cache an object that is already there



Reply via email to