[Design of JBoss jBPM] - problem with jbossretro on tomcat
by tom.baeyens@jboss.com
David, could you have a look at the following issue ?
I have tried to deploy the standard java web console on tomcat. I added the necessary libraries (amongst others, jbossretro-rt.jar, backport-consurrent.jar and commons-logging.jar) to the console.war and then delpoyed to tomcat. Then i got this stack trace:
I used tomcat 6.0.0.
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
| java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class
| at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1712)
| at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:513)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3826)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
| at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1104)
| at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1202)
| at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
| at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
| at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
| at java.lang.Thread.run(Thread.java:595)
|
Do you have the same problem deploying on tomcat ? Could you have a look at this ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985356#3985356
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985356
19 years, 5 months
[Design of JBossCache] - Re: static field replication in PojoCache
by ben.wang@jboss.com
"bela(a)jboss.com" wrote :
| I think this is not intuitive: @PojoCacheable replicates *all* variables, so static vars should be included.
| You can exclude static vars using the transient keyword or @transient annotation.
But keep in mind that by default, we skip replicating static, final, and transient now. If we want to change the default to replicate static field, question is how often people want to replicate static field? If often, then yes, default is good. But otherwise, default may not be that good.
And what about final field default?
anonymous wrote :
| Why should only 1 PojoCache be allowed to have static var replication inside the same VM ? This sounds like an arbitrary restriction...
Yeah, agreed then. I am still thinking if there is a better way to support it other than explicit api.
anonymous wrote :
| Still much better than @PojoCacheable, which is horrible
I will create a new thread to discuss this then.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985332#3985332
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985332
19 years, 5 months