[jboss-dev-forums] [Design of POJO Server] - Re: Caching of classes in BaseClassLoaderDomain

bstansberry@jboss.com do-not-reply at jboss.com
Tue Apr 28 08:07:21 EDT 2009


Dominik is running the EJB3 perf tests and while it's early, he reports that "but the app is running, and it's running much much faster :)"

The "but" above is because there are CNFE problems at server start; look to be due to webapps being unable to load classes from the domain. Key server.log snippet:


  | 2009-04-28 10:43:38,715 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) injectionContainer enabled and processing beginning
  | 2009-04-28 10:43:38,716 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/admin-console]] (main) Error configuring application listener of class org.jboss.web.tomcat.security.SecurityFlushSessionListener
  | java.lang.ClassNotFoundException: org.jboss.web.tomcat.security.SecurityFlushSessionListener
  | 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | 	at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:262)
  | 	at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:256)
  | 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3859)
  | 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
  | 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
  | 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
  | 	at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
  | 	at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
  | 	at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

The SecurityFlushSessionListener class is located in server/all/deploy/jboss-web.sar/jboss-web-service.jar.

Above is immediately followed by same thing 3 more times for other classes:

java.lang.ClassNotFoundException: org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.application.WebappLifecycleListener
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener

Same thing happens on ROOT.war and jmx-console.war.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227267#4227267

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227267



More information about the jboss-dev-forums mailing list