Hi, I'm deploying a war file into JBoss5.0.0Beta3 that contains an amount of libraries in WEB-INF/lib inside. Now JBoss needs up to 14 MINUTES for startup, in the logfile I can see that the time is taken in the class AnnotatedClassFilter:
| [main] 2008-01-24 14:25:54,189 DEBUG [org.jboss.deployment.AnnotatedClassFilter] Incomplete class: org.springframework.instrument.classloading.oc4j.OC4JClassPreprocessorAdapter, NCDFE: java.lang.NoClassDefFoundError: oracle/classloader/util/ClassPreprocessor | [main] 2008-01-24 14:26:12,613 DEBUG [org.jboss.deployment.AnnotatedClassFilter] Incomplete class: org.springframework.orm.ibatis.support.AbstractLobTypeHandler, NCDFE: java.lang.NoClassDefFoundError: com/ibatis/sqlmap/engine/type/BaseTypeHandler | [main] 2008-01-24 14:26:12,644 DEBUG [org.jboss.deployment.AnnotatedClassFilter] Incomplete class: org.springframework.orm.ibatis.support.BlobByteArrayTypeHandler, NCDFE: java.lang.NoClassDefFoundError: com/ibatis/sqlmap/engine/type/BaseTypeHandler | ... | [main] 2008-01-24 14:26:46,574 DEBUG [org.jboss.deployment.AnnotatedClassFilter] Incomplete class: org.apache.activeio.journal.howl.HowlJournal$1, NCDFE: java.lang.NoClassDefFoundError: org/objectweb/howl/log/LogEventListener | [main] 2008-01-24 14:26:47,698 DEBUG [org.jboss.deployment.AnnotatedClassFilter] Incomplete class: org.apache.activeio.xnet.StandardServiceStackGBean, NCDFE: java.lang.NoClassDefFoundError: org/apache/geronimo/gbean/GBeanLifecycle | ... | [main] 2008-01-24 14:35:17,294 DEBUG [org.jboss.deployment.AnnotatedClassFilter] Incomplete class: com.ctc.wstx.msv.RelaxNGSchemaFactory$MyGrammarController, NCDFE: java.lang.NoClassDefFoundError: com/sun/msv/reader/util/IgnoreController | [main] 2008-01-24 14:36:03,424 DEBUG [org.jboss.deployment.AnnotatedClassFilter] Incomplete class: org.apache.xmlbeans.impl.tool.XMLBean, NCDFE: java.lang.NoClassDefFoundError: org/apache/tools/ant/taskdefs/MatchingTask | ... | ... | [main] 2008-01-24 14:38:44,277 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] JBoss (Microcontainer) [5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200712210026)] Started in 14m:32s:628ms | | Look at the timestamps: 14:25 upt to 14:36, more than 10 minutes only for class annotation filtering. I've found the sourcecode of this message and could see that nothing happens, the NoClassDefFoundError is ignored. JBoss 4.2 containing the same war file needs just 4m:54s:225ms | 2008-01-22 13:17:29,171 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 4m:54s:225ms | How can I circumvent this and speed up jboss5 startup ? 14 minutes complete startup time is not usable. Annegret View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123048#4123048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123048 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
